pulumi-docker 4.7.0a1742795063__py3-none-any.whl → 4.7.0a1744786482__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
@@ -81,11 +82,11 @@ __all__ = [
81
82
  @pulumi.output_type
82
83
  class ContainerCapabilities(dict):
83
84
  def __init__(__self__, *,
84
- adds: Optional[Sequence[str]] = None,
85
- drops: Optional[Sequence[str]] = None):
85
+ adds: Optional[Sequence[builtins.str]] = None,
86
+ drops: Optional[Sequence[builtins.str]] = None):
86
87
  """
87
- :param Sequence[str] adds: List of linux capabilities to add.
88
- :param Sequence[str] drops: List of linux capabilities to drop.
88
+ :param Sequence[builtins.str] adds: List of linux capabilities to add.
89
+ :param Sequence[builtins.str] drops: List of linux capabilities to drop.
89
90
  """
90
91
  if adds is not None:
91
92
  pulumi.set(__self__, "adds", adds)
@@ -94,7 +95,7 @@ class ContainerCapabilities(dict):
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def adds(self) -> Optional[Sequence[str]]:
98
+ def adds(self) -> Optional[Sequence[builtins.str]]:
98
99
  """
99
100
  List of linux capabilities to add.
100
101
  """
@@ -102,7 +103,7 @@ class ContainerCapabilities(dict):
102
103
 
103
104
  @property
104
105
  @pulumi.getter
105
- def drops(self) -> Optional[Sequence[str]]:
106
+ def drops(self) -> Optional[Sequence[builtins.str]]:
106
107
  """
107
108
  List of linux capabilities to drop.
108
109
  """
@@ -131,13 +132,13 @@ class ContainerDevice(dict):
131
132
  return super().get(key, default)
132
133
 
133
134
  def __init__(__self__, *,
134
- host_path: str,
135
- container_path: Optional[str] = None,
136
- permissions: Optional[str] = None):
135
+ host_path: builtins.str,
136
+ container_path: Optional[builtins.str] = None,
137
+ permissions: Optional[builtins.str] = None):
137
138
  """
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`.
139
+ :param builtins.str host_path: The path on the host where the device is located.
140
+ :param builtins.str container_path: The path in the container where the device will be bound.
141
+ :param builtins.str permissions: The cgroup permissions given to the container to access the device. Defaults to `rwm`.
141
142
  """
142
143
  pulumi.set(__self__, "host_path", host_path)
143
144
  if container_path is not None:
@@ -147,7 +148,7 @@ class ContainerDevice(dict):
147
148
 
148
149
  @property
149
150
  @pulumi.getter(name="hostPath")
150
- def host_path(self) -> str:
151
+ def host_path(self) -> builtins.str:
151
152
  """
152
153
  The path on the host where the device is located.
153
154
  """
@@ -155,7 +156,7 @@ class ContainerDevice(dict):
155
156
 
156
157
  @property
157
158
  @pulumi.getter(name="containerPath")
158
- def container_path(self) -> Optional[str]:
159
+ def container_path(self) -> Optional[builtins.str]:
159
160
  """
160
161
  The path in the container where the device will be bound.
161
162
  """
@@ -163,7 +164,7 @@ class ContainerDevice(dict):
163
164
 
164
165
  @property
165
166
  @pulumi.getter
166
- def permissions(self) -> Optional[str]:
167
+ def permissions(self) -> Optional[builtins.str]:
167
168
  """
168
169
  The cgroup permissions given to the container to access the device. Defaults to `rwm`.
169
170
  """
@@ -190,17 +191,17 @@ class ContainerHealthcheck(dict):
190
191
  return super().get(key, default)
191
192
 
192
193
  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`.
194
+ tests: Sequence[builtins.str],
195
+ interval: Optional[builtins.str] = None,
196
+ retries: Optional[builtins.int] = None,
197
+ start_period: Optional[builtins.str] = None,
198
+ timeout: Optional[builtins.str] = None):
199
+ """
200
+ :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"]`.
201
+ :param builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
202
+ :param builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`.
203
+ :param builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
204
+ :param builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
204
205
  """
205
206
  pulumi.set(__self__, "tests", tests)
206
207
  if interval is not None:
@@ -214,7 +215,7 @@ class ContainerHealthcheck(dict):
214
215
 
215
216
  @property
216
217
  @pulumi.getter
217
- def tests(self) -> Sequence[str]:
218
+ def tests(self) -> Sequence[builtins.str]:
218
219
  """
219
220
  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
221
  """
@@ -222,7 +223,7 @@ class ContainerHealthcheck(dict):
222
223
 
223
224
  @property
224
225
  @pulumi.getter
225
- def interval(self) -> Optional[str]:
226
+ def interval(self) -> Optional[builtins.str]:
226
227
  """
227
228
  Time between running the check (ms|s|m|h). Defaults to `0s`.
228
229
  """
@@ -230,7 +231,7 @@ class ContainerHealthcheck(dict):
230
231
 
231
232
  @property
232
233
  @pulumi.getter
233
- def retries(self) -> Optional[int]:
234
+ def retries(self) -> Optional[builtins.int]:
234
235
  """
235
236
  Consecutive failures needed to report unhealthy. Defaults to `0`.
236
237
  """
@@ -238,7 +239,7 @@ class ContainerHealthcheck(dict):
238
239
 
239
240
  @property
240
241
  @pulumi.getter(name="startPeriod")
241
- def start_period(self) -> Optional[str]:
242
+ def start_period(self) -> Optional[builtins.str]:
242
243
  """
243
244
  Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
244
245
  """
@@ -246,7 +247,7 @@ class ContainerHealthcheck(dict):
246
247
 
247
248
  @property
248
249
  @pulumi.getter
249
- def timeout(self) -> Optional[str]:
250
+ def timeout(self) -> Optional[builtins.str]:
250
251
  """
251
252
  Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
252
253
  """
@@ -256,18 +257,18 @@ class ContainerHealthcheck(dict):
256
257
  @pulumi.output_type
257
258
  class ContainerHost(dict):
258
259
  def __init__(__self__, *,
259
- host: str,
260
- ip: str):
260
+ host: builtins.str,
261
+ ip: builtins.str):
261
262
  """
262
- :param str host: Hostname to add
263
- :param str ip: IP address this hostname should resolve to.
263
+ :param builtins.str host: Hostname to add
264
+ :param builtins.str ip: IP address this hostname should resolve to.
264
265
  """
265
266
  pulumi.set(__self__, "host", host)
266
267
  pulumi.set(__self__, "ip", ip)
267
268
 
268
269
  @property
269
270
  @pulumi.getter
270
- def host(self) -> str:
271
+ def host(self) -> builtins.str:
271
272
  """
272
273
  Hostname to add
273
274
  """
@@ -275,7 +276,7 @@ class ContainerHost(dict):
275
276
 
276
277
  @property
277
278
  @pulumi.getter
278
- def ip(self) -> str:
279
+ def ip(self) -> builtins.str:
279
280
  """
280
281
  IP address this hostname should resolve to.
281
282
  """
@@ -285,18 +286,18 @@ class ContainerHost(dict):
285
286
  @pulumi.output_type
286
287
  class ContainerLabel(dict):
287
288
  def __init__(__self__, *,
288
- label: str,
289
- value: str):
289
+ label: builtins.str,
290
+ value: builtins.str):
290
291
  """
291
- :param str label: Name of the label
292
- :param str value: Value of the label
292
+ :param builtins.str label: Name of the label
293
+ :param builtins.str value: Value of the label
293
294
  """
294
295
  pulumi.set(__self__, "label", label)
295
296
  pulumi.set(__self__, "value", value)
296
297
 
297
298
  @property
298
299
  @pulumi.getter
299
- def label(self) -> str:
300
+ def label(self) -> builtins.str:
300
301
  """
301
302
  Name of the label
302
303
  """
@@ -304,7 +305,7 @@ class ContainerLabel(dict):
304
305
 
305
306
  @property
306
307
  @pulumi.getter
307
- def value(self) -> str:
308
+ def value(self) -> builtins.str:
308
309
  """
309
310
  Value of the label
310
311
  """
@@ -337,19 +338,19 @@ class ContainerMount(dict):
337
338
  return super().get(key, default)
338
339
 
339
340
  def __init__(__self__, *,
340
- target: str,
341
- type: str,
341
+ target: builtins.str,
342
+ type: builtins.str,
342
343
  bind_options: Optional['outputs.ContainerMountBindOptions'] = None,
343
- read_only: Optional[bool] = None,
344
- source: Optional[str] = None,
344
+ read_only: Optional[builtins.bool] = None,
345
+ source: Optional[builtins.str] = None,
345
346
  tmpfs_options: Optional['outputs.ContainerMountTmpfsOptions'] = None,
346
347
  volume_options: Optional['outputs.ContainerMountVolumeOptions'] = None):
347
348
  """
348
- :param str target: Container path
349
- :param str type: The mount type
349
+ :param builtins.str target: Container path
350
+ :param builtins.str type: The mount type
350
351
  :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).
352
+ :param builtins.bool read_only: Whether the mount should be read-only.
353
+ :param builtins.str source: Mount source (e.g. a volume name, a host path).
353
354
  :param 'ContainerMountTmpfsOptionsArgs' tmpfs_options: Optional configuration for the tmpfs type.
354
355
  :param 'ContainerMountVolumeOptionsArgs' volume_options: Optional configuration for the volume type.
355
356
  """
@@ -368,7 +369,7 @@ class ContainerMount(dict):
368
369
 
369
370
  @property
370
371
  @pulumi.getter
371
- def target(self) -> str:
372
+ def target(self) -> builtins.str:
372
373
  """
373
374
  Container path
374
375
  """
@@ -376,7 +377,7 @@ class ContainerMount(dict):
376
377
 
377
378
  @property
378
379
  @pulumi.getter
379
- def type(self) -> str:
380
+ def type(self) -> builtins.str:
380
381
  """
381
382
  The mount type
382
383
  """
@@ -392,7 +393,7 @@ class ContainerMount(dict):
392
393
 
393
394
  @property
394
395
  @pulumi.getter(name="readOnly")
395
- def read_only(self) -> Optional[bool]:
396
+ def read_only(self) -> Optional[builtins.bool]:
396
397
  """
397
398
  Whether the mount should be read-only.
398
399
  """
@@ -400,7 +401,7 @@ class ContainerMount(dict):
400
401
 
401
402
  @property
402
403
  @pulumi.getter
403
- def source(self) -> Optional[str]:
404
+ def source(self) -> Optional[builtins.str]:
404
405
  """
405
406
  Mount source (e.g. a volume name, a host path).
406
407
  """
@@ -426,16 +427,16 @@ class ContainerMount(dict):
426
427
  @pulumi.output_type
427
428
  class ContainerMountBindOptions(dict):
428
429
  def __init__(__self__, *,
429
- propagation: Optional[str] = None):
430
+ propagation: Optional[builtins.str] = None):
430
431
  """
431
- :param str propagation: A propagation mode with the value.
432
+ :param builtins.str propagation: A propagation mode with the value.
432
433
  """
433
434
  if propagation is not None:
434
435
  pulumi.set(__self__, "propagation", propagation)
435
436
 
436
437
  @property
437
438
  @pulumi.getter
438
- def propagation(self) -> Optional[str]:
439
+ def propagation(self) -> Optional[builtins.str]:
439
440
  """
440
441
  A propagation mode with the value.
441
442
  """
@@ -462,11 +463,11 @@ class ContainerMountTmpfsOptions(dict):
462
463
  return super().get(key, default)
463
464
 
464
465
  def __init__(__self__, *,
465
- mode: Optional[int] = None,
466
- size_bytes: Optional[int] = None):
466
+ mode: Optional[builtins.int] = None,
467
+ size_bytes: Optional[builtins.int] = None):
467
468
  """
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.
469
+ :param builtins.int mode: The permission mode for the tmpfs mount in an integer.
470
+ :param builtins.int size_bytes: The size for the tmpfs mount in bytes.
470
471
  """
471
472
  if mode is not None:
472
473
  pulumi.set(__self__, "mode", mode)
@@ -475,7 +476,7 @@ class ContainerMountTmpfsOptions(dict):
475
476
 
476
477
  @property
477
478
  @pulumi.getter
478
- def mode(self) -> Optional[int]:
479
+ def mode(self) -> Optional[builtins.int]:
479
480
  """
480
481
  The permission mode for the tmpfs mount in an integer.
481
482
  """
@@ -483,7 +484,7 @@ class ContainerMountTmpfsOptions(dict):
483
484
 
484
485
  @property
485
486
  @pulumi.getter(name="sizeBytes")
486
- def size_bytes(self) -> Optional[int]:
487
+ def size_bytes(self) -> Optional[builtins.int]:
487
488
  """
488
489
  The size for the tmpfs mount in bytes.
489
490
  """
@@ -514,15 +515,15 @@ class ContainerMountVolumeOptions(dict):
514
515
  return super().get(key, default)
515
516
 
516
517
  def __init__(__self__, *,
517
- driver_name: Optional[str] = None,
518
- driver_options: Optional[Mapping[str, str]] = None,
518
+ driver_name: Optional[builtins.str] = None,
519
+ driver_options: Optional[Mapping[str, builtins.str]] = None,
519
520
  labels: Optional[Sequence['outputs.ContainerMountVolumeOptionsLabel']] = None,
520
- no_copy: Optional[bool] = None):
521
+ no_copy: Optional[builtins.bool] = None):
521
522
  """
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.
523
+ :param builtins.str driver_name: Name of the driver to use to create the volume.
524
+ :param Mapping[str, builtins.str] driver_options: key/value map of driver specific options.
524
525
  :param Sequence['ContainerMountVolumeOptionsLabelArgs'] labels: User-defined key/value metadata.
525
- :param bool no_copy: Populate volume with data from the target.
526
+ :param builtins.bool no_copy: Populate volume with data from the target.
526
527
  """
527
528
  if driver_name is not None:
528
529
  pulumi.set(__self__, "driver_name", driver_name)
@@ -535,7 +536,7 @@ class ContainerMountVolumeOptions(dict):
535
536
 
536
537
  @property
537
538
  @pulumi.getter(name="driverName")
538
- def driver_name(self) -> Optional[str]:
539
+ def driver_name(self) -> Optional[builtins.str]:
539
540
  """
540
541
  Name of the driver to use to create the volume.
541
542
  """
@@ -543,7 +544,7 @@ class ContainerMountVolumeOptions(dict):
543
544
 
544
545
  @property
545
546
  @pulumi.getter(name="driverOptions")
546
- def driver_options(self) -> Optional[Mapping[str, str]]:
547
+ def driver_options(self) -> Optional[Mapping[str, builtins.str]]:
547
548
  """
548
549
  key/value map of driver specific options.
549
550
  """
@@ -559,7 +560,7 @@ class ContainerMountVolumeOptions(dict):
559
560
 
560
561
  @property
561
562
  @pulumi.getter(name="noCopy")
562
- def no_copy(self) -> Optional[bool]:
563
+ def no_copy(self) -> Optional[builtins.bool]:
563
564
  """
564
565
  Populate volume with data from the target.
565
566
  """
@@ -569,18 +570,18 @@ class ContainerMountVolumeOptions(dict):
569
570
  @pulumi.output_type
570
571
  class ContainerMountVolumeOptionsLabel(dict):
571
572
  def __init__(__self__, *,
572
- label: str,
573
- value: str):
573
+ label: builtins.str,
574
+ value: builtins.str):
574
575
  """
575
- :param str label: Name of the label
576
- :param str value: Value of the label
576
+ :param builtins.str label: Name of the label
577
+ :param builtins.str value: Value of the label
577
578
  """
578
579
  pulumi.set(__self__, "label", label)
579
580
  pulumi.set(__self__, "value", value)
580
581
 
581
582
  @property
582
583
  @pulumi.getter
583
- def label(self) -> str:
584
+ def label(self) -> builtins.str:
584
585
  """
585
586
  Name of the label
586
587
  """
@@ -588,7 +589,7 @@ class ContainerMountVolumeOptionsLabel(dict):
588
589
 
589
590
  @property
590
591
  @pulumi.getter
591
- def value(self) -> str:
592
+ def value(self) -> builtins.str:
592
593
  """
593
594
  Value of the label
594
595
  """
@@ -627,23 +628,23 @@ class ContainerNetworkData(dict):
627
628
  return super().get(key, default)
628
629
 
629
630
  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
631
+ gateway: Optional[builtins.str] = None,
632
+ global_ipv6_address: Optional[builtins.str] = None,
633
+ global_ipv6_prefix_length: Optional[builtins.int] = None,
634
+ ip_address: Optional[builtins.str] = None,
635
+ ip_prefix_length: Optional[builtins.int] = None,
636
+ ipv6_gateway: Optional[builtins.str] = None,
637
+ mac_address: Optional[builtins.str] = None,
638
+ network_name: Optional[builtins.str] = None):
639
+ """
640
+ :param builtins.str gateway: The network gateway of the container.
641
+ :param builtins.str global_ipv6_address: The IPV6 address of the container.
642
+ :param builtins.int global_ipv6_prefix_length: The IPV6 prefix length address of the container.
643
+ :param builtins.str ip_address: The IP address of the container.
644
+ :param builtins.int ip_prefix_length: The IP prefix length of the container.
645
+ :param builtins.str ipv6_gateway: The IPV6 gateway of the container.
646
+ :param builtins.str mac_address: The MAC address of the container.
647
+ :param builtins.str network_name: The name of the network
647
648
  """
648
649
  if gateway is not None:
649
650
  pulumi.set(__self__, "gateway", gateway)
@@ -664,7 +665,7 @@ class ContainerNetworkData(dict):
664
665
 
665
666
  @property
666
667
  @pulumi.getter
667
- def gateway(self) -> Optional[str]:
668
+ def gateway(self) -> Optional[builtins.str]:
668
669
  """
669
670
  The network gateway of the container.
670
671
  """
@@ -672,7 +673,7 @@ class ContainerNetworkData(dict):
672
673
 
673
674
  @property
674
675
  @pulumi.getter(name="globalIpv6Address")
675
- def global_ipv6_address(self) -> Optional[str]:
676
+ def global_ipv6_address(self) -> Optional[builtins.str]:
676
677
  """
677
678
  The IPV6 address of the container.
678
679
  """
@@ -680,7 +681,7 @@ class ContainerNetworkData(dict):
680
681
 
681
682
  @property
682
683
  @pulumi.getter(name="globalIpv6PrefixLength")
683
- def global_ipv6_prefix_length(self) -> Optional[int]:
684
+ def global_ipv6_prefix_length(self) -> Optional[builtins.int]:
684
685
  """
685
686
  The IPV6 prefix length address of the container.
686
687
  """
@@ -688,7 +689,7 @@ class ContainerNetworkData(dict):
688
689
 
689
690
  @property
690
691
  @pulumi.getter(name="ipAddress")
691
- def ip_address(self) -> Optional[str]:
692
+ def ip_address(self) -> Optional[builtins.str]:
692
693
  """
693
694
  The IP address of the container.
694
695
  """
@@ -696,7 +697,7 @@ class ContainerNetworkData(dict):
696
697
 
697
698
  @property
698
699
  @pulumi.getter(name="ipPrefixLength")
699
- def ip_prefix_length(self) -> Optional[int]:
700
+ def ip_prefix_length(self) -> Optional[builtins.int]:
700
701
  """
701
702
  The IP prefix length of the container.
702
703
  """
@@ -704,7 +705,7 @@ class ContainerNetworkData(dict):
704
705
 
705
706
  @property
706
707
  @pulumi.getter(name="ipv6Gateway")
707
- def ipv6_gateway(self) -> Optional[str]:
708
+ def ipv6_gateway(self) -> Optional[builtins.str]:
708
709
  """
709
710
  The IPV6 gateway of the container.
710
711
  """
@@ -712,7 +713,7 @@ class ContainerNetworkData(dict):
712
713
 
713
714
  @property
714
715
  @pulumi.getter(name="macAddress")
715
- def mac_address(self) -> Optional[str]:
716
+ def mac_address(self) -> Optional[builtins.str]:
716
717
  """
717
718
  The MAC address of the container.
718
719
  """
@@ -720,7 +721,7 @@ class ContainerNetworkData(dict):
720
721
 
721
722
  @property
722
723
  @pulumi.getter(name="networkName")
723
- def network_name(self) -> Optional[str]:
724
+ def network_name(self) -> Optional[builtins.str]:
724
725
  """
725
726
  The name of the network
726
727
  """
@@ -749,15 +750,15 @@ class ContainerNetworksAdvanced(dict):
749
750
  return super().get(key, default)
750
751
 
751
752
  def __init__(__self__, *,
752
- name: str,
753
- aliases: Optional[Sequence[str]] = None,
754
- ipv4_address: Optional[str] = None,
755
- ipv6_address: Optional[str] = None):
753
+ name: builtins.str,
754
+ aliases: Optional[Sequence[builtins.str]] = None,
755
+ ipv4_address: Optional[builtins.str] = None,
756
+ ipv6_address: Optional[builtins.str] = None):
756
757
  """
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.
758
+ :param builtins.str name: The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
759
+ :param Sequence[builtins.str] aliases: The network aliases of the container in the specific network.
760
+ :param builtins.str ipv4_address: The IPV4 address of the container in the specific network.
761
+ :param builtins.str ipv6_address: The IPV6 address of the container in the specific network.
761
762
  """
762
763
  pulumi.set(__self__, "name", name)
763
764
  if aliases is not None:
@@ -769,7 +770,7 @@ class ContainerNetworksAdvanced(dict):
769
770
 
770
771
  @property
771
772
  @pulumi.getter
772
- def name(self) -> str:
773
+ def name(self) -> builtins.str:
773
774
  """
774
775
  The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
775
776
  """
@@ -777,7 +778,7 @@ class ContainerNetworksAdvanced(dict):
777
778
 
778
779
  @property
779
780
  @pulumi.getter
780
- def aliases(self) -> Optional[Sequence[str]]:
781
+ def aliases(self) -> Optional[Sequence[builtins.str]]:
781
782
  """
782
783
  The network aliases of the container in the specific network.
783
784
  """
@@ -785,7 +786,7 @@ class ContainerNetworksAdvanced(dict):
785
786
 
786
787
  @property
787
788
  @pulumi.getter(name="ipv4Address")
788
- def ipv4_address(self) -> Optional[str]:
789
+ def ipv4_address(self) -> Optional[builtins.str]:
789
790
  """
790
791
  The IPV4 address of the container in the specific network.
791
792
  """
@@ -793,7 +794,7 @@ class ContainerNetworksAdvanced(dict):
793
794
 
794
795
  @property
795
796
  @pulumi.getter(name="ipv6Address")
796
- def ipv6_address(self) -> Optional[str]:
797
+ def ipv6_address(self) -> Optional[builtins.str]:
797
798
  """
798
799
  The IPV6 address of the container in the specific network.
799
800
  """
@@ -803,15 +804,15 @@ class ContainerNetworksAdvanced(dict):
803
804
  @pulumi.output_type
804
805
  class ContainerPort(dict):
805
806
  def __init__(__self__, *,
806
- internal: int,
807
- external: Optional[int] = None,
808
- ip: Optional[str] = None,
809
- protocol: Optional[str] = None):
807
+ internal: builtins.int,
808
+ external: Optional[builtins.int] = None,
809
+ ip: Optional[builtins.str] = None,
810
+ protocol: Optional[builtins.str] = None):
810
811
  """
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`.
812
+ :param builtins.int internal: Port within the container.
813
+ :param builtins.int external: Port exposed out of the container. If not given a free random port `>= 32768` will be used.
814
+ :param builtins.str ip: IP address/mask that can access this port. Defaults to `0.0.0.0`.
815
+ :param builtins.str protocol: Protocol that can be used over this port. Defaults to `tcp`.
815
816
  """
816
817
  pulumi.set(__self__, "internal", internal)
817
818
  if external is not None:
@@ -823,7 +824,7 @@ class ContainerPort(dict):
823
824
 
824
825
  @property
825
826
  @pulumi.getter
826
- def internal(self) -> int:
827
+ def internal(self) -> builtins.int:
827
828
  """
828
829
  Port within the container.
829
830
  """
@@ -831,7 +832,7 @@ class ContainerPort(dict):
831
832
 
832
833
  @property
833
834
  @pulumi.getter
834
- def external(self) -> Optional[int]:
835
+ def external(self) -> Optional[builtins.int]:
835
836
  """
836
837
  Port exposed out of the container. If not given a free random port `>= 32768` will be used.
837
838
  """
@@ -839,7 +840,7 @@ class ContainerPort(dict):
839
840
 
840
841
  @property
841
842
  @pulumi.getter
842
- def ip(self) -> Optional[str]:
843
+ def ip(self) -> Optional[builtins.str]:
843
844
  """
844
845
  IP address/mask that can access this port. Defaults to `0.0.0.0`.
845
846
  """
@@ -847,7 +848,7 @@ class ContainerPort(dict):
847
848
 
848
849
  @property
849
850
  @pulumi.getter
850
- def protocol(self) -> Optional[str]:
851
+ def protocol(self) -> Optional[builtins.str]:
851
852
  """
852
853
  Protocol that can be used over this port. Defaults to `tcp`.
853
854
  """
@@ -857,13 +858,13 @@ class ContainerPort(dict):
857
858
  @pulumi.output_type
858
859
  class ContainerUlimit(dict):
859
860
  def __init__(__self__, *,
860
- hard: int,
861
- name: str,
862
- soft: int):
861
+ hard: builtins.int,
862
+ name: builtins.str,
863
+ soft: builtins.int):
863
864
  """
864
- :param int hard: The hard limit
865
- :param str name: The name of the ulimit
866
- :param int soft: The soft limit
865
+ :param builtins.int hard: The hard limit
866
+ :param builtins.str name: The name of the ulimit
867
+ :param builtins.int soft: The soft limit
867
868
  """
868
869
  pulumi.set(__self__, "hard", hard)
869
870
  pulumi.set(__self__, "name", name)
@@ -871,7 +872,7 @@ class ContainerUlimit(dict):
871
872
 
872
873
  @property
873
874
  @pulumi.getter
874
- def hard(self) -> int:
875
+ def hard(self) -> builtins.int:
875
876
  """
876
877
  The hard limit
877
878
  """
@@ -879,7 +880,7 @@ class ContainerUlimit(dict):
879
880
 
880
881
  @property
881
882
  @pulumi.getter
882
- def name(self) -> str:
883
+ def name(self) -> builtins.str:
883
884
  """
884
885
  The name of the ulimit
885
886
  """
@@ -887,7 +888,7 @@ class ContainerUlimit(dict):
887
888
 
888
889
  @property
889
890
  @pulumi.getter
890
- def soft(self) -> int:
891
+ def soft(self) -> builtins.int:
891
892
  """
892
893
  The soft limit
893
894
  """
@@ -916,19 +917,19 @@ class ContainerUpload(dict):
916
917
  return super().get(key, default)
917
918
 
918
919
  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.
920
+ file: builtins.str,
921
+ content: Optional[builtins.str] = None,
922
+ content_base64: Optional[builtins.str] = None,
923
+ executable: Optional[builtins.bool] = None,
924
+ source: Optional[builtins.str] = None,
925
+ source_hash: Optional[builtins.str] = None):
926
+ """
927
+ :param builtins.str file: Path to the file in the container where is upload goes to
928
+ :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`
929
+ :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`
930
+ :param builtins.bool executable: If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
931
+ :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`
932
+ :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
933
  """
933
934
  pulumi.set(__self__, "file", file)
934
935
  if content is not None:
@@ -944,7 +945,7 @@ class ContainerUpload(dict):
944
945
 
945
946
  @property
946
947
  @pulumi.getter
947
- def file(self) -> str:
948
+ def file(self) -> builtins.str:
948
949
  """
949
950
  Path to the file in the container where is upload goes to
950
951
  """
@@ -952,7 +953,7 @@ class ContainerUpload(dict):
952
953
 
953
954
  @property
954
955
  @pulumi.getter
955
- def content(self) -> Optional[str]:
956
+ def content(self) -> Optional[builtins.str]:
956
957
  """
957
958
  Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` & `source`
958
959
  """
@@ -960,7 +961,7 @@ class ContainerUpload(dict):
960
961
 
961
962
  @property
962
963
  @pulumi.getter(name="contentBase64")
963
- def content_base64(self) -> Optional[str]:
964
+ def content_base64(self) -> Optional[builtins.str]:
964
965
  """
965
966
  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
967
  """
@@ -968,7 +969,7 @@ class ContainerUpload(dict):
968
969
 
969
970
  @property
970
971
  @pulumi.getter
971
- def executable(self) -> Optional[bool]:
972
+ def executable(self) -> Optional[builtins.bool]:
972
973
  """
973
974
  If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
974
975
  """
@@ -976,7 +977,7 @@ class ContainerUpload(dict):
976
977
 
977
978
  @property
978
979
  @pulumi.getter
979
- def source(self) -> Optional[str]:
980
+ def source(self) -> Optional[builtins.str]:
980
981
  """
981
982
  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
983
  """
@@ -984,7 +985,7 @@ class ContainerUpload(dict):
984
985
 
985
986
  @property
986
987
  @pulumi.getter(name="sourceHash")
987
- def source_hash(self) -> Optional[str]:
988
+ def source_hash(self) -> Optional[builtins.str]:
988
989
  """
989
990
  If using `source`, this will force an update if the file content has updated but the filename has not.
990
991
  """
@@ -1019,17 +1020,17 @@ class ContainerVolume(dict):
1019
1020
  return super().get(key, default)
1020
1021
 
1021
1022
  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.
1023
+ container_path: Optional[builtins.str] = None,
1024
+ from_container: Optional[builtins.str] = None,
1025
+ host_path: Optional[builtins.str] = None,
1026
+ read_only: Optional[builtins.bool] = None,
1027
+ volume_name: Optional[builtins.str] = None):
1028
+ """
1029
+ :param builtins.str container_path: The path in the container where the volume will be mounted.
1030
+ :param builtins.str from_container: The container where the volume is coming from.
1031
+ :param builtins.str host_path: The path on the host where the volume is coming from.
1032
+ :param builtins.bool read_only: If `true`, this volume will be readonly. Defaults to `false`.
1033
+ :param builtins.str volume_name: The name of the docker volume which should be mounted.
1033
1034
  """
1034
1035
  if container_path is not None:
1035
1036
  pulumi.set(__self__, "container_path", container_path)
@@ -1044,7 +1045,7 @@ class ContainerVolume(dict):
1044
1045
 
1045
1046
  @property
1046
1047
  @pulumi.getter(name="containerPath")
1047
- def container_path(self) -> Optional[str]:
1048
+ def container_path(self) -> Optional[builtins.str]:
1048
1049
  """
1049
1050
  The path in the container where the volume will be mounted.
1050
1051
  """
@@ -1052,7 +1053,7 @@ class ContainerVolume(dict):
1052
1053
 
1053
1054
  @property
1054
1055
  @pulumi.getter(name="fromContainer")
1055
- def from_container(self) -> Optional[str]:
1056
+ def from_container(self) -> Optional[builtins.str]:
1056
1057
  """
1057
1058
  The container where the volume is coming from.
1058
1059
  """
@@ -1060,7 +1061,7 @@ class ContainerVolume(dict):
1060
1061
 
1061
1062
  @property
1062
1063
  @pulumi.getter(name="hostPath")
1063
- def host_path(self) -> Optional[str]:
1064
+ def host_path(self) -> Optional[builtins.str]:
1064
1065
  """
1065
1066
  The path on the host where the volume is coming from.
1066
1067
  """
@@ -1068,7 +1069,7 @@ class ContainerVolume(dict):
1068
1069
 
1069
1070
  @property
1070
1071
  @pulumi.getter(name="readOnly")
1071
- def read_only(self) -> Optional[bool]:
1072
+ def read_only(self) -> Optional[builtins.bool]:
1072
1073
  """
1073
1074
  If `true`, this volume will be readonly. Defaults to `false`.
1074
1075
  """
@@ -1076,7 +1077,7 @@ class ContainerVolume(dict):
1076
1077
 
1077
1078
  @property
1078
1079
  @pulumi.getter(name="volumeName")
1079
- def volume_name(self) -> Optional[str]:
1080
+ def volume_name(self) -> Optional[builtins.str]:
1080
1081
  """
1081
1082
  The name of the docker volume which should be mounted.
1082
1083
  """
@@ -1105,15 +1106,15 @@ class NetworkIpamConfig(dict):
1105
1106
  return super().get(key, default)
1106
1107
 
1107
1108
  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):
1109
+ aux_address: Optional[Mapping[str, builtins.str]] = None,
1110
+ gateway: Optional[builtins.str] = None,
1111
+ ip_range: Optional[builtins.str] = None,
1112
+ subnet: Optional[builtins.str] = None):
1112
1113
  """
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
1114
+ :param Mapping[str, builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
1115
+ :param builtins.str gateway: The IP address of the gateway
1116
+ :param builtins.str ip_range: The ip range in CIDR form
1117
+ :param builtins.str subnet: The subnet in CIDR form
1117
1118
  """
1118
1119
  if aux_address is not None:
1119
1120
  pulumi.set(__self__, "aux_address", aux_address)
@@ -1126,7 +1127,7 @@ class NetworkIpamConfig(dict):
1126
1127
 
1127
1128
  @property
1128
1129
  @pulumi.getter(name="auxAddress")
1129
- def aux_address(self) -> Optional[Mapping[str, str]]:
1130
+ def aux_address(self) -> Optional[Mapping[str, builtins.str]]:
1130
1131
  """
1131
1132
  Auxiliary IPv4 or IPv6 addresses used by Network driver
1132
1133
  """
@@ -1134,7 +1135,7 @@ class NetworkIpamConfig(dict):
1134
1135
 
1135
1136
  @property
1136
1137
  @pulumi.getter
1137
- def gateway(self) -> Optional[str]:
1138
+ def gateway(self) -> Optional[builtins.str]:
1138
1139
  """
1139
1140
  The IP address of the gateway
1140
1141
  """
@@ -1142,7 +1143,7 @@ class NetworkIpamConfig(dict):
1142
1143
 
1143
1144
  @property
1144
1145
  @pulumi.getter(name="ipRange")
1145
- def ip_range(self) -> Optional[str]:
1146
+ def ip_range(self) -> Optional[builtins.str]:
1146
1147
  """
1147
1148
  The ip range in CIDR form
1148
1149
  """
@@ -1150,7 +1151,7 @@ class NetworkIpamConfig(dict):
1150
1151
 
1151
1152
  @property
1152
1153
  @pulumi.getter
1153
- def subnet(self) -> Optional[str]:
1154
+ def subnet(self) -> Optional[builtins.str]:
1154
1155
  """
1155
1156
  The subnet in CIDR form
1156
1157
  """
@@ -1160,18 +1161,18 @@ class NetworkIpamConfig(dict):
1160
1161
  @pulumi.output_type
1161
1162
  class NetworkLabel(dict):
1162
1163
  def __init__(__self__, *,
1163
- label: str,
1164
- value: str):
1164
+ label: builtins.str,
1165
+ value: builtins.str):
1165
1166
  """
1166
- :param str label: Name of the label
1167
- :param str value: Value of the label
1167
+ :param builtins.str label: Name of the label
1168
+ :param builtins.str value: Value of the label
1168
1169
  """
1169
1170
  pulumi.set(__self__, "label", label)
1170
1171
  pulumi.set(__self__, "value", value)
1171
1172
 
1172
1173
  @property
1173
1174
  @pulumi.getter
1174
- def label(self) -> str:
1175
+ def label(self) -> builtins.str:
1175
1176
  """
1176
1177
  Name of the label
1177
1178
  """
@@ -1179,7 +1180,7 @@ class NetworkLabel(dict):
1179
1180
 
1180
1181
  @property
1181
1182
  @pulumi.getter
1182
- def value(self) -> str:
1183
+ def value(self) -> builtins.str:
1183
1184
  """
1184
1185
  Value of the label
1185
1186
  """
@@ -1189,18 +1190,18 @@ class NetworkLabel(dict):
1189
1190
  @pulumi.output_type
1190
1191
  class PluginGrantPermission(dict):
1191
1192
  def __init__(__self__, *,
1192
- name: str,
1193
- values: Sequence[str]):
1193
+ name: builtins.str,
1194
+ values: Sequence[builtins.str]):
1194
1195
  """
1195
- :param str name: The name of the permission
1196
- :param Sequence[str] values: The value of the permission
1196
+ :param builtins.str name: The name of the permission
1197
+ :param Sequence[builtins.str] values: The value of the permission
1197
1198
  """
1198
1199
  pulumi.set(__self__, "name", name)
1199
1200
  pulumi.set(__self__, "values", values)
1200
1201
 
1201
1202
  @property
1202
1203
  @pulumi.getter
1203
- def name(self) -> str:
1204
+ def name(self) -> builtins.str:
1204
1205
  """
1205
1206
  The name of the permission
1206
1207
  """
@@ -1208,7 +1209,7 @@ class PluginGrantPermission(dict):
1208
1209
 
1209
1210
  @property
1210
1211
  @pulumi.getter
1211
- def values(self) -> Sequence[str]:
1212
+ def values(self) -> Sequence[builtins.str]:
1212
1213
  """
1213
1214
  The value of the permission
1214
1215
  """
@@ -1277,77 +1278,77 @@ class RemoteImageBuild(dict):
1277
1278
  return super().get(key, default)
1278
1279
 
1279
1280
  def __init__(__self__, *,
1280
- context: str,
1281
+ context: builtins.str,
1281
1282
  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,
1283
+ build_arg: Optional[Mapping[str, builtins.str]] = None,
1284
+ build_args: Optional[Mapping[str, builtins.str]] = None,
1285
+ build_id: Optional[builtins.str] = None,
1286
+ cache_froms: Optional[Sequence[builtins.str]] = None,
1287
+ cgroup_parent: Optional[builtins.str] = None,
1288
+ cpu_period: Optional[builtins.int] = None,
1289
+ cpu_quota: Optional[builtins.int] = None,
1290
+ cpu_set_cpus: Optional[builtins.str] = None,
1291
+ cpu_set_mems: Optional[builtins.str] = None,
1292
+ cpu_shares: Optional[builtins.int] = None,
1293
+ dockerfile: Optional[builtins.str] = None,
1294
+ extra_hosts: Optional[Sequence[builtins.str]] = None,
1295
+ force_remove: Optional[builtins.bool] = None,
1296
+ isolation: Optional[builtins.str] = None,
1297
+ label: Optional[Mapping[str, builtins.str]] = None,
1298
+ labels: Optional[Mapping[str, builtins.str]] = None,
1299
+ memory: Optional[builtins.int] = None,
1300
+ memory_swap: Optional[builtins.int] = None,
1301
+ network_mode: Optional[builtins.str] = None,
1302
+ no_cache: Optional[builtins.bool] = None,
1303
+ platform: Optional[builtins.str] = None,
1304
+ pull_parent: Optional[builtins.bool] = None,
1305
+ remote_context: Optional[builtins.str] = None,
1306
+ remove: Optional[builtins.bool] = None,
1307
+ security_opts: Optional[Sequence[builtins.str]] = None,
1308
+ session_id: Optional[builtins.str] = None,
1309
+ shm_size: Optional[builtins.int] = None,
1310
+ squash: Optional[builtins.bool] = None,
1311
+ suppress_output: Optional[builtins.bool] = None,
1312
+ tags: Optional[Sequence[builtins.str]] = None,
1313
+ target: Optional[builtins.str] = None,
1313
1314
  ulimits: Optional[Sequence['outputs.RemoteImageBuildUlimit']] = None,
1314
- version: Optional[str] = None):
1315
+ version: Optional[builtins.str] = None):
1315
1316
  """
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.
1317
+ :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'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
1317
1318
  :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
1319
+ :param Mapping[str, builtins.str] build_arg: Set build-time variables
1320
+ :param Mapping[str, builtins.str] build_args: Pairs for build-time variables in the form TODO
1321
+ :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.
1322
+ :param Sequence[builtins.str] cache_froms: Images to consider as cache sources
1323
+ :param builtins.str cgroup_parent: Optional parent cgroup for the container
1324
+ :param builtins.int cpu_period: The length of a CPU period in microseconds
1325
+ :param builtins.int cpu_quota: Microseconds of CPU time that the container can get in a CPU period
1326
+ :param builtins.str cpu_set_cpus: CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
1327
+ :param builtins.str cpu_set_mems: MEMs in which to allow execution (`0-3`, `0`, `1`)
1328
+ :param builtins.int cpu_shares: CPU shares (relative weight)
1329
+ :param builtins.str dockerfile: Name of the Dockerfile. Defaults to `Dockerfile`.
1330
+ :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"]
1331
+ :param builtins.bool force_remove: Always remove intermediate containers
1332
+ :param builtins.str isolation: Isolation represents the isolation technology of a container. The supported values are
1333
+ :param Mapping[str, builtins.str] label: Set metadata for an image
1334
+ :param Mapping[str, builtins.str] labels: User-defined key/value metadata
1335
+ :param builtins.int memory: Set memory limit for build
1336
+ :param builtins.int memory_swap: Total memory (memory + swap), -1 to enable unlimited swap
1337
+ :param builtins.str network_mode: Set the networking mode for the RUN instructions during build
1338
+ :param builtins.bool no_cache: Do not use the cache when building the image
1339
+ :param builtins.str platform: Set platform if server is multi-platform capable
1340
+ :param builtins.bool pull_parent: Attempt to pull the image even if an older image exists locally
1341
+ :param builtins.str remote_context: A Git repository URI or HTTP/HTTPS context URI
1342
+ :param builtins.bool remove: Remove intermediate containers after a successful build. Defaults to `true`.
1343
+ :param Sequence[builtins.str] security_opts: The security options
1344
+ :param builtins.str session_id: Set an ID for the build session
1345
+ :param builtins.int shm_size: Size of /dev/shm in bytes. The size must be greater than 0
1346
+ :param builtins.bool squash: If true the new layers are squashed into a new image with a single new layer
1347
+ :param builtins.bool suppress_output: Suppress the build output and print image ID on success
1348
+ :param Sequence[builtins.str] tags: Name and optionally a tag in the 'name:tag' format
1349
+ :param builtins.str target: Set the target build stage to build
1349
1350
  :param Sequence['RemoteImageBuildUlimitArgs'] ulimits: Configuration for ulimits
1350
- :param str version: Version of the underlying builder to use
1351
+ :param builtins.str version: Version of the underlying builder to use
1351
1352
  """
1352
1353
  pulumi.set(__self__, "context", context)
1353
1354
  if auth_configs is not None:
@@ -1421,7 +1422,7 @@ class RemoteImageBuild(dict):
1421
1422
 
1422
1423
  @property
1423
1424
  @pulumi.getter
1424
- def context(self) -> str:
1425
+ def context(self) -> builtins.str:
1425
1426
  """
1426
1427
  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.
1427
1428
  """
@@ -1437,7 +1438,7 @@ class RemoteImageBuild(dict):
1437
1438
 
1438
1439
  @property
1439
1440
  @pulumi.getter(name="buildArg")
1440
- def build_arg(self) -> Optional[Mapping[str, str]]:
1441
+ def build_arg(self) -> Optional[Mapping[str, builtins.str]]:
1441
1442
  """
1442
1443
  Set build-time variables
1443
1444
  """
@@ -1445,7 +1446,7 @@ class RemoteImageBuild(dict):
1445
1446
 
1446
1447
  @property
1447
1448
  @pulumi.getter(name="buildArgs")
1448
- def build_args(self) -> Optional[Mapping[str, str]]:
1449
+ def build_args(self) -> Optional[Mapping[str, builtins.str]]:
1449
1450
  """
1450
1451
  Pairs for build-time variables in the form TODO
1451
1452
  """
@@ -1453,7 +1454,7 @@ class RemoteImageBuild(dict):
1453
1454
 
1454
1455
  @property
1455
1456
  @pulumi.getter(name="buildId")
1456
- def build_id(self) -> Optional[str]:
1457
+ def build_id(self) -> Optional[builtins.str]:
1457
1458
  """
1458
1459
  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
1460
  """
@@ -1461,7 +1462,7 @@ class RemoteImageBuild(dict):
1461
1462
 
1462
1463
  @property
1463
1464
  @pulumi.getter(name="cacheFroms")
1464
- def cache_froms(self) -> Optional[Sequence[str]]:
1465
+ def cache_froms(self) -> Optional[Sequence[builtins.str]]:
1465
1466
  """
1466
1467
  Images to consider as cache sources
1467
1468
  """
@@ -1469,7 +1470,7 @@ class RemoteImageBuild(dict):
1469
1470
 
1470
1471
  @property
1471
1472
  @pulumi.getter(name="cgroupParent")
1472
- def cgroup_parent(self) -> Optional[str]:
1473
+ def cgroup_parent(self) -> Optional[builtins.str]:
1473
1474
  """
1474
1475
  Optional parent cgroup for the container
1475
1476
  """
@@ -1477,7 +1478,7 @@ class RemoteImageBuild(dict):
1477
1478
 
1478
1479
  @property
1479
1480
  @pulumi.getter(name="cpuPeriod")
1480
- def cpu_period(self) -> Optional[int]:
1481
+ def cpu_period(self) -> Optional[builtins.int]:
1481
1482
  """
1482
1483
  The length of a CPU period in microseconds
1483
1484
  """
@@ -1485,7 +1486,7 @@ class RemoteImageBuild(dict):
1485
1486
 
1486
1487
  @property
1487
1488
  @pulumi.getter(name="cpuQuota")
1488
- def cpu_quota(self) -> Optional[int]:
1489
+ def cpu_quota(self) -> Optional[builtins.int]:
1489
1490
  """
1490
1491
  Microseconds of CPU time that the container can get in a CPU period
1491
1492
  """
@@ -1493,7 +1494,7 @@ class RemoteImageBuild(dict):
1493
1494
 
1494
1495
  @property
1495
1496
  @pulumi.getter(name="cpuSetCpus")
1496
- def cpu_set_cpus(self) -> Optional[str]:
1497
+ def cpu_set_cpus(self) -> Optional[builtins.str]:
1497
1498
  """
1498
1499
  CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
1499
1500
  """
@@ -1501,7 +1502,7 @@ class RemoteImageBuild(dict):
1501
1502
 
1502
1503
  @property
1503
1504
  @pulumi.getter(name="cpuSetMems")
1504
- def cpu_set_mems(self) -> Optional[str]:
1505
+ def cpu_set_mems(self) -> Optional[builtins.str]:
1505
1506
  """
1506
1507
  MEMs in which to allow execution (`0-3`, `0`, `1`)
1507
1508
  """
@@ -1509,7 +1510,7 @@ class RemoteImageBuild(dict):
1509
1510
 
1510
1511
  @property
1511
1512
  @pulumi.getter(name="cpuShares")
1512
- def cpu_shares(self) -> Optional[int]:
1513
+ def cpu_shares(self) -> Optional[builtins.int]:
1513
1514
  """
1514
1515
  CPU shares (relative weight)
1515
1516
  """
@@ -1517,7 +1518,7 @@ class RemoteImageBuild(dict):
1517
1518
 
1518
1519
  @property
1519
1520
  @pulumi.getter
1520
- def dockerfile(self) -> Optional[str]:
1521
+ def dockerfile(self) -> Optional[builtins.str]:
1521
1522
  """
1522
1523
  Name of the Dockerfile. Defaults to `Dockerfile`.
1523
1524
  """
@@ -1525,7 +1526,7 @@ class RemoteImageBuild(dict):
1525
1526
 
1526
1527
  @property
1527
1528
  @pulumi.getter(name="extraHosts")
1528
- def extra_hosts(self) -> Optional[Sequence[str]]:
1529
+ def extra_hosts(self) -> Optional[Sequence[builtins.str]]:
1529
1530
  """
1530
1531
  A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
1531
1532
  """
@@ -1533,7 +1534,7 @@ class RemoteImageBuild(dict):
1533
1534
 
1534
1535
  @property
1535
1536
  @pulumi.getter(name="forceRemove")
1536
- def force_remove(self) -> Optional[bool]:
1537
+ def force_remove(self) -> Optional[builtins.bool]:
1537
1538
  """
1538
1539
  Always remove intermediate containers
1539
1540
  """
@@ -1541,7 +1542,7 @@ class RemoteImageBuild(dict):
1541
1542
 
1542
1543
  @property
1543
1544
  @pulumi.getter
1544
- def isolation(self) -> Optional[str]:
1545
+ def isolation(self) -> Optional[builtins.str]:
1545
1546
  """
1546
1547
  Isolation represents the isolation technology of a container. The supported values are
1547
1548
  """
@@ -1549,7 +1550,7 @@ class RemoteImageBuild(dict):
1549
1550
 
1550
1551
  @property
1551
1552
  @pulumi.getter
1552
- def label(self) -> Optional[Mapping[str, str]]:
1553
+ def label(self) -> Optional[Mapping[str, builtins.str]]:
1553
1554
  """
1554
1555
  Set metadata for an image
1555
1556
  """
@@ -1557,7 +1558,7 @@ class RemoteImageBuild(dict):
1557
1558
 
1558
1559
  @property
1559
1560
  @pulumi.getter
1560
- def labels(self) -> Optional[Mapping[str, str]]:
1561
+ def labels(self) -> Optional[Mapping[str, builtins.str]]:
1561
1562
  """
1562
1563
  User-defined key/value metadata
1563
1564
  """
@@ -1565,7 +1566,7 @@ class RemoteImageBuild(dict):
1565
1566
 
1566
1567
  @property
1567
1568
  @pulumi.getter
1568
- def memory(self) -> Optional[int]:
1569
+ def memory(self) -> Optional[builtins.int]:
1569
1570
  """
1570
1571
  Set memory limit for build
1571
1572
  """
@@ -1573,7 +1574,7 @@ class RemoteImageBuild(dict):
1573
1574
 
1574
1575
  @property
1575
1576
  @pulumi.getter(name="memorySwap")
1576
- def memory_swap(self) -> Optional[int]:
1577
+ def memory_swap(self) -> Optional[builtins.int]:
1577
1578
  """
1578
1579
  Total memory (memory + swap), -1 to enable unlimited swap
1579
1580
  """
@@ -1581,7 +1582,7 @@ class RemoteImageBuild(dict):
1581
1582
 
1582
1583
  @property
1583
1584
  @pulumi.getter(name="networkMode")
1584
- def network_mode(self) -> Optional[str]:
1585
+ def network_mode(self) -> Optional[builtins.str]:
1585
1586
  """
1586
1587
  Set the networking mode for the RUN instructions during build
1587
1588
  """
@@ -1589,7 +1590,7 @@ class RemoteImageBuild(dict):
1589
1590
 
1590
1591
  @property
1591
1592
  @pulumi.getter(name="noCache")
1592
- def no_cache(self) -> Optional[bool]:
1593
+ def no_cache(self) -> Optional[builtins.bool]:
1593
1594
  """
1594
1595
  Do not use the cache when building the image
1595
1596
  """
@@ -1597,7 +1598,7 @@ class RemoteImageBuild(dict):
1597
1598
 
1598
1599
  @property
1599
1600
  @pulumi.getter
1600
- def platform(self) -> Optional[str]:
1601
+ def platform(self) -> Optional[builtins.str]:
1601
1602
  """
1602
1603
  Set platform if server is multi-platform capable
1603
1604
  """
@@ -1605,7 +1606,7 @@ class RemoteImageBuild(dict):
1605
1606
 
1606
1607
  @property
1607
1608
  @pulumi.getter(name="pullParent")
1608
- def pull_parent(self) -> Optional[bool]:
1609
+ def pull_parent(self) -> Optional[builtins.bool]:
1609
1610
  """
1610
1611
  Attempt to pull the image even if an older image exists locally
1611
1612
  """
@@ -1613,7 +1614,7 @@ class RemoteImageBuild(dict):
1613
1614
 
1614
1615
  @property
1615
1616
  @pulumi.getter(name="remoteContext")
1616
- def remote_context(self) -> Optional[str]:
1617
+ def remote_context(self) -> Optional[builtins.str]:
1617
1618
  """
1618
1619
  A Git repository URI or HTTP/HTTPS context URI
1619
1620
  """
@@ -1621,7 +1622,7 @@ class RemoteImageBuild(dict):
1621
1622
 
1622
1623
  @property
1623
1624
  @pulumi.getter
1624
- def remove(self) -> Optional[bool]:
1625
+ def remove(self) -> Optional[builtins.bool]:
1625
1626
  """
1626
1627
  Remove intermediate containers after a successful build. Defaults to `true`.
1627
1628
  """
@@ -1629,7 +1630,7 @@ class RemoteImageBuild(dict):
1629
1630
 
1630
1631
  @property
1631
1632
  @pulumi.getter(name="securityOpts")
1632
- def security_opts(self) -> Optional[Sequence[str]]:
1633
+ def security_opts(self) -> Optional[Sequence[builtins.str]]:
1633
1634
  """
1634
1635
  The security options
1635
1636
  """
@@ -1637,7 +1638,7 @@ class RemoteImageBuild(dict):
1637
1638
 
1638
1639
  @property
1639
1640
  @pulumi.getter(name="sessionId")
1640
- def session_id(self) -> Optional[str]:
1641
+ def session_id(self) -> Optional[builtins.str]:
1641
1642
  """
1642
1643
  Set an ID for the build session
1643
1644
  """
@@ -1645,7 +1646,7 @@ class RemoteImageBuild(dict):
1645
1646
 
1646
1647
  @property
1647
1648
  @pulumi.getter(name="shmSize")
1648
- def shm_size(self) -> Optional[int]:
1649
+ def shm_size(self) -> Optional[builtins.int]:
1649
1650
  """
1650
1651
  Size of /dev/shm in bytes. The size must be greater than 0
1651
1652
  """
@@ -1653,7 +1654,7 @@ class RemoteImageBuild(dict):
1653
1654
 
1654
1655
  @property
1655
1656
  @pulumi.getter
1656
- def squash(self) -> Optional[bool]:
1657
+ def squash(self) -> Optional[builtins.bool]:
1657
1658
  """
1658
1659
  If true the new layers are squashed into a new image with a single new layer
1659
1660
  """
@@ -1661,7 +1662,7 @@ class RemoteImageBuild(dict):
1661
1662
 
1662
1663
  @property
1663
1664
  @pulumi.getter(name="suppressOutput")
1664
- def suppress_output(self) -> Optional[bool]:
1665
+ def suppress_output(self) -> Optional[builtins.bool]:
1665
1666
  """
1666
1667
  Suppress the build output and print image ID on success
1667
1668
  """
@@ -1669,7 +1670,7 @@ class RemoteImageBuild(dict):
1669
1670
 
1670
1671
  @property
1671
1672
  @pulumi.getter
1672
- def tags(self) -> Optional[Sequence[str]]:
1673
+ def tags(self) -> Optional[Sequence[builtins.str]]:
1673
1674
  """
1674
1675
  Name and optionally a tag in the 'name:tag' format
1675
1676
  """
@@ -1677,7 +1678,7 @@ class RemoteImageBuild(dict):
1677
1678
 
1678
1679
  @property
1679
1680
  @pulumi.getter
1680
- def target(self) -> Optional[str]:
1681
+ def target(self) -> Optional[builtins.str]:
1681
1682
  """
1682
1683
  Set the target build stage to build
1683
1684
  """
@@ -1693,7 +1694,7 @@ class RemoteImageBuild(dict):
1693
1694
 
1694
1695
  @property
1695
1696
  @pulumi.getter
1696
- def version(self) -> Optional[str]:
1697
+ def version(self) -> Optional[builtins.str]:
1697
1698
  """
1698
1699
  Version of the underlying builder to use
1699
1700
  """
@@ -1728,23 +1729,23 @@ class RemoteImageBuildAuthConfig(dict):
1728
1729
  return super().get(key, default)
1729
1730
 
1730
1731
  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
1732
+ host_name: builtins.str,
1733
+ auth: Optional[builtins.str] = None,
1734
+ email: Optional[builtins.str] = None,
1735
+ identity_token: Optional[builtins.str] = None,
1736
+ password: Optional[builtins.str] = None,
1737
+ registry_token: Optional[builtins.str] = None,
1738
+ server_address: Optional[builtins.str] = None,
1739
+ user_name: Optional[builtins.str] = None):
1740
+ """
1741
+ :param builtins.str host_name: hostname of the registry
1742
+ :param builtins.str auth: the auth token
1743
+ :param builtins.str email: the user emal
1744
+ :param builtins.str identity_token: the identity token
1745
+ :param builtins.str password: the registry password
1746
+ :param builtins.str registry_token: the registry token
1747
+ :param builtins.str server_address: the server address
1748
+ :param builtins.str user_name: the registry user name
1748
1749
  """
1749
1750
  pulumi.set(__self__, "host_name", host_name)
1750
1751
  if auth is not None:
@@ -1764,7 +1765,7 @@ class RemoteImageBuildAuthConfig(dict):
1764
1765
 
1765
1766
  @property
1766
1767
  @pulumi.getter(name="hostName")
1767
- def host_name(self) -> str:
1768
+ def host_name(self) -> builtins.str:
1768
1769
  """
1769
1770
  hostname of the registry
1770
1771
  """
@@ -1772,7 +1773,7 @@ class RemoteImageBuildAuthConfig(dict):
1772
1773
 
1773
1774
  @property
1774
1775
  @pulumi.getter
1775
- def auth(self) -> Optional[str]:
1776
+ def auth(self) -> Optional[builtins.str]:
1776
1777
  """
1777
1778
  the auth token
1778
1779
  """
@@ -1780,7 +1781,7 @@ class RemoteImageBuildAuthConfig(dict):
1780
1781
 
1781
1782
  @property
1782
1783
  @pulumi.getter
1783
- def email(self) -> Optional[str]:
1784
+ def email(self) -> Optional[builtins.str]:
1784
1785
  """
1785
1786
  the user emal
1786
1787
  """
@@ -1788,7 +1789,7 @@ class RemoteImageBuildAuthConfig(dict):
1788
1789
 
1789
1790
  @property
1790
1791
  @pulumi.getter(name="identityToken")
1791
- def identity_token(self) -> Optional[str]:
1792
+ def identity_token(self) -> Optional[builtins.str]:
1792
1793
  """
1793
1794
  the identity token
1794
1795
  """
@@ -1796,7 +1797,7 @@ class RemoteImageBuildAuthConfig(dict):
1796
1797
 
1797
1798
  @property
1798
1799
  @pulumi.getter
1799
- def password(self) -> Optional[str]:
1800
+ def password(self) -> Optional[builtins.str]:
1800
1801
  """
1801
1802
  the registry password
1802
1803
  """
@@ -1804,7 +1805,7 @@ class RemoteImageBuildAuthConfig(dict):
1804
1805
 
1805
1806
  @property
1806
1807
  @pulumi.getter(name="registryToken")
1807
- def registry_token(self) -> Optional[str]:
1808
+ def registry_token(self) -> Optional[builtins.str]:
1808
1809
  """
1809
1810
  the registry token
1810
1811
  """
@@ -1812,7 +1813,7 @@ class RemoteImageBuildAuthConfig(dict):
1812
1813
 
1813
1814
  @property
1814
1815
  @pulumi.getter(name="serverAddress")
1815
- def server_address(self) -> Optional[str]:
1816
+ def server_address(self) -> Optional[builtins.str]:
1816
1817
  """
1817
1818
  the server address
1818
1819
  """
@@ -1820,7 +1821,7 @@ class RemoteImageBuildAuthConfig(dict):
1820
1821
 
1821
1822
  @property
1822
1823
  @pulumi.getter(name="userName")
1823
- def user_name(self) -> Optional[str]:
1824
+ def user_name(self) -> Optional[builtins.str]:
1824
1825
  """
1825
1826
  the registry user name
1826
1827
  """
@@ -1830,13 +1831,13 @@ class RemoteImageBuildAuthConfig(dict):
1830
1831
  @pulumi.output_type
1831
1832
  class RemoteImageBuildUlimit(dict):
1832
1833
  def __init__(__self__, *,
1833
- hard: int,
1834
- name: str,
1835
- soft: int):
1834
+ hard: builtins.int,
1835
+ name: builtins.str,
1836
+ soft: builtins.int):
1836
1837
  """
1837
- :param int hard: soft limit
1838
- :param str name: type of ulimit, e.g. `nofile`
1839
- :param int soft: hard limit
1838
+ :param builtins.int hard: soft limit
1839
+ :param builtins.str name: type of ulimit, e.g. `nofile`
1840
+ :param builtins.int soft: hard limit
1840
1841
  """
1841
1842
  pulumi.set(__self__, "hard", hard)
1842
1843
  pulumi.set(__self__, "name", name)
@@ -1844,7 +1845,7 @@ class RemoteImageBuildUlimit(dict):
1844
1845
 
1845
1846
  @property
1846
1847
  @pulumi.getter
1847
- def hard(self) -> int:
1848
+ def hard(self) -> builtins.int:
1848
1849
  """
1849
1850
  soft limit
1850
1851
  """
@@ -1852,7 +1853,7 @@ class RemoteImageBuildUlimit(dict):
1852
1853
 
1853
1854
  @property
1854
1855
  @pulumi.getter
1855
- def name(self) -> str:
1856
+ def name(self) -> builtins.str:
1856
1857
  """
1857
1858
  type of ulimit, e.g. `nofile`
1858
1859
  """
@@ -1860,7 +1861,7 @@ class RemoteImageBuildUlimit(dict):
1860
1861
 
1861
1862
  @property
1862
1863
  @pulumi.getter
1863
- def soft(self) -> int:
1864
+ def soft(self) -> builtins.int:
1864
1865
  """
1865
1866
  hard limit
1866
1867
  """
@@ -1870,18 +1871,18 @@ class RemoteImageBuildUlimit(dict):
1870
1871
  @pulumi.output_type
1871
1872
  class SecretLabel(dict):
1872
1873
  def __init__(__self__, *,
1873
- label: str,
1874
- value: str):
1874
+ label: builtins.str,
1875
+ value: builtins.str):
1875
1876
  """
1876
- :param str label: Name of the label
1877
- :param str value: Value of the label
1877
+ :param builtins.str label: Name of the label
1878
+ :param builtins.str value: Value of the label
1878
1879
  """
1879
1880
  pulumi.set(__self__, "label", label)
1880
1881
  pulumi.set(__self__, "value", value)
1881
1882
 
1882
1883
  @property
1883
1884
  @pulumi.getter
1884
- def label(self) -> str:
1885
+ def label(self) -> builtins.str:
1885
1886
  """
1886
1887
  Name of the label
1887
1888
  """
@@ -1889,7 +1890,7 @@ class SecretLabel(dict):
1889
1890
 
1890
1891
  @property
1891
1892
  @pulumi.getter
1892
- def value(self) -> str:
1893
+ def value(self) -> builtins.str:
1893
1894
  """
1894
1895
  Value of the label
1895
1896
  """
@@ -1916,13 +1917,13 @@ class ServiceAuth(dict):
1916
1917
  return super().get(key, default)
1917
1918
 
1918
1919
  def __init__(__self__, *,
1919
- server_address: str,
1920
- password: Optional[str] = None,
1921
- username: Optional[str] = None):
1920
+ server_address: builtins.str,
1921
+ password: Optional[builtins.str] = None,
1922
+ username: Optional[builtins.str] = None):
1922
1923
  """
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
1924
+ :param builtins.str server_address: The address of the server for the authentication
1925
+ :param builtins.str password: The password
1926
+ :param builtins.str username: The username
1926
1927
  """
1927
1928
  pulumi.set(__self__, "server_address", server_address)
1928
1929
  if password is not None:
@@ -1932,7 +1933,7 @@ class ServiceAuth(dict):
1932
1933
 
1933
1934
  @property
1934
1935
  @pulumi.getter(name="serverAddress")
1935
- def server_address(self) -> str:
1936
+ def server_address(self) -> builtins.str:
1936
1937
  """
1937
1938
  The address of the server for the authentication
1938
1939
  """
@@ -1940,7 +1941,7 @@ class ServiceAuth(dict):
1940
1941
 
1941
1942
  @property
1942
1943
  @pulumi.getter
1943
- def password(self) -> Optional[str]:
1944
+ def password(self) -> Optional[builtins.str]:
1944
1945
  """
1945
1946
  The password
1946
1947
  """
@@ -1948,7 +1949,7 @@ class ServiceAuth(dict):
1948
1949
 
1949
1950
  @property
1950
1951
  @pulumi.getter
1951
- def username(self) -> Optional[str]:
1952
+ def username(self) -> Optional[builtins.str]:
1952
1953
  """
1953
1954
  The username
1954
1955
  """
@@ -1958,11 +1959,11 @@ class ServiceAuth(dict):
1958
1959
  @pulumi.output_type
1959
1960
  class ServiceConvergeConfig(dict):
1960
1961
  def __init__(__self__, *,
1961
- delay: Optional[str] = None,
1962
- timeout: Optional[str] = None):
1962
+ delay: Optional[builtins.str] = None,
1963
+ timeout: Optional[builtins.str] = None):
1963
1964
  """
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`
1965
+ :param builtins.str delay: The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
1966
+ :param builtins.str timeout: The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
1966
1967
  """
1967
1968
  if delay is not None:
1968
1969
  pulumi.set(__self__, "delay", delay)
@@ -1971,7 +1972,7 @@ class ServiceConvergeConfig(dict):
1971
1972
 
1972
1973
  @property
1973
1974
  @pulumi.getter
1974
- def delay(self) -> Optional[str]:
1975
+ def delay(self) -> Optional[builtins.str]:
1975
1976
  """
1976
1977
  The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
1977
1978
  """
@@ -1979,7 +1980,7 @@ class ServiceConvergeConfig(dict):
1979
1980
 
1980
1981
  @property
1981
1982
  @pulumi.getter
1982
- def timeout(self) -> Optional[str]:
1983
+ def timeout(self) -> Optional[builtins.str]:
1983
1984
  """
1984
1985
  The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
1985
1986
  """
@@ -1989,10 +1990,10 @@ class ServiceConvergeConfig(dict):
1989
1990
  @pulumi.output_type
1990
1991
  class ServiceEndpointSpec(dict):
1991
1992
  def __init__(__self__, *,
1992
- mode: Optional[str] = None,
1993
+ mode: Optional[builtins.str] = None,
1993
1994
  ports: Optional[Sequence['outputs.ServiceEndpointSpecPort']] = None):
1994
1995
  """
1995
- :param str mode: The mode of resolution to use for internal load balancing between tasks
1996
+ :param builtins.str mode: The mode of resolution to use for internal load balancing between tasks
1996
1997
  :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
1998
  """
1998
1999
  if mode is not None:
@@ -2002,7 +2003,7 @@ class ServiceEndpointSpec(dict):
2002
2003
 
2003
2004
  @property
2004
2005
  @pulumi.getter
2005
- def mode(self) -> Optional[str]:
2006
+ def mode(self) -> Optional[builtins.str]:
2006
2007
  """
2007
2008
  The mode of resolution to use for internal load balancing between tasks
2008
2009
  """
@@ -2041,17 +2042,17 @@ class ServiceEndpointSpecPort(dict):
2041
2042
  return super().get(key, default)
2042
2043
 
2043
2044
  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
2045
+ target_port: builtins.int,
2046
+ name: Optional[builtins.str] = None,
2047
+ protocol: Optional[builtins.str] = None,
2048
+ publish_mode: Optional[builtins.str] = None,
2049
+ published_port: Optional[builtins.int] = None):
2050
+ """
2051
+ :param builtins.int target_port: The port inside the container
2052
+ :param builtins.str name: A random name for the port
2053
+ :param builtins.str protocol: Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2054
+ :param builtins.str publish_mode: Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2055
+ :param builtins.int published_port: The port on the swarm hosts
2055
2056
  """
2056
2057
  pulumi.set(__self__, "target_port", target_port)
2057
2058
  if name is not None:
@@ -2065,7 +2066,7 @@ class ServiceEndpointSpecPort(dict):
2065
2066
 
2066
2067
  @property
2067
2068
  @pulumi.getter(name="targetPort")
2068
- def target_port(self) -> int:
2069
+ def target_port(self) -> builtins.int:
2069
2070
  """
2070
2071
  The port inside the container
2071
2072
  """
@@ -2073,7 +2074,7 @@ class ServiceEndpointSpecPort(dict):
2073
2074
 
2074
2075
  @property
2075
2076
  @pulumi.getter
2076
- def name(self) -> Optional[str]:
2077
+ def name(self) -> Optional[builtins.str]:
2077
2078
  """
2078
2079
  A random name for the port
2079
2080
  """
@@ -2081,7 +2082,7 @@ class ServiceEndpointSpecPort(dict):
2081
2082
 
2082
2083
  @property
2083
2084
  @pulumi.getter
2084
- def protocol(self) -> Optional[str]:
2085
+ def protocol(self) -> Optional[builtins.str]:
2085
2086
  """
2086
2087
  Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2087
2088
  """
@@ -2089,7 +2090,7 @@ class ServiceEndpointSpecPort(dict):
2089
2090
 
2090
2091
  @property
2091
2092
  @pulumi.getter(name="publishMode")
2092
- def publish_mode(self) -> Optional[str]:
2093
+ def publish_mode(self) -> Optional[builtins.str]:
2093
2094
  """
2094
2095
  Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2095
2096
  """
@@ -2097,7 +2098,7 @@ class ServiceEndpointSpecPort(dict):
2097
2098
 
2098
2099
  @property
2099
2100
  @pulumi.getter(name="publishedPort")
2100
- def published_port(self) -> Optional[int]:
2101
+ def published_port(self) -> Optional[builtins.int]:
2101
2102
  """
2102
2103
  The port on the swarm hosts
2103
2104
  """
@@ -2107,18 +2108,18 @@ class ServiceEndpointSpecPort(dict):
2107
2108
  @pulumi.output_type
2108
2109
  class ServiceLabel(dict):
2109
2110
  def __init__(__self__, *,
2110
- label: str,
2111
- value: str):
2111
+ label: builtins.str,
2112
+ value: builtins.str):
2112
2113
  """
2113
- :param str label: Name of the label
2114
- :param str value: Value of the label
2114
+ :param builtins.str label: Name of the label
2115
+ :param builtins.str value: Value of the label
2115
2116
  """
2116
2117
  pulumi.set(__self__, "label", label)
2117
2118
  pulumi.set(__self__, "value", value)
2118
2119
 
2119
2120
  @property
2120
2121
  @pulumi.getter
2121
- def label(self) -> str:
2122
+ def label(self) -> builtins.str:
2122
2123
  """
2123
2124
  Name of the label
2124
2125
  """
@@ -2126,7 +2127,7 @@ class ServiceLabel(dict):
2126
2127
 
2127
2128
  @property
2128
2129
  @pulumi.getter
2129
- def value(self) -> str:
2130
+ def value(self) -> builtins.str:
2130
2131
  """
2131
2132
  Value of the label
2132
2133
  """
@@ -2153,10 +2154,10 @@ class ServiceMode(dict):
2153
2154
  return super().get(key, default)
2154
2155
 
2155
2156
  def __init__(__self__, *,
2156
- global_: Optional[bool] = None,
2157
+ global_: Optional[builtins.bool] = None,
2157
2158
  replicated: Optional['outputs.ServiceModeReplicated'] = None):
2158
2159
  """
2159
- :param bool global_: When `true`, tasks will run on every worker node. Conflicts with `replicated`
2160
+ :param builtins.bool global_: When `true`, tasks will run on every worker node. Conflicts with `replicated`
2160
2161
  :param 'ServiceModeReplicatedArgs' replicated: The replicated service mode
2161
2162
  """
2162
2163
  if global_ is not None:
@@ -2166,7 +2167,7 @@ class ServiceMode(dict):
2166
2167
 
2167
2168
  @property
2168
2169
  @pulumi.getter(name="global")
2169
- def global_(self) -> Optional[bool]:
2170
+ def global_(self) -> Optional[builtins.bool]:
2170
2171
  """
2171
2172
  When `true`, tasks will run on every worker node. Conflicts with `replicated`
2172
2173
  """
@@ -2184,16 +2185,16 @@ class ServiceMode(dict):
2184
2185
  @pulumi.output_type
2185
2186
  class ServiceModeReplicated(dict):
2186
2187
  def __init__(__self__, *,
2187
- replicas: Optional[int] = None):
2188
+ replicas: Optional[builtins.int] = None):
2188
2189
  """
2189
- :param int replicas: The amount of replicas of the service. Defaults to `1`
2190
+ :param builtins.int replicas: The amount of replicas of the service. Defaults to `1`
2190
2191
  """
2191
2192
  if replicas is not None:
2192
2193
  pulumi.set(__self__, "replicas", replicas)
2193
2194
 
2194
2195
  @property
2195
2196
  @pulumi.getter
2196
- def replicas(self) -> Optional[int]:
2197
+ def replicas(self) -> Optional[builtins.int]:
2197
2198
  """
2198
2199
  The amount of replicas of the service. Defaults to `1`
2199
2200
  """
@@ -2222,19 +2223,19 @@ class ServiceRollbackConfig(dict):
2222
2223
  return super().get(key, default)
2223
2224
 
2224
2225
  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`
2226
+ delay: Optional[builtins.str] = None,
2227
+ failure_action: Optional[builtins.str] = None,
2228
+ max_failure_ratio: Optional[builtins.str] = None,
2229
+ monitor: Optional[builtins.str] = None,
2230
+ order: Optional[builtins.str] = None,
2231
+ parallelism: Optional[builtins.int] = None):
2232
+ """
2233
+ :param builtins.str delay: Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
2234
+ :param builtins.str failure_action: Action on rollback failure: pause | continue. Defaults to `pause`.
2235
+ :param builtins.str max_failure_ratio: Failure rate to tolerate during a rollback. Defaults to `0.0`.
2236
+ :param builtins.str monitor: Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
2237
+ :param builtins.str order: Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
2238
+ :param builtins.int parallelism: Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
2238
2239
  """
2239
2240
  if delay is not None:
2240
2241
  pulumi.set(__self__, "delay", delay)
@@ -2251,7 +2252,7 @@ class ServiceRollbackConfig(dict):
2251
2252
 
2252
2253
  @property
2253
2254
  @pulumi.getter
2254
- def delay(self) -> Optional[str]:
2255
+ def delay(self) -> Optional[builtins.str]:
2255
2256
  """
2256
2257
  Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
2257
2258
  """
@@ -2259,7 +2260,7 @@ class ServiceRollbackConfig(dict):
2259
2260
 
2260
2261
  @property
2261
2262
  @pulumi.getter(name="failureAction")
2262
- def failure_action(self) -> Optional[str]:
2263
+ def failure_action(self) -> Optional[builtins.str]:
2263
2264
  """
2264
2265
  Action on rollback failure: pause | continue. Defaults to `pause`.
2265
2266
  """
@@ -2267,7 +2268,7 @@ class ServiceRollbackConfig(dict):
2267
2268
 
2268
2269
  @property
2269
2270
  @pulumi.getter(name="maxFailureRatio")
2270
- def max_failure_ratio(self) -> Optional[str]:
2271
+ def max_failure_ratio(self) -> Optional[builtins.str]:
2271
2272
  """
2272
2273
  Failure rate to tolerate during a rollback. Defaults to `0.0`.
2273
2274
  """
@@ -2275,7 +2276,7 @@ class ServiceRollbackConfig(dict):
2275
2276
 
2276
2277
  @property
2277
2278
  @pulumi.getter
2278
- def monitor(self) -> Optional[str]:
2279
+ def monitor(self) -> Optional[builtins.str]:
2279
2280
  """
2280
2281
  Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
2281
2282
  """
@@ -2283,7 +2284,7 @@ class ServiceRollbackConfig(dict):
2283
2284
 
2284
2285
  @property
2285
2286
  @pulumi.getter
2286
- def order(self) -> Optional[str]:
2287
+ def order(self) -> Optional[builtins.str]:
2287
2288
  """
2288
2289
  Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
2289
2290
  """
@@ -2291,7 +2292,7 @@ class ServiceRollbackConfig(dict):
2291
2292
 
2292
2293
  @property
2293
2294
  @pulumi.getter
2294
- def parallelism(self) -> Optional[int]:
2295
+ def parallelism(self) -> Optional[builtins.int]:
2295
2296
  """
2296
2297
  Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
2297
2298
  """
@@ -2327,22 +2328,22 @@ class ServiceTaskSpec(dict):
2327
2328
 
2328
2329
  def __init__(__self__, *,
2329
2330
  container_spec: 'outputs.ServiceTaskSpecContainerSpec',
2330
- force_update: Optional[int] = None,
2331
+ force_update: Optional[builtins.int] = None,
2331
2332
  log_driver: Optional['outputs.ServiceTaskSpecLogDriver'] = None,
2332
2333
  networks_advanceds: Optional[Sequence['outputs.ServiceTaskSpecNetworksAdvanced']] = None,
2333
2334
  placement: Optional['outputs.ServiceTaskSpecPlacement'] = None,
2334
2335
  resources: Optional['outputs.ServiceTaskSpecResources'] = None,
2335
2336
  restart_policy: Optional['outputs.ServiceTaskSpecRestartPolicy'] = None,
2336
- runtime: Optional[str] = None):
2337
+ runtime: Optional[builtins.str] = None):
2337
2338
  """
2338
2339
  :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).
2340
+ :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
2341
  :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
2342
  :param Sequence['ServiceTaskSpecNetworksAdvancedArgs'] networks_advanceds: The networks the container is attached to
2342
2343
  :param 'ServiceTaskSpecPlacementArgs' placement: The placement preferences
2343
2344
  :param 'ServiceTaskSpecResourcesArgs' resources: Resource requirements which apply to each individual container created as part of the service
2344
2345
  :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).
2346
+ :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
2347
  """
2347
2348
  pulumi.set(__self__, "container_spec", container_spec)
2348
2349
  if force_update is not None:
@@ -2370,7 +2371,7 @@ class ServiceTaskSpec(dict):
2370
2371
 
2371
2372
  @property
2372
2373
  @pulumi.getter(name="forceUpdate")
2373
- def force_update(self) -> Optional[int]:
2374
+ def force_update(self) -> Optional[builtins.int]:
2374
2375
  """
2375
2376
  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
2377
  """
@@ -2418,7 +2419,7 @@ class ServiceTaskSpec(dict):
2418
2419
 
2419
2420
  @property
2420
2421
  @pulumi.getter
2421
- def runtime(self) -> Optional[str]:
2422
+ def runtime(self) -> Optional[builtins.str]:
2422
2423
  """
2423
2424
  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
2425
  """
@@ -2451,49 +2452,49 @@ class ServiceTaskSpecContainerSpec(dict):
2451
2452
  return super().get(key, default)
2452
2453
 
2453
2454
  def __init__(__self__, *,
2454
- image: str,
2455
- args: Optional[Sequence[str]] = None,
2456
- commands: Optional[Sequence[str]] = None,
2455
+ image: builtins.str,
2456
+ args: Optional[Sequence[builtins.str]] = None,
2457
+ commands: Optional[Sequence[builtins.str]] = None,
2457
2458
  configs: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecConfig']] = None,
2458
- dir: Optional[str] = None,
2459
+ dir: Optional[builtins.str] = None,
2459
2460
  dns_config: Optional['outputs.ServiceTaskSpecContainerSpecDnsConfig'] = None,
2460
- env: Optional[Mapping[str, str]] = None,
2461
- groups: Optional[Sequence[str]] = None,
2461
+ env: Optional[Mapping[str, builtins.str]] = None,
2462
+ groups: Optional[Sequence[builtins.str]] = None,
2462
2463
  healthcheck: Optional['outputs.ServiceTaskSpecContainerSpecHealthcheck'] = None,
2463
- hostname: Optional[str] = None,
2464
+ hostname: Optional[builtins.str] = None,
2464
2465
  hosts: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecHost']] = None,
2465
- isolation: Optional[str] = None,
2466
+ isolation: Optional[builtins.str] = None,
2466
2467
  labels: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecLabel']] = None,
2467
2468
  mounts: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMount']] = None,
2468
2469
  privileges: Optional['outputs.ServiceTaskSpecContainerSpecPrivileges'] = None,
2469
- read_only: Optional[bool] = None,
2470
+ read_only: Optional[builtins.bool] = None,
2470
2471
  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.
2472
+ stop_grace_period: Optional[builtins.str] = None,
2473
+ stop_signal: Optional[builtins.str] = None,
2474
+ sysctl: Optional[Mapping[str, builtins.str]] = None,
2475
+ user: Optional[builtins.str] = None):
2476
+ """
2477
+ :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.
2478
+ :param Sequence[builtins.str] args: Arguments to the command
2479
+ :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
2480
  :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
2481
+ :param builtins.str dir: The working directory for commands to run in
2481
2482
  :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
2483
+ :param Mapping[str, builtins.str] env: A list of environment variables in the form VAR="value"
2484
+ :param Sequence[builtins.str] groups: A list of additional groups that the container process will run as
2484
2485
  :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
2486
+ :param builtins.str hostname: The hostname to use for the container, as a valid RFC 1123 hostname
2486
2487
  :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`.
2488
+ :param builtins.str isolation: Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
2488
2489
  :param Sequence['ServiceTaskSpecContainerSpecLabelArgs'] labels: User-defined key/value metadata
2489
2490
  :param Sequence['ServiceTaskSpecContainerSpecMountArgs'] mounts: Specification for mounts to be added to containers created as part of the service
2490
2491
  :param 'ServiceTaskSpecContainerSpecPrivilegesArgs' privileges: Security options for the container
2491
- :param bool read_only: Mount the container's root filesystem as read only
2492
+ :param builtins.bool read_only: Mount the container's root filesystem as read only
2492
2493
  :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
2494
+ :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.
2495
+ :param builtins.str stop_signal: Signal to stop the container
2496
+ :param Mapping[str, builtins.str] sysctl: Sysctls config (Linux only)
2497
+ :param builtins.str user: The user inside the container
2497
2498
  """
2498
2499
  pulumi.set(__self__, "image", image)
2499
2500
  if args is not None:
@@ -2539,7 +2540,7 @@ class ServiceTaskSpecContainerSpec(dict):
2539
2540
 
2540
2541
  @property
2541
2542
  @pulumi.getter
2542
- def image(self) -> str:
2543
+ def image(self) -> builtins.str:
2543
2544
  """
2544
2545
  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
2546
  """
@@ -2547,7 +2548,7 @@ class ServiceTaskSpecContainerSpec(dict):
2547
2548
 
2548
2549
  @property
2549
2550
  @pulumi.getter
2550
- def args(self) -> Optional[Sequence[str]]:
2551
+ def args(self) -> Optional[Sequence[builtins.str]]:
2551
2552
  """
2552
2553
  Arguments to the command
2553
2554
  """
@@ -2555,7 +2556,7 @@ class ServiceTaskSpecContainerSpec(dict):
2555
2556
 
2556
2557
  @property
2557
2558
  @pulumi.getter
2558
- def commands(self) -> Optional[Sequence[str]]:
2559
+ def commands(self) -> Optional[Sequence[builtins.str]]:
2559
2560
  """
2560
2561
  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
2562
  """
@@ -2571,7 +2572,7 @@ class ServiceTaskSpecContainerSpec(dict):
2571
2572
 
2572
2573
  @property
2573
2574
  @pulumi.getter
2574
- def dir(self) -> Optional[str]:
2575
+ def dir(self) -> Optional[builtins.str]:
2575
2576
  """
2576
2577
  The working directory for commands to run in
2577
2578
  """
@@ -2587,7 +2588,7 @@ class ServiceTaskSpecContainerSpec(dict):
2587
2588
 
2588
2589
  @property
2589
2590
  @pulumi.getter
2590
- def env(self) -> Optional[Mapping[str, str]]:
2591
+ def env(self) -> Optional[Mapping[str, builtins.str]]:
2591
2592
  """
2592
2593
  A list of environment variables in the form VAR="value"
2593
2594
  """
@@ -2595,7 +2596,7 @@ class ServiceTaskSpecContainerSpec(dict):
2595
2596
 
2596
2597
  @property
2597
2598
  @pulumi.getter
2598
- def groups(self) -> Optional[Sequence[str]]:
2599
+ def groups(self) -> Optional[Sequence[builtins.str]]:
2599
2600
  """
2600
2601
  A list of additional groups that the container process will run as
2601
2602
  """
@@ -2611,7 +2612,7 @@ class ServiceTaskSpecContainerSpec(dict):
2611
2612
 
2612
2613
  @property
2613
2614
  @pulumi.getter
2614
- def hostname(self) -> Optional[str]:
2615
+ def hostname(self) -> Optional[builtins.str]:
2615
2616
  """
2616
2617
  The hostname to use for the container, as a valid RFC 1123 hostname
2617
2618
  """
@@ -2627,7 +2628,7 @@ class ServiceTaskSpecContainerSpec(dict):
2627
2628
 
2628
2629
  @property
2629
2630
  @pulumi.getter
2630
- def isolation(self) -> Optional[str]:
2631
+ def isolation(self) -> Optional[builtins.str]:
2631
2632
  """
2632
2633
  Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
2633
2634
  """
@@ -2659,7 +2660,7 @@ class ServiceTaskSpecContainerSpec(dict):
2659
2660
 
2660
2661
  @property
2661
2662
  @pulumi.getter(name="readOnly")
2662
- def read_only(self) -> Optional[bool]:
2663
+ def read_only(self) -> Optional[builtins.bool]:
2663
2664
  """
2664
2665
  Mount the container's root filesystem as read only
2665
2666
  """
@@ -2675,7 +2676,7 @@ class ServiceTaskSpecContainerSpec(dict):
2675
2676
 
2676
2677
  @property
2677
2678
  @pulumi.getter(name="stopGracePeriod")
2678
- def stop_grace_period(self) -> Optional[str]:
2679
+ def stop_grace_period(self) -> Optional[builtins.str]:
2679
2680
  """
2680
2681
  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
2682
  """
@@ -2683,7 +2684,7 @@ class ServiceTaskSpecContainerSpec(dict):
2683
2684
 
2684
2685
  @property
2685
2686
  @pulumi.getter(name="stopSignal")
2686
- def stop_signal(self) -> Optional[str]:
2687
+ def stop_signal(self) -> Optional[builtins.str]:
2687
2688
  """
2688
2689
  Signal to stop the container
2689
2690
  """
@@ -2691,7 +2692,7 @@ class ServiceTaskSpecContainerSpec(dict):
2691
2692
 
2692
2693
  @property
2693
2694
  @pulumi.getter
2694
- def sysctl(self) -> Optional[Mapping[str, str]]:
2695
+ def sysctl(self) -> Optional[Mapping[str, builtins.str]]:
2695
2696
  """
2696
2697
  Sysctls config (Linux only)
2697
2698
  """
@@ -2699,7 +2700,7 @@ class ServiceTaskSpecContainerSpec(dict):
2699
2700
 
2700
2701
  @property
2701
2702
  @pulumi.getter
2702
- def user(self) -> Optional[str]:
2703
+ def user(self) -> Optional[builtins.str]:
2703
2704
  """
2704
2705
  The user inside the container
2705
2706
  """
@@ -2736,19 +2737,19 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2736
2737
  return super().get(key, default)
2737
2738
 
2738
2739
  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`.
2740
+ config_id: builtins.str,
2741
+ file_name: builtins.str,
2742
+ config_name: Optional[builtins.str] = None,
2743
+ file_gid: Optional[builtins.str] = None,
2744
+ file_mode: Optional[builtins.int] = None,
2745
+ file_uid: Optional[builtins.str] = None):
2746
+ """
2747
+ :param builtins.str config_id: ID of the specific config that we're referencing
2748
+ :param builtins.str file_name: Represents the final filename in the filesystem
2749
+ :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
2750
+ :param builtins.str file_gid: Represents the file GID. Defaults to `0`.
2751
+ :param builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`.
2752
+ :param builtins.str file_uid: Represents the file UID. Defaults to `0`.
2752
2753
  """
2753
2754
  pulumi.set(__self__, "config_id", config_id)
2754
2755
  pulumi.set(__self__, "file_name", file_name)
@@ -2763,7 +2764,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2763
2764
 
2764
2765
  @property
2765
2766
  @pulumi.getter(name="configId")
2766
- def config_id(self) -> str:
2767
+ def config_id(self) -> builtins.str:
2767
2768
  """
2768
2769
  ID of the specific config that we're referencing
2769
2770
  """
@@ -2771,7 +2772,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2771
2772
 
2772
2773
  @property
2773
2774
  @pulumi.getter(name="fileName")
2774
- def file_name(self) -> str:
2775
+ def file_name(self) -> builtins.str:
2775
2776
  """
2776
2777
  Represents the final filename in the filesystem
2777
2778
  """
@@ -2779,7 +2780,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2779
2780
 
2780
2781
  @property
2781
2782
  @pulumi.getter(name="configName")
2782
- def config_name(self) -> Optional[str]:
2783
+ def config_name(self) -> Optional[builtins.str]:
2783
2784
  """
2784
2785
  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
2786
  """
@@ -2787,7 +2788,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2787
2788
 
2788
2789
  @property
2789
2790
  @pulumi.getter(name="fileGid")
2790
- def file_gid(self) -> Optional[str]:
2791
+ def file_gid(self) -> Optional[builtins.str]:
2791
2792
  """
2792
2793
  Represents the file GID. Defaults to `0`.
2793
2794
  """
@@ -2795,7 +2796,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2795
2796
 
2796
2797
  @property
2797
2798
  @pulumi.getter(name="fileMode")
2798
- def file_mode(self) -> Optional[int]:
2799
+ def file_mode(self) -> Optional[builtins.int]:
2799
2800
  """
2800
2801
  Represents represents the FileMode of the file. Defaults to `0o444`.
2801
2802
  """
@@ -2803,7 +2804,7 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2803
2804
 
2804
2805
  @property
2805
2806
  @pulumi.getter(name="fileUid")
2806
- def file_uid(self) -> Optional[str]:
2807
+ def file_uid(self) -> Optional[builtins.str]:
2807
2808
  """
2808
2809
  Represents the file UID. Defaults to `0`.
2809
2810
  """
@@ -2813,13 +2814,13 @@ class ServiceTaskSpecContainerSpecConfig(dict):
2813
2814
  @pulumi.output_type
2814
2815
  class ServiceTaskSpecContainerSpecDnsConfig(dict):
2815
2816
  def __init__(__self__, *,
2816
- nameservers: Sequence[str],
2817
- options: Optional[Sequence[str]] = None,
2818
- searches: Optional[Sequence[str]] = None):
2817
+ nameservers: Sequence[builtins.str],
2818
+ options: Optional[Sequence[builtins.str]] = None,
2819
+ searches: Optional[Sequence[builtins.str]] = None):
2819
2820
  """
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
2821
+ :param Sequence[builtins.str] nameservers: The IP addresses of the name servers
2822
+ :param Sequence[builtins.str] options: A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
2823
+ :param Sequence[builtins.str] searches: A search list for host-name lookup
2823
2824
  """
2824
2825
  pulumi.set(__self__, "nameservers", nameservers)
2825
2826
  if options is not None:
@@ -2829,7 +2830,7 @@ class ServiceTaskSpecContainerSpecDnsConfig(dict):
2829
2830
 
2830
2831
  @property
2831
2832
  @pulumi.getter
2832
- def nameservers(self) -> Sequence[str]:
2833
+ def nameservers(self) -> Sequence[builtins.str]:
2833
2834
  """
2834
2835
  The IP addresses of the name servers
2835
2836
  """
@@ -2837,7 +2838,7 @@ class ServiceTaskSpecContainerSpecDnsConfig(dict):
2837
2838
 
2838
2839
  @property
2839
2840
  @pulumi.getter
2840
- def options(self) -> Optional[Sequence[str]]:
2841
+ def options(self) -> Optional[Sequence[builtins.str]]:
2841
2842
  """
2842
2843
  A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
2843
2844
  """
@@ -2845,7 +2846,7 @@ class ServiceTaskSpecContainerSpecDnsConfig(dict):
2845
2846
 
2846
2847
  @property
2847
2848
  @pulumi.getter
2848
- def searches(self) -> Optional[Sequence[str]]:
2849
+ def searches(self) -> Optional[Sequence[builtins.str]]:
2849
2850
  """
2850
2851
  A search list for host-name lookup
2851
2852
  """
@@ -2872,17 +2873,17 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2872
2873
  return super().get(key, default)
2873
2874
 
2874
2875
  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`.
2876
+ tests: Sequence[builtins.str],
2877
+ interval: Optional[builtins.str] = None,
2878
+ retries: Optional[builtins.int] = None,
2879
+ start_period: Optional[builtins.str] = None,
2880
+ timeout: Optional[builtins.str] = None):
2881
+ """
2882
+ :param Sequence[builtins.str] tests: The test to perform as list
2883
+ :param builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
2884
+ :param builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`
2885
+ :param builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
2886
+ :param builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
2886
2887
  """
2887
2888
  pulumi.set(__self__, "tests", tests)
2888
2889
  if interval is not None:
@@ -2896,7 +2897,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2896
2897
 
2897
2898
  @property
2898
2899
  @pulumi.getter
2899
- def tests(self) -> Sequence[str]:
2900
+ def tests(self) -> Sequence[builtins.str]:
2900
2901
  """
2901
2902
  The test to perform as list
2902
2903
  """
@@ -2904,7 +2905,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2904
2905
 
2905
2906
  @property
2906
2907
  @pulumi.getter
2907
- def interval(self) -> Optional[str]:
2908
+ def interval(self) -> Optional[builtins.str]:
2908
2909
  """
2909
2910
  Time between running the check (ms|s|m|h). Defaults to `0s`.
2910
2911
  """
@@ -2912,7 +2913,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2912
2913
 
2913
2914
  @property
2914
2915
  @pulumi.getter
2915
- def retries(self) -> Optional[int]:
2916
+ def retries(self) -> Optional[builtins.int]:
2916
2917
  """
2917
2918
  Consecutive failures needed to report unhealthy. Defaults to `0`
2918
2919
  """
@@ -2920,7 +2921,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2920
2921
 
2921
2922
  @property
2922
2923
  @pulumi.getter(name="startPeriod")
2923
- def start_period(self) -> Optional[str]:
2924
+ def start_period(self) -> Optional[builtins.str]:
2924
2925
  """
2925
2926
  Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
2926
2927
  """
@@ -2928,7 +2929,7 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2928
2929
 
2929
2930
  @property
2930
2931
  @pulumi.getter
2931
- def timeout(self) -> Optional[str]:
2932
+ def timeout(self) -> Optional[builtins.str]:
2932
2933
  """
2933
2934
  Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
2934
2935
  """
@@ -2938,18 +2939,18 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
2938
2939
  @pulumi.output_type
2939
2940
  class ServiceTaskSpecContainerSpecHost(dict):
2940
2941
  def __init__(__self__, *,
2941
- host: str,
2942
- ip: str):
2942
+ host: builtins.str,
2943
+ ip: builtins.str):
2943
2944
  """
2944
- :param str host: The name of the host
2945
- :param str ip: The ip of the host
2945
+ :param builtins.str host: The name of the host
2946
+ :param builtins.str ip: The ip of the host
2946
2947
  """
2947
2948
  pulumi.set(__self__, "host", host)
2948
2949
  pulumi.set(__self__, "ip", ip)
2949
2950
 
2950
2951
  @property
2951
2952
  @pulumi.getter
2952
- def host(self) -> str:
2953
+ def host(self) -> builtins.str:
2953
2954
  """
2954
2955
  The name of the host
2955
2956
  """
@@ -2957,7 +2958,7 @@ class ServiceTaskSpecContainerSpecHost(dict):
2957
2958
 
2958
2959
  @property
2959
2960
  @pulumi.getter
2960
- def ip(self) -> str:
2961
+ def ip(self) -> builtins.str:
2961
2962
  """
2962
2963
  The ip of the host
2963
2964
  """
@@ -2967,18 +2968,18 @@ class ServiceTaskSpecContainerSpecHost(dict):
2967
2968
  @pulumi.output_type
2968
2969
  class ServiceTaskSpecContainerSpecLabel(dict):
2969
2970
  def __init__(__self__, *,
2970
- label: str,
2971
- value: str):
2971
+ label: builtins.str,
2972
+ value: builtins.str):
2972
2973
  """
2973
- :param str label: Name of the label
2974
- :param str value: Value of the label
2974
+ :param builtins.str label: Name of the label
2975
+ :param builtins.str value: Value of the label
2975
2976
  """
2976
2977
  pulumi.set(__self__, "label", label)
2977
2978
  pulumi.set(__self__, "value", value)
2978
2979
 
2979
2980
  @property
2980
2981
  @pulumi.getter
2981
- def label(self) -> str:
2982
+ def label(self) -> builtins.str:
2982
2983
  """
2983
2984
  Name of the label
2984
2985
  """
@@ -2986,7 +2987,7 @@ class ServiceTaskSpecContainerSpecLabel(dict):
2986
2987
 
2987
2988
  @property
2988
2989
  @pulumi.getter
2989
- def value(self) -> str:
2990
+ def value(self) -> builtins.str:
2990
2991
  """
2991
2992
  Value of the label
2992
2993
  """
@@ -3019,19 +3020,19 @@ class ServiceTaskSpecContainerSpecMount(dict):
3019
3020
  return super().get(key, default)
3020
3021
 
3021
3022
  def __init__(__self__, *,
3022
- target: str,
3023
- type: str,
3023
+ target: builtins.str,
3024
+ type: builtins.str,
3024
3025
  bind_options: Optional['outputs.ServiceTaskSpecContainerSpecMountBindOptions'] = None,
3025
- read_only: Optional[bool] = None,
3026
- source: Optional[str] = None,
3026
+ read_only: Optional[builtins.bool] = None,
3027
+ source: Optional[builtins.str] = None,
3027
3028
  tmpfs_options: Optional['outputs.ServiceTaskSpecContainerSpecMountTmpfsOptions'] = None,
3028
3029
  volume_options: Optional['outputs.ServiceTaskSpecContainerSpecMountVolumeOptions'] = None):
3029
3030
  """
3030
- :param str target: Container path
3031
- :param str type: The mount type
3031
+ :param builtins.str target: Container path
3032
+ :param builtins.str type: The mount type
3032
3033
  :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)
3034
+ :param builtins.bool read_only: Whether the mount should be read-only
3035
+ :param builtins.str source: Mount source (e.g. a volume name, a host path)
3035
3036
  :param 'ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs' tmpfs_options: Optional configuration for the tmpfs type
3036
3037
  :param 'ServiceTaskSpecContainerSpecMountVolumeOptionsArgs' volume_options: Optional configuration for the volume type
3037
3038
  """
@@ -3050,7 +3051,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3050
3051
 
3051
3052
  @property
3052
3053
  @pulumi.getter
3053
- def target(self) -> str:
3054
+ def target(self) -> builtins.str:
3054
3055
  """
3055
3056
  Container path
3056
3057
  """
@@ -3058,7 +3059,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3058
3059
 
3059
3060
  @property
3060
3061
  @pulumi.getter
3061
- def type(self) -> str:
3062
+ def type(self) -> builtins.str:
3062
3063
  """
3063
3064
  The mount type
3064
3065
  """
@@ -3074,7 +3075,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3074
3075
 
3075
3076
  @property
3076
3077
  @pulumi.getter(name="readOnly")
3077
- def read_only(self) -> Optional[bool]:
3078
+ def read_only(self) -> Optional[builtins.bool]:
3078
3079
  """
3079
3080
  Whether the mount should be read-only
3080
3081
  """
@@ -3082,7 +3083,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3082
3083
 
3083
3084
  @property
3084
3085
  @pulumi.getter
3085
- def source(self) -> Optional[str]:
3086
+ def source(self) -> Optional[builtins.str]:
3086
3087
  """
3087
3088
  Mount source (e.g. a volume name, a host path)
3088
3089
  """
@@ -3108,16 +3109,16 @@ class ServiceTaskSpecContainerSpecMount(dict):
3108
3109
  @pulumi.output_type
3109
3110
  class ServiceTaskSpecContainerSpecMountBindOptions(dict):
3110
3111
  def __init__(__self__, *,
3111
- propagation: Optional[str] = None):
3112
+ propagation: Optional[builtins.str] = None):
3112
3113
  """
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`
3114
+ :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
3115
  """
3115
3116
  if propagation is not None:
3116
3117
  pulumi.set(__self__, "propagation", propagation)
3117
3118
 
3118
3119
  @property
3119
3120
  @pulumi.getter
3120
- def propagation(self) -> Optional[str]:
3121
+ def propagation(self) -> Optional[builtins.str]:
3121
3122
  """
3122
3123
  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
3124
  """
@@ -3144,11 +3145,11 @@ class ServiceTaskSpecContainerSpecMountTmpfsOptions(dict):
3144
3145
  return super().get(key, default)
3145
3146
 
3146
3147
  def __init__(__self__, *,
3147
- mode: Optional[int] = None,
3148
- size_bytes: Optional[int] = None):
3148
+ mode: Optional[builtins.int] = None,
3149
+ size_bytes: Optional[builtins.int] = None):
3149
3150
  """
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
3151
+ :param builtins.int mode: The permission mode for the tmpfs mount in an integer
3152
+ :param builtins.int size_bytes: The size for the tmpfs mount in bytes
3152
3153
  """
3153
3154
  if mode is not None:
3154
3155
  pulumi.set(__self__, "mode", mode)
@@ -3157,7 +3158,7 @@ class ServiceTaskSpecContainerSpecMountTmpfsOptions(dict):
3157
3158
 
3158
3159
  @property
3159
3160
  @pulumi.getter
3160
- def mode(self) -> Optional[int]:
3161
+ def mode(self) -> Optional[builtins.int]:
3161
3162
  """
3162
3163
  The permission mode for the tmpfs mount in an integer
3163
3164
  """
@@ -3165,7 +3166,7 @@ class ServiceTaskSpecContainerSpecMountTmpfsOptions(dict):
3165
3166
 
3166
3167
  @property
3167
3168
  @pulumi.getter(name="sizeBytes")
3168
- def size_bytes(self) -> Optional[int]:
3169
+ def size_bytes(self) -> Optional[builtins.int]:
3169
3170
  """
3170
3171
  The size for the tmpfs mount in bytes
3171
3172
  """
@@ -3196,15 +3197,15 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3196
3197
  return super().get(key, default)
3197
3198
 
3198
3199
  def __init__(__self__, *,
3199
- driver_name: Optional[str] = None,
3200
- driver_options: Optional[Mapping[str, str]] = None,
3200
+ driver_name: Optional[builtins.str] = None,
3201
+ driver_options: Optional[Mapping[str, builtins.str]] = None,
3201
3202
  labels: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMountVolumeOptionsLabel']] = None,
3202
- no_copy: Optional[bool] = None):
3203
+ no_copy: Optional[builtins.bool] = None):
3203
3204
  """
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
3205
+ :param builtins.str driver_name: Name of the driver to use to create the volume
3206
+ :param Mapping[str, builtins.str] driver_options: key/value map of driver specific options
3206
3207
  :param Sequence['ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs'] labels: User-defined key/value metadata
3207
- :param bool no_copy: Populate volume with data from the target
3208
+ :param builtins.bool no_copy: Populate volume with data from the target
3208
3209
  """
3209
3210
  if driver_name is not None:
3210
3211
  pulumi.set(__self__, "driver_name", driver_name)
@@ -3217,7 +3218,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3217
3218
 
3218
3219
  @property
3219
3220
  @pulumi.getter(name="driverName")
3220
- def driver_name(self) -> Optional[str]:
3221
+ def driver_name(self) -> Optional[builtins.str]:
3221
3222
  """
3222
3223
  Name of the driver to use to create the volume
3223
3224
  """
@@ -3225,7 +3226,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3225
3226
 
3226
3227
  @property
3227
3228
  @pulumi.getter(name="driverOptions")
3228
- def driver_options(self) -> Optional[Mapping[str, str]]:
3229
+ def driver_options(self) -> Optional[Mapping[str, builtins.str]]:
3229
3230
  """
3230
3231
  key/value map of driver specific options
3231
3232
  """
@@ -3241,7 +3242,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3241
3242
 
3242
3243
  @property
3243
3244
  @pulumi.getter(name="noCopy")
3244
- def no_copy(self) -> Optional[bool]:
3245
+ def no_copy(self) -> Optional[builtins.bool]:
3245
3246
  """
3246
3247
  Populate volume with data from the target
3247
3248
  """
@@ -3251,18 +3252,18 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
3251
3252
  @pulumi.output_type
3252
3253
  class ServiceTaskSpecContainerSpecMountVolumeOptionsLabel(dict):
3253
3254
  def __init__(__self__, *,
3254
- label: str,
3255
- value: str):
3255
+ label: builtins.str,
3256
+ value: builtins.str):
3256
3257
  """
3257
- :param str label: Name of the label
3258
- :param str value: Value of the label
3258
+ :param builtins.str label: Name of the label
3259
+ :param builtins.str value: Value of the label
3259
3260
  """
3260
3261
  pulumi.set(__self__, "label", label)
3261
3262
  pulumi.set(__self__, "value", value)
3262
3263
 
3263
3264
  @property
3264
3265
  @pulumi.getter
3265
- def label(self) -> str:
3266
+ def label(self) -> builtins.str:
3266
3267
  """
3267
3268
  Name of the label
3268
3269
  """
@@ -3270,7 +3271,7 @@ class ServiceTaskSpecContainerSpecMountVolumeOptionsLabel(dict):
3270
3271
 
3271
3272
  @property
3272
3273
  @pulumi.getter
3273
- def value(self) -> str:
3274
+ def value(self) -> builtins.str:
3274
3275
  """
3275
3276
  Value of the label
3276
3277
  """
@@ -3330,11 +3331,11 @@ class ServiceTaskSpecContainerSpecPrivileges(dict):
3330
3331
  @pulumi.output_type
3331
3332
  class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3332
3333
  def __init__(__self__, *,
3333
- file: Optional[str] = None,
3334
- registry: Optional[str] = None):
3334
+ file: Optional[builtins.str] = None,
3335
+ registry: Optional[builtins.str] = None):
3335
3336
  """
3336
- :param str file: Load credential spec from this file
3337
- :param str registry: Load credential spec from this value in the Windows registry
3337
+ :param builtins.str file: Load credential spec from this file
3338
+ :param builtins.str registry: Load credential spec from this value in the Windows registry
3338
3339
  """
3339
3340
  if file is not None:
3340
3341
  pulumi.set(__self__, "file", file)
@@ -3343,7 +3344,7 @@ class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3343
3344
 
3344
3345
  @property
3345
3346
  @pulumi.getter
3346
- def file(self) -> Optional[str]:
3347
+ def file(self) -> Optional[builtins.str]:
3347
3348
  """
3348
3349
  Load credential spec from this file
3349
3350
  """
@@ -3351,7 +3352,7 @@ class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3351
3352
 
3352
3353
  @property
3353
3354
  @pulumi.getter
3354
- def registry(self) -> Optional[str]:
3355
+ def registry(self) -> Optional[builtins.str]:
3355
3356
  """
3356
3357
  Load credential spec from this value in the Windows registry
3357
3358
  """
@@ -3361,17 +3362,17 @@ class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
3361
3362
  @pulumi.output_type
3362
3363
  class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3363
3364
  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
3365
+ disable: Optional[builtins.bool] = None,
3366
+ level: Optional[builtins.str] = None,
3367
+ role: Optional[builtins.str] = None,
3368
+ type: Optional[builtins.str] = None,
3369
+ user: Optional[builtins.str] = None):
3370
+ """
3371
+ :param builtins.bool disable: Disable SELinux
3372
+ :param builtins.str level: SELinux level label
3373
+ :param builtins.str role: SELinux role label
3374
+ :param builtins.str type: SELinux type label
3375
+ :param builtins.str user: SELinux user label
3375
3376
  """
3376
3377
  if disable is not None:
3377
3378
  pulumi.set(__self__, "disable", disable)
@@ -3386,7 +3387,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3386
3387
 
3387
3388
  @property
3388
3389
  @pulumi.getter
3389
- def disable(self) -> Optional[bool]:
3390
+ def disable(self) -> Optional[builtins.bool]:
3390
3391
  """
3391
3392
  Disable SELinux
3392
3393
  """
@@ -3394,7 +3395,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3394
3395
 
3395
3396
  @property
3396
3397
  @pulumi.getter
3397
- def level(self) -> Optional[str]:
3398
+ def level(self) -> Optional[builtins.str]:
3398
3399
  """
3399
3400
  SELinux level label
3400
3401
  """
@@ -3402,7 +3403,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3402
3403
 
3403
3404
  @property
3404
3405
  @pulumi.getter
3405
- def role(self) -> Optional[str]:
3406
+ def role(self) -> Optional[builtins.str]:
3406
3407
  """
3407
3408
  SELinux role label
3408
3409
  """
@@ -3410,7 +3411,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3410
3411
 
3411
3412
  @property
3412
3413
  @pulumi.getter
3413
- def type(self) -> Optional[str]:
3414
+ def type(self) -> Optional[builtins.str]:
3414
3415
  """
3415
3416
  SELinux type label
3416
3417
  """
@@ -3418,7 +3419,7 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
3418
3419
 
3419
3420
  @property
3420
3421
  @pulumi.getter
3421
- def user(self) -> Optional[str]:
3422
+ def user(self) -> Optional[builtins.str]:
3422
3423
  """
3423
3424
  SELinux user label
3424
3425
  """
@@ -3455,19 +3456,19 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3455
3456
  return super().get(key, default)
3456
3457
 
3457
3458
  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
3459
+ file_name: builtins.str,
3460
+ secret_id: builtins.str,
3461
+ file_gid: Optional[builtins.str] = None,
3462
+ file_mode: Optional[builtins.int] = None,
3463
+ file_uid: Optional[builtins.str] = None,
3464
+ secret_name: Optional[builtins.str] = None):
3465
+ """
3466
+ :param builtins.str file_name: Represents the final filename in the filesystem
3467
+ :param builtins.str secret_id: ID of the specific secret that we're referencing
3468
+ :param builtins.str file_gid: Represents the file GID. Defaults to `0`
3469
+ :param builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`
3470
+ :param builtins.str file_uid: Represents the file UID. Defaults to `0`
3471
+ :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
3472
  """
3472
3473
  pulumi.set(__self__, "file_name", file_name)
3473
3474
  pulumi.set(__self__, "secret_id", secret_id)
@@ -3482,7 +3483,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3482
3483
 
3483
3484
  @property
3484
3485
  @pulumi.getter(name="fileName")
3485
- def file_name(self) -> str:
3486
+ def file_name(self) -> builtins.str:
3486
3487
  """
3487
3488
  Represents the final filename in the filesystem
3488
3489
  """
@@ -3490,7 +3491,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3490
3491
 
3491
3492
  @property
3492
3493
  @pulumi.getter(name="secretId")
3493
- def secret_id(self) -> str:
3494
+ def secret_id(self) -> builtins.str:
3494
3495
  """
3495
3496
  ID of the specific secret that we're referencing
3496
3497
  """
@@ -3498,7 +3499,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3498
3499
 
3499
3500
  @property
3500
3501
  @pulumi.getter(name="fileGid")
3501
- def file_gid(self) -> Optional[str]:
3502
+ def file_gid(self) -> Optional[builtins.str]:
3502
3503
  """
3503
3504
  Represents the file GID. Defaults to `0`
3504
3505
  """
@@ -3506,7 +3507,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3506
3507
 
3507
3508
  @property
3508
3509
  @pulumi.getter(name="fileMode")
3509
- def file_mode(self) -> Optional[int]:
3510
+ def file_mode(self) -> Optional[builtins.int]:
3510
3511
  """
3511
3512
  Represents represents the FileMode of the file. Defaults to `0o444`
3512
3513
  """
@@ -3514,7 +3515,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3514
3515
 
3515
3516
  @property
3516
3517
  @pulumi.getter(name="fileUid")
3517
- def file_uid(self) -> Optional[str]:
3518
+ def file_uid(self) -> Optional[builtins.str]:
3518
3519
  """
3519
3520
  Represents the file UID. Defaults to `0`
3520
3521
  """
@@ -3522,7 +3523,7 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3522
3523
 
3523
3524
  @property
3524
3525
  @pulumi.getter(name="secretName")
3525
- def secret_name(self) -> Optional[str]:
3526
+ def secret_name(self) -> Optional[builtins.str]:
3526
3527
  """
3527
3528
  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
3529
  """
@@ -3532,11 +3533,11 @@ class ServiceTaskSpecContainerSpecSecret(dict):
3532
3533
  @pulumi.output_type
3533
3534
  class ServiceTaskSpecLogDriver(dict):
3534
3535
  def __init__(__self__, *,
3535
- name: str,
3536
- options: Optional[Mapping[str, str]] = None):
3536
+ name: builtins.str,
3537
+ options: Optional[Mapping[str, builtins.str]] = None):
3537
3538
  """
3538
- :param str name: The logging driver to use
3539
- :param Mapping[str, str] options: The options for the logging driver
3539
+ :param builtins.str name: The logging driver to use
3540
+ :param Mapping[str, builtins.str] options: The options for the logging driver
3540
3541
  """
3541
3542
  pulumi.set(__self__, "name", name)
3542
3543
  if options is not None:
@@ -3544,7 +3545,7 @@ class ServiceTaskSpecLogDriver(dict):
3544
3545
 
3545
3546
  @property
3546
3547
  @pulumi.getter
3547
- def name(self) -> str:
3548
+ def name(self) -> builtins.str:
3548
3549
  """
3549
3550
  The logging driver to use
3550
3551
  """
@@ -3552,7 +3553,7 @@ class ServiceTaskSpecLogDriver(dict):
3552
3553
 
3553
3554
  @property
3554
3555
  @pulumi.getter
3555
- def options(self) -> Optional[Mapping[str, str]]:
3556
+ def options(self) -> Optional[Mapping[str, builtins.str]]:
3556
3557
  """
3557
3558
  The options for the logging driver
3558
3559
  """
@@ -3579,13 +3580,13 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3579
3580
  return super().get(key, default)
3580
3581
 
3581
3582
  def __init__(__self__, *,
3582
- name: str,
3583
- aliases: Optional[Sequence[str]] = None,
3584
- driver_opts: Optional[Sequence[str]] = None):
3583
+ name: builtins.str,
3584
+ aliases: Optional[Sequence[builtins.str]] = None,
3585
+ driver_opts: Optional[Sequence[builtins.str]] = None):
3585
3586
  """
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`
3587
+ :param builtins.str name: The name/id of the network.
3588
+ :param Sequence[builtins.str] aliases: The network aliases of the container in the specific network.
3589
+ :param Sequence[builtins.str] driver_opts: An array of driver options for the network, e.g. `opts1=value`
3589
3590
  """
3590
3591
  pulumi.set(__self__, "name", name)
3591
3592
  if aliases is not None:
@@ -3595,7 +3596,7 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3595
3596
 
3596
3597
  @property
3597
3598
  @pulumi.getter
3598
- def name(self) -> str:
3599
+ def name(self) -> builtins.str:
3599
3600
  """
3600
3601
  The name/id of the network.
3601
3602
  """
@@ -3603,7 +3604,7 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3603
3604
 
3604
3605
  @property
3605
3606
  @pulumi.getter
3606
- def aliases(self) -> Optional[Sequence[str]]:
3607
+ def aliases(self) -> Optional[Sequence[builtins.str]]:
3607
3608
  """
3608
3609
  The network aliases of the container in the specific network.
3609
3610
  """
@@ -3611,7 +3612,7 @@ class ServiceTaskSpecNetworksAdvanced(dict):
3611
3612
 
3612
3613
  @property
3613
3614
  @pulumi.getter(name="driverOpts")
3614
- def driver_opts(self) -> Optional[Sequence[str]]:
3615
+ def driver_opts(self) -> Optional[Sequence[builtins.str]]:
3615
3616
  """
3616
3617
  An array of driver options for the network, e.g. `opts1=value`
3617
3618
  """
@@ -3638,15 +3639,15 @@ class ServiceTaskSpecPlacement(dict):
3638
3639
  return super().get(key, default)
3639
3640
 
3640
3641
  def __init__(__self__, *,
3641
- constraints: Optional[Sequence[str]] = None,
3642
- max_replicas: Optional[int] = None,
3642
+ constraints: Optional[Sequence[builtins.str]] = None,
3643
+ max_replicas: Optional[builtins.int] = None,
3643
3644
  platforms: Optional[Sequence['outputs.ServiceTaskSpecPlacementPlatform']] = None,
3644
- prefs: Optional[Sequence[str]] = None):
3645
+ prefs: Optional[Sequence[builtins.str]] = None):
3645
3646
  """
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)
3647
+ :param Sequence[builtins.str] constraints: An array of constraints. e.g.: `node.role==manager`
3648
+ :param builtins.int max_replicas: Maximum number of replicas for per node (default value is `0`, which is unlimited)
3648
3649
  :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`
3650
+ :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
3651
  """
3651
3652
  if constraints is not None:
3652
3653
  pulumi.set(__self__, "constraints", constraints)
@@ -3659,7 +3660,7 @@ class ServiceTaskSpecPlacement(dict):
3659
3660
 
3660
3661
  @property
3661
3662
  @pulumi.getter
3662
- def constraints(self) -> Optional[Sequence[str]]:
3663
+ def constraints(self) -> Optional[Sequence[builtins.str]]:
3663
3664
  """
3664
3665
  An array of constraints. e.g.: `node.role==manager`
3665
3666
  """
@@ -3667,7 +3668,7 @@ class ServiceTaskSpecPlacement(dict):
3667
3668
 
3668
3669
  @property
3669
3670
  @pulumi.getter(name="maxReplicas")
3670
- def max_replicas(self) -> Optional[int]:
3671
+ def max_replicas(self) -> Optional[builtins.int]:
3671
3672
  """
3672
3673
  Maximum number of replicas for per node (default value is `0`, which is unlimited)
3673
3674
  """
@@ -3683,7 +3684,7 @@ class ServiceTaskSpecPlacement(dict):
3683
3684
 
3684
3685
  @property
3685
3686
  @pulumi.getter
3686
- def prefs(self) -> Optional[Sequence[str]]:
3687
+ def prefs(self) -> Optional[Sequence[builtins.str]]:
3687
3688
  """
3688
3689
  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
3690
  """
@@ -3693,18 +3694,18 @@ class ServiceTaskSpecPlacement(dict):
3693
3694
  @pulumi.output_type
3694
3695
  class ServiceTaskSpecPlacementPlatform(dict):
3695
3696
  def __init__(__self__, *,
3696
- architecture: str,
3697
- os: str):
3697
+ architecture: builtins.str,
3698
+ os: builtins.str):
3698
3699
  """
3699
- :param str architecture: The architecture, e.g. `amd64`
3700
- :param str os: The operation system, e.g. `linux`
3700
+ :param builtins.str architecture: The architecture, e.g. `amd64`
3701
+ :param builtins.str os: The operation system, e.g. `linux`
3701
3702
  """
3702
3703
  pulumi.set(__self__, "architecture", architecture)
3703
3704
  pulumi.set(__self__, "os", os)
3704
3705
 
3705
3706
  @property
3706
3707
  @pulumi.getter
3707
- def architecture(self) -> str:
3708
+ def architecture(self) -> builtins.str:
3708
3709
  """
3709
3710
  The architecture, e.g. `amd64`
3710
3711
  """
@@ -3712,7 +3713,7 @@ class ServiceTaskSpecPlacementPlatform(dict):
3712
3713
 
3713
3714
  @property
3714
3715
  @pulumi.getter
3715
- def os(self) -> str:
3716
+ def os(self) -> builtins.str:
3716
3717
  """
3717
3718
  The operation system, e.g. `linux`
3718
3719
  """
@@ -3772,11 +3773,11 @@ class ServiceTaskSpecResourcesLimits(dict):
3772
3773
  return super().get(key, default)
3773
3774
 
3774
3775
  def __init__(__self__, *,
3775
- memory_bytes: Optional[int] = None,
3776
- nano_cpus: Optional[int] = None):
3776
+ memory_bytes: Optional[builtins.int] = None,
3777
+ nano_cpus: Optional[builtins.int] = None):
3777
3778
  """
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`
3779
+ :param builtins.int memory_bytes: The amounf of memory in bytes the container allocates
3780
+ :param builtins.int nano_cpus: CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
3780
3781
  """
3781
3782
  if memory_bytes is not None:
3782
3783
  pulumi.set(__self__, "memory_bytes", memory_bytes)
@@ -3785,7 +3786,7 @@ class ServiceTaskSpecResourcesLimits(dict):
3785
3786
 
3786
3787
  @property
3787
3788
  @pulumi.getter(name="memoryBytes")
3788
- def memory_bytes(self) -> Optional[int]:
3789
+ def memory_bytes(self) -> Optional[builtins.int]:
3789
3790
  """
3790
3791
  The amounf of memory in bytes the container allocates
3791
3792
  """
@@ -3793,7 +3794,7 @@ class ServiceTaskSpecResourcesLimits(dict):
3793
3794
 
3794
3795
  @property
3795
3796
  @pulumi.getter(name="nanoCpus")
3796
- def nano_cpus(self) -> Optional[int]:
3797
+ def nano_cpus(self) -> Optional[builtins.int]:
3797
3798
  """
3798
3799
  CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
3799
3800
  """
@@ -3825,12 +3826,12 @@ class ServiceTaskSpecResourcesReservation(dict):
3825
3826
 
3826
3827
  def __init__(__self__, *,
3827
3828
  generic_resources: Optional['outputs.ServiceTaskSpecResourcesReservationGenericResources'] = None,
3828
- memory_bytes: Optional[int] = None,
3829
- nano_cpus: Optional[int] = None):
3829
+ memory_bytes: Optional[builtins.int] = None,
3830
+ nano_cpus: Optional[builtins.int] = None):
3830
3831
  """
3831
3832
  :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`
3833
+ :param builtins.int memory_bytes: The amounf of memory in bytes the container allocates
3834
+ :param builtins.int nano_cpus: CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
3834
3835
  """
3835
3836
  if generic_resources is not None:
3836
3837
  pulumi.set(__self__, "generic_resources", generic_resources)
@@ -3849,7 +3850,7 @@ class ServiceTaskSpecResourcesReservation(dict):
3849
3850
 
3850
3851
  @property
3851
3852
  @pulumi.getter(name="memoryBytes")
3852
- def memory_bytes(self) -> Optional[int]:
3853
+ def memory_bytes(self) -> Optional[builtins.int]:
3853
3854
  """
3854
3855
  The amounf of memory in bytes the container allocates
3855
3856
  """
@@ -3857,7 +3858,7 @@ class ServiceTaskSpecResourcesReservation(dict):
3857
3858
 
3858
3859
  @property
3859
3860
  @pulumi.getter(name="nanoCpus")
3860
- def nano_cpus(self) -> Optional[int]:
3861
+ def nano_cpus(self) -> Optional[builtins.int]:
3861
3862
  """
3862
3863
  CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
3863
3864
  """
@@ -3886,11 +3887,11 @@ class ServiceTaskSpecResourcesReservationGenericResources(dict):
3886
3887
  return super().get(key, default)
3887
3888
 
3888
3889
  def __init__(__self__, *,
3889
- discrete_resources_specs: Optional[Sequence[str]] = None,
3890
- named_resources_specs: Optional[Sequence[str]] = None):
3890
+ discrete_resources_specs: Optional[Sequence[builtins.str]] = None,
3891
+ named_resources_specs: Optional[Sequence[builtins.str]] = None):
3891
3892
  """
3892
- :param Sequence[str] discrete_resources_specs: The Integer resources
3893
- :param Sequence[str] named_resources_specs: The String resources
3893
+ :param Sequence[builtins.str] discrete_resources_specs: The Integer resources
3894
+ :param Sequence[builtins.str] named_resources_specs: The String resources
3894
3895
  """
3895
3896
  if discrete_resources_specs is not None:
3896
3897
  pulumi.set(__self__, "discrete_resources_specs", discrete_resources_specs)
@@ -3899,7 +3900,7 @@ class ServiceTaskSpecResourcesReservationGenericResources(dict):
3899
3900
 
3900
3901
  @property
3901
3902
  @pulumi.getter(name="discreteResourcesSpecs")
3902
- def discrete_resources_specs(self) -> Optional[Sequence[str]]:
3903
+ def discrete_resources_specs(self) -> Optional[Sequence[builtins.str]]:
3903
3904
  """
3904
3905
  The Integer resources
3905
3906
  """
@@ -3907,7 +3908,7 @@ class ServiceTaskSpecResourcesReservationGenericResources(dict):
3907
3908
 
3908
3909
  @property
3909
3910
  @pulumi.getter(name="namedResourcesSpecs")
3910
- def named_resources_specs(self) -> Optional[Sequence[str]]:
3911
+ def named_resources_specs(self) -> Optional[Sequence[builtins.str]]:
3911
3912
  """
3912
3913
  The String resources
3913
3914
  """
@@ -3934,15 +3935,15 @@ class ServiceTaskSpecRestartPolicy(dict):
3934
3935
  return super().get(key, default)
3935
3936
 
3936
3937
  def __init__(__self__, *,
3937
- condition: Optional[str] = None,
3938
- delay: Optional[str] = None,
3939
- max_attempts: Optional[int] = None,
3940
- window: Optional[str] = None):
3938
+ condition: Optional[builtins.str] = None,
3939
+ delay: Optional[builtins.str] = None,
3940
+ max_attempts: Optional[builtins.int] = None,
3941
+ window: Optional[builtins.str] = None):
3941
3942
  """
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)
3943
+ :param builtins.str condition: Condition for restart
3944
+ :param builtins.str delay: Delay between restart attempts (ms|s|m|h)
3945
+ :param builtins.int max_attempts: Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
3946
+ :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
3947
  """
3947
3948
  if condition is not None:
3948
3949
  pulumi.set(__self__, "condition", condition)
@@ -3955,7 +3956,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3955
3956
 
3956
3957
  @property
3957
3958
  @pulumi.getter
3958
- def condition(self) -> Optional[str]:
3959
+ def condition(self) -> Optional[builtins.str]:
3959
3960
  """
3960
3961
  Condition for restart
3961
3962
  """
@@ -3963,7 +3964,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3963
3964
 
3964
3965
  @property
3965
3966
  @pulumi.getter
3966
- def delay(self) -> Optional[str]:
3967
+ def delay(self) -> Optional[builtins.str]:
3967
3968
  """
3968
3969
  Delay between restart attempts (ms|s|m|h)
3969
3970
  """
@@ -3971,7 +3972,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3971
3972
 
3972
3973
  @property
3973
3974
  @pulumi.getter(name="maxAttempts")
3974
- def max_attempts(self) -> Optional[int]:
3975
+ def max_attempts(self) -> Optional[builtins.int]:
3975
3976
  """
3976
3977
  Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
3977
3978
  """
@@ -3979,7 +3980,7 @@ class ServiceTaskSpecRestartPolicy(dict):
3979
3980
 
3980
3981
  @property
3981
3982
  @pulumi.getter
3982
- def window(self) -> Optional[str]:
3983
+ def window(self) -> Optional[builtins.str]:
3983
3984
  """
3984
3985
  The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
3985
3986
  """
@@ -4008,19 +4009,19 @@ class ServiceUpdateConfig(dict):
4008
4009
  return super().get(key, default)
4009
4010
 
4010
4011
  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`
4012
+ delay: Optional[builtins.str] = None,
4013
+ failure_action: Optional[builtins.str] = None,
4014
+ max_failure_ratio: Optional[builtins.str] = None,
4015
+ monitor: Optional[builtins.str] = None,
4016
+ order: Optional[builtins.str] = None,
4017
+ parallelism: Optional[builtins.int] = None):
4018
+ """
4019
+ :param builtins.str delay: Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4020
+ :param builtins.str failure_action: Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4021
+ :param builtins.str max_failure_ratio: Failure rate to tolerate during an update. Defaults to `0.0`.
4022
+ :param builtins.str monitor: Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4023
+ :param builtins.str order: Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4024
+ :param builtins.int parallelism: Maximum number of tasks to be updated in one iteration. Defaults to `1`
4024
4025
  """
4025
4026
  if delay is not None:
4026
4027
  pulumi.set(__self__, "delay", delay)
@@ -4037,7 +4038,7 @@ class ServiceUpdateConfig(dict):
4037
4038
 
4038
4039
  @property
4039
4040
  @pulumi.getter
4040
- def delay(self) -> Optional[str]:
4041
+ def delay(self) -> Optional[builtins.str]:
4041
4042
  """
4042
4043
  Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4043
4044
  """
@@ -4045,7 +4046,7 @@ class ServiceUpdateConfig(dict):
4045
4046
 
4046
4047
  @property
4047
4048
  @pulumi.getter(name="failureAction")
4048
- def failure_action(self) -> Optional[str]:
4049
+ def failure_action(self) -> Optional[builtins.str]:
4049
4050
  """
4050
4051
  Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4051
4052
  """
@@ -4053,7 +4054,7 @@ class ServiceUpdateConfig(dict):
4053
4054
 
4054
4055
  @property
4055
4056
  @pulumi.getter(name="maxFailureRatio")
4056
- def max_failure_ratio(self) -> Optional[str]:
4057
+ def max_failure_ratio(self) -> Optional[builtins.str]:
4057
4058
  """
4058
4059
  Failure rate to tolerate during an update. Defaults to `0.0`.
4059
4060
  """
@@ -4061,7 +4062,7 @@ class ServiceUpdateConfig(dict):
4061
4062
 
4062
4063
  @property
4063
4064
  @pulumi.getter
4064
- def monitor(self) -> Optional[str]:
4065
+ def monitor(self) -> Optional[builtins.str]:
4065
4066
  """
4066
4067
  Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4067
4068
  """
@@ -4069,7 +4070,7 @@ class ServiceUpdateConfig(dict):
4069
4070
 
4070
4071
  @property
4071
4072
  @pulumi.getter
4072
- def order(self) -> Optional[str]:
4073
+ def order(self) -> Optional[builtins.str]:
4073
4074
  """
4074
4075
  Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4075
4076
  """
@@ -4077,7 +4078,7 @@ class ServiceUpdateConfig(dict):
4077
4078
 
4078
4079
  @property
4079
4080
  @pulumi.getter
4080
- def parallelism(self) -> Optional[int]:
4081
+ def parallelism(self) -> Optional[builtins.int]:
4081
4082
  """
4082
4083
  Maximum number of tasks to be updated in one iteration. Defaults to `1`
4083
4084
  """
@@ -4087,18 +4088,18 @@ class ServiceUpdateConfig(dict):
4087
4088
  @pulumi.output_type
4088
4089
  class VolumeLabel(dict):
4089
4090
  def __init__(__self__, *,
4090
- label: str,
4091
- value: str):
4091
+ label: builtins.str,
4092
+ value: builtins.str):
4092
4093
  """
4093
- :param str label: Name of the label
4094
- :param str value: Value of the label
4094
+ :param builtins.str label: Name of the label
4095
+ :param builtins.str value: Value of the label
4095
4096
  """
4096
4097
  pulumi.set(__self__, "label", label)
4097
4098
  pulumi.set(__self__, "value", value)
4098
4099
 
4099
4100
  @property
4100
4101
  @pulumi.getter
4101
- def label(self) -> str:
4102
+ def label(self) -> builtins.str:
4102
4103
  """
4103
4104
  Name of the label
4104
4105
  """
@@ -4106,7 +4107,7 @@ class VolumeLabel(dict):
4106
4107
 
4107
4108
  @property
4108
4109
  @pulumi.getter
4109
- def value(self) -> str:
4110
+ def value(self) -> builtins.str:
4110
4111
  """
4111
4112
  Value of the label
4112
4113
  """
@@ -4116,15 +4117,15 @@ class VolumeLabel(dict):
4116
4117
  @pulumi.output_type
4117
4118
  class GetNetworkIpamConfigResult(dict):
4118
4119
  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):
4120
+ aux_address: Optional[Mapping[str, builtins.str]] = None,
4121
+ gateway: Optional[builtins.str] = None,
4122
+ ip_range: Optional[builtins.str] = None,
4123
+ subnet: Optional[builtins.str] = None):
4123
4124
  """
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
4125
+ :param Mapping[str, builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
4126
+ :param builtins.str gateway: The IP address of the gateway
4127
+ :param builtins.str ip_range: The ip range in CIDR form
4128
+ :param builtins.str subnet: The subnet in CIDR form
4128
4129
  """
4129
4130
  if aux_address is not None:
4130
4131
  pulumi.set(__self__, "aux_address", aux_address)
@@ -4137,7 +4138,7 @@ class GetNetworkIpamConfigResult(dict):
4137
4138
 
4138
4139
  @property
4139
4140
  @pulumi.getter(name="auxAddress")
4140
- def aux_address(self) -> Optional[Mapping[str, str]]:
4141
+ def aux_address(self) -> Optional[Mapping[str, builtins.str]]:
4141
4142
  """
4142
4143
  Auxiliary IPv4 or IPv6 addresses used by Network driver
4143
4144
  """
@@ -4145,7 +4146,7 @@ class GetNetworkIpamConfigResult(dict):
4145
4146
 
4146
4147
  @property
4147
4148
  @pulumi.getter
4148
- def gateway(self) -> Optional[str]:
4149
+ def gateway(self) -> Optional[builtins.str]:
4149
4150
  """
4150
4151
  The IP address of the gateway
4151
4152
  """
@@ -4153,7 +4154,7 @@ class GetNetworkIpamConfigResult(dict):
4153
4154
 
4154
4155
  @property
4155
4156
  @pulumi.getter(name="ipRange")
4156
- def ip_range(self) -> Optional[str]:
4157
+ def ip_range(self) -> Optional[builtins.str]:
4157
4158
  """
4158
4159
  The ip range in CIDR form
4159
4160
  """
@@ -4161,7 +4162,7 @@ class GetNetworkIpamConfigResult(dict):
4161
4162
 
4162
4163
  @property
4163
4164
  @pulumi.getter
4164
- def subnet(self) -> Optional[str]:
4165
+ def subnet(self) -> Optional[builtins.str]:
4165
4166
  """
4166
4167
  The subnet in CIDR form
4167
4168
  """