pulumi-docker 4.6.2__py3-none-any.whl → 4.7.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-docker might be problematic. Click here for more details.

pulumi_docker/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
@@ -36,8 +37,10 @@ __all__ = [
36
37
  'NetworkIpamConfig',
37
38
  'NetworkLabel',
38
39
  'PluginGrantPermission',
40
+ 'RegistryImageAuthConfig',
39
41
  'RemoteImageBuild',
40
42
  'RemoteImageBuildAuthConfig',
43
+ 'RemoteImageBuildSecret',
41
44
  'RemoteImageBuildUlimit',
42
45
  'SecretLabel',
43
46
  'ServiceAuth',
@@ -76,16 +79,18 @@ __all__ = [
76
79
  'ServiceUpdateConfig',
77
80
  'VolumeLabel',
78
81
  'GetNetworkIpamConfigResult',
82
+ 'GetRegistryImageManifestsAuthConfigResult',
83
+ 'GetRegistryImageManifestsManifestResult',
79
84
  ]
80
85
 
81
86
  @pulumi.output_type
82
87
  class ContainerCapabilities(dict):
83
88
  def __init__(__self__, *,
84
- adds: Optional[Sequence[str]] = None,
85
- drops: Optional[Sequence[str]] = None):
89
+ adds: Optional[Sequence[builtins.str]] = None,
90
+ drops: Optional[Sequence[builtins.str]] = None):
86
91
  """
87
- :param Sequence[str] adds: List of linux capabilities to add.
88
- :param Sequence[str] drops: List of linux capabilities to drop.
92
+ :param Sequence[builtins.str] adds: List of linux capabilities to add.
93
+ :param Sequence[builtins.str] drops: List of linux capabilities to drop.
89
94
  """
90
95
  if adds is not None:
91
96
  pulumi.set(__self__, "adds", adds)
@@ -94,7 +99,7 @@ class ContainerCapabilities(dict):
94
99
 
95
100
  @property
96
101
  @pulumi.getter
97
- def adds(self) -> Optional[Sequence[str]]:
102
+ def adds(self) -> Optional[Sequence[builtins.str]]:
98
103
  """
99
104
  List of linux capabilities to add.
100
105
  """
@@ -102,7 +107,7 @@ class ContainerCapabilities(dict):
102
107
 
103
108
  @property
104
109
  @pulumi.getter
105
- def drops(self) -> Optional[Sequence[str]]:
110
+ def drops(self) -> Optional[Sequence[builtins.str]]:
106
111
  """
107
112
  List of linux capabilities to drop.
108
113
  """
@@ -131,13 +136,13 @@ class ContainerDevice(dict):
131
136
  return super().get(key, default)
132
137
 
133
138
  def __init__(__self__, *,
134
- host_path: str,
135
- container_path: Optional[str] = None,
136
- permissions: Optional[str] = None):
139
+ host_path: builtins.str,
140
+ container_path: Optional[builtins.str] = None,
141
+ permissions: Optional[builtins.str] = None):
137
142
  """
138
- :param str host_path: The path on the host where the device is located.
139
- :param str container_path: The path in the container where the device will be bound.
140
- :param str permissions: The cgroup permissions given to the container to access the device. Defaults to `rwm`.
143
+ :param builtins.str host_path: The path on the host where the device is located.
144
+ :param builtins.str container_path: The path in the container where the device will be bound.
145
+ :param builtins.str permissions: The cgroup permissions given to the container to access the device. Defaults to `rwm`.
141
146
  """
142
147
  pulumi.set(__self__, "host_path", host_path)
143
148
  if container_path is not None:
@@ -147,7 +152,7 @@ class ContainerDevice(dict):
147
152
 
148
153
  @property
149
154
  @pulumi.getter(name="hostPath")
150
- def host_path(self) -> str:
155
+ def host_path(self) -> builtins.str:
151
156
  """
152
157
  The path on the host where the device is located.
153
158
  """
@@ -155,7 +160,7 @@ class ContainerDevice(dict):
155
160
 
156
161
  @property
157
162
  @pulumi.getter(name="containerPath")
158
- def container_path(self) -> Optional[str]:
163
+ def container_path(self) -> Optional[builtins.str]:
159
164
  """
160
165
  The path in the container where the device will be bound.
161
166
  """
@@ -163,7 +168,7 @@ class ContainerDevice(dict):
163
168
 
164
169
  @property
165
170
  @pulumi.getter
166
- def permissions(self) -> Optional[str]:
171
+ def permissions(self) -> Optional[builtins.str]:
167
172
  """
168
173
  The cgroup permissions given to the container to access the device. Defaults to `rwm`.
169
174
  """
@@ -175,7 +180,9 @@ class ContainerHealthcheck(dict):
175
180
  @staticmethod
176
181
  def __key_warning(key: str):
177
182
  suggest = None
178
- if key == "startPeriod":
183
+ if key == "startInterval":
184
+ suggest = "start_interval"
185
+ elif key == "startPeriod":
179
186
  suggest = "start_period"
180
187
 
181
188
  if suggest:
@@ -190,23 +197,27 @@ class ContainerHealthcheck(dict):
190
197
  return super().get(key, default)
191
198
 
192
199
  def __init__(__self__, *,
193
- tests: Sequence[str],
194
- interval: Optional[str] = None,
195
- retries: Optional[int] = None,
196
- start_period: Optional[str] = None,
197
- timeout: Optional[str] = None):
198
- """
199
- :param Sequence[str] tests: Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.
200
- :param str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
201
- :param int retries: Consecutive failures needed to report unhealthy. Defaults to `0`.
202
- :param str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
203
- :param str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
200
+ tests: Sequence[builtins.str],
201
+ interval: Optional[builtins.str] = None,
202
+ retries: Optional[builtins.int] = None,
203
+ start_interval: Optional[builtins.str] = None,
204
+ start_period: Optional[builtins.str] = None,
205
+ timeout: Optional[builtins.str] = None):
206
+ """
207
+ :param Sequence[builtins.str] tests: Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.
208
+ :param builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
209
+ :param builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`.
210
+ :param builtins.str start_interval: Interval before the healthcheck starts (ms|s|m|h). Defaults to `0s`.
211
+ :param builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
212
+ :param builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
204
213
  """
205
214
  pulumi.set(__self__, "tests", tests)
206
215
  if interval is not None:
207
216
  pulumi.set(__self__, "interval", interval)
208
217
  if retries is not None:
209
218
  pulumi.set(__self__, "retries", retries)
219
+ if start_interval is not None:
220
+ pulumi.set(__self__, "start_interval", start_interval)
210
221
  if start_period is not None:
211
222
  pulumi.set(__self__, "start_period", start_period)
212
223
  if timeout is not None:
@@ -214,7 +225,7 @@ class ContainerHealthcheck(dict):
214
225
 
215
226
  @property
216
227
  @pulumi.getter
217
- def tests(self) -> Sequence[str]:
228
+ def tests(self) -> Sequence[builtins.str]:
218
229
  """
219
230
  Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.
220
231
  """
@@ -222,7 +233,7 @@ class ContainerHealthcheck(dict):
222
233
 
223
234
  @property
224
235
  @pulumi.getter
225
- def interval(self) -> Optional[str]:
236
+ def interval(self) -> Optional[builtins.str]:
226
237
  """
227
238
  Time between running the check (ms|s|m|h). Defaults to `0s`.
228
239
  """
@@ -230,15 +241,23 @@ class ContainerHealthcheck(dict):
230
241
 
231
242
  @property
232
243
  @pulumi.getter
233
- def retries(self) -> Optional[int]:
244
+ def retries(self) -> Optional[builtins.int]:
234
245
  """
235
246
  Consecutive failures needed to report unhealthy. Defaults to `0`.
236
247
  """
237
248
  return pulumi.get(self, "retries")
238
249
 
250
+ @property
251
+ @pulumi.getter(name="startInterval")
252
+ def start_interval(self) -> Optional[builtins.str]:
253
+ """
254
+ Interval before the healthcheck starts (ms|s|m|h). Defaults to `0s`.
255
+ """
256
+ return pulumi.get(self, "start_interval")
257
+
239
258
  @property
240
259
  @pulumi.getter(name="startPeriod")
241
- def start_period(self) -> Optional[str]:
260
+ def start_period(self) -> Optional[builtins.str]:
242
261
  """
243
262
  Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
244
263
  """
@@ -246,7 +265,7 @@ class ContainerHealthcheck(dict):
246
265
 
247
266
  @property
248
267
  @pulumi.getter
249
- def timeout(self) -> Optional[str]:
268
+ def timeout(self) -> Optional[builtins.str]:
250
269
  """
251
270
  Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
252
271
  """
@@ -256,18 +275,18 @@ class ContainerHealthcheck(dict):
256
275
  @pulumi.output_type
257
276
  class ContainerHost(dict):
258
277
  def __init__(__self__, *,
259
- host: str,
260
- ip: str):
278
+ host: builtins.str,
279
+ ip: builtins.str):
261
280
  """
262
- :param str host: Hostname to add
263
- :param str ip: IP address this hostname should resolve to.
281
+ :param builtins.str host: Hostname to add
282
+ :param builtins.str ip: IP address this hostname should resolve to.
264
283
  """
265
284
  pulumi.set(__self__, "host", host)
266
285
  pulumi.set(__self__, "ip", ip)
267
286
 
268
287
  @property
269
288
  @pulumi.getter
270
- def host(self) -> str:
289
+ def host(self) -> builtins.str:
271
290
  """
272
291
  Hostname to add
273
292
  """
@@ -275,7 +294,7 @@ class ContainerHost(dict):
275
294
 
276
295
  @property
277
296
  @pulumi.getter
278
- def ip(self) -> str:
297
+ def ip(self) -> builtins.str:
279
298
  """
280
299
  IP address this hostname should resolve to.
281
300
  """
@@ -285,18 +304,18 @@ class ContainerHost(dict):
285
304
  @pulumi.output_type
286
305
  class ContainerLabel(dict):
287
306
  def __init__(__self__, *,
288
- label: str,
289
- value: str):
307
+ label: builtins.str,
308
+ value: builtins.str):
290
309
  """
291
- :param str label: Name of the label
292
- :param str value: Value of the label
310
+ :param builtins.str label: Name of the label
311
+ :param builtins.str value: Value of the label
293
312
  """
294
313
  pulumi.set(__self__, "label", label)
295
314
  pulumi.set(__self__, "value", value)
296
315
 
297
316
  @property
298
317
  @pulumi.getter
299
- def label(self) -> str:
318
+ def label(self) -> builtins.str:
300
319
  """
301
320
  Name of the label
302
321
  """
@@ -304,7 +323,7 @@ class ContainerLabel(dict):
304
323
 
305
324
  @property
306
325
  @pulumi.getter
307
- def value(self) -> str:
326
+ def value(self) -> builtins.str:
308
327
  """
309
328
  Value of the label
310
329
  """
@@ -337,19 +356,19 @@ class ContainerMount(dict):
337
356
  return super().get(key, default)
338
357
 
339
358
  def __init__(__self__, *,
340
- target: str,
341
- type: str,
359
+ target: builtins.str,
360
+ type: builtins.str,
342
361
  bind_options: Optional['outputs.ContainerMountBindOptions'] = None,
343
- read_only: Optional[bool] = None,
344
- source: Optional[str] = None,
362
+ read_only: Optional[builtins.bool] = None,
363
+ source: Optional[builtins.str] = None,
345
364
  tmpfs_options: Optional['outputs.ContainerMountTmpfsOptions'] = None,
346
365
  volume_options: Optional['outputs.ContainerMountVolumeOptions'] = None):
347
366
  """
348
- :param str target: Container path
349
- :param str type: The mount type
367
+ :param builtins.str target: Container path
368
+ :param builtins.str type: The mount type
350
369
  :param 'ContainerMountBindOptionsArgs' bind_options: Optional configuration for the bind type.
351
- :param bool read_only: Whether the mount should be read-only.
352
- :param str source: Mount source (e.g. a volume name, a host path).
370
+ :param builtins.bool read_only: Whether the mount should be read-only.
371
+ :param builtins.str source: Mount source (e.g. a volume name, a host path).
353
372
  :param 'ContainerMountTmpfsOptionsArgs' tmpfs_options: Optional configuration for the tmpfs type.
354
373
  :param 'ContainerMountVolumeOptionsArgs' volume_options: Optional configuration for the volume type.
355
374
  """
@@ -368,7 +387,7 @@ class ContainerMount(dict):
368
387
 
369
388
  @property
370
389
  @pulumi.getter
371
- def target(self) -> str:
390
+ def target(self) -> builtins.str:
372
391
  """
373
392
  Container path
374
393
  """
@@ -376,7 +395,7 @@ class ContainerMount(dict):
376
395
 
377
396
  @property
378
397
  @pulumi.getter
379
- def type(self) -> str:
398
+ def type(self) -> builtins.str:
380
399
  """
381
400
  The mount type
382
401
  """
@@ -392,7 +411,7 @@ class ContainerMount(dict):
392
411
 
393
412
  @property
394
413
  @pulumi.getter(name="readOnly")
395
- def read_only(self) -> Optional[bool]:
414
+ def read_only(self) -> Optional[builtins.bool]:
396
415
  """
397
416
  Whether the mount should be read-only.
398
417
  """
@@ -400,7 +419,7 @@ class ContainerMount(dict):
400
419
 
401
420
  @property
402
421
  @pulumi.getter
403
- def source(self) -> Optional[str]:
422
+ def source(self) -> Optional[builtins.str]:
404
423
  """
405
424
  Mount source (e.g. a volume name, a host path).
406
425
  """
@@ -426,16 +445,16 @@ class ContainerMount(dict):
426
445
  @pulumi.output_type
427
446
  class ContainerMountBindOptions(dict):
428
447
  def __init__(__self__, *,
429
- propagation: Optional[str] = None):
448
+ propagation: Optional[builtins.str] = None):
430
449
  """
431
- :param str propagation: A propagation mode with the value.
450
+ :param builtins.str propagation: A propagation mode with the value.
432
451
  """
433
452
  if propagation is not None:
434
453
  pulumi.set(__self__, "propagation", propagation)
435
454
 
436
455
  @property
437
456
  @pulumi.getter
438
- def propagation(self) -> Optional[str]:
457
+ def propagation(self) -> Optional[builtins.str]:
439
458
  """
440
459
  A propagation mode with the value.
441
460
  """
@@ -462,11 +481,11 @@ class ContainerMountTmpfsOptions(dict):
462
481
  return super().get(key, default)
463
482
 
464
483
  def __init__(__self__, *,
465
- mode: Optional[int] = None,
466
- size_bytes: Optional[int] = None):
484
+ mode: Optional[builtins.int] = None,
485
+ size_bytes: Optional[builtins.int] = None):
467
486
  """
468
- :param int mode: The permission mode for the tmpfs mount in an integer.
469
- :param int size_bytes: The size for the tmpfs mount in bytes.
487
+ :param builtins.int mode: The permission mode for the tmpfs mount in an integer.
488
+ :param builtins.int size_bytes: The size for the tmpfs mount in bytes.
470
489
  """
471
490
  if mode is not None:
472
491
  pulumi.set(__self__, "mode", mode)
@@ -475,7 +494,7 @@ class ContainerMountTmpfsOptions(dict):
475
494
 
476
495
  @property
477
496
  @pulumi.getter
478
- def mode(self) -> Optional[int]:
497
+ def mode(self) -> Optional[builtins.int]:
479
498
  """
480
499
  The permission mode for the tmpfs mount in an integer.
481
500
  """
@@ -483,7 +502,7 @@ class ContainerMountTmpfsOptions(dict):
483
502
 
484
503
  @property
485
504
  @pulumi.getter(name="sizeBytes")
486
- def size_bytes(self) -> Optional[int]:
505
+ def size_bytes(self) -> Optional[builtins.int]:
487
506
  """
488
507
  The size for the tmpfs mount in bytes.
489
508
  """
@@ -514,15 +533,17 @@ class ContainerMountVolumeOptions(dict):
514
533
  return super().get(key, default)
515
534
 
516
535
  def __init__(__self__, *,
517
- driver_name: Optional[str] = None,
518
- driver_options: Optional[Mapping[str, str]] = None,
536
+ driver_name: Optional[builtins.str] = None,
537
+ driver_options: Optional[Mapping[str, builtins.str]] = None,
519
538
  labels: Optional[Sequence['outputs.ContainerMountVolumeOptionsLabel']] = None,
520
- no_copy: Optional[bool] = None):
539
+ no_copy: Optional[builtins.bool] = None,
540
+ subpath: Optional[builtins.str] = None):
521
541
  """
522
- :param str driver_name: Name of the driver to use to create the volume.
523
- :param Mapping[str, str] driver_options: key/value map of driver specific options.
542
+ :param builtins.str driver_name: Name of the driver to use to create the volume.
543
+ :param Mapping[str, builtins.str] driver_options: key/value map of driver specific options.
524
544
  :param Sequence['ContainerMountVolumeOptionsLabelArgs'] labels: User-defined key/value metadata.
525
- :param bool no_copy: Populate volume with data from the target.
545
+ :param builtins.bool no_copy: Populate volume with data from the target.
546
+ :param builtins.str subpath: Path within the volume to mount. Requires docker server version 1.45 or higher.
526
547
  """
527
548
  if driver_name is not None:
528
549
  pulumi.set(__self__, "driver_name", driver_name)
@@ -532,10 +553,12 @@ class ContainerMountVolumeOptions(dict):
532
553
  pulumi.set(__self__, "labels", labels)
533
554
  if no_copy is not None:
534
555
  pulumi.set(__self__, "no_copy", no_copy)
556
+ if subpath is not None:
557
+ pulumi.set(__self__, "subpath", subpath)
535
558
 
536
559
  @property
537
560
  @pulumi.getter(name="driverName")
538
- def driver_name(self) -> Optional[str]:
561
+ def driver_name(self) -> Optional[builtins.str]:
539
562
  """
540
563
  Name of the driver to use to create the volume.
541
564
  """
@@ -543,7 +566,7 @@ class ContainerMountVolumeOptions(dict):
543
566
 
544
567
  @property
545
568
  @pulumi.getter(name="driverOptions")
546
- def driver_options(self) -> Optional[Mapping[str, str]]:
569
+ def driver_options(self) -> Optional[Mapping[str, builtins.str]]:
547
570
  """
548
571
  key/value map of driver specific options.
549
572
  """
@@ -559,28 +582,36 @@ class ContainerMountVolumeOptions(dict):
559
582
 
560
583
  @property
561
584
  @pulumi.getter(name="noCopy")
562
- def no_copy(self) -> Optional[bool]:
585
+ def no_copy(self) -> Optional[builtins.bool]:
563
586
  """
564
587
  Populate volume with data from the target.
565
588
  """
566
589
  return pulumi.get(self, "no_copy")
567
590
 
591
+ @property
592
+ @pulumi.getter
593
+ def subpath(self) -> Optional[builtins.str]:
594
+ """
595
+ Path within the volume to mount. Requires docker server version 1.45 or higher.
596
+ """
597
+ return pulumi.get(self, "subpath")
598
+
568
599
 
569
600
  @pulumi.output_type
570
601
  class ContainerMountVolumeOptionsLabel(dict):
571
602
  def __init__(__self__, *,
572
- label: str,
573
- value: str):
603
+ label: builtins.str,
604
+ value: builtins.str):
574
605
  """
575
- :param str label: Name of the label
576
- :param str value: Value of the label
606
+ :param builtins.str label: Name of the label
607
+ :param builtins.str value: Value of the label
577
608
  """
578
609
  pulumi.set(__self__, "label", label)
579
610
  pulumi.set(__self__, "value", value)
580
611
 
581
612
  @property
582
613
  @pulumi.getter
583
- def label(self) -> str:
614
+ def label(self) -> builtins.str:
584
615
  """
585
616
  Name of the label
586
617
  """
@@ -588,7 +619,7 @@ class ContainerMountVolumeOptionsLabel(dict):
588
619
 
589
620
  @property
590
621
  @pulumi.getter
591
- def value(self) -> str:
622
+ def value(self) -> builtins.str:
592
623
  """
593
624
  Value of the label
594
625
  """
@@ -627,23 +658,23 @@ class ContainerNetworkData(dict):
627
658
  return super().get(key, default)
628
659
 
629
660
  def __init__(__self__, *,
630
- gateway: Optional[str] = None,
631
- global_ipv6_address: Optional[str] = None,
632
- global_ipv6_prefix_length: Optional[int] = None,
633
- ip_address: Optional[str] = None,
634
- ip_prefix_length: Optional[int] = None,
635
- ipv6_gateway: Optional[str] = None,
636
- mac_address: Optional[str] = None,
637
- network_name: Optional[str] = None):
638
- """
639
- :param str gateway: The network gateway of the container.
640
- :param str global_ipv6_address: The IPV6 address of the container.
641
- :param int global_ipv6_prefix_length: The IPV6 prefix length address of the container.
642
- :param str ip_address: The IP address of the container.
643
- :param int ip_prefix_length: The IP prefix length of the container.
644
- :param str ipv6_gateway: The IPV6 gateway of the container.
645
- :param str mac_address: The MAC address of the container.
646
- :param str network_name: The name of the network
661
+ gateway: Optional[builtins.str] = None,
662
+ global_ipv6_address: Optional[builtins.str] = None,
663
+ global_ipv6_prefix_length: Optional[builtins.int] = None,
664
+ ip_address: Optional[builtins.str] = None,
665
+ ip_prefix_length: Optional[builtins.int] = None,
666
+ ipv6_gateway: Optional[builtins.str] = None,
667
+ mac_address: Optional[builtins.str] = None,
668
+ network_name: Optional[builtins.str] = None):
669
+ """
670
+ :param builtins.str gateway: The network gateway of the container.
671
+ :param builtins.str global_ipv6_address: The IPV6 address of the container.
672
+ :param builtins.int global_ipv6_prefix_length: The IPV6 prefix length address of the container.
673
+ :param builtins.str ip_address: The IP address of the container.
674
+ :param builtins.int ip_prefix_length: The IP prefix length of the container.
675
+ :param builtins.str ipv6_gateway: The IPV6 gateway of the container.
676
+ :param builtins.str mac_address: The MAC address of the container.
677
+ :param builtins.str network_name: The name of the network
647
678
  """
648
679
  if gateway is not None:
649
680
  pulumi.set(__self__, "gateway", gateway)
@@ -664,7 +695,7 @@ class ContainerNetworkData(dict):
664
695
 
665
696
  @property
666
697
  @pulumi.getter
667
- def gateway(self) -> Optional[str]:
698
+ def gateway(self) -> Optional[builtins.str]:
668
699
  """
669
700
  The network gateway of the container.
670
701
  """
@@ -672,7 +703,7 @@ class ContainerNetworkData(dict):
672
703
 
673
704
  @property
674
705
  @pulumi.getter(name="globalIpv6Address")
675
- def global_ipv6_address(self) -> Optional[str]:
706
+ def global_ipv6_address(self) -> Optional[builtins.str]:
676
707
  """
677
708
  The IPV6 address of the container.
678
709
  """
@@ -680,7 +711,7 @@ class ContainerNetworkData(dict):
680
711
 
681
712
  @property
682
713
  @pulumi.getter(name="globalIpv6PrefixLength")
683
- def global_ipv6_prefix_length(self) -> Optional[int]:
714
+ def global_ipv6_prefix_length(self) -> Optional[builtins.int]:
684
715
  """
685
716
  The IPV6 prefix length address of the container.
686
717
  """
@@ -688,7 +719,7 @@ class ContainerNetworkData(dict):
688
719
 
689
720
  @property
690
721
  @pulumi.getter(name="ipAddress")
691
- def ip_address(self) -> Optional[str]:
722
+ def ip_address(self) -> Optional[builtins.str]:
692
723
  """
693
724
  The IP address of the container.
694
725
  """
@@ -696,7 +727,7 @@ class ContainerNetworkData(dict):
696
727
 
697
728
  @property
698
729
  @pulumi.getter(name="ipPrefixLength")
699
- def ip_prefix_length(self) -> Optional[int]:
730
+ def ip_prefix_length(self) -> Optional[builtins.int]:
700
731
  """
701
732
  The IP prefix length of the container.
702
733
  """
@@ -704,7 +735,7 @@ class ContainerNetworkData(dict):
704
735
 
705
736
  @property
706
737
  @pulumi.getter(name="ipv6Gateway")
707
- def ipv6_gateway(self) -> Optional[str]:
738
+ def ipv6_gateway(self) -> Optional[builtins.str]:
708
739
  """
709
740
  The IPV6 gateway of the container.
710
741
  """
@@ -712,7 +743,7 @@ class ContainerNetworkData(dict):
712
743
 
713
744
  @property
714
745
  @pulumi.getter(name="macAddress")
715
- def mac_address(self) -> Optional[str]:
746
+ def mac_address(self) -> Optional[builtins.str]:
716
747
  """
717
748
  The MAC address of the container.
718
749
  """
@@ -720,7 +751,7 @@ class ContainerNetworkData(dict):
720
751
 
721
752
  @property
722
753
  @pulumi.getter(name="networkName")
723
- def network_name(self) -> Optional[str]:
754
+ def network_name(self) -> Optional[builtins.str]:
724
755
  """
725
756
  The name of the network
726
757
  """
@@ -749,15 +780,15 @@ class ContainerNetworksAdvanced(dict):
749
780
  return super().get(key, default)
750
781
 
751
782
  def __init__(__self__, *,
752
- name: str,
753
- aliases: Optional[Sequence[str]] = None,
754
- ipv4_address: Optional[str] = None,
755
- ipv6_address: Optional[str] = None):
783
+ name: builtins.str,
784
+ aliases: Optional[Sequence[builtins.str]] = None,
785
+ ipv4_address: Optional[builtins.str] = None,
786
+ ipv6_address: Optional[builtins.str] = None):
756
787
  """
757
- :param str name: The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
758
- :param Sequence[str] aliases: The network aliases of the container in the specific network.
759
- :param str ipv4_address: The IPV4 address of the container in the specific network.
760
- :param str ipv6_address: The IPV6 address of the container in the specific network.
788
+ :param builtins.str name: The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
789
+ :param Sequence[builtins.str] aliases: The network aliases of the container in the specific network.
790
+ :param builtins.str ipv4_address: The IPV4 address of the container in the specific network.
791
+ :param builtins.str ipv6_address: The IPV6 address of the container in the specific network.
761
792
  """
762
793
  pulumi.set(__self__, "name", name)
763
794
  if aliases is not None:
@@ -769,7 +800,7 @@ class ContainerNetworksAdvanced(dict):
769
800
 
770
801
  @property
771
802
  @pulumi.getter
772
- def name(self) -> str:
803
+ def name(self) -> builtins.str:
773
804
  """
774
805
  The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
775
806
  """
@@ -777,7 +808,7 @@ class ContainerNetworksAdvanced(dict):
777
808
 
778
809
  @property
779
810
  @pulumi.getter
780
- def aliases(self) -> Optional[Sequence[str]]:
811
+ def aliases(self) -> Optional[Sequence[builtins.str]]:
781
812
  """
782
813
  The network aliases of the container in the specific network.
783
814
  """
@@ -785,7 +816,7 @@ class ContainerNetworksAdvanced(dict):
785
816
 
786
817
  @property
787
818
  @pulumi.getter(name="ipv4Address")
788
- def ipv4_address(self) -> Optional[str]:
819
+ def ipv4_address(self) -> Optional[builtins.str]:
789
820
  """
790
821
  The IPV4 address of the container in the specific network.
791
822
  """
@@ -793,7 +824,7 @@ class ContainerNetworksAdvanced(dict):
793
824
 
794
825
  @property
795
826
  @pulumi.getter(name="ipv6Address")
796
- def ipv6_address(self) -> Optional[str]:
827
+ def ipv6_address(self) -> Optional[builtins.str]:
797
828
  """
798
829
  The IPV6 address of the container in the specific network.
799
830
  """
@@ -803,15 +834,15 @@ class ContainerNetworksAdvanced(dict):
803
834
  @pulumi.output_type
804
835
  class ContainerPort(dict):
805
836
  def __init__(__self__, *,
806
- internal: int,
807
- external: Optional[int] = None,
808
- ip: Optional[str] = None,
809
- protocol: Optional[str] = None):
837
+ internal: builtins.int,
838
+ external: Optional[builtins.int] = None,
839
+ ip: Optional[builtins.str] = None,
840
+ protocol: Optional[builtins.str] = None):
810
841
  """
811
- :param int internal: Port within the container.
812
- :param int external: Port exposed out of the container. If not given a free random port `>= 32768` will be used.
813
- :param str ip: IP address/mask that can access this port. Defaults to `0.0.0.0`.
814
- :param str protocol: Protocol that can be used over this port. Defaults to `tcp`.
842
+ :param builtins.int internal: Port within the container.
843
+ :param builtins.int external: Port exposed out of the container. If not given a free random port `>= 32768` will be used.
844
+ :param builtins.str ip: IP address/mask that can access this port. Defaults to `0.0.0.0`.
845
+ :param builtins.str protocol: Protocol that can be used over this port. Defaults to `tcp`.
815
846
  """
816
847
  pulumi.set(__self__, "internal", internal)
817
848
  if external is not None:
@@ -823,7 +854,7 @@ class ContainerPort(dict):
823
854
 
824
855
  @property
825
856
  @pulumi.getter
826
- def internal(self) -> int:
857
+ def internal(self) -> builtins.int:
827
858
  """
828
859
  Port within the container.
829
860
  """
@@ -831,7 +862,7 @@ class ContainerPort(dict):
831
862
 
832
863
  @property
833
864
  @pulumi.getter
834
- def external(self) -> Optional[int]:
865
+ def external(self) -> Optional[builtins.int]:
835
866
  """
836
867
  Port exposed out of the container. If not given a free random port `>= 32768` will be used.
837
868
  """
@@ -839,7 +870,7 @@ class ContainerPort(dict):
839
870
 
840
871
  @property
841
872
  @pulumi.getter
842
- def ip(self) -> Optional[str]:
873
+ def ip(self) -> Optional[builtins.str]:
843
874
  """
844
875
  IP address/mask that can access this port. Defaults to `0.0.0.0`.
845
876
  """
@@ -847,7 +878,7 @@ class ContainerPort(dict):
847
878
 
848
879
  @property
849
880
  @pulumi.getter
850
- def protocol(self) -> Optional[str]:
881
+ def protocol(self) -> Optional[builtins.str]:
851
882
  """
852
883
  Protocol that can be used over this port. Defaults to `tcp`.
853
884
  """
@@ -857,13 +888,13 @@ class ContainerPort(dict):
857
888
  @pulumi.output_type
858
889
  class ContainerUlimit(dict):
859
890
  def __init__(__self__, *,
860
- hard: int,
861
- name: str,
862
- soft: int):
891
+ hard: builtins.int,
892
+ name: builtins.str,
893
+ soft: builtins.int):
863
894
  """
864
- :param int hard: The hard limit
865
- :param str name: The name of the ulimit
866
- :param int soft: The soft limit
895
+ :param builtins.int hard: The hard limit
896
+ :param builtins.str name: The name of the ulimit
897
+ :param builtins.int soft: The soft limit
867
898
  """
868
899
  pulumi.set(__self__, "hard", hard)
869
900
  pulumi.set(__self__, "name", name)
@@ -871,7 +902,7 @@ class ContainerUlimit(dict):
871
902
 
872
903
  @property
873
904
  @pulumi.getter
874
- def hard(self) -> int:
905
+ def hard(self) -> builtins.int:
875
906
  """
876
907
  The hard limit
877
908
  """
@@ -879,7 +910,7 @@ class ContainerUlimit(dict):
879
910
 
880
911
  @property
881
912
  @pulumi.getter
882
- def name(self) -> str:
913
+ def name(self) -> builtins.str:
883
914
  """
884
915
  The name of the ulimit
885
916
  """
@@ -887,7 +918,7 @@ class ContainerUlimit(dict):
887
918
 
888
919
  @property
889
920
  @pulumi.getter
890
- def soft(self) -> int:
921
+ def soft(self) -> builtins.int:
891
922
  """
892
923
  The soft limit
893
924
  """
@@ -916,19 +947,21 @@ class ContainerUpload(dict):
916
947
  return super().get(key, default)
917
948
 
918
949
  def __init__(__self__, *,
919
- file: str,
920
- content: Optional[str] = None,
921
- content_base64: Optional[str] = None,
922
- executable: Optional[bool] = None,
923
- source: Optional[str] = None,
924
- source_hash: Optional[str] = None):
925
- """
926
- :param str file: Path to the file in the container where is upload goes to
927
- :param str content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` & `source`
928
- :param str content_base64: Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` & `source`
929
- :param bool executable: If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
930
- :param str source: A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `content_base64`
931
- :param str source_hash: If using `source`, this will force an update if the file content has updated but the filename has not.
950
+ file: builtins.str,
951
+ content: Optional[builtins.str] = None,
952
+ content_base64: Optional[builtins.str] = None,
953
+ executable: Optional[builtins.bool] = None,
954
+ permissions: Optional[builtins.str] = None,
955
+ source: Optional[builtins.str] = None,
956
+ source_hash: Optional[builtins.str] = None):
957
+ """
958
+ :param builtins.str file: Path to the file in the container where is upload goes to
959
+ :param builtins.str content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` & `source`
960
+ :param builtins.str content_base64: Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` & `source`
961
+ :param builtins.bool executable: If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
962
+ :param builtins.str permissions: The permission mode for the file in the container. Has precedence over `executable`.
963
+ :param builtins.str source: A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `content_base64`
964
+ :param builtins.str source_hash: If using `source`, this will force an update if the file content has updated but the filename has not.
932
965
  """
933
966
  pulumi.set(__self__, "file", file)
934
967
  if content is not None:
@@ -937,6 +970,8 @@ class ContainerUpload(dict):
937
970
  pulumi.set(__self__, "content_base64", content_base64)
938
971
  if executable is not None:
939
972
  pulumi.set(__self__, "executable", executable)
973
+ if permissions is not None:
974
+ pulumi.set(__self__, "permissions", permissions)
940
975
  if source is not None:
941
976
  pulumi.set(__self__, "source", source)
942
977
  if source_hash is not None:
@@ -944,7 +979,7 @@ class ContainerUpload(dict):
944
979
 
945
980
  @property
946
981
  @pulumi.getter
947
- def file(self) -> str:
982
+ def file(self) -> builtins.str:
948
983
  """
949
984
  Path to the file in the container where is upload goes to
950
985
  """
@@ -952,7 +987,7 @@ class ContainerUpload(dict):
952
987
 
953
988
  @property
954
989
  @pulumi.getter
955
- def content(self) -> Optional[str]:
990
+ def content(self) -> Optional[builtins.str]:
956
991
  """
957
992
  Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` & `source`
958
993
  """
@@ -960,7 +995,7 @@ class ContainerUpload(dict):
960
995
 
961
996
  @property
962
997
  @pulumi.getter(name="contentBase64")
963
- def content_base64(self) -> Optional[str]:
998
+ def content_base64(self) -> Optional[builtins.str]:
964
999
  """
965
1000
  Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` & `source`
966
1001
  """
@@ -968,7 +1003,7 @@ class ContainerUpload(dict):
968
1003
 
969
1004
  @property
970
1005
  @pulumi.getter
971
- def executable(self) -> Optional[bool]:
1006
+ def executable(self) -> Optional[builtins.bool]:
972
1007
  """
973
1008
  If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
974
1009
  """
@@ -976,7 +1011,15 @@ class ContainerUpload(dict):
976
1011
 
977
1012
  @property
978
1013
  @pulumi.getter
979
- def source(self) -> Optional[str]:
1014
+ def permissions(self) -> Optional[builtins.str]:
1015
+ """
1016
+ The permission mode for the file in the container. Has precedence over `executable`.
1017
+ """
1018
+ return pulumi.get(self, "permissions")
1019
+
1020
+ @property
1021
+ @pulumi.getter
1022
+ def source(self) -> Optional[builtins.str]:
980
1023
  """
981
1024
  A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `content_base64`
982
1025
  """
@@ -984,7 +1027,7 @@ class ContainerUpload(dict):
984
1027
 
985
1028
  @property
986
1029
  @pulumi.getter(name="sourceHash")
987
- def source_hash(self) -> Optional[str]:
1030
+ def source_hash(self) -> Optional[builtins.str]:
988
1031
  """
989
1032
  If using `source`, this will force an update if the file content has updated but the filename has not.
990
1033
  """
@@ -1019,17 +1062,17 @@ class ContainerVolume(dict):
1019
1062
  return super().get(key, default)
1020
1063
 
1021
1064
  def __init__(__self__, *,
1022
- container_path: Optional[str] = None,
1023
- from_container: Optional[str] = None,
1024
- host_path: Optional[str] = None,
1025
- read_only: Optional[bool] = None,
1026
- volume_name: Optional[str] = None):
1027
- """
1028
- :param str container_path: The path in the container where the volume will be mounted.
1029
- :param str from_container: The container where the volume is coming from.
1030
- :param str host_path: The path on the host where the volume is coming from.
1031
- :param bool read_only: If `true`, this volume will be readonly. Defaults to `false`.
1032
- :param str volume_name: The name of the docker volume which should be mounted.
1065
+ container_path: Optional[builtins.str] = None,
1066
+ from_container: Optional[builtins.str] = None,
1067
+ host_path: Optional[builtins.str] = None,
1068
+ read_only: Optional[builtins.bool] = None,
1069
+ volume_name: Optional[builtins.str] = None):
1070
+ """
1071
+ :param builtins.str container_path: The path in the container where the volume will be mounted.
1072
+ :param builtins.str from_container: The container where the volume is coming from.
1073
+ :param builtins.str host_path: The path on the host where the volume is coming from.
1074
+ :param builtins.bool read_only: If `true`, this volume will be readonly. Defaults to `false`.
1075
+ :param builtins.str volume_name: The name of the docker volume which should be mounted.
1033
1076
  """
1034
1077
  if container_path is not None:
1035
1078
  pulumi.set(__self__, "container_path", container_path)
@@ -1044,7 +1087,7 @@ class ContainerVolume(dict):
1044
1087
 
1045
1088
  @property
1046
1089
  @pulumi.getter(name="containerPath")
1047
- def container_path(self) -> Optional[str]:
1090
+ def container_path(self) -> Optional[builtins.str]:
1048
1091
  """
1049
1092
  The path in the container where the volume will be mounted.
1050
1093
  """
@@ -1052,7 +1095,7 @@ class ContainerVolume(dict):
1052
1095
 
1053
1096
  @property
1054
1097
  @pulumi.getter(name="fromContainer")
1055
- def from_container(self) -> Optional[str]:
1098
+ def from_container(self) -> Optional[builtins.str]:
1056
1099
  """
1057
1100
  The container where the volume is coming from.
1058
1101
  """
@@ -1060,7 +1103,7 @@ class ContainerVolume(dict):
1060
1103
 
1061
1104
  @property
1062
1105
  @pulumi.getter(name="hostPath")
1063
- def host_path(self) -> Optional[str]:
1106
+ def host_path(self) -> Optional[builtins.str]:
1064
1107
  """
1065
1108
  The path on the host where the volume is coming from.
1066
1109
  """
@@ -1068,7 +1111,7 @@ class ContainerVolume(dict):
1068
1111
 
1069
1112
  @property
1070
1113
  @pulumi.getter(name="readOnly")
1071
- def read_only(self) -> Optional[bool]:
1114
+ def read_only(self) -> Optional[builtins.bool]:
1072
1115
  """
1073
1116
  If `true`, this volume will be readonly. Defaults to `false`.
1074
1117
  """
@@ -1076,7 +1119,7 @@ class ContainerVolume(dict):
1076
1119
 
1077
1120
  @property
1078
1121
  @pulumi.getter(name="volumeName")
1079
- def volume_name(self) -> Optional[str]:
1122
+ def volume_name(self) -> Optional[builtins.str]:
1080
1123
  """
1081
1124
  The name of the docker volume which should be mounted.
1082
1125
  """
@@ -1105,15 +1148,15 @@ class NetworkIpamConfig(dict):
1105
1148
  return super().get(key, default)
1106
1149
 
1107
1150
  def __init__(__self__, *,
1108
- aux_address: Optional[Mapping[str, str]] = None,
1109
- gateway: Optional[str] = None,
1110
- ip_range: Optional[str] = None,
1111
- subnet: Optional[str] = None):
1151
+ aux_address: Optional[Mapping[str, builtins.str]] = None,
1152
+ gateway: Optional[builtins.str] = None,
1153
+ ip_range: Optional[builtins.str] = None,
1154
+ subnet: Optional[builtins.str] = None):
1112
1155
  """
1113
- :param Mapping[str, str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
1114
- :param str gateway: The IP address of the gateway
1115
- :param str ip_range: The ip range in CIDR form
1116
- :param str subnet: The subnet in CIDR form
1156
+ :param Mapping[str, builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
1157
+ :param builtins.str gateway: The IP address of the gateway
1158
+ :param builtins.str ip_range: The ip range in CIDR form
1159
+ :param builtins.str subnet: The subnet in CIDR form
1117
1160
  """
1118
1161
  if aux_address is not None:
1119
1162
  pulumi.set(__self__, "aux_address", aux_address)
@@ -1126,7 +1169,7 @@ class NetworkIpamConfig(dict):
1126
1169
 
1127
1170
  @property
1128
1171
  @pulumi.getter(name="auxAddress")
1129
- def aux_address(self) -> Optional[Mapping[str, str]]:
1172
+ def aux_address(self) -> Optional[Mapping[str, builtins.str]]:
1130
1173
  """
1131
1174
  Auxiliary IPv4 or IPv6 addresses used by Network driver
1132
1175
  """
@@ -1134,7 +1177,7 @@ class NetworkIpamConfig(dict):
1134
1177
 
1135
1178
  @property
1136
1179
  @pulumi.getter
1137
- def gateway(self) -> Optional[str]:
1180
+ def gateway(self) -> Optional[builtins.str]:
1138
1181
  """
1139
1182
  The IP address of the gateway
1140
1183
  """
@@ -1142,7 +1185,7 @@ class NetworkIpamConfig(dict):
1142
1185
 
1143
1186
  @property
1144
1187
  @pulumi.getter(name="ipRange")
1145
- def ip_range(self) -> Optional[str]:
1188
+ def ip_range(self) -> Optional[builtins.str]:
1146
1189
  """
1147
1190
  The ip range in CIDR form
1148
1191
  """
@@ -1150,7 +1193,7 @@ class NetworkIpamConfig(dict):
1150
1193
 
1151
1194
  @property
1152
1195
  @pulumi.getter
1153
- def subnet(self) -> Optional[str]:
1196
+ def subnet(self) -> Optional[builtins.str]:
1154
1197
  """
1155
1198
  The subnet in CIDR form
1156
1199
  """
@@ -1160,18 +1203,18 @@ class NetworkIpamConfig(dict):
1160
1203
  @pulumi.output_type
1161
1204
  class NetworkLabel(dict):
1162
1205
  def __init__(__self__, *,
1163
- label: str,
1164
- value: str):
1206
+ label: builtins.str,
1207
+ value: builtins.str):
1165
1208
  """
1166
- :param str label: Name of the label
1167
- :param str value: Value of the label
1209
+ :param builtins.str label: Name of the label
1210
+ :param builtins.str value: Value of the label
1168
1211
  """
1169
1212
  pulumi.set(__self__, "label", label)
1170
1213
  pulumi.set(__self__, "value", value)
1171
1214
 
1172
1215
  @property
1173
1216
  @pulumi.getter
1174
- def label(self) -> str:
1217
+ def label(self) -> builtins.str:
1175
1218
  """
1176
1219
  Name of the label
1177
1220
  """
@@ -1179,7 +1222,7 @@ class NetworkLabel(dict):
1179
1222
 
1180
1223
  @property
1181
1224
  @pulumi.getter
1182
- def value(self) -> str:
1225
+ def value(self) -> builtins.str:
1183
1226
  """
1184
1227
  Value of the label
1185
1228
  """
@@ -1189,18 +1232,18 @@ class NetworkLabel(dict):
1189
1232
  @pulumi.output_type
1190
1233
  class PluginGrantPermission(dict):
1191
1234
  def __init__(__self__, *,
1192
- name: str,
1193
- values: Sequence[str]):
1235
+ name: builtins.str,
1236
+ values: Sequence[builtins.str]):
1194
1237
  """
1195
- :param str name: The name of the permission
1196
- :param Sequence[str] values: The value of the permission
1238
+ :param builtins.str name: The name of the permission
1239
+ :param Sequence[builtins.str] values: The value of the permission
1197
1240
  """
1198
1241
  pulumi.set(__self__, "name", name)
1199
1242
  pulumi.set(__self__, "values", values)
1200
1243
 
1201
1244
  @property
1202
1245
  @pulumi.getter
1203
- def name(self) -> str:
1246
+ def name(self) -> builtins.str:
1204
1247
  """
1205
1248
  The name of the permission
1206
1249
  """
@@ -1208,13 +1251,53 @@ class PluginGrantPermission(dict):
1208
1251
 
1209
1252
  @property
1210
1253
  @pulumi.getter
1211
- def values(self) -> Sequence[str]:
1254
+ def values(self) -> Sequence[builtins.str]:
1212
1255
  """
1213
1256
  The value of the permission
1214
1257
  """
1215
1258
  return pulumi.get(self, "values")
1216
1259
 
1217
1260
 
1261
+ @pulumi.output_type
1262
+ class RegistryImageAuthConfig(dict):
1263
+ def __init__(__self__, *,
1264
+ address: builtins.str,
1265
+ password: builtins.str,
1266
+ username: builtins.str):
1267
+ """
1268
+ :param builtins.str address: The address of the Docker registry.
1269
+ :param builtins.str password: The password for the Docker registry.
1270
+ :param builtins.str username: The username for the Docker registry.
1271
+ """
1272
+ pulumi.set(__self__, "address", address)
1273
+ pulumi.set(__self__, "password", password)
1274
+ pulumi.set(__self__, "username", username)
1275
+
1276
+ @property
1277
+ @pulumi.getter
1278
+ def address(self) -> builtins.str:
1279
+ """
1280
+ The address of the Docker registry.
1281
+ """
1282
+ return pulumi.get(self, "address")
1283
+
1284
+ @property
1285
+ @pulumi.getter
1286
+ def password(self) -> builtins.str:
1287
+ """
1288
+ The password for the Docker registry.
1289
+ """
1290
+ return pulumi.get(self, "password")
1291
+
1292
+ @property
1293
+ @pulumi.getter
1294
+ def username(self) -> builtins.str:
1295
+ """
1296
+ The username for the Docker registry.
1297
+ """
1298
+ return pulumi.get(self, "username")
1299
+
1300
+
1218
1301
  @pulumi.output_type
1219
1302
  class RemoteImageBuild(dict):
1220
1303
  @staticmethod
@@ -1222,12 +1305,12 @@ class RemoteImageBuild(dict):
1222
1305
  suggest = None
1223
1306
  if key == "authConfigs":
1224
1307
  suggest = "auth_configs"
1225
- elif key == "buildArg":
1226
- suggest = "build_arg"
1227
1308
  elif key == "buildArgs":
1228
1309
  suggest = "build_args"
1229
1310
  elif key == "buildId":
1230
1311
  suggest = "build_id"
1312
+ elif key == "buildLogFile":
1313
+ suggest = "build_log_file"
1231
1314
  elif key == "cacheFroms":
1232
1315
  suggest = "cache_froms"
1233
1316
  elif key == "cgroupParent":
@@ -1277,87 +1360,93 @@ class RemoteImageBuild(dict):
1277
1360
  return super().get(key, default)
1278
1361
 
1279
1362
  def __init__(__self__, *,
1280
- context: str,
1363
+ context: builtins.str,
1281
1364
  auth_configs: Optional[Sequence['outputs.RemoteImageBuildAuthConfig']] = None,
1282
- build_arg: Optional[Mapping[str, str]] = None,
1283
- build_args: Optional[Mapping[str, str]] = None,
1284
- build_id: Optional[str] = None,
1285
- cache_froms: Optional[Sequence[str]] = None,
1286
- cgroup_parent: Optional[str] = None,
1287
- cpu_period: Optional[int] = None,
1288
- cpu_quota: Optional[int] = None,
1289
- cpu_set_cpus: Optional[str] = None,
1290
- cpu_set_mems: Optional[str] = None,
1291
- cpu_shares: Optional[int] = None,
1292
- dockerfile: Optional[str] = None,
1293
- extra_hosts: Optional[Sequence[str]] = None,
1294
- force_remove: Optional[bool] = None,
1295
- isolation: Optional[str] = None,
1296
- label: Optional[Mapping[str, str]] = None,
1297
- labels: Optional[Mapping[str, str]] = None,
1298
- memory: Optional[int] = None,
1299
- memory_swap: Optional[int] = None,
1300
- network_mode: Optional[str] = None,
1301
- no_cache: Optional[bool] = None,
1302
- platform: Optional[str] = None,
1303
- pull_parent: Optional[bool] = None,
1304
- remote_context: Optional[str] = None,
1305
- remove: Optional[bool] = None,
1306
- security_opts: Optional[Sequence[str]] = None,
1307
- session_id: Optional[str] = None,
1308
- shm_size: Optional[int] = None,
1309
- squash: Optional[bool] = None,
1310
- suppress_output: Optional[bool] = None,
1311
- tags: Optional[Sequence[str]] = None,
1312
- target: Optional[str] = None,
1365
+ build_args: Optional[Mapping[str, builtins.str]] = None,
1366
+ build_id: Optional[builtins.str] = None,
1367
+ build_log_file: Optional[builtins.str] = None,
1368
+ builder: Optional[builtins.str] = None,
1369
+ cache_froms: Optional[Sequence[builtins.str]] = None,
1370
+ cgroup_parent: Optional[builtins.str] = None,
1371
+ cpu_period: Optional[builtins.int] = None,
1372
+ cpu_quota: Optional[builtins.int] = None,
1373
+ cpu_set_cpus: Optional[builtins.str] = None,
1374
+ cpu_set_mems: Optional[builtins.str] = None,
1375
+ cpu_shares: Optional[builtins.int] = None,
1376
+ dockerfile: Optional[builtins.str] = None,
1377
+ extra_hosts: Optional[Sequence[builtins.str]] = None,
1378
+ force_remove: Optional[builtins.bool] = None,
1379
+ isolation: Optional[builtins.str] = None,
1380
+ label: Optional[Mapping[str, builtins.str]] = None,
1381
+ labels: Optional[Mapping[str, builtins.str]] = None,
1382
+ memory: Optional[builtins.int] = None,
1383
+ memory_swap: Optional[builtins.int] = None,
1384
+ network_mode: Optional[builtins.str] = None,
1385
+ no_cache: Optional[builtins.bool] = None,
1386
+ platform: Optional[builtins.str] = None,
1387
+ pull_parent: Optional[builtins.bool] = None,
1388
+ remote_context: Optional[builtins.str] = None,
1389
+ remove: Optional[builtins.bool] = None,
1390
+ secrets: Optional[Sequence['outputs.RemoteImageBuildSecret']] = None,
1391
+ security_opts: Optional[Sequence[builtins.str]] = None,
1392
+ session_id: Optional[builtins.str] = None,
1393
+ shm_size: Optional[builtins.int] = None,
1394
+ squash: Optional[builtins.bool] = None,
1395
+ suppress_output: Optional[builtins.bool] = None,
1396
+ tags: Optional[Sequence[builtins.str]] = None,
1397
+ target: Optional[builtins.str] = None,
1313
1398
  ulimits: Optional[Sequence['outputs.RemoteImageBuildUlimit']] = None,
1314
- version: Optional[str] = None):
1399
+ version: Optional[builtins.str] = None):
1315
1400
  """
1316
- :param str context: Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
1401
+ :param builtins.str context: Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. This always refers to the local working directory, even when building images on remote hosts. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
1317
1402
  :param Sequence['RemoteImageBuildAuthConfigArgs'] auth_configs: The configuration for the authentication
1318
- :param Mapping[str, str] build_arg: Set build-time variables
1319
- :param Mapping[str, str] build_args: Pairs for build-time variables in the form TODO
1320
- :param str build_id: BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
1321
- :param Sequence[str] cache_froms: Images to consider as cache sources
1322
- :param str cgroup_parent: Optional parent cgroup for the container
1323
- :param int cpu_period: The length of a CPU period in microseconds
1324
- :param int cpu_quota: Microseconds of CPU time that the container can get in a CPU period
1325
- :param str cpu_set_cpus: CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
1326
- :param str cpu_set_mems: MEMs in which to allow execution (`0-3`, `0`, `1`)
1327
- :param int cpu_shares: CPU shares (relative weight)
1328
- :param str dockerfile: Name of the Dockerfile. Defaults to `Dockerfile`.
1329
- :param Sequence[str] extra_hosts: A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
1330
- :param bool force_remove: Always remove intermediate containers
1331
- :param str isolation: Isolation represents the isolation technology of a container. The supported values are
1332
- :param Mapping[str, str] label: Set metadata for an image
1333
- :param Mapping[str, str] labels: User-defined key/value metadata
1334
- :param int memory: Set memory limit for build
1335
- :param int memory_swap: Total memory (memory + swap), -1 to enable unlimited swap
1336
- :param str network_mode: Set the networking mode for the RUN instructions during build
1337
- :param bool no_cache: Do not use the cache when building the image
1338
- :param str platform: Set platform if server is multi-platform capable
1339
- :param bool pull_parent: Attempt to pull the image even if an older image exists locally
1340
- :param str remote_context: A Git repository URI or HTTP/HTTPS context URI
1341
- :param bool remove: Remove intermediate containers after a successful build. Defaults to `true`.
1342
- :param Sequence[str] security_opts: The security options
1343
- :param str session_id: Set an ID for the build session
1344
- :param int shm_size: Size of /dev/shm in bytes. The size must be greater than 0
1345
- :param bool squash: If true the new layers are squashed into a new image with a single new layer
1346
- :param bool suppress_output: Suppress the build output and print image ID on success
1347
- :param Sequence[str] tags: Name and optionally a tag in the 'name:tag' format
1348
- :param str target: Set the target build stage to build
1403
+ :param Mapping[str, builtins.str] build_args: Pairs for build-time variables in the form of `ENDPOINT : "https://example.com"`
1404
+ :param builtins.str build_id: BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
1405
+ :param builtins.str build_log_file: Path to a file where the buildx log are written to. Only available when `builder` is set. If not set, no logs are available. The path is taken as is, so make sure to use a path that is available.
1406
+ :param builtins.str builder: Set the name of the buildx builder to use. If not set or empty, the legacy builder will be used.
1407
+ :param Sequence[builtins.str] cache_froms: Images to consider as cache sources
1408
+ :param builtins.str cgroup_parent: Optional parent cgroup for the container
1409
+ :param builtins.int cpu_period: The length of a CPU period in microseconds
1410
+ :param builtins.int cpu_quota: Microseconds of CPU time that the container can get in a CPU period
1411
+ :param builtins.str cpu_set_cpus: CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
1412
+ :param builtins.str cpu_set_mems: MEMs in which to allow execution (`0-3`, `0`, `1`)
1413
+ :param builtins.int cpu_shares: CPU shares (relative weight)
1414
+ :param builtins.str dockerfile: Name of the Dockerfile. Defaults to `Dockerfile`.
1415
+ :param Sequence[builtins.str] extra_hosts: A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
1416
+ :param builtins.bool force_remove: Always remove intermediate containers
1417
+ :param builtins.str isolation: Isolation represents the isolation technology of a container. The supported values are
1418
+ :param Mapping[str, builtins.str] label: Set metadata for an image
1419
+ :param Mapping[str, builtins.str] labels: User-defined key/value metadata
1420
+ :param builtins.int memory: Set memory limit for build
1421
+ :param builtins.int memory_swap: Total memory (memory + swap), -1 to enable unlimited swap
1422
+ :param builtins.str network_mode: Set the networking mode for the RUN instructions during build
1423
+ :param builtins.bool no_cache: Do not use the cache when building the image
1424
+ :param builtins.str platform: Set platform if server is multi-platform capable
1425
+ :param builtins.bool pull_parent: Attempt to pull the image even if an older image exists locally
1426
+ :param builtins.str remote_context: A Git repository URI or HTTP/HTTPS context URI. Will be ignored if `builder` is set.
1427
+ :param builtins.bool remove: Remove intermediate containers after a successful build. Defaults to `true`.
1428
+ :param Sequence['RemoteImageBuildSecretArgs'] secrets: Set build-time secrets. Only available when you use a buildx builder.
1429
+ :param Sequence[builtins.str] security_opts: The security options
1430
+ :param builtins.str session_id: Set an ID for the build session
1431
+ :param builtins.int shm_size: Size of /dev/shm in bytes. The size must be greater than 0
1432
+ :param builtins.bool squash: If true the new layers are squashed into a new image with a single new layer
1433
+ :param builtins.bool suppress_output: Suppress the build output and print image ID on success
1434
+ :param Sequence[builtins.str] tags: Name and optionally a tag in the 'name:tag' format
1435
+ :param builtins.str target: Set the target build stage to build
1349
1436
  :param Sequence['RemoteImageBuildUlimitArgs'] ulimits: Configuration for ulimits
1350
- :param str version: Version of the underlying builder to use
1437
+ :param builtins.str version: Version of the underlying builder to use
1351
1438
  """
1352
1439
  pulumi.set(__self__, "context", context)
1353
1440
  if auth_configs is not None:
1354
1441
  pulumi.set(__self__, "auth_configs", auth_configs)
1355
- if build_arg is not None:
1356
- pulumi.set(__self__, "build_arg", build_arg)
1357
1442
  if build_args is not None:
1358
1443
  pulumi.set(__self__, "build_args", build_args)
1359
1444
  if build_id is not None:
1360
1445
  pulumi.set(__self__, "build_id", build_id)
1446
+ if build_log_file is not None:
1447
+ pulumi.set(__self__, "build_log_file", build_log_file)
1448
+ if builder is not None:
1449
+ pulumi.set(__self__, "builder", builder)
1361
1450
  if cache_froms is not None:
1362
1451
  pulumi.set(__self__, "cache_froms", cache_froms)
1363
1452
  if cgroup_parent is not None:
@@ -1400,6 +1489,8 @@ class RemoteImageBuild(dict):
1400
1489
  pulumi.set(__self__, "remote_context", remote_context)
1401
1490
  if remove is not None:
1402
1491
  pulumi.set(__self__, "remove", remove)
1492
+ if secrets is not None:
1493
+ pulumi.set(__self__, "secrets", secrets)
1403
1494
  if security_opts is not None:
1404
1495
  pulumi.set(__self__, "security_opts", security_opts)
1405
1496
  if session_id is not None:
@@ -1421,9 +1512,9 @@ class RemoteImageBuild(dict):
1421
1512
 
1422
1513
  @property
1423
1514
  @pulumi.getter
1424
- def context(self) -> str:
1515
+ def context(self) -> builtins.str:
1425
1516
  """
1426
- Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
1517
+ Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. This always refers to the local working directory, even when building images on remote hosts. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
1427
1518
  """
1428
1519
  return pulumi.get(self, "context")
1429
1520
 
@@ -1435,33 +1526,41 @@ class RemoteImageBuild(dict):
1435
1526
  """
1436
1527
  return pulumi.get(self, "auth_configs")
1437
1528
 
1438
- @property
1439
- @pulumi.getter(name="buildArg")
1440
- def build_arg(self) -> Optional[Mapping[str, str]]:
1441
- """
1442
- Set build-time variables
1443
- """
1444
- return pulumi.get(self, "build_arg")
1445
-
1446
1529
  @property
1447
1530
  @pulumi.getter(name="buildArgs")
1448
- def build_args(self) -> Optional[Mapping[str, str]]:
1531
+ def build_args(self) -> Optional[Mapping[str, builtins.str]]:
1449
1532
  """
1450
- Pairs for build-time variables in the form TODO
1533
+ Pairs for build-time variables in the form of `ENDPOINT : "https://example.com"`
1451
1534
  """
1452
1535
  return pulumi.get(self, "build_args")
1453
1536
 
1454
1537
  @property
1455
1538
  @pulumi.getter(name="buildId")
1456
- def build_id(self) -> Optional[str]:
1539
+ def build_id(self) -> Optional[builtins.str]:
1457
1540
  """
1458
1541
  BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
1459
1542
  """
1460
1543
  return pulumi.get(self, "build_id")
1461
1544
 
1545
+ @property
1546
+ @pulumi.getter(name="buildLogFile")
1547
+ def build_log_file(self) -> Optional[builtins.str]:
1548
+ """
1549
+ Path to a file where the buildx log are written to. Only available when `builder` is set. If not set, no logs are available. The path is taken as is, so make sure to use a path that is available.
1550
+ """
1551
+ return pulumi.get(self, "build_log_file")
1552
+
1553
+ @property
1554
+ @pulumi.getter
1555
+ def builder(self) -> Optional[builtins.str]:
1556
+ """
1557
+ Set the name of the buildx builder to use. If not set or empty, the legacy builder will be used.
1558
+ """
1559
+ return pulumi.get(self, "builder")
1560
+
1462
1561
  @property
1463
1562
  @pulumi.getter(name="cacheFroms")
1464
- def cache_froms(self) -> Optional[Sequence[str]]:
1563
+ def cache_froms(self) -> Optional[Sequence[builtins.str]]:
1465
1564
  """
1466
1565
  Images to consider as cache sources
1467
1566
  """
@@ -1469,7 +1568,7 @@ class RemoteImageBuild(dict):
1469
1568
 
1470
1569
  @property
1471
1570
  @pulumi.getter(name="cgroupParent")
1472
- def cgroup_parent(self) -> Optional[str]:
1571
+ def cgroup_parent(self) -> Optional[builtins.str]:
1473
1572
  """
1474
1573
  Optional parent cgroup for the container
1475
1574
  """
@@ -1477,7 +1576,7 @@ class RemoteImageBuild(dict):
1477
1576
 
1478
1577
  @property
1479
1578
  @pulumi.getter(name="cpuPeriod")
1480
- def cpu_period(self) -> Optional[int]:
1579
+ def cpu_period(self) -> Optional[builtins.int]:
1481
1580
  """
1482
1581
  The length of a CPU period in microseconds
1483
1582
  """
@@ -1485,7 +1584,7 @@ class RemoteImageBuild(dict):
1485
1584
 
1486
1585
  @property
1487
1586
  @pulumi.getter(name="cpuQuota")
1488
- def cpu_quota(self) -> Optional[int]:
1587
+ def cpu_quota(self) -> Optional[builtins.int]:
1489
1588
  """
1490
1589
  Microseconds of CPU time that the container can get in a CPU period
1491
1590
  """
@@ -1493,7 +1592,7 @@ class RemoteImageBuild(dict):
1493
1592
 
1494
1593
  @property
1495
1594
  @pulumi.getter(name="cpuSetCpus")
1496
- def cpu_set_cpus(self) -> Optional[str]:
1595
+ def cpu_set_cpus(self) -> Optional[builtins.str]:
1497
1596
  """
1498
1597
  CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
1499
1598
  """
@@ -1501,7 +1600,7 @@ class RemoteImageBuild(dict):
1501
1600
 
1502
1601
  @property
1503
1602
  @pulumi.getter(name="cpuSetMems")
1504
- def cpu_set_mems(self) -> Optional[str]:
1603
+ def cpu_set_mems(self) -> Optional[builtins.str]:
1505
1604
  """
1506
1605
  MEMs in which to allow execution (`0-3`, `0`, `1`)
1507
1606
  """
@@ -1509,7 +1608,7 @@ class RemoteImageBuild(dict):
1509
1608
 
1510
1609
  @property
1511
1610
  @pulumi.getter(name="cpuShares")
1512
- def cpu_shares(self) -> Optional[int]:
1611
+ def cpu_shares(self) -> Optional[builtins.int]:
1513
1612
  """
1514
1613
  CPU shares (relative weight)
1515
1614
  """
@@ -1517,7 +1616,7 @@ class RemoteImageBuild(dict):
1517
1616
 
1518
1617
  @property
1519
1618
  @pulumi.getter
1520
- def dockerfile(self) -> Optional[str]:
1619
+ def dockerfile(self) -> Optional[builtins.str]:
1521
1620
  """
1522
1621
  Name of the Dockerfile. Defaults to `Dockerfile`.
1523
1622
  """
@@ -1525,7 +1624,7 @@ class RemoteImageBuild(dict):
1525
1624
 
1526
1625
  @property
1527
1626
  @pulumi.getter(name="extraHosts")
1528
- def extra_hosts(self) -> Optional[Sequence[str]]:
1627
+ def extra_hosts(self) -> Optional[Sequence[builtins.str]]:
1529
1628
  """
1530
1629
  A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
1531
1630
  """
@@ -1533,7 +1632,7 @@ class RemoteImageBuild(dict):
1533
1632
 
1534
1633
  @property
1535
1634
  @pulumi.getter(name="forceRemove")
1536
- def force_remove(self) -> Optional[bool]:
1635
+ def force_remove(self) -> Optional[builtins.bool]:
1537
1636
  """
1538
1637
  Always remove intermediate containers
1539
1638
  """
@@ -1541,7 +1640,7 @@ class RemoteImageBuild(dict):
1541
1640
 
1542
1641
  @property
1543
1642
  @pulumi.getter
1544
- def isolation(self) -> Optional[str]:
1643
+ def isolation(self) -> Optional[builtins.str]:
1545
1644
  """
1546
1645
  Isolation represents the isolation technology of a container. The supported values are
1547
1646
  """
@@ -1549,7 +1648,7 @@ class RemoteImageBuild(dict):
1549
1648
 
1550
1649
  @property
1551
1650
  @pulumi.getter
1552
- def label(self) -> Optional[Mapping[str, str]]:
1651
+ def label(self) -> Optional[Mapping[str, builtins.str]]:
1553
1652
  """
1554
1653
  Set metadata for an image
1555
1654
  """
@@ -1557,7 +1656,7 @@ class RemoteImageBuild(dict):
1557
1656
 
1558
1657
  @property
1559
1658
  @pulumi.getter
1560
- def labels(self) -> Optional[Mapping[str, str]]:
1659
+ def labels(self) -> Optional[Mapping[str, builtins.str]]:
1561
1660
  """
1562
1661
  User-defined key/value metadata
1563
1662
  """
@@ -1565,7 +1664,7 @@ class RemoteImageBuild(dict):
1565
1664
 
1566
1665
  @property
1567
1666
  @pulumi.getter
1568
- def memory(self) -> Optional[int]:
1667
+ def memory(self) -> Optional[builtins.int]:
1569
1668
  """
1570
1669
  Set memory limit for build
1571
1670
  """
@@ -1573,7 +1672,7 @@ class RemoteImageBuild(dict):
1573
1672
 
1574
1673
  @property
1575
1674
  @pulumi.getter(name="memorySwap")
1576
- def memory_swap(self) -> Optional[int]:
1675
+ def memory_swap(self) -> Optional[builtins.int]:
1577
1676
  """
1578
1677
  Total memory (memory + swap), -1 to enable unlimited swap
1579
1678
  """
@@ -1581,7 +1680,7 @@ class RemoteImageBuild(dict):
1581
1680
 
1582
1681
  @property
1583
1682
  @pulumi.getter(name="networkMode")
1584
- def network_mode(self) -> Optional[str]:
1683
+ def network_mode(self) -> Optional[builtins.str]:
1585
1684
  """
1586
1685
  Set the networking mode for the RUN instructions during build
1587
1686
  """
@@ -1589,7 +1688,7 @@ class RemoteImageBuild(dict):
1589
1688
 
1590
1689
  @property
1591
1690
  @pulumi.getter(name="noCache")
1592
- def no_cache(self) -> Optional[bool]:
1691
+ def no_cache(self) -> Optional[builtins.bool]:
1593
1692
  """
1594
1693
  Do not use the cache when building the image
1595
1694
  """
@@ -1597,7 +1696,7 @@ class RemoteImageBuild(dict):
1597
1696
 
1598
1697
  @property
1599
1698
  @pulumi.getter
1600
- def platform(self) -> Optional[str]:
1699
+ def platform(self) -> Optional[builtins.str]:
1601
1700
  """
1602
1701
  Set platform if server is multi-platform capable
1603
1702
  """
@@ -1605,7 +1704,7 @@ class RemoteImageBuild(dict):
1605
1704
 
1606
1705
  @property
1607
1706
  @pulumi.getter(name="pullParent")
1608
- def pull_parent(self) -> Optional[bool]:
1707
+ def pull_parent(self) -> Optional[builtins.bool]:
1609
1708
  """
1610
1709
  Attempt to pull the image even if an older image exists locally
1611
1710
  """
@@ -1613,23 +1712,31 @@ class RemoteImageBuild(dict):
1613
1712
 
1614
1713
  @property
1615
1714
  @pulumi.getter(name="remoteContext")
1616
- def remote_context(self) -> Optional[str]:
1715
+ def remote_context(self) -> Optional[builtins.str]:
1617
1716
  """
1618
- A Git repository URI or HTTP/HTTPS context URI
1717
+ A Git repository URI or HTTP/HTTPS context URI. Will be ignored if `builder` is set.
1619
1718
  """
1620
1719
  return pulumi.get(self, "remote_context")
1621
1720
 
1622
1721
  @property
1623
1722
  @pulumi.getter
1624
- def remove(self) -> Optional[bool]:
1723
+ def remove(self) -> Optional[builtins.bool]:
1625
1724
  """
1626
1725
  Remove intermediate containers after a successful build. Defaults to `true`.
1627
1726
  """
1628
1727
  return pulumi.get(self, "remove")
1629
1728
 
1729
+ @property
1730
+ @pulumi.getter
1731
+ def secrets(self) -> Optional[Sequence['outputs.RemoteImageBuildSecret']]:
1732
+ """
1733
+ Set build-time secrets. Only available when you use a buildx builder.
1734
+ """
1735
+ return pulumi.get(self, "secrets")
1736
+
1630
1737
  @property
1631
1738
  @pulumi.getter(name="securityOpts")
1632
- def security_opts(self) -> Optional[Sequence[str]]:
1739
+ def security_opts(self) -> Optional[Sequence[builtins.str]]:
1633
1740
  """
1634
1741
  The security options
1635
1742
  """
@@ -1637,7 +1744,7 @@ class RemoteImageBuild(dict):
1637
1744
 
1638
1745
  @property
1639
1746
  @pulumi.getter(name="sessionId")
1640
- def session_id(self) -> Optional[str]:
1747
+ def session_id(self) -> Optional[builtins.str]:
1641
1748
  """
1642
1749
  Set an ID for the build session
1643
1750
  """
@@ -1645,7 +1752,7 @@ class RemoteImageBuild(dict):
1645
1752
 
1646
1753
  @property
1647
1754
  @pulumi.getter(name="shmSize")
1648
- def shm_size(self) -> Optional[int]:
1755
+ def shm_size(self) -> Optional[builtins.int]:
1649
1756
  """
1650
1757
  Size of /dev/shm in bytes. The size must be greater than 0
1651
1758
  """
@@ -1653,7 +1760,7 @@ class RemoteImageBuild(dict):
1653
1760
 
1654
1761
  @property
1655
1762
  @pulumi.getter
1656
- def squash(self) -> Optional[bool]:
1763
+ def squash(self) -> Optional[builtins.bool]:
1657
1764
  """
1658
1765
  If true the new layers are squashed into a new image with a single new layer
1659
1766
  """
@@ -1661,7 +1768,7 @@ class RemoteImageBuild(dict):
1661
1768
 
1662
1769
  @property
1663
1770
  @pulumi.getter(name="suppressOutput")
1664
- def suppress_output(self) -> Optional[bool]:
1771
+ def suppress_output(self) -> Optional[builtins.bool]:
1665
1772
  """
1666
1773
  Suppress the build output and print image ID on success
1667
1774
  """
@@ -1669,7 +1776,7 @@ class RemoteImageBuild(dict):
1669
1776
 
1670
1777
  @property
1671
1778
  @pulumi.getter
1672
- def tags(self) -> Optional[Sequence[str]]:
1779
+ def tags(self) -> Optional[Sequence[builtins.str]]:
1673
1780
  """
1674
1781
  Name and optionally a tag in the 'name:tag' format
1675
1782
  """
@@ -1677,7 +1784,7 @@ class RemoteImageBuild(dict):
1677
1784
 
1678
1785
  @property
1679
1786
  @pulumi.getter
1680
- def target(self) -> Optional[str]:
1787
+ def target(self) -> Optional[builtins.str]:
1681
1788
  """
1682
1789
  Set the target build stage to build
1683
1790
  """
@@ -1693,7 +1800,7 @@ class RemoteImageBuild(dict):
1693
1800
 
1694
1801
  @property
1695
1802
  @pulumi.getter
1696
- def version(self) -> Optional[str]:
1803
+ def version(self) -> Optional[builtins.str]:
1697
1804
  """
1698
1805
  Version of the underlying builder to use
1699
1806
  """
@@ -1728,23 +1835,23 @@ class RemoteImageBuildAuthConfig(dict):
1728
1835
  return super().get(key, default)
1729
1836
 
1730
1837
  def __init__(__self__, *,
1731
- host_name: str,
1732
- auth: Optional[str] = None,
1733
- email: Optional[str] = None,
1734
- identity_token: Optional[str] = None,
1735
- password: Optional[str] = None,
1736
- registry_token: Optional[str] = None,
1737
- server_address: Optional[str] = None,
1738
- user_name: Optional[str] = None):
1739
- """
1740
- :param str host_name: hostname of the registry
1741
- :param str auth: the auth token
1742
- :param str email: the user emal
1743
- :param str identity_token: the identity token
1744
- :param str password: the registry password
1745
- :param str registry_token: the registry token
1746
- :param str server_address: the server address
1747
- :param str user_name: the registry user name
1838
+ host_name: builtins.str,
1839
+ auth: Optional[builtins.str] = None,
1840
+ email: Optional[builtins.str] = None,
1841
+ identity_token: Optional[builtins.str] = None,
1842
+ password: Optional[builtins.str] = None,
1843
+ registry_token: Optional[builtins.str] = None,
1844
+ server_address: Optional[builtins.str] = None,
1845
+ user_name: Optional[builtins.str] = None):
1846
+ """
1847
+ :param builtins.str host_name: hostname of the registry
1848
+ :param builtins.str auth: the auth token
1849
+ :param builtins.str email: the user emal
1850
+ :param builtins.str identity_token: the identity token
1851
+ :param builtins.str password: the registry password
1852
+ :param builtins.str registry_token: the registry token
1853
+ :param builtins.str server_address: the server address
1854
+ :param builtins.str user_name: the registry user name
1748
1855
  """
1749
1856
  pulumi.set(__self__, "host_name", host_name)
1750
1857
  if auth is not None:
@@ -1764,7 +1871,7 @@ class RemoteImageBuildAuthConfig(dict):
1764
1871
 
1765
1872
  @property
1766
1873
  @pulumi.getter(name="hostName")
1767
- def host_name(self) -> str:
1874
+ def host_name(self) -> builtins.str:
1768
1875
  """
1769
1876
  hostname of the registry
1770
1877
  """
@@ -1772,7 +1879,7 @@ class RemoteImageBuildAuthConfig(dict):
1772
1879
 
1773
1880
  @property
1774
1881
  @pulumi.getter
1775
- def auth(self) -> Optional[str]:
1882
+ def auth(self) -> Optional[builtins.str]:
1776
1883
  """
1777
1884
  the auth token
1778
1885
  """
@@ -1780,7 +1887,7 @@ class RemoteImageBuildAuthConfig(dict):
1780
1887
 
1781
1888
  @property
1782
1889
  @pulumi.getter
1783
- def email(self) -> Optional[str]:
1890
+ def email(self) -> Optional[builtins.str]:
1784
1891
  """
1785
1892
  the user emal
1786
1893
  """
@@ -1788,7 +1895,7 @@ class RemoteImageBuildAuthConfig(dict):
1788
1895
 
1789
1896
  @property
1790
1897
  @pulumi.getter(name="identityToken")
1791
- def identity_token(self) -> Optional[str]:
1898
+ def identity_token(self) -> Optional[builtins.str]:
1792
1899
  """
1793
1900
  the identity token
1794
1901
  """
@@ -1796,7 +1903,7 @@ class RemoteImageBuildAuthConfig(dict):
1796
1903
 
1797
1904
  @property
1798
1905
  @pulumi.getter
1799
- def password(self) -> Optional[str]:
1906
+ def password(self) -> Optional[builtins.str]:
1800
1907
  """
1801
1908
  the registry password
1802
1909
  """
@@ -1804,7 +1911,7 @@ class RemoteImageBuildAuthConfig(dict):
1804
1911
 
1805
1912
  @property
1806
1913
  @pulumi.getter(name="registryToken")
1807
- def registry_token(self) -> Optional[str]:
1914
+ def registry_token(self) -> Optional[builtins.str]:
1808
1915
  """
1809
1916
  the registry token
1810
1917
  """
@@ -1812,7 +1919,7 @@ class RemoteImageBuildAuthConfig(dict):
1812
1919
 
1813
1920
  @property
1814
1921
  @pulumi.getter(name="serverAddress")
1815
- def server_address(self) -> Optional[str]:
1922
+ def server_address(self) -> Optional[builtins.str]:
1816
1923
  """
1817
1924
  the server address
1818
1925
  """
@@ -1820,23 +1927,65 @@ class RemoteImageBuildAuthConfig(dict):
1820
1927
 
1821
1928
  @property
1822
1929
  @pulumi.getter(name="userName")
1823
- def user_name(self) -> Optional[str]:
1930
+ def user_name(self) -> Optional[builtins.str]:
1824
1931
  """
1825
1932
  the registry user name
1826
1933
  """
1827
1934
  return pulumi.get(self, "user_name")
1828
1935
 
1829
1936
 
1937
+ @pulumi.output_type
1938
+ class RemoteImageBuildSecret(dict):
1939
+ def __init__(__self__, *,
1940
+ id: builtins.str,
1941
+ env: Optional[builtins.str] = None,
1942
+ src: Optional[builtins.str] = None):
1943
+ """
1944
+ :param builtins.str id: ID of the secret. By default, secrets are mounted to /run/secrets/\\n\\n
1945
+ :param builtins.str env: Environment variable source of the secret
1946
+ :param builtins.str src: File source of the secret. Takes precedence over `env`
1947
+ """
1948
+ pulumi.set(__self__, "id", id)
1949
+ if env is not None:
1950
+ pulumi.set(__self__, "env", env)
1951
+ if src is not None:
1952
+ pulumi.set(__self__, "src", src)
1953
+
1954
+ @property
1955
+ @pulumi.getter
1956
+ def id(self) -> builtins.str:
1957
+ """
1958
+ ID of the secret. By default, secrets are mounted to /run/secrets/\\n\\n
1959
+ """
1960
+ return pulumi.get(self, "id")
1961
+
1962
+ @property
1963
+ @pulumi.getter
1964
+ def env(self) -> Optional[builtins.str]:
1965
+ """
1966
+ Environment variable source of the secret
1967
+ """
1968
+ return pulumi.get(self, "env")
1969
+
1970
+ @property
1971
+ @pulumi.getter
1972
+ def src(self) -> Optional[builtins.str]:
1973
+ """
1974
+ File source of the secret. Takes precedence over `env`
1975
+ """
1976
+ return pulumi.get(self, "src")
1977
+
1978
+
1830
1979
  @pulumi.output_type
1831
1980
  class RemoteImageBuildUlimit(dict):
1832
1981
  def __init__(__self__, *,
1833
- hard: int,
1834
- name: str,
1835
- soft: int):
1982
+ hard: builtins.int,
1983
+ name: builtins.str,
1984
+ soft: builtins.int):
1836
1985
  """
1837
- :param int hard: soft limit
1838
- :param str name: type of ulimit, e.g. `nofile`
1839
- :param int soft: hard limit
1986
+ :param builtins.int hard: soft limit
1987
+ :param builtins.str name: type of ulimit, e.g. `nofile`
1988
+ :param builtins.int soft: hard limit
1840
1989
  """
1841
1990
  pulumi.set(__self__, "hard", hard)
1842
1991
  pulumi.set(__self__, "name", name)
@@ -1844,7 +1993,7 @@ class RemoteImageBuildUlimit(dict):
1844
1993
 
1845
1994
  @property
1846
1995
  @pulumi.getter
1847
- def hard(self) -> int:
1996
+ def hard(self) -> builtins.int:
1848
1997
  """
1849
1998
  soft limit
1850
1999
  """
@@ -1852,7 +2001,7 @@ class RemoteImageBuildUlimit(dict):
1852
2001
 
1853
2002
  @property
1854
2003
  @pulumi.getter
1855
- def name(self) -> str:
2004
+ def name(self) -> builtins.str:
1856
2005
  """
1857
2006
  type of ulimit, e.g. `nofile`
1858
2007
  """
@@ -1860,7 +2009,7 @@ class RemoteImageBuildUlimit(dict):
1860
2009
 
1861
2010
  @property
1862
2011
  @pulumi.getter
1863
- def soft(self) -> int:
2012
+ def soft(self) -> builtins.int:
1864
2013
  """
1865
2014
  hard limit
1866
2015
  """
@@ -1870,18 +2019,18 @@ class RemoteImageBuildUlimit(dict):
1870
2019
  @pulumi.output_type
1871
2020
  class SecretLabel(dict):
1872
2021
  def __init__(__self__, *,
1873
- label: str,
1874
- value: str):
2022
+ label: builtins.str,
2023
+ value: builtins.str):
1875
2024
  """
1876
- :param str label: Name of the label
1877
- :param str value: Value of the label
2025
+ :param builtins.str label: Name of the label
2026
+ :param builtins.str value: Value of the label
1878
2027
  """
1879
2028
  pulumi.set(__self__, "label", label)
1880
2029
  pulumi.set(__self__, "value", value)
1881
2030
 
1882
2031
  @property
1883
2032
  @pulumi.getter
1884
- def label(self) -> str:
2033
+ def label(self) -> builtins.str:
1885
2034
  """
1886
2035
  Name of the label
1887
2036
  """
@@ -1889,7 +2038,7 @@ class SecretLabel(dict):
1889
2038
 
1890
2039
  @property
1891
2040
  @pulumi.getter
1892
- def value(self) -> str:
2041
+ def value(self) -> builtins.str:
1893
2042
  """
1894
2043
  Value of the label
1895
2044
  """
@@ -1916,13 +2065,13 @@ class ServiceAuth(dict):
1916
2065
  return super().get(key, default)
1917
2066
 
1918
2067
  def __init__(__self__, *,
1919
- server_address: str,
1920
- password: Optional[str] = None,
1921
- username: Optional[str] = None):
2068
+ server_address: builtins.str,
2069
+ password: Optional[builtins.str] = None,
2070
+ username: Optional[builtins.str] = None):
1922
2071
  """
1923
- :param str server_address: The address of the server for the authentication
1924
- :param str password: The password
1925
- :param str username: The username
2072
+ :param builtins.str server_address: The address of the server for the authentication
2073
+ :param builtins.str password: The password
2074
+ :param builtins.str username: The username
1926
2075
  """
1927
2076
  pulumi.set(__self__, "server_address", server_address)
1928
2077
  if password is not None:
@@ -1932,7 +2081,7 @@ class ServiceAuth(dict):
1932
2081
 
1933
2082
  @property
1934
2083
  @pulumi.getter(name="serverAddress")
1935
- def server_address(self) -> str:
2084
+ def server_address(self) -> builtins.str:
1936
2085
  """
1937
2086
  The address of the server for the authentication
1938
2087
  """
@@ -1940,7 +2089,7 @@ class ServiceAuth(dict):
1940
2089
 
1941
2090
  @property
1942
2091
  @pulumi.getter
1943
- def password(self) -> Optional[str]:
2092
+ def password(self) -> Optional[builtins.str]:
1944
2093
  """
1945
2094
  The password
1946
2095
  """
@@ -1948,7 +2097,7 @@ class ServiceAuth(dict):
1948
2097
 
1949
2098
  @property
1950
2099
  @pulumi.getter
1951
- def username(self) -> Optional[str]:
2100
+ def username(self) -> Optional[builtins.str]:
1952
2101
  """
1953
2102
  The username
1954
2103
  """
@@ -1958,11 +2107,11 @@ class ServiceAuth(dict):
1958
2107
  @pulumi.output_type
1959
2108
  class ServiceConvergeConfig(dict):
1960
2109
  def __init__(__self__, *,
1961
- delay: Optional[str] = None,
1962
- timeout: Optional[str] = None):
2110
+ delay: Optional[builtins.str] = None,
2111
+ timeout: Optional[builtins.str] = None):
1963
2112
  """
1964
- :param str delay: The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
1965
- :param str timeout: The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
2113
+ :param builtins.str delay: The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
2114
+ :param builtins.str timeout: The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
1966
2115
  """
1967
2116
  if delay is not None:
1968
2117
  pulumi.set(__self__, "delay", delay)
@@ -1971,7 +2120,7 @@ class ServiceConvergeConfig(dict):
1971
2120
 
1972
2121
  @property
1973
2122
  @pulumi.getter
1974
- def delay(self) -> Optional[str]:
2123
+ def delay(self) -> Optional[builtins.str]:
1975
2124
  """
1976
2125
  The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
1977
2126
  """
@@ -1979,7 +2128,7 @@ class ServiceConvergeConfig(dict):
1979
2128
 
1980
2129
  @property
1981
2130
  @pulumi.getter
1982
- def timeout(self) -> Optional[str]:
2131
+ def timeout(self) -> Optional[builtins.str]:
1983
2132
  """
1984
2133
  The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
1985
2134
  """
@@ -1989,10 +2138,10 @@ class ServiceConvergeConfig(dict):
1989
2138
  @pulumi.output_type
1990
2139
  class ServiceEndpointSpec(dict):
1991
2140
  def __init__(__self__, *,
1992
- mode: Optional[str] = None,
2141
+ mode: Optional[builtins.str] = None,
1993
2142
  ports: Optional[Sequence['outputs.ServiceEndpointSpecPort']] = None):
1994
2143
  """
1995
- :param str mode: The mode of resolution to use for internal load balancing between tasks
2144
+ :param builtins.str mode: The mode of resolution to use for internal load balancing between tasks
1996
2145
  :param Sequence['ServiceEndpointSpecPortArgs'] ports: List of exposed ports that this service is accessible on from the outside. Ports can only be provided if 'vip' resolution mode is used
1997
2146
  """
1998
2147
  if mode is not None:
@@ -2002,7 +2151,7 @@ class ServiceEndpointSpec(dict):
2002
2151
 
2003
2152
  @property
2004
2153
  @pulumi.getter
2005
- def mode(self) -> Optional[str]:
2154
+ def mode(self) -> Optional[builtins.str]:
2006
2155
  """
2007
2156
  The mode of resolution to use for internal load balancing between tasks
2008
2157
  """
@@ -2041,17 +2190,17 @@ class ServiceEndpointSpecPort(dict):
2041
2190
  return super().get(key, default)
2042
2191
 
2043
2192
  def __init__(__self__, *,
2044
- target_port: int,
2045
- name: Optional[str] = None,
2046
- protocol: Optional[str] = None,
2047
- publish_mode: Optional[str] = None,
2048
- published_port: Optional[int] = None):
2049
- """
2050
- :param int target_port: The port inside the container
2051
- :param str name: A random name for the port
2052
- :param str protocol: Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2053
- :param str publish_mode: Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2054
- :param int published_port: The port on the swarm hosts
2193
+ target_port: builtins.int,
2194
+ name: Optional[builtins.str] = None,
2195
+ protocol: Optional[builtins.str] = None,
2196
+ publish_mode: Optional[builtins.str] = None,
2197
+ published_port: Optional[builtins.int] = None):
2198
+ """
2199
+ :param builtins.int target_port: The port inside the container
2200
+ :param builtins.str name: A random name for the port
2201
+ :param builtins.str protocol: Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2202
+ :param builtins.str publish_mode: Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2203
+ :param builtins.int published_port: The port on the swarm hosts
2055
2204
  """
2056
2205
  pulumi.set(__self__, "target_port", target_port)
2057
2206
  if name is not None:
@@ -2065,7 +2214,7 @@ class ServiceEndpointSpecPort(dict):
2065
2214
 
2066
2215
  @property
2067
2216
  @pulumi.getter(name="targetPort")
2068
- def target_port(self) -> int:
2217
+ def target_port(self) -> builtins.int:
2069
2218
  """
2070
2219
  The port inside the container
2071
2220
  """
@@ -2073,7 +2222,7 @@ class ServiceEndpointSpecPort(dict):
2073
2222
 
2074
2223
  @property
2075
2224
  @pulumi.getter
2076
- def name(self) -> Optional[str]:
2225
+ def name(self) -> Optional[builtins.str]:
2077
2226
  """
2078
2227
  A random name for the port
2079
2228
  """
@@ -2081,7 +2230,7 @@ class ServiceEndpointSpecPort(dict):
2081
2230
 
2082
2231
  @property
2083
2232
  @pulumi.getter
2084
- def protocol(self) -> Optional[str]:
2233
+ def protocol(self) -> Optional[builtins.str]:
2085
2234
  """
2086
2235
  Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2087
2236
  """
@@ -2089,7 +2238,7 @@ class ServiceEndpointSpecPort(dict):
2089
2238
 
2090
2239
  @property
2091
2240
  @pulumi.getter(name="publishMode")
2092
- def publish_mode(self) -> Optional[str]:
2241
+ def publish_mode(self) -> Optional[builtins.str]:
2093
2242
  """
2094
2243
  Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2095
2244
  """
@@ -2097,7 +2246,7 @@ class ServiceEndpointSpecPort(dict):
2097
2246
 
2098
2247
  @property
2099
2248
  @pulumi.getter(name="publishedPort")
2100
- def published_port(self) -> Optional[int]:
2249
+ def published_port(self) -> Optional[builtins.int]:
2101
2250
  """
2102
2251
  The port on the swarm hosts
2103
2252
  """
@@ -2107,18 +2256,18 @@ class ServiceEndpointSpecPort(dict):
2107
2256
  @pulumi.output_type
2108
2257
  class ServiceLabel(dict):
2109
2258
  def __init__(__self__, *,
2110
- label: str,
2111
- value: str):
2259
+ label: builtins.str,
2260
+ value: builtins.str):
2112
2261
  """
2113
- :param str label: Name of the label
2114
- :param str value: Value of the label
2262
+ :param builtins.str label: Name of the label
2263
+ :param builtins.str value: Value of the label
2115
2264
  """
2116
2265
  pulumi.set(__self__, "label", label)
2117
2266
  pulumi.set(__self__, "value", value)
2118
2267
 
2119
2268
  @property
2120
2269
  @pulumi.getter
2121
- def label(self) -> str:
2270
+ def label(self) -> builtins.str:
2122
2271
  """
2123
2272
  Name of the label
2124
2273
  """
@@ -2126,7 +2275,7 @@ class ServiceLabel(dict):
2126
2275
 
2127
2276
  @property
2128
2277
  @pulumi.getter
2129
- def value(self) -> str:
2278
+ def value(self) -> builtins.str:
2130
2279
  """
2131
2280
  Value of the label
2132
2281
  """
@@ -2153,10 +2302,10 @@ class ServiceMode(dict):
2153
2302
  return super().get(key, default)
2154
2303
 
2155
2304
  def __init__(__self__, *,
2156
- global_: Optional[bool] = None,
2305
+ global_: Optional[builtins.bool] = None,
2157
2306
  replicated: Optional['outputs.ServiceModeReplicated'] = None):
2158
2307
  """
2159
- :param bool global_: When `true`, tasks will run on every worker node. Conflicts with `replicated`
2308
+ :param builtins.bool global_: When `true`, tasks will run on every worker node. Conflicts with `replicated`
2160
2309
  :param 'ServiceModeReplicatedArgs' replicated: The replicated service mode
2161
2310
  """
2162
2311
  if global_ is not None:
@@ -2166,7 +2315,7 @@ class ServiceMode(dict):
2166
2315
 
2167
2316
  @property
2168
2317
  @pulumi.getter(name="global")
2169
- def global_(self) -> Optional[bool]:
2318
+ def global_(self) -> Optional[builtins.bool]:
2170
2319
  """
2171
2320
  When `true`, tasks will run on every worker node. Conflicts with `replicated`
2172
2321
  """
@@ -2184,16 +2333,16 @@ class ServiceMode(dict):
2184
2333
  @pulumi.output_type
2185
2334
  class ServiceModeReplicated(dict):
2186
2335
  def __init__(__self__, *,
2187
- replicas: Optional[int] = None):
2336
+ replicas: Optional[builtins.int] = None):
2188
2337
  """
2189
- :param int replicas: The amount of replicas of the service. Defaults to `1`
2338
+ :param builtins.int replicas: The amount of replicas of the service. Defaults to `1`
2190
2339
  """
2191
2340
  if replicas is not None:
2192
2341
  pulumi.set(__self__, "replicas", replicas)
2193
2342
 
2194
2343
  @property
2195
2344
  @pulumi.getter
2196
- def replicas(self) -> Optional[int]:
2345
+ def replicas(self) -> Optional[builtins.int]:
2197
2346
  """
2198
2347
  The amount of replicas of the service. Defaults to `1`
2199
2348
  """
@@ -2222,19 +2371,19 @@ class ServiceRollbackConfig(dict):
2222
2371
  return super().get(key, default)
2223
2372
 
2224
2373
  def __init__(__self__, *,
2225
- delay: Optional[str] = None,
2226
- failure_action: Optional[str] = None,
2227
- max_failure_ratio: Optional[str] = None,
2228
- monitor: Optional[str] = None,
2229
- order: Optional[str] = None,
2230
- parallelism: Optional[int] = None):
2231
- """
2232
- :param str delay: Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
2233
- :param str failure_action: Action on rollback failure: pause | continue. Defaults to `pause`.
2234
- :param str max_failure_ratio: Failure rate to tolerate during a rollback. Defaults to `0.0`.
2235
- :param str monitor: Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
2236
- :param str order: Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
2237
- :param int parallelism: Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
2374
+ delay: Optional[builtins.str] = None,
2375
+ failure_action: Optional[builtins.str] = None,
2376
+ max_failure_ratio: Optional[builtins.str] = None,
2377
+ monitor: Optional[builtins.str] = None,
2378
+ order: Optional[builtins.str] = None,
2379
+ parallelism: Optional[builtins.int] = None):
2380
+ """
2381
+ :param builtins.str delay: Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
2382
+ :param builtins.str failure_action: Action on rollback failure: pause | continue. Defaults to `pause`.
2383
+ :param builtins.str max_failure_ratio: Failure rate to tolerate during a rollback. Defaults to `0.0`.
2384
+ :param builtins.str monitor: Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
2385
+ :param builtins.str order: Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
2386
+ :param builtins.int parallelism: Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
2238
2387
  """
2239
2388
  if delay is not None:
2240
2389
  pulumi.set(__self__, "delay", delay)
@@ -2251,7 +2400,7 @@ class ServiceRollbackConfig(dict):
2251
2400
 
2252
2401
  @property
2253
2402
  @pulumi.getter
2254
- def delay(self) -> Optional[str]:
2403
+ def delay(self) -> Optional[builtins.str]:
2255
2404
  """
2256
2405
  Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
2257
2406
  """
@@ -2259,7 +2408,7 @@ class ServiceRollbackConfig(dict):
2259
2408
 
2260
2409
  @property
2261
2410
  @pulumi.getter(name="failureAction")
2262
- def failure_action(self) -> Optional[str]:
2411
+ def failure_action(self) -> Optional[builtins.str]:
2263
2412
  """
2264
2413
  Action on rollback failure: pause | continue. Defaults to `pause`.
2265
2414
  """
@@ -2267,7 +2416,7 @@ class ServiceRollbackConfig(dict):
2267
2416
 
2268
2417
  @property
2269
2418
  @pulumi.getter(name="maxFailureRatio")
2270
- def max_failure_ratio(self) -> Optional[str]:
2419
+ def max_failure_ratio(self) -> Optional[builtins.str]:
2271
2420
  """
2272
2421
  Failure rate to tolerate during a rollback. Defaults to `0.0`.
2273
2422
  """
@@ -2275,7 +2424,7 @@ class ServiceRollbackConfig(dict):
2275
2424
 
2276
2425
  @property
2277
2426
  @pulumi.getter
2278
- def monitor(self) -> Optional[str]:
2427
+ def monitor(self) -> Optional[builtins.str]:
2279
2428
  """
2280
2429
  Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
2281
2430
  """
@@ -2283,7 +2432,7 @@ class ServiceRollbackConfig(dict):
2283
2432
 
2284
2433
  @property
2285
2434
  @pulumi.getter
2286
- def order(self) -> Optional[str]:
2435
+ def order(self) -> Optional[builtins.str]:
2287
2436
  """
2288
2437
  Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
2289
2438
  """
@@ -2291,7 +2440,7 @@ class ServiceRollbackConfig(dict):
2291
2440
 
2292
2441
  @property
2293
2442
  @pulumi.getter
2294
- def parallelism(self) -> Optional[int]:
2443
+ def parallelism(self) -> Optional[builtins.int]:
2295
2444
  """
2296
2445
  Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
2297
2446
  """
@@ -2327,22 +2476,22 @@ class ServiceTaskSpec(dict):
2327
2476
 
2328
2477
  def __init__(__self__, *,
2329
2478
  container_spec: 'outputs.ServiceTaskSpecContainerSpec',
2330
- force_update: Optional[int] = None,
2479
+ force_update: Optional[builtins.int] = None,
2331
2480
  log_driver: Optional['outputs.ServiceTaskSpecLogDriver'] = None,
2332
2481
  networks_advanceds: Optional[Sequence['outputs.ServiceTaskSpecNetworksAdvanced']] = None,
2333
2482
  placement: Optional['outputs.ServiceTaskSpecPlacement'] = None,
2334
2483
  resources: Optional['outputs.ServiceTaskSpecResources'] = None,
2335
2484
  restart_policy: Optional['outputs.ServiceTaskSpecRestartPolicy'] = None,
2336
- runtime: Optional[str] = None):
2485
+ runtime: Optional[builtins.str] = None):
2337
2486
  """
2338
2487
  :param 'ServiceTaskSpecContainerSpecArgs' container_spec: The spec for each container
2339
- :param int force_update: A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).
2488
+ :param builtins.int force_update: A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).
2340
2489
  :param 'ServiceTaskSpecLogDriverArgs' log_driver: Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified
2341
2490
  :param Sequence['ServiceTaskSpecNetworksAdvancedArgs'] networks_advanceds: The networks the container is attached to
2342
2491
  :param 'ServiceTaskSpecPlacementArgs' placement: The placement preferences
2343
2492
  :param 'ServiceTaskSpecResourcesArgs' resources: Resource requirements which apply to each individual container created as part of the service
2344
2493
  :param 'ServiceTaskSpecRestartPolicyArgs' restart_policy: Specification for the restart policy which applies to containers created as part of this service.
2345
- :param str runtime: Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).
2494
+ :param builtins.str runtime: Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).
2346
2495
  """
2347
2496
  pulumi.set(__self__, "container_spec", container_spec)
2348
2497
  if force_update is not None:
@@ -2370,7 +2519,7 @@ class ServiceTaskSpec(dict):
2370
2519
 
2371
2520
  @property
2372
2521
  @pulumi.getter(name="forceUpdate")
2373
- def force_update(self) -> Optional[int]:
2522
+ def force_update(self) -> Optional[builtins.int]:
2374
2523
  """
2375
2524
  A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).
2376
2525
  """
@@ -2418,7 +2567,7 @@ class ServiceTaskSpec(dict):
2418
2567
 
2419
2568
  @property
2420
2569
  @pulumi.getter
2421
- def runtime(self) -> Optional[str]:
2570
+ def runtime(self) -> Optional[builtins.str]:
2422
2571
  """
2423
2572
  Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).
2424
2573
  """
@@ -2451,49 +2600,49 @@ class ServiceTaskSpecContainerSpec(dict):
2451
2600
  return super().get(key, default)
2452
2601
 
2453
2602
  def __init__(__self__, *,
2454
- image: str,
2455
- args: Optional[Sequence[str]] = None,
2456
- commands: Optional[Sequence[str]] = None,
2603
+ image: builtins.str,
2604
+ args: Optional[Sequence[builtins.str]] = None,
2605
+ commands: Optional[Sequence[builtins.str]] = None,
2457
2606
  configs: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecConfig']] = None,
2458
- dir: Optional[str] = None,
2607
+ dir: Optional[builtins.str] = None,
2459
2608
  dns_config: Optional['outputs.ServiceTaskSpecContainerSpecDnsConfig'] = None,
2460
- env: Optional[Mapping[str, str]] = None,
2461
- groups: Optional[Sequence[str]] = None,
2609
+ env: Optional[Mapping[str, builtins.str]] = None,
2610
+ groups: Optional[Sequence[builtins.str]] = None,
2462
2611
  healthcheck: Optional['outputs.ServiceTaskSpecContainerSpecHealthcheck'] = None,
2463
- hostname: Optional[str] = None,
2612
+ hostname: Optional[builtins.str] = None,
2464
2613
  hosts: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecHost']] = None,
2465
- isolation: Optional[str] = None,
2614
+ isolation: Optional[builtins.str] = None,
2466
2615
  labels: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecLabel']] = None,
2467
2616
  mounts: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMount']] = None,
2468
2617
  privileges: Optional['outputs.ServiceTaskSpecContainerSpecPrivileges'] = None,
2469
- read_only: Optional[bool] = None,
2618
+ read_only: Optional[builtins.bool] = None,
2470
2619
  secrets: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecSecret']] = None,
2471
- stop_grace_period: Optional[str] = None,
2472
- stop_signal: Optional[str] = None,
2473
- sysctl: Optional[Mapping[str, str]] = None,
2474
- user: Optional[str] = None):
2475
- """
2476
- :param str image: The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `RemoteImage` with the `repo_digest` or `RegistryImage` with the `name` attribute for this, as shown in the examples.
2477
- :param Sequence[str] args: Arguments to the command
2478
- :param Sequence[str] commands: The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.
2620
+ stop_grace_period: Optional[builtins.str] = None,
2621
+ stop_signal: Optional[builtins.str] = None,
2622
+ sysctl: Optional[Mapping[str, builtins.str]] = None,
2623
+ user: Optional[builtins.str] = None):
2624
+ """
2625
+ :param builtins.str image: The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `RemoteImage` with the `repo_digest` or `RegistryImage` with the `name` attribute for this, as shown in the examples.
2626
+ :param Sequence[builtins.str] args: Arguments to the command
2627
+ :param Sequence[builtins.str] commands: The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.
2479
2628
  :param Sequence['ServiceTaskSpecContainerSpecConfigArgs'] configs: References to zero or more configs that will be exposed to the service
2480
- :param str dir: The working directory for commands to run in
2629
+ :param builtins.str dir: The working directory for commands to run in
2481
2630
  :param 'ServiceTaskSpecContainerSpecDnsConfigArgs' dns_config: Specification for DNS related configurations in resolver configuration file (`resolv.conf`)
2482
- :param Mapping[str, str] env: A list of environment variables in the form VAR="value"
2483
- :param Sequence[str] groups: A list of additional groups that the container process will run as
2631
+ :param Mapping[str, builtins.str] env: A list of environment variables in the form VAR="value"
2632
+ :param Sequence[builtins.str] groups: A list of additional groups that the container process will run as
2484
2633
  :param 'ServiceTaskSpecContainerSpecHealthcheckArgs' healthcheck: A test to perform to check that the container is healthy
2485
- :param str hostname: The hostname to use for the container, as a valid RFC 1123 hostname
2634
+ :param builtins.str hostname: The hostname to use for the container, as a valid RFC 1123 hostname
2486
2635
  :param Sequence['ServiceTaskSpecContainerSpecHostArgs'] hosts: A list of hostname/IP mappings to add to the container's hosts file
2487
- :param str isolation: Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
2636
+ :param builtins.str isolation: Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
2488
2637
  :param Sequence['ServiceTaskSpecContainerSpecLabelArgs'] labels: User-defined key/value metadata
2489
2638
  :param Sequence['ServiceTaskSpecContainerSpecMountArgs'] mounts: Specification for mounts to be added to containers created as part of the service
2490
2639
  :param 'ServiceTaskSpecContainerSpecPrivilegesArgs' privileges: Security options for the container
2491
- :param bool read_only: Mount the container's root filesystem as read only
2640
+ :param builtins.bool read_only: Mount the container's root filesystem as read only
2492
2641
  :param Sequence['ServiceTaskSpecContainerSpecSecretArgs'] secrets: References to zero or more secrets that will be exposed to the service
2493
- :param str stop_grace_period: Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.
2494
- :param str stop_signal: Signal to stop the container
2495
- :param Mapping[str, str] sysctl: Sysctls config (Linux only)
2496
- :param str user: The user inside the container
2642
+ :param builtins.str stop_grace_period: Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.
2643
+ :param builtins.str stop_signal: Signal to stop the container
2644
+ :param Mapping[str, builtins.str] sysctl: Sysctls config (Linux only)
2645
+ :param builtins.str user: The user inside the container
2497
2646
  """
2498
2647
  pulumi.set(__self__, "image", image)
2499
2648
  if args is not None:
@@ -2539,7 +2688,7 @@ class ServiceTaskSpecContainerSpec(dict):
2539
2688
 
2540
2689
  @property
2541
2690
  @pulumi.getter
2542
- def image(self) -> str:
2691
+ def image(self) -> builtins.str:
2543
2692
  """
2544
2693
  The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `RemoteImage` with the `repo_digest` or `RegistryImage` with the `name` attribute for this, as shown in the examples.
2545
2694
  """
@@ -2547,7 +2696,7 @@ class ServiceTaskSpecContainerSpec(dict):
2547
2696
 
2548
2697
  @property
2549
2698
  @pulumi.getter
2550
- def args(self) -> Optional[Sequence[str]]:
2699
+ def args(self) -> Optional[Sequence[builtins.str]]:
2551
2700
  """
2552
2701
  Arguments to the command
2553
2702
  """
@@ -2555,7 +2704,7 @@ class ServiceTaskSpecContainerSpec(dict):
2555
2704
 
2556
2705
  @property
2557
2706
  @pulumi.getter
2558
- def commands(self) -> Optional[Sequence[str]]:
2707
+ def commands(self) -> Optional[Sequence[builtins.str]]:
2559
2708
  """
2560
2709
  The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.
2561
2710
  """
@@ -2571,7 +2720,7 @@ class ServiceTaskSpecContainerSpec(dict):
2571
2720
 
2572
2721
  @property
2573
2722
  @pulumi.getter
2574
- def dir(self) -> Optional[str]:
2723
+ def dir(self) -> Optional[builtins.str]:
2575
2724
  """
2576
2725
  The working directory for commands to run in
2577
2726
  """
@@ -2587,7 +2736,7 @@ class ServiceTaskSpecContainerSpec(dict):
2587
2736
 
2588
2737
  @property
2589
2738
  @pulumi.getter
2590
- def env(self) -> Optional[Mapping[str, str]]:
2739
+ def env(self) -> Optional[Mapping[str, builtins.str]]:
2591
2740
  """
2592
2741
  A list of environment variables in the form VAR="value"
2593
2742
  """
@@ -2595,7 +2744,7 @@ class ServiceTaskSpecContainerSpec(dict):
2595
2744
 
2596
2745
  @property
2597
2746
  @pulumi.getter
2598
- def groups(self) -> Optional[Sequence[str]]:
2747
+ def groups(self) -> Optional[Sequence[builtins.str]]:
2599
2748
  """
2600
2749
  A list of additional groups that the container process will run as
2601
2750
  """
@@ -2611,7 +2760,7 @@ class ServiceTaskSpecContainerSpec(dict):
2611
2760
 
2612
2761
  @property
2613
2762
  @pulumi.getter
2614
- def hostname(self) -> Optional[str]:
2763
+ def hostname(self) -> Optional[builtins.str]:
2615
2764
  """
2616
2765
  The hostname to use for the container, as a valid RFC 1123 hostname
2617
2766
  """
@@ -2627,7 +2776,7 @@ class ServiceTaskSpecContainerSpec(dict):
2627
2776
 
2628
2777
  @property
2629
2778
  @pulumi.getter
2630
- def isolation(self) -> Optional[str]:
2779
+ def isolation(self) -> Optional[builtins.str]:
2631
2780
  """
2632
2781
  Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
2633
2782
  """
@@ -2659,7 +2808,7 @@ class ServiceTaskSpecContainerSpec(dict):
2659
2808
 
2660
2809
  @property
2661
2810
  @pulumi.getter(name="readOnly")
2662
- def read_only(self) -> Optional[bool]:
2811
+ def read_only(self) -> Optional[builtins.bool]:
2663
2812
  """
2664
2813
  Mount the container's root filesystem as read only
2665
2814
  """
@@ -2675,7 +2824,7 @@ class ServiceTaskSpecContainerSpec(dict):
2675
2824
 
2676
2825
  @property
2677
2826
  @pulumi.getter(name="stopGracePeriod")
2678
- def stop_grace_period(self) -> Optional[str]:
2827
+ def stop_grace_period(self) -> Optional[builtins.str]:
2679
2828
  """
2680
2829
  Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.
2681
2830
  """
@@ -2683,7 +2832,7 @@ class ServiceTaskSpecContainerSpec(dict):
2683
2832
 
2684
2833
  @property
2685
2834
  @pulumi.getter(name="stopSignal")
2686
- def stop_signal(self) -> Optional[str]:
2835
+ def stop_signal(self) -> Optional[builtins.str]:
2687
2836
  """
2688
2837
  Signal to stop the container
2689
2838
  """
@@ -2691,7 +2840,7 @@ class ServiceTaskSpecContainerSpec(dict):
2691
2840
 
2692
2841
  @property
2693
2842
  @pulumi.getter
2694
- def sysctl(self) -> Optional[Mapping[str, str]]:
2843
+ def sysctl(self) -> Optional[Mapping[str, builtins.str]]:
2695
2844
  """
2696
2845
  Sysctls config (Linux only)
2697
2846
  """
@@ -2699,7 +2848,7 @@ class ServiceTaskSpecContainerSpec(dict):
2699
2848
 
2700
2849
  @property
2701
2850
  @pulumi.getter
2702
- def user(self) -> Optional[str]:
2851
+ def user(self) -> Optional[builtins.str]:
2703
2852
  """
2704
2853
  The user inside the container
2705
2854
  """
@@ -2736,19 +2885,19 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2736
2885
  return super().get(key, default)
2737
2886
 
2738
2887
  def __init__(__self__, *,
2739
- config_id: str,
2740
- file_name: str,
2741
- config_name: Optional[str] = None,
2742
- file_gid: Optional[str] = None,
2743
- file_mode: Optional[int] = None,
2744
- file_uid: Optional[str] = None):
2745
- """
2746
- :param str config_id: ID of the specific config that we're referencing
2747
- :param str file_name: Represents the final filename in the filesystem
2748
- :param str config_name: Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
2749
- :param str file_gid: Represents the file GID. Defaults to `0`.
2750
- :param int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`.
2751
- :param str file_uid: Represents the file UID. Defaults to `0`.
2888
+ config_id: builtins.str,
2889
+ file_name: builtins.str,
2890
+ config_name: Optional[builtins.str] = None,
2891
+ file_gid: Optional[builtins.str] = None,
2892
+ file_mode: Optional[builtins.int] = None,
2893
+ file_uid: Optional[builtins.str] = None):
2894
+ """
2895
+ :param builtins.str config_id: ID of the specific config that we're referencing
2896
+ :param builtins.str file_name: Represents the final filename in the filesystem
2897
+ :param builtins.str config_name: Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
2898
+ :param builtins.str file_gid: Represents the file GID. Defaults to `0`.
2899
+ :param builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`.
2900
+ :param builtins.str file_uid: Represents the file UID. Defaults to `0`.
2752
2901
  """
2753
2902
  pulumi.set(__self__, "config_id", config_id)
2754
2903
  pulumi.set(__self__, "file_name", file_name)
@@ -2763,7 +2912,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2763
2912
 
2764
2913
  @property
2765
2914
  @pulumi.getter(name="configId")
2766
- def config_id(self) -> str:
2915
+ def config_id(self) -> builtins.str:
2767
2916
  """
2768
2917
  ID of the specific config that we're referencing
2769
2918
  """
@@ -2771,7 +2920,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2771
2920
 
2772
2921
  @property
2773
2922
  @pulumi.getter(name="fileName")
2774
- def file_name(self) -> str:
2923
+ def file_name(self) -> builtins.str:
2775
2924
  """
2776
2925
  Represents the final filename in the filesystem
2777
2926
  """
@@ -2779,7 +2928,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2779
2928
 
2780
2929
  @property
2781
2930
  @pulumi.getter(name="configName")
2782
- def config_name(self) -> Optional[str]:
2931
+ def config_name(self) -> Optional[builtins.str]:
2783
2932
  """
2784
2933
  Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
2785
2934
  """
@@ -2787,7 +2936,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2787
2936
 
2788
2937
  @property
2789
2938
  @pulumi.getter(name="fileGid")
2790
- def file_gid(self) -> Optional[str]:
2939
+ def file_gid(self) -> Optional[builtins.str]:
2791
2940
  """
2792
2941
  Represents the file GID. Defaults to `0`.
2793
2942
  """
@@ -2795,7 +2944,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2795
2944
 
2796
2945
  @property
2797
2946
  @pulumi.getter(name="fileMode")
2798
- def file_mode(self) -> Optional[int]:
2947
+ def file_mode(self) -> Optional[builtins.int]:
2799
2948
  """
2800
2949
  Represents represents the FileMode of the file. Defaults to `0o444`.
2801
2950
  """
@@ -2803,7 +2952,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2803
2952
 
2804
2953
  @property
2805
2954
  @pulumi.getter(name="fileUid")
2806
- def file_uid(self) -> Optional[str]:
2955
+ def file_uid(self) -> Optional[builtins.str]:
2807
2956
  """
2808
2957
  Represents the file UID. Defaults to `0`.
2809
2958
  """
@@ -2813,13 +2962,13 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2813
2962
  @pulumi.output_type
2814
2963
  class ServiceTaskSpecContainerSpecDnsConfig(dict):
2815
2964
  def __init__(__self__, *,
2816
- nameservers: Sequence[str],
2817
- options: Optional[Sequence[str]] = None,
2818
- searches: Optional[Sequence[str]] = None):
2965
+ nameservers: Sequence[builtins.str],
2966
+ options: Optional[Sequence[builtins.str]] = None,
2967
+ searches: Optional[Sequence[builtins.str]] = None):
2819
2968
  """
2820
- :param Sequence[str] nameservers: The IP addresses of the name servers
2821
- :param Sequence[str] options: A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
2822
- :param Sequence[str] searches: A search list for host-name lookup
2969
+ :param Sequence[builtins.str] nameservers: The IP addresses of the name servers
2970
+ :param Sequence[builtins.str] options: A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
2971
+ :param Sequence[builtins.str] searches: A search list for host-name lookup
2823
2972
  """
2824
2973
  pulumi.set(__self__, "nameservers", nameservers)
2825
2974
  if options is not None:
@@ -2829,7 +2978,7 @@ class ServiceTaskSpecContainerSpecDnsConfig(dict):
2829
2978
 
2830
2979
  @property
2831
2980
  @pulumi.getter
2832
- def nameservers(self) -> Sequence[str]:
2981
+ def nameservers(self) -> Sequence[builtins.str]:
2833
2982
  """
2834
2983
  The IP addresses of the name servers
2835
2984
  """
@@ -2837,7 +2986,7 @@ class ServiceTaskSpecContainerSpecDnsConfig(dict):
2837
2986
 
2838
2987
  @property
2839
2988
  @pulumi.getter
2840
- def options(self) -> Optional[Sequence[str]]:
2989
+ def options(self) -> Optional[Sequence[builtins.str]]:
2841
2990
  """
2842
2991
  A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
2843
2992
  """
@@ -2845,7 +2994,7 @@ class ServiceTaskSpecContainerSpecDnsConfig(dict):
2845
2994
 
2846
2995
  @property
2847
2996
  @pulumi.getter
2848
- def searches(self) -> Optional[Sequence[str]]:
2997
+ def searches(self) -> Optional[Sequence[builtins.str]]:
2849
2998
  """
2850
2999
  A search list for host-name lookup
2851
3000
  """
@@ -2872,17 +3021,17 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2872
3021
  return super().get(key, default)
2873
3022
 
2874
3023
  def __init__(__self__, *,
2875
- tests: Sequence[str],
2876
- interval: Optional[str] = None,
2877
- retries: Optional[int] = None,
2878
- start_period: Optional[str] = None,
2879
- timeout: Optional[str] = None):
2880
- """
2881
- :param Sequence[str] tests: The test to perform as list
2882
- :param str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
2883
- :param int retries: Consecutive failures needed to report unhealthy. Defaults to `0`
2884
- :param str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
2885
- :param str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
3024
+ tests: Sequence[builtins.str],
3025
+ interval: Optional[builtins.str] = None,
3026
+ retries: Optional[builtins.int] = None,
3027
+ start_period: Optional[builtins.str] = None,
3028
+ timeout: Optional[builtins.str] = None):
3029
+ """
3030
+ :param Sequence[builtins.str] tests: The test to perform as list
3031
+ :param builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
3032
+ :param builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`
3033
+ :param builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
3034
+ :param builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
2886
3035
  """
2887
3036
  pulumi.set(__self__, "tests", tests)
2888
3037
  if interval is not None:
@@ -2896,7 +3045,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2896
3045
 
2897
3046
  @property
2898
3047
  @pulumi.getter
2899
- def tests(self) -> Sequence[str]:
3048
+ def tests(self) -> Sequence[builtins.str]:
2900
3049
  """
2901
3050
  The test to perform as list
2902
3051
  """
@@ -2904,7 +3053,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2904
3053
 
2905
3054
  @property
2906
3055
  @pulumi.getter
2907
- def interval(self) -> Optional[str]:
3056
+ def interval(self) -> Optional[builtins.str]:
2908
3057
  """
2909
3058
  Time between running the check (ms|s|m|h). Defaults to `0s`.
2910
3059
  """
@@ -2912,7 +3061,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2912
3061
 
2913
3062
  @property
2914
3063
  @pulumi.getter
2915
- def retries(self) -> Optional[int]:
3064
+ def retries(self) -> Optional[builtins.int]:
2916
3065
  """
2917
3066
  Consecutive failures needed to report unhealthy. Defaults to `0`
2918
3067
  """
@@ -2920,7 +3069,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2920
3069
 
2921
3070
  @property
2922
3071
  @pulumi.getter(name="startPeriod")
2923
- def start_period(self) -> Optional[str]:
3072
+ def start_period(self) -> Optional[builtins.str]:
2924
3073
  """
2925
3074
  Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
2926
3075
  """
@@ -2928,7 +3077,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2928
3077
 
2929
3078
  @property
2930
3079
  @pulumi.getter
2931
- def timeout(self) -> Optional[str]:
3080
+ def timeout(self) -> Optional[builtins.str]:
2932
3081
  """
2933
3082
  Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
2934
3083
  """
@@ -2938,18 +3087,18 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2938
3087
  @pulumi.output_type
2939
3088
  class ServiceTaskSpecContainerSpecHost(dict):
2940
3089
  def __init__(__self__, *,
2941
- host: str,
2942
- ip: str):
3090
+ host: builtins.str,
3091
+ ip: builtins.str):
2943
3092
  """
2944
- :param str host: The name of the host
2945
- :param str ip: The ip of the host
3093
+ :param builtins.str host: The name of the host
3094
+ :param builtins.str ip: The ip of the host
2946
3095
  """
2947
3096
  pulumi.set(__self__, "host", host)
2948
3097
  pulumi.set(__self__, "ip", ip)
2949
3098
 
2950
3099
  @property
2951
3100
  @pulumi.getter
2952
- def host(self) -> str:
3101
+ def host(self) -> builtins.str:
2953
3102
  """
2954
3103
  The name of the host
2955
3104
  """
@@ -2957,7 +3106,7 @@ class ServiceTaskSpecContainerSpecHost(dict):
2957
3106
 
2958
3107
  @property
2959
3108
  @pulumi.getter
2960
- def ip(self) -> str:
3109
+ def ip(self) -> builtins.str:
2961
3110
  """
2962
3111
  The ip of the host
2963
3112
  """
@@ -2967,18 +3116,18 @@ class ServiceTaskSpecContainerSpecHost(dict):
2967
3116
  @pulumi.output_type
2968
3117
  class ServiceTaskSpecContainerSpecLabel(dict):
2969
3118
  def __init__(__self__, *,
2970
- label: str,
2971
- value: str):
3119
+ label: builtins.str,
3120
+ value: builtins.str):
2972
3121
  """
2973
- :param str label: Name of the label
2974
- :param str value: Value of the label
3122
+ :param builtins.str label: Name of the label
3123
+ :param builtins.str value: Value of the label
2975
3124
  """
2976
3125
  pulumi.set(__self__, "label", label)
2977
3126
  pulumi.set(__self__, "value", value)
2978
3127
 
2979
3128
  @property
2980
3129
  @pulumi.getter
2981
- def label(self) -> str:
3130
+ def label(self) -> builtins.str:
2982
3131
  """
2983
3132
  Name of the label
2984
3133
  """
@@ -2986,7 +3135,7 @@ class ServiceTaskSpecContainerSpecLabel(dict):
2986
3135
 
2987
3136
  @property
2988
3137
  @pulumi.getter
2989
- def value(self) -> str:
3138
+ def value(self) -> builtins.str:
2990
3139
  """
2991
3140
  Value of the label
2992
3141
  """
@@ -3019,19 +3168,19 @@ class ServiceTaskSpecContainerSpecMount(dict):
3019
3168
  return super().get(key, default)
3020
3169
 
3021
3170
  def __init__(__self__, *,
3022
- target: str,
3023
- type: str,
3171
+ target: builtins.str,
3172
+ type: builtins.str,
3024
3173
  bind_options: Optional['outputs.ServiceTaskSpecContainerSpecMountBindOptions'] = None,
3025
- read_only: Optional[bool] = None,
3026
- source: Optional[str] = None,
3174
+ read_only: Optional[builtins.bool] = None,
3175
+ source: Optional[builtins.str] = None,
3027
3176
  tmpfs_options: Optional['outputs.ServiceTaskSpecContainerSpecMountTmpfsOptions'] = None,
3028
3177
  volume_options: Optional['outputs.ServiceTaskSpecContainerSpecMountVolumeOptions'] = None):
3029
3178
  """
3030
- :param str target: Container path
3031
- :param str type: The mount type
3179
+ :param builtins.str target: Container path
3180
+ :param builtins.str type: The mount type
3032
3181
  :param 'ServiceTaskSpecContainerSpecMountBindOptionsArgs' bind_options: Optional configuration for the bind type
3033
- :param bool read_only: Whether the mount should be read-only
3034
- :param str source: Mount source (e.g. a volume name, a host path)
3182
+ :param builtins.bool read_only: Whether the mount should be read-only
3183
+ :param builtins.str source: Mount source (e.g. a volume name, a host path)
3035
3184
  :param 'ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs' tmpfs_options: Optional configuration for the tmpfs type
3036
3185
  :param 'ServiceTaskSpecContainerSpecMountVolumeOptionsArgs' volume_options: Optional configuration for the volume type
3037
3186
  """
@@ -3050,7 +3199,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3050
3199
 
3051
3200
  @property
3052
3201
  @pulumi.getter
3053
- def target(self) -> str:
3202
+ def target(self) -> builtins.str:
3054
3203
  """
3055
3204
  Container path
3056
3205
  """
@@ -3058,7 +3207,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3058
3207
 
3059
3208
  @property
3060
3209
  @pulumi.getter
3061
- def type(self) -> str:
3210
+ def type(self) -> builtins.str:
3062
3211
  """
3063
3212
  The mount type
3064
3213
  """
@@ -3074,7 +3223,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3074
3223
 
3075
3224
  @property
3076
3225
  @pulumi.getter(name="readOnly")
3077
- def read_only(self) -> Optional[bool]:
3226
+ def read_only(self) -> Optional[builtins.bool]:
3078
3227
  """
3079
3228
  Whether the mount should be read-only
3080
3229
  """
@@ -3082,7 +3231,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3082
3231
 
3083
3232
  @property
3084
3233
  @pulumi.getter
3085
- def source(self) -> Optional[str]:
3234
+ def source(self) -> Optional[builtins.str]:
3086
3235
  """
3087
3236
  Mount source (e.g. a volume name, a host path)
3088
3237
  """
@@ -3108,16 +3257,16 @@ class ServiceTaskSpecContainerSpecMount(dict):
3108
3257
  @pulumi.output_type
3109
3258
  class ServiceTaskSpecContainerSpecMountBindOptions(dict):
3110
3259
  def __init__(__self__, *,
3111
- propagation: Optional[str] = None):
3260
+ propagation: Optional[builtins.str] = None):
3112
3261
  """
3113
- :param str propagation: Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`
3262
+ :param builtins.str propagation: Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`
3114
3263
  """
3115
3264
  if propagation is not None:
3116
3265
  pulumi.set(__self__, "propagation", propagation)
3117
3266
 
3118
3267
  @property
3119
3268
  @pulumi.getter
3120
- def propagation(self) -> Optional[str]:
3269
+ def propagation(self) -> Optional[builtins.str]:
3121
3270
  """
3122
3271
  Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`
3123
3272
  """
@@ -3144,11 +3293,11 @@ class ServiceTaskSpecContainerSpecMountTmpfsOptions(dict):
3144
3293
  return super().get(key, default)
3145
3294
 
3146
3295
  def __init__(__self__, *,
3147
- mode: Optional[int] = None,
3148
- size_bytes: Optional[int] = None):
3296
+ mode: Optional[builtins.int] = None,
3297
+ size_bytes: Optional[builtins.int] = None):
3149
3298
  """
3150
- :param int mode: The permission mode for the tmpfs mount in an integer
3151
- :param int size_bytes: The size for the tmpfs mount in bytes
3299
+ :param builtins.int mode: The permission mode for the tmpfs mount in an integer
3300
+ :param builtins.int size_bytes: The size for the tmpfs mount in bytes
3152
3301
  """
3153
3302
  if mode is not None:
3154
3303
  pulumi.set(__self__, "mode", mode)
@@ -3157,7 +3306,7 @@ class ServiceTaskSpecContainerSpecMountTmpfsOptions(dict):
3157
3306
 
3158
3307
  @property
3159
3308
  @pulumi.getter
3160
- def mode(self) -> Optional[int]:
3309
+ def mode(self) -> Optional[builtins.int]:
3161
3310
  """
3162
3311
  The permission mode for the tmpfs mount in an integer
3163
3312
  """
@@ -3165,7 +3314,7 @@ class ServiceTaskSpecContainerSpecMountTmpfsOptions(dict):
3165
3314
 
3166
3315
  @property
3167
3316
  @pulumi.getter(name="sizeBytes")
3168
- def size_bytes(self) -> Optional[int]:
3317
+ def size_bytes(self) -> Optional[builtins.int]:
3169
3318
  """
3170
3319
  The size for the tmpfs mount in bytes
3171
3320
  """
@@ -3196,15 +3345,15 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3196
3345
  return super().get(key, default)
3197
3346
 
3198
3347
  def __init__(__self__, *,
3199
- driver_name: Optional[str] = None,
3200
- driver_options: Optional[Mapping[str, str]] = None,
3348
+ driver_name: Optional[builtins.str] = None,
3349
+ driver_options: Optional[Mapping[str, builtins.str]] = None,
3201
3350
  labels: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMountVolumeOptionsLabel']] = None,
3202
- no_copy: Optional[bool] = None):
3351
+ no_copy: Optional[builtins.bool] = None):
3203
3352
  """
3204
- :param str driver_name: Name of the driver to use to create the volume
3205
- :param Mapping[str, str] driver_options: key/value map of driver specific options
3353
+ :param builtins.str driver_name: Name of the driver to use to create the volume
3354
+ :param Mapping[str, builtins.str] driver_options: key/value map of driver specific options
3206
3355
  :param Sequence['ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs'] labels: User-defined key/value metadata
3207
- :param bool no_copy: Populate volume with data from the target
3356
+ :param builtins.bool no_copy: Populate volume with data from the target
3208
3357
  """
3209
3358
  if driver_name is not None:
3210
3359
  pulumi.set(__self__, "driver_name", driver_name)
@@ -3217,7 +3366,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3217
3366
 
3218
3367
  @property
3219
3368
  @pulumi.getter(name="driverName")
3220
- def driver_name(self) -> Optional[str]:
3369
+ def driver_name(self) -> Optional[builtins.str]:
3221
3370
  """
3222
3371
  Name of the driver to use to create the volume
3223
3372
  """
@@ -3225,7 +3374,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3225
3374
 
3226
3375
  @property
3227
3376
  @pulumi.getter(name="driverOptions")
3228
- def driver_options(self) -> Optional[Mapping[str, str]]:
3377
+ def driver_options(self) -> Optional[Mapping[str, builtins.str]]:
3229
3378
  """
3230
3379
  key/value map of driver specific options
3231
3380
  """
@@ -3241,7 +3390,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3241
3390
 
3242
3391
  @property
3243
3392
  @pulumi.getter(name="noCopy")
3244
- def no_copy(self) -> Optional[bool]:
3393
+ def no_copy(self) -> Optional[builtins.bool]:
3245
3394
  """
3246
3395
  Populate volume with data from the target
3247
3396
  """
@@ -3251,18 +3400,18 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3251
3400
  @pulumi.output_type
3252
3401
  class ServiceTaskSpecContainerSpecMountVolumeOptionsLabel(dict):
3253
3402
  def __init__(__self__, *,
3254
- label: str,
3255
- value: str):
3403
+ label: builtins.str,
3404
+ value: builtins.str):
3256
3405
  """
3257
- :param str label: Name of the label
3258
- :param str value: Value of the label
3406
+ :param builtins.str label: Name of the label
3407
+ :param builtins.str value: Value of the label
3259
3408
  """
3260
3409
  pulumi.set(__self__, "label", label)
3261
3410
  pulumi.set(__self__, "value", value)
3262
3411
 
3263
3412
  @property
3264
3413
  @pulumi.getter
3265
- def label(self) -> str:
3414
+ def label(self) -> builtins.str:
3266
3415
  """
3267
3416
  Name of the label
3268
3417
  """
@@ -3270,7 +3419,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptionsLabel(dict):
3270
3419
 
3271
3420
  @property
3272
3421
  @pulumi.getter
3273
- def value(self) -> str:
3422
+ def value(self) -> builtins.str:
3274
3423
  """
3275
3424
  Value of the label
3276
3425
  """
@@ -3330,11 +3479,11 @@ class ServiceTaskSpecContainerSpecPrivileges(dict):
3330
3479
  @pulumi.output_type
3331
3480
  class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3332
3481
  def __init__(__self__, *,
3333
- file: Optional[str] = None,
3334
- registry: Optional[str] = None):
3482
+ file: Optional[builtins.str] = None,
3483
+ registry: Optional[builtins.str] = None):
3335
3484
  """
3336
- :param str file: Load credential spec from this file
3337
- :param str registry: Load credential spec from this value in the Windows registry
3485
+ :param builtins.str file: Load credential spec from this file
3486
+ :param builtins.str registry: Load credential spec from this value in the Windows registry
3338
3487
  """
3339
3488
  if file is not None:
3340
3489
  pulumi.set(__self__, "file", file)
@@ -3343,7 +3492,7 @@ class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3343
3492
 
3344
3493
  @property
3345
3494
  @pulumi.getter
3346
- def file(self) -> Optional[str]:
3495
+ def file(self) -> Optional[builtins.str]:
3347
3496
  """
3348
3497
  Load credential spec from this file
3349
3498
  """
@@ -3351,7 +3500,7 @@ class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3351
3500
 
3352
3501
  @property
3353
3502
  @pulumi.getter
3354
- def registry(self) -> Optional[str]:
3503
+ def registry(self) -> Optional[builtins.str]:
3355
3504
  """
3356
3505
  Load credential spec from this value in the Windows registry
3357
3506
  """
@@ -3361,17 +3510,17 @@ class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3361
3510
  @pulumi.output_type
3362
3511
  class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3363
3512
  def __init__(__self__, *,
3364
- disable: Optional[bool] = None,
3365
- level: Optional[str] = None,
3366
- role: Optional[str] = None,
3367
- type: Optional[str] = None,
3368
- user: Optional[str] = None):
3369
- """
3370
- :param bool disable: Disable SELinux
3371
- :param str level: SELinux level label
3372
- :param str role: SELinux role label
3373
- :param str type: SELinux type label
3374
- :param str user: SELinux user label
3513
+ disable: Optional[builtins.bool] = None,
3514
+ level: Optional[builtins.str] = None,
3515
+ role: Optional[builtins.str] = None,
3516
+ type: Optional[builtins.str] = None,
3517
+ user: Optional[builtins.str] = None):
3518
+ """
3519
+ :param builtins.bool disable: Disable SELinux
3520
+ :param builtins.str level: SELinux level label
3521
+ :param builtins.str role: SELinux role label
3522
+ :param builtins.str type: SELinux type label
3523
+ :param builtins.str user: SELinux user label
3375
3524
  """
3376
3525
  if disable is not None:
3377
3526
  pulumi.set(__self__, "disable", disable)
@@ -3386,7 +3535,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3386
3535
 
3387
3536
  @property
3388
3537
  @pulumi.getter
3389
- def disable(self) -> Optional[bool]:
3538
+ def disable(self) -> Optional[builtins.bool]:
3390
3539
  """
3391
3540
  Disable SELinux
3392
3541
  """
@@ -3394,7 +3543,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3394
3543
 
3395
3544
  @property
3396
3545
  @pulumi.getter
3397
- def level(self) -> Optional[str]:
3546
+ def level(self) -> Optional[builtins.str]:
3398
3547
  """
3399
3548
  SELinux level label
3400
3549
  """
@@ -3402,7 +3551,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3402
3551
 
3403
3552
  @property
3404
3553
  @pulumi.getter
3405
- def role(self) -> Optional[str]:
3554
+ def role(self) -> Optional[builtins.str]:
3406
3555
  """
3407
3556
  SELinux role label
3408
3557
  """
@@ -3410,7 +3559,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3410
3559
 
3411
3560
  @property
3412
3561
  @pulumi.getter
3413
- def type(self) -> Optional[str]:
3562
+ def type(self) -> Optional[builtins.str]:
3414
3563
  """
3415
3564
  SELinux type label
3416
3565
  """
@@ -3418,7 +3567,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3418
3567
 
3419
3568
  @property
3420
3569
  @pulumi.getter
3421
- def user(self) -> Optional[str]:
3570
+ def user(self) -> Optional[builtins.str]:
3422
3571
  """
3423
3572
  SELinux user label
3424
3573
  """
@@ -3455,19 +3604,19 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3455
3604
  return super().get(key, default)
3456
3605
 
3457
3606
  def __init__(__self__, *,
3458
- file_name: str,
3459
- secret_id: str,
3460
- file_gid: Optional[str] = None,
3461
- file_mode: Optional[int] = None,
3462
- file_uid: Optional[str] = None,
3463
- secret_name: Optional[str] = None):
3464
- """
3465
- :param str file_name: Represents the final filename in the filesystem
3466
- :param str secret_id: ID of the specific secret that we're referencing
3467
- :param str file_gid: Represents the file GID. Defaults to `0`
3468
- :param int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`
3469
- :param str file_uid: Represents the file UID. Defaults to `0`
3470
- :param str secret_name: Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
3607
+ file_name: builtins.str,
3608
+ secret_id: builtins.str,
3609
+ file_gid: Optional[builtins.str] = None,
3610
+ file_mode: Optional[builtins.int] = None,
3611
+ file_uid: Optional[builtins.str] = None,
3612
+ secret_name: Optional[builtins.str] = None):
3613
+ """
3614
+ :param builtins.str file_name: Represents the final filename in the filesystem
3615
+ :param builtins.str secret_id: ID of the specific secret that we're referencing
3616
+ :param builtins.str file_gid: Represents the file GID. Defaults to `0`
3617
+ :param builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`
3618
+ :param builtins.str file_uid: Represents the file UID. Defaults to `0`
3619
+ :param builtins.str secret_name: Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
3471
3620
  """
3472
3621
  pulumi.set(__self__, "file_name", file_name)
3473
3622
  pulumi.set(__self__, "secret_id", secret_id)
@@ -3482,7 +3631,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3482
3631
 
3483
3632
  @property
3484
3633
  @pulumi.getter(name="fileName")
3485
- def file_name(self) -> str:
3634
+ def file_name(self) -> builtins.str:
3486
3635
  """
3487
3636
  Represents the final filename in the filesystem
3488
3637
  """
@@ -3490,7 +3639,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3490
3639
 
3491
3640
  @property
3492
3641
  @pulumi.getter(name="secretId")
3493
- def secret_id(self) -> str:
3642
+ def secret_id(self) -> builtins.str:
3494
3643
  """
3495
3644
  ID of the specific secret that we're referencing
3496
3645
  """
@@ -3498,7 +3647,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3498
3647
 
3499
3648
  @property
3500
3649
  @pulumi.getter(name="fileGid")
3501
- def file_gid(self) -> Optional[str]:
3650
+ def file_gid(self) -> Optional[builtins.str]:
3502
3651
  """
3503
3652
  Represents the file GID. Defaults to `0`
3504
3653
  """
@@ -3506,7 +3655,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3506
3655
 
3507
3656
  @property
3508
3657
  @pulumi.getter(name="fileMode")
3509
- def file_mode(self) -> Optional[int]:
3658
+ def file_mode(self) -> Optional[builtins.int]:
3510
3659
  """
3511
3660
  Represents represents the FileMode of the file. Defaults to `0o444`
3512
3661
  """
@@ -3514,7 +3663,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3514
3663
 
3515
3664
  @property
3516
3665
  @pulumi.getter(name="fileUid")
3517
- def file_uid(self) -> Optional[str]:
3666
+ def file_uid(self) -> Optional[builtins.str]:
3518
3667
  """
3519
3668
  Represents the file UID. Defaults to `0`
3520
3669
  """
@@ -3522,7 +3671,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3522
3671
 
3523
3672
  @property
3524
3673
  @pulumi.getter(name="secretName")
3525
- def secret_name(self) -> Optional[str]:
3674
+ def secret_name(self) -> Optional[builtins.str]:
3526
3675
  """
3527
3676
  Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
3528
3677
  """
@@ -3532,11 +3681,11 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3532
3681
  @pulumi.output_type
3533
3682
  class ServiceTaskSpecLogDriver(dict):
3534
3683
  def __init__(__self__, *,
3535
- name: str,
3536
- options: Optional[Mapping[str, str]] = None):
3684
+ name: builtins.str,
3685
+ options: Optional[Mapping[str, builtins.str]] = None):
3537
3686
  """
3538
- :param str name: The logging driver to use
3539
- :param Mapping[str, str] options: The options for the logging driver
3687
+ :param builtins.str name: The logging driver to use
3688
+ :param Mapping[str, builtins.str] options: The options for the logging driver
3540
3689
  """
3541
3690
  pulumi.set(__self__, "name", name)
3542
3691
  if options is not None:
@@ -3544,7 +3693,7 @@ class ServiceTaskSpecLogDriver(dict):
3544
3693
 
3545
3694
  @property
3546
3695
  @pulumi.getter
3547
- def name(self) -> str:
3696
+ def name(self) -> builtins.str:
3548
3697
  """
3549
3698
  The logging driver to use
3550
3699
  """
@@ -3552,7 +3701,7 @@ class ServiceTaskSpecLogDriver(dict):
3552
3701
 
3553
3702
  @property
3554
3703
  @pulumi.getter
3555
- def options(self) -> Optional[Mapping[str, str]]:
3704
+ def options(self) -> Optional[Mapping[str, builtins.str]]:
3556
3705
  """
3557
3706
  The options for the logging driver
3558
3707
  """
@@ -3579,13 +3728,13 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3579
3728
  return super().get(key, default)
3580
3729
 
3581
3730
  def __init__(__self__, *,
3582
- name: str,
3583
- aliases: Optional[Sequence[str]] = None,
3584
- driver_opts: Optional[Sequence[str]] = None):
3731
+ name: builtins.str,
3732
+ aliases: Optional[Sequence[builtins.str]] = None,
3733
+ driver_opts: Optional[Sequence[builtins.str]] = None):
3585
3734
  """
3586
- :param str name: The name/id of the network.
3587
- :param Sequence[str] aliases: The network aliases of the container in the specific network.
3588
- :param Sequence[str] driver_opts: An array of driver options for the network, e.g. `opts1=value`
3735
+ :param builtins.str name: The name/id of the network.
3736
+ :param Sequence[builtins.str] aliases: The network aliases of the container in the specific network.
3737
+ :param Sequence[builtins.str] driver_opts: An array of driver options for the network, e.g. `opts1=value`
3589
3738
  """
3590
3739
  pulumi.set(__self__, "name", name)
3591
3740
  if aliases is not None:
@@ -3595,7 +3744,7 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3595
3744
 
3596
3745
  @property
3597
3746
  @pulumi.getter
3598
- def name(self) -> str:
3747
+ def name(self) -> builtins.str:
3599
3748
  """
3600
3749
  The name/id of the network.
3601
3750
  """
@@ -3603,7 +3752,7 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3603
3752
 
3604
3753
  @property
3605
3754
  @pulumi.getter
3606
- def aliases(self) -> Optional[Sequence[str]]:
3755
+ def aliases(self) -> Optional[Sequence[builtins.str]]:
3607
3756
  """
3608
3757
  The network aliases of the container in the specific network.
3609
3758
  """
@@ -3611,7 +3760,7 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3611
3760
 
3612
3761
  @property
3613
3762
  @pulumi.getter(name="driverOpts")
3614
- def driver_opts(self) -> Optional[Sequence[str]]:
3763
+ def driver_opts(self) -> Optional[Sequence[builtins.str]]:
3615
3764
  """
3616
3765
  An array of driver options for the network, e.g. `opts1=value`
3617
3766
  """
@@ -3638,15 +3787,15 @@ class ServiceTaskSpecPlacement(dict):
3638
3787
  return super().get(key, default)
3639
3788
 
3640
3789
  def __init__(__self__, *,
3641
- constraints: Optional[Sequence[str]] = None,
3642
- max_replicas: Optional[int] = None,
3790
+ constraints: Optional[Sequence[builtins.str]] = None,
3791
+ max_replicas: Optional[builtins.int] = None,
3643
3792
  platforms: Optional[Sequence['outputs.ServiceTaskSpecPlacementPlatform']] = None,
3644
- prefs: Optional[Sequence[str]] = None):
3793
+ prefs: Optional[Sequence[builtins.str]] = None):
3645
3794
  """
3646
- :param Sequence[str] constraints: An array of constraints. e.g.: `node.role==manager`
3647
- :param int max_replicas: Maximum number of replicas for per node (default value is `0`, which is unlimited)
3795
+ :param Sequence[builtins.str] constraints: An array of constraints. e.g.: `node.role==manager`
3796
+ :param builtins.int max_replicas: Maximum number of replicas for per node (default value is `0`, which is unlimited)
3648
3797
  :param Sequence['ServiceTaskSpecPlacementPlatformArgs'] platforms: Platforms stores all the platforms that the service's image can run on
3649
- :param Sequence[str] prefs: Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`
3798
+ :param Sequence[builtins.str] prefs: Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`
3650
3799
  """
3651
3800
  if constraints is not None:
3652
3801
  pulumi.set(__self__, "constraints", constraints)
@@ -3659,7 +3808,7 @@ class ServiceTaskSpecPlacement(dict):
3659
3808
 
3660
3809
  @property
3661
3810
  @pulumi.getter
3662
- def constraints(self) -> Optional[Sequence[str]]:
3811
+ def constraints(self) -> Optional[Sequence[builtins.str]]:
3663
3812
  """
3664
3813
  An array of constraints. e.g.: `node.role==manager`
3665
3814
  """
@@ -3667,7 +3816,7 @@ class ServiceTaskSpecPlacement(dict):
3667
3816
 
3668
3817
  @property
3669
3818
  @pulumi.getter(name="maxReplicas")
3670
- def max_replicas(self) -> Optional[int]:
3819
+ def max_replicas(self) -> Optional[builtins.int]:
3671
3820
  """
3672
3821
  Maximum number of replicas for per node (default value is `0`, which is unlimited)
3673
3822
  """
@@ -3683,7 +3832,7 @@ class ServiceTaskSpecPlacement(dict):
3683
3832
 
3684
3833
  @property
3685
3834
  @pulumi.getter
3686
- def prefs(self) -> Optional[Sequence[str]]:
3835
+ def prefs(self) -> Optional[Sequence[builtins.str]]:
3687
3836
  """
3688
3837
  Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`
3689
3838
  """
@@ -3693,18 +3842,18 @@ class ServiceTaskSpecPlacement(dict):
3693
3842
  @pulumi.output_type
3694
3843
  class ServiceTaskSpecPlacementPlatform(dict):
3695
3844
  def __init__(__self__, *,
3696
- architecture: str,
3697
- os: str):
3845
+ architecture: builtins.str,
3846
+ os: builtins.str):
3698
3847
  """
3699
- :param str architecture: The architecture, e.g. `amd64`
3700
- :param str os: The operation system, e.g. `linux`
3848
+ :param builtins.str architecture: The architecture, e.g. `amd64`
3849
+ :param builtins.str os: The operation system, e.g. `linux`
3701
3850
  """
3702
3851
  pulumi.set(__self__, "architecture", architecture)
3703
3852
  pulumi.set(__self__, "os", os)
3704
3853
 
3705
3854
  @property
3706
3855
  @pulumi.getter
3707
- def architecture(self) -> str:
3856
+ def architecture(self) -> builtins.str:
3708
3857
  """
3709
3858
  The architecture, e.g. `amd64`
3710
3859
  """
@@ -3712,7 +3861,7 @@ class ServiceTaskSpecPlacementPlatform(dict):
3712
3861
 
3713
3862
  @property
3714
3863
  @pulumi.getter
3715
- def os(self) -> str:
3864
+ def os(self) -> builtins.str:
3716
3865
  """
3717
3866
  The operation system, e.g. `linux`
3718
3867
  """
@@ -3772,11 +3921,11 @@ class ServiceTaskSpecResourcesLimits(dict):
3772
3921
  return super().get(key, default)
3773
3922
 
3774
3923
  def __init__(__self__, *,
3775
- memory_bytes: Optional[int] = None,
3776
- nano_cpus: Optional[int] = None):
3924
+ memory_bytes: Optional[builtins.int] = None,
3925
+ nano_cpus: Optional[builtins.int] = None):
3777
3926
  """
3778
- :param int memory_bytes: The amounf of memory in bytes the container allocates
3779
- :param int nano_cpus: CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
3927
+ :param builtins.int memory_bytes: The amounf of memory in bytes the container allocates
3928
+ :param builtins.int nano_cpus: CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
3780
3929
  """
3781
3930
  if memory_bytes is not None:
3782
3931
  pulumi.set(__self__, "memory_bytes", memory_bytes)
@@ -3785,7 +3934,7 @@ class ServiceTaskSpecResourcesLimits(dict):
3785
3934
 
3786
3935
  @property
3787
3936
  @pulumi.getter(name="memoryBytes")
3788
- def memory_bytes(self) -> Optional[int]:
3937
+ def memory_bytes(self) -> Optional[builtins.int]:
3789
3938
  """
3790
3939
  The amounf of memory in bytes the container allocates
3791
3940
  """
@@ -3793,7 +3942,7 @@ class ServiceTaskSpecResourcesLimits(dict):
3793
3942
 
3794
3943
  @property
3795
3944
  @pulumi.getter(name="nanoCpus")
3796
- def nano_cpus(self) -> Optional[int]:
3945
+ def nano_cpus(self) -> Optional[builtins.int]:
3797
3946
  """
3798
3947
  CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
3799
3948
  """
@@ -3825,12 +3974,12 @@ class ServiceTaskSpecResourcesReservation(dict):
3825
3974
 
3826
3975
  def __init__(__self__, *,
3827
3976
  generic_resources: Optional['outputs.ServiceTaskSpecResourcesReservationGenericResources'] = None,
3828
- memory_bytes: Optional[int] = None,
3829
- nano_cpus: Optional[int] = None):
3977
+ memory_bytes: Optional[builtins.int] = None,
3978
+ nano_cpus: Optional[builtins.int] = None):
3830
3979
  """
3831
3980
  :param 'ServiceTaskSpecResourcesReservationGenericResourcesArgs' generic_resources: User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1)
3832
- :param int memory_bytes: The amounf of memory in bytes the container allocates
3833
- :param int nano_cpus: CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
3981
+ :param builtins.int memory_bytes: The amounf of memory in bytes the container allocates
3982
+ :param builtins.int nano_cpus: CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
3834
3983
  """
3835
3984
  if generic_resources is not None:
3836
3985
  pulumi.set(__self__, "generic_resources", generic_resources)
@@ -3849,7 +3998,7 @@ class ServiceTaskSpecResourcesReservation(dict):
3849
3998
 
3850
3999
  @property
3851
4000
  @pulumi.getter(name="memoryBytes")
3852
- def memory_bytes(self) -> Optional[int]:
4001
+ def memory_bytes(self) -> Optional[builtins.int]:
3853
4002
  """
3854
4003
  The amounf of memory in bytes the container allocates
3855
4004
  """
@@ -3857,7 +4006,7 @@ class ServiceTaskSpecResourcesReservation(dict):
3857
4006
 
3858
4007
  @property
3859
4008
  @pulumi.getter(name="nanoCpus")
3860
- def nano_cpus(self) -> Optional[int]:
4009
+ def nano_cpus(self) -> Optional[builtins.int]:
3861
4010
  """
3862
4011
  CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
3863
4012
  """
@@ -3886,11 +4035,11 @@ class ServiceTaskSpecResourcesReservationGenericResources(dict):
3886
4035
  return super().get(key, default)
3887
4036
 
3888
4037
  def __init__(__self__, *,
3889
- discrete_resources_specs: Optional[Sequence[str]] = None,
3890
- named_resources_specs: Optional[Sequence[str]] = None):
4038
+ discrete_resources_specs: Optional[Sequence[builtins.str]] = None,
4039
+ named_resources_specs: Optional[Sequence[builtins.str]] = None):
3891
4040
  """
3892
- :param Sequence[str] discrete_resources_specs: The Integer resources
3893
- :param Sequence[str] named_resources_specs: The String resources
4041
+ :param Sequence[builtins.str] discrete_resources_specs: The Integer resources
4042
+ :param Sequence[builtins.str] named_resources_specs: The String resources
3894
4043
  """
3895
4044
  if discrete_resources_specs is not None:
3896
4045
  pulumi.set(__self__, "discrete_resources_specs", discrete_resources_specs)
@@ -3899,7 +4048,7 @@ class ServiceTaskSpecResourcesReservationGenericResources(dict):
3899
4048
 
3900
4049
  @property
3901
4050
  @pulumi.getter(name="discreteResourcesSpecs")
3902
- def discrete_resources_specs(self) -> Optional[Sequence[str]]:
4051
+ def discrete_resources_specs(self) -> Optional[Sequence[builtins.str]]:
3903
4052
  """
3904
4053
  The Integer resources
3905
4054
  """
@@ -3907,7 +4056,7 @@ class ServiceTaskSpecResourcesReservationGenericResources(dict):
3907
4056
 
3908
4057
  @property
3909
4058
  @pulumi.getter(name="namedResourcesSpecs")
3910
- def named_resources_specs(self) -> Optional[Sequence[str]]:
4059
+ def named_resources_specs(self) -> Optional[Sequence[builtins.str]]:
3911
4060
  """
3912
4061
  The String resources
3913
4062
  """
@@ -3934,15 +4083,15 @@ class ServiceTaskSpecRestartPolicy(dict):
3934
4083
  return super().get(key, default)
3935
4084
 
3936
4085
  def __init__(__self__, *,
3937
- condition: Optional[str] = None,
3938
- delay: Optional[str] = None,
3939
- max_attempts: Optional[int] = None,
3940
- window: Optional[str] = None):
4086
+ condition: Optional[builtins.str] = None,
4087
+ delay: Optional[builtins.str] = None,
4088
+ max_attempts: Optional[builtins.int] = None,
4089
+ window: Optional[builtins.str] = None):
3941
4090
  """
3942
- :param str condition: Condition for restart
3943
- :param str delay: Delay between restart attempts (ms|s|m|h)
3944
- :param int max_attempts: Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
3945
- :param str window: The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
4091
+ :param builtins.str condition: Condition for restart
4092
+ :param builtins.str delay: Delay between restart attempts (ms|s|m|h)
4093
+ :param builtins.int max_attempts: Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
4094
+ :param builtins.str window: The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
3946
4095
  """
3947
4096
  if condition is not None:
3948
4097
  pulumi.set(__self__, "condition", condition)
@@ -3955,7 +4104,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3955
4104
 
3956
4105
  @property
3957
4106
  @pulumi.getter
3958
- def condition(self) -> Optional[str]:
4107
+ def condition(self) -> Optional[builtins.str]:
3959
4108
  """
3960
4109
  Condition for restart
3961
4110
  """
@@ -3963,7 +4112,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3963
4112
 
3964
4113
  @property
3965
4114
  @pulumi.getter
3966
- def delay(self) -> Optional[str]:
4115
+ def delay(self) -> Optional[builtins.str]:
3967
4116
  """
3968
4117
  Delay between restart attempts (ms|s|m|h)
3969
4118
  """
@@ -3971,7 +4120,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3971
4120
 
3972
4121
  @property
3973
4122
  @pulumi.getter(name="maxAttempts")
3974
- def max_attempts(self) -> Optional[int]:
4123
+ def max_attempts(self) -> Optional[builtins.int]:
3975
4124
  """
3976
4125
  Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
3977
4126
  """
@@ -3979,7 +4128,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3979
4128
 
3980
4129
  @property
3981
4130
  @pulumi.getter
3982
- def window(self) -> Optional[str]:
4131
+ def window(self) -> Optional[builtins.str]:
3983
4132
  """
3984
4133
  The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
3985
4134
  """
@@ -4008,19 +4157,19 @@ class ServiceUpdateConfig(dict):
4008
4157
  return super().get(key, default)
4009
4158
 
4010
4159
  def __init__(__self__, *,
4011
- delay: Optional[str] = None,
4012
- failure_action: Optional[str] = None,
4013
- max_failure_ratio: Optional[str] = None,
4014
- monitor: Optional[str] = None,
4015
- order: Optional[str] = None,
4016
- parallelism: Optional[int] = None):
4017
- """
4018
- :param str delay: Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4019
- :param str failure_action: Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4020
- :param str max_failure_ratio: Failure rate to tolerate during an update. Defaults to `0.0`.
4021
- :param str monitor: Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4022
- :param str order: Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4023
- :param int parallelism: Maximum number of tasks to be updated in one iteration. Defaults to `1`
4160
+ delay: Optional[builtins.str] = None,
4161
+ failure_action: Optional[builtins.str] = None,
4162
+ max_failure_ratio: Optional[builtins.str] = None,
4163
+ monitor: Optional[builtins.str] = None,
4164
+ order: Optional[builtins.str] = None,
4165
+ parallelism: Optional[builtins.int] = None):
4166
+ """
4167
+ :param builtins.str delay: Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4168
+ :param builtins.str failure_action: Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4169
+ :param builtins.str max_failure_ratio: Failure rate to tolerate during an update. Defaults to `0.0`.
4170
+ :param builtins.str monitor: Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4171
+ :param builtins.str order: Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4172
+ :param builtins.int parallelism: Maximum number of tasks to be updated in one iteration. Defaults to `1`
4024
4173
  """
4025
4174
  if delay is not None:
4026
4175
  pulumi.set(__self__, "delay", delay)
@@ -4037,7 +4186,7 @@ class ServiceUpdateConfig(dict):
4037
4186
 
4038
4187
  @property
4039
4188
  @pulumi.getter
4040
- def delay(self) -> Optional[str]:
4189
+ def delay(self) -> Optional[builtins.str]:
4041
4190
  """
4042
4191
  Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4043
4192
  """
@@ -4045,7 +4194,7 @@ class ServiceUpdateConfig(dict):
4045
4194
 
4046
4195
  @property
4047
4196
  @pulumi.getter(name="failureAction")
4048
- def failure_action(self) -> Optional[str]:
4197
+ def failure_action(self) -> Optional[builtins.str]:
4049
4198
  """
4050
4199
  Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4051
4200
  """
@@ -4053,7 +4202,7 @@ class ServiceUpdateConfig(dict):
4053
4202
 
4054
4203
  @property
4055
4204
  @pulumi.getter(name="maxFailureRatio")
4056
- def max_failure_ratio(self) -> Optional[str]:
4205
+ def max_failure_ratio(self) -> Optional[builtins.str]:
4057
4206
  """
4058
4207
  Failure rate to tolerate during an update. Defaults to `0.0`.
4059
4208
  """
@@ -4061,7 +4210,7 @@ class ServiceUpdateConfig(dict):
4061
4210
 
4062
4211
  @property
4063
4212
  @pulumi.getter
4064
- def monitor(self) -> Optional[str]:
4213
+ def monitor(self) -> Optional[builtins.str]:
4065
4214
  """
4066
4215
  Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4067
4216
  """
@@ -4069,7 +4218,7 @@ class ServiceUpdateConfig(dict):
4069
4218
 
4070
4219
  @property
4071
4220
  @pulumi.getter
4072
- def order(self) -> Optional[str]:
4221
+ def order(self) -> Optional[builtins.str]:
4073
4222
  """
4074
4223
  Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4075
4224
  """
@@ -4077,7 +4226,7 @@ class ServiceUpdateConfig(dict):
4077
4226
 
4078
4227
  @property
4079
4228
  @pulumi.getter
4080
- def parallelism(self) -> Optional[int]:
4229
+ def parallelism(self) -> Optional[builtins.int]:
4081
4230
  """
4082
4231
  Maximum number of tasks to be updated in one iteration. Defaults to `1`
4083
4232
  """
@@ -4087,18 +4236,18 @@ class ServiceUpdateConfig(dict):
4087
4236
  @pulumi.output_type
4088
4237
  class VolumeLabel(dict):
4089
4238
  def __init__(__self__, *,
4090
- label: str,
4091
- value: str):
4239
+ label: builtins.str,
4240
+ value: builtins.str):
4092
4241
  """
4093
- :param str label: Name of the label
4094
- :param str value: Value of the label
4242
+ :param builtins.str label: Name of the label
4243
+ :param builtins.str value: Value of the label
4095
4244
  """
4096
4245
  pulumi.set(__self__, "label", label)
4097
4246
  pulumi.set(__self__, "value", value)
4098
4247
 
4099
4248
  @property
4100
4249
  @pulumi.getter
4101
- def label(self) -> str:
4250
+ def label(self) -> builtins.str:
4102
4251
  """
4103
4252
  Name of the label
4104
4253
  """
@@ -4106,7 +4255,7 @@ class VolumeLabel(dict):
4106
4255
 
4107
4256
  @property
4108
4257
  @pulumi.getter
4109
- def value(self) -> str:
4258
+ def value(self) -> builtins.str:
4110
4259
  """
4111
4260
  Value of the label
4112
4261
  """
@@ -4116,15 +4265,15 @@ class VolumeLabel(dict):
4116
4265
  @pulumi.output_type
4117
4266
  class GetNetworkIpamConfigResult(dict):
4118
4267
  def __init__(__self__, *,
4119
- aux_address: Optional[Mapping[str, str]] = None,
4120
- gateway: Optional[str] = None,
4121
- ip_range: Optional[str] = None,
4122
- subnet: Optional[str] = None):
4268
+ aux_address: Optional[Mapping[str, builtins.str]] = None,
4269
+ gateway: Optional[builtins.str] = None,
4270
+ ip_range: Optional[builtins.str] = None,
4271
+ subnet: Optional[builtins.str] = None):
4123
4272
  """
4124
- :param Mapping[str, str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
4125
- :param str gateway: The IP address of the gateway
4126
- :param str ip_range: The ip range in CIDR form
4127
- :param str subnet: The subnet in CIDR form
4273
+ :param Mapping[str, builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
4274
+ :param builtins.str gateway: The IP address of the gateway
4275
+ :param builtins.str ip_range: The ip range in CIDR form
4276
+ :param builtins.str subnet: The subnet in CIDR form
4128
4277
  """
4129
4278
  if aux_address is not None:
4130
4279
  pulumi.set(__self__, "aux_address", aux_address)
@@ -4137,7 +4286,7 @@ class GetNetworkIpamConfigResult(dict):
4137
4286
 
4138
4287
  @property
4139
4288
  @pulumi.getter(name="auxAddress")
4140
- def aux_address(self) -> Optional[Mapping[str, str]]:
4289
+ def aux_address(self) -> Optional[Mapping[str, builtins.str]]:
4141
4290
  """
4142
4291
  Auxiliary IPv4 or IPv6 addresses used by Network driver
4143
4292
  """
@@ -4145,7 +4294,7 @@ class GetNetworkIpamConfigResult(dict):
4145
4294
 
4146
4295
  @property
4147
4296
  @pulumi.getter
4148
- def gateway(self) -> Optional[str]:
4297
+ def gateway(self) -> Optional[builtins.str]:
4149
4298
  """
4150
4299
  The IP address of the gateway
4151
4300
  """
@@ -4153,7 +4302,7 @@ class GetNetworkIpamConfigResult(dict):
4153
4302
 
4154
4303
  @property
4155
4304
  @pulumi.getter(name="ipRange")
4156
- def ip_range(self) -> Optional[str]:
4305
+ def ip_range(self) -> Optional[builtins.str]:
4157
4306
  """
4158
4307
  The ip range in CIDR form
4159
4308
  """
@@ -4161,10 +4310,101 @@ class GetNetworkIpamConfigResult(dict):
4161
4310
 
4162
4311
  @property
4163
4312
  @pulumi.getter
4164
- def subnet(self) -> Optional[str]:
4313
+ def subnet(self) -> Optional[builtins.str]:
4165
4314
  """
4166
4315
  The subnet in CIDR form
4167
4316
  """
4168
4317
  return pulumi.get(self, "subnet")
4169
4318
 
4170
4319
 
4320
+ @pulumi.output_type
4321
+ class GetRegistryImageManifestsAuthConfigResult(dict):
4322
+ def __init__(__self__, *,
4323
+ address: builtins.str,
4324
+ password: builtins.str,
4325
+ username: builtins.str):
4326
+ """
4327
+ :param builtins.str address: The address of the Docker registry.
4328
+ :param builtins.str password: The password for the Docker registry.
4329
+ :param builtins.str username: The username for the Docker registry.
4330
+ """
4331
+ pulumi.set(__self__, "address", address)
4332
+ pulumi.set(__self__, "password", password)
4333
+ pulumi.set(__self__, "username", username)
4334
+
4335
+ @property
4336
+ @pulumi.getter
4337
+ def address(self) -> builtins.str:
4338
+ """
4339
+ The address of the Docker registry.
4340
+ """
4341
+ return pulumi.get(self, "address")
4342
+
4343
+ @property
4344
+ @pulumi.getter
4345
+ def password(self) -> builtins.str:
4346
+ """
4347
+ The password for the Docker registry.
4348
+ """
4349
+ return pulumi.get(self, "password")
4350
+
4351
+ @property
4352
+ @pulumi.getter
4353
+ def username(self) -> builtins.str:
4354
+ """
4355
+ The username for the Docker registry.
4356
+ """
4357
+ return pulumi.get(self, "username")
4358
+
4359
+
4360
+ @pulumi.output_type
4361
+ class GetRegistryImageManifestsManifestResult(dict):
4362
+ def __init__(__self__, *,
4363
+ architecture: builtins.str,
4364
+ media_type: builtins.str,
4365
+ os: builtins.str,
4366
+ sha256_digest: builtins.str):
4367
+ """
4368
+ :param builtins.str architecture: The platform architecture supported by the manifest.
4369
+ :param builtins.str media_type: The media type of the manifest.
4370
+ :param builtins.str os: The operating system supported by the manifest.
4371
+ :param builtins.str sha256_digest: The content digest of the manifest, as stored in the registry.
4372
+ """
4373
+ pulumi.set(__self__, "architecture", architecture)
4374
+ pulumi.set(__self__, "media_type", media_type)
4375
+ pulumi.set(__self__, "os", os)
4376
+ pulumi.set(__self__, "sha256_digest", sha256_digest)
4377
+
4378
+ @property
4379
+ @pulumi.getter
4380
+ def architecture(self) -> builtins.str:
4381
+ """
4382
+ The platform architecture supported by the manifest.
4383
+ """
4384
+ return pulumi.get(self, "architecture")
4385
+
4386
+ @property
4387
+ @pulumi.getter(name="mediaType")
4388
+ def media_type(self) -> builtins.str:
4389
+ """
4390
+ The media type of the manifest.
4391
+ """
4392
+ return pulumi.get(self, "media_type")
4393
+
4394
+ @property
4395
+ @pulumi.getter
4396
+ def os(self) -> builtins.str:
4397
+ """
4398
+ The operating system supported by the manifest.
4399
+ """
4400
+ return pulumi.get(self, "os")
4401
+
4402
+ @property
4403
+ @pulumi.getter(name="sha256Digest")
4404
+ def sha256_digest(self) -> builtins.str:
4405
+ """
4406
+ The content digest of the manifest, as stored in the registry.
4407
+ """
4408
+ return pulumi.get(self, "sha256_digest")
4409
+
4410
+