pulumi-docker 4.8.0a1750280940__py3-none-any.whl → 4.8.1a1755712187__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,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -125,33 +124,33 @@ class BuildxBuilderDockerContainer(dict):
125
124
  return super().get(key, default)
126
125
 
127
126
  def __init__(__self__, *,
128
- cgroup_parent: Optional[builtins.str] = None,
129
- cpu_period: Optional[builtins.str] = None,
130
- cpu_quota: Optional[builtins.str] = None,
131
- cpu_shares: Optional[builtins.str] = None,
132
- cpuset_cpus: Optional[builtins.str] = None,
133
- cpuset_mems: Optional[builtins.str] = None,
134
- default_load: Optional[builtins.bool] = None,
135
- env: Optional[Mapping[str, builtins.str]] = None,
136
- image: Optional[builtins.str] = None,
137
- memory: Optional[builtins.str] = None,
138
- memory_swap: Optional[builtins.str] = None,
139
- network: Optional[builtins.str] = None,
140
- restart_policy: Optional[builtins.str] = None):
141
- """
142
- :param builtins.str cgroup_parent: Sets the cgroup parent of the container if Docker is using the "cgroupfs" driver.
143
- :param builtins.str cpu_period: Sets the CPU CFS scheduler period for the container.
144
- :param builtins.str cpu_quota: Imposes a CPU CFS quota on the container.
145
- :param builtins.str cpu_shares: Configures CPU shares (relative weight) of the container.
146
- :param builtins.str cpuset_cpus: Limits the set of CPU cores the container can use.
147
- :param builtins.str cpuset_mems: Limits the set of CPU memory nodes the container can use.
148
- :param builtins.bool default_load: Automatically load images to the Docker Engine image store. Defaults to `false`
149
- :param Mapping[str, builtins.str] env: Sets environment variables in the container.
150
- :param builtins.str image: Sets the BuildKit image to use for the container.
151
- :param builtins.str memory: Sets the amount of memory the container can use.
152
- :param builtins.str memory_swap: Sets the memory swap limit for the container.
153
- :param builtins.str network: Sets the network mode for the container.
154
- :param builtins.str restart_policy: Sets the container's restart policy.
127
+ cgroup_parent: Optional[_builtins.str] = None,
128
+ cpu_period: Optional[_builtins.str] = None,
129
+ cpu_quota: Optional[_builtins.str] = None,
130
+ cpu_shares: Optional[_builtins.str] = None,
131
+ cpuset_cpus: Optional[_builtins.str] = None,
132
+ cpuset_mems: Optional[_builtins.str] = None,
133
+ default_load: Optional[_builtins.bool] = None,
134
+ env: Optional[Mapping[str, _builtins.str]] = None,
135
+ image: Optional[_builtins.str] = None,
136
+ memory: Optional[_builtins.str] = None,
137
+ memory_swap: Optional[_builtins.str] = None,
138
+ network: Optional[_builtins.str] = None,
139
+ restart_policy: Optional[_builtins.str] = None):
140
+ """
141
+ :param _builtins.str cgroup_parent: Sets the cgroup parent of the container if Docker is using the "cgroupfs" driver.
142
+ :param _builtins.str cpu_period: Sets the CPU CFS scheduler period for the container.
143
+ :param _builtins.str cpu_quota: Imposes a CPU CFS quota on the container.
144
+ :param _builtins.str cpu_shares: Configures CPU shares (relative weight) of the container.
145
+ :param _builtins.str cpuset_cpus: Limits the set of CPU cores the container can use.
146
+ :param _builtins.str cpuset_mems: Limits the set of CPU memory nodes the container can use.
147
+ :param _builtins.bool default_load: Automatically load images to the Docker Engine image store. Defaults to `false`
148
+ :param Mapping[str, _builtins.str] env: Sets environment variables in the container.
149
+ :param _builtins.str image: Sets the BuildKit image to use for the container.
150
+ :param _builtins.str memory: Sets the amount of memory the container can use.
151
+ :param _builtins.str memory_swap: Sets the memory swap limit for the container.
152
+ :param _builtins.str network: Sets the network mode for the container.
153
+ :param _builtins.str restart_policy: Sets the container's restart policy.
155
154
  """
156
155
  if cgroup_parent is not None:
157
156
  pulumi.set(__self__, "cgroup_parent", cgroup_parent)
@@ -180,105 +179,105 @@ class BuildxBuilderDockerContainer(dict):
180
179
  if restart_policy is not None:
181
180
  pulumi.set(__self__, "restart_policy", restart_policy)
182
181
 
183
- @property
182
+ @_builtins.property
184
183
  @pulumi.getter(name="cgroupParent")
185
- def cgroup_parent(self) -> Optional[builtins.str]:
184
+ def cgroup_parent(self) -> Optional[_builtins.str]:
186
185
  """
187
186
  Sets the cgroup parent of the container if Docker is using the "cgroupfs" driver.
188
187
  """
189
188
  return pulumi.get(self, "cgroup_parent")
190
189
 
191
- @property
190
+ @_builtins.property
192
191
  @pulumi.getter(name="cpuPeriod")
193
- def cpu_period(self) -> Optional[builtins.str]:
192
+ def cpu_period(self) -> Optional[_builtins.str]:
194
193
  """
195
194
  Sets the CPU CFS scheduler period for the container.
196
195
  """
197
196
  return pulumi.get(self, "cpu_period")
198
197
 
199
- @property
198
+ @_builtins.property
200
199
  @pulumi.getter(name="cpuQuota")
201
- def cpu_quota(self) -> Optional[builtins.str]:
200
+ def cpu_quota(self) -> Optional[_builtins.str]:
202
201
  """
203
202
  Imposes a CPU CFS quota on the container.
204
203
  """
205
204
  return pulumi.get(self, "cpu_quota")
206
205
 
207
- @property
206
+ @_builtins.property
208
207
  @pulumi.getter(name="cpuShares")
209
- def cpu_shares(self) -> Optional[builtins.str]:
208
+ def cpu_shares(self) -> Optional[_builtins.str]:
210
209
  """
211
210
  Configures CPU shares (relative weight) of the container.
212
211
  """
213
212
  return pulumi.get(self, "cpu_shares")
214
213
 
215
- @property
214
+ @_builtins.property
216
215
  @pulumi.getter(name="cpusetCpus")
217
- def cpuset_cpus(self) -> Optional[builtins.str]:
216
+ def cpuset_cpus(self) -> Optional[_builtins.str]:
218
217
  """
219
218
  Limits the set of CPU cores the container can use.
220
219
  """
221
220
  return pulumi.get(self, "cpuset_cpus")
222
221
 
223
- @property
222
+ @_builtins.property
224
223
  @pulumi.getter(name="cpusetMems")
225
- def cpuset_mems(self) -> Optional[builtins.str]:
224
+ def cpuset_mems(self) -> Optional[_builtins.str]:
226
225
  """
227
226
  Limits the set of CPU memory nodes the container can use.
228
227
  """
229
228
  return pulumi.get(self, "cpuset_mems")
230
229
 
231
- @property
230
+ @_builtins.property
232
231
  @pulumi.getter(name="defaultLoad")
233
- def default_load(self) -> Optional[builtins.bool]:
232
+ def default_load(self) -> Optional[_builtins.bool]:
234
233
  """
235
234
  Automatically load images to the Docker Engine image store. Defaults to `false`
236
235
  """
237
236
  return pulumi.get(self, "default_load")
238
237
 
239
- @property
238
+ @_builtins.property
240
239
  @pulumi.getter
241
- def env(self) -> Optional[Mapping[str, builtins.str]]:
240
+ def env(self) -> Optional[Mapping[str, _builtins.str]]:
242
241
  """
243
242
  Sets environment variables in the container.
244
243
  """
245
244
  return pulumi.get(self, "env")
246
245
 
247
- @property
246
+ @_builtins.property
248
247
  @pulumi.getter
249
- def image(self) -> Optional[builtins.str]:
248
+ def image(self) -> Optional[_builtins.str]:
250
249
  """
251
250
  Sets the BuildKit image to use for the container.
252
251
  """
253
252
  return pulumi.get(self, "image")
254
253
 
255
- @property
254
+ @_builtins.property
256
255
  @pulumi.getter
257
- def memory(self) -> Optional[builtins.str]:
256
+ def memory(self) -> Optional[_builtins.str]:
258
257
  """
259
258
  Sets the amount of memory the container can use.
260
259
  """
261
260
  return pulumi.get(self, "memory")
262
261
 
263
- @property
262
+ @_builtins.property
264
263
  @pulumi.getter(name="memorySwap")
265
- def memory_swap(self) -> Optional[builtins.str]:
264
+ def memory_swap(self) -> Optional[_builtins.str]:
266
265
  """
267
266
  Sets the memory swap limit for the container.
268
267
  """
269
268
  return pulumi.get(self, "memory_swap")
270
269
 
271
- @property
270
+ @_builtins.property
272
271
  @pulumi.getter
273
- def network(self) -> Optional[builtins.str]:
272
+ def network(self) -> Optional[_builtins.str]:
274
273
  """
275
274
  Sets the network mode for the container.
276
275
  """
277
276
  return pulumi.get(self, "network")
278
277
 
279
- @property
278
+ @_builtins.property
280
279
  @pulumi.getter(name="restartPolicy")
281
- def restart_policy(self) -> Optional[builtins.str]:
280
+ def restart_policy(self) -> Optional[_builtins.str]:
282
281
  """
283
282
  Sets the container's restart policy.
284
283
  """
@@ -305,39 +304,39 @@ class BuildxBuilderKubernetes(dict):
305
304
  return super().get(key, default)
306
305
 
307
306
  def __init__(__self__, *,
308
- annotations: Optional[builtins.str] = None,
309
- default_load: Optional[builtins.bool] = None,
310
- image: Optional[builtins.str] = None,
311
- labels: Optional[builtins.str] = None,
307
+ annotations: Optional[_builtins.str] = None,
308
+ default_load: Optional[_builtins.bool] = None,
309
+ image: Optional[_builtins.str] = None,
310
+ labels: Optional[_builtins.str] = None,
312
311
  limits: Optional['outputs.BuildxBuilderKubernetesLimits'] = None,
313
- loadbalance: Optional[builtins.str] = None,
314
- namespace: Optional[builtins.str] = None,
315
- nodeselector: Optional[builtins.str] = None,
312
+ loadbalance: Optional[_builtins.str] = None,
313
+ namespace: Optional[_builtins.str] = None,
314
+ nodeselector: Optional[_builtins.str] = None,
316
315
  qemu: Optional['outputs.BuildxBuilderKubernetesQemu'] = None,
317
- replicas: Optional[builtins.int] = None,
316
+ replicas: Optional[_builtins.int] = None,
318
317
  requests: Optional['outputs.BuildxBuilderKubernetesRequests'] = None,
319
- rootless: Optional[builtins.bool] = None,
320
- schedulername: Optional[builtins.str] = None,
321
- serviceaccount: Optional[builtins.str] = None,
322
- timeout: Optional[builtins.str] = None,
323
- tolerations: Optional[builtins.str] = None):
324
- """
325
- :param builtins.str annotations: Sets additional annotations on the deployments and pods.
326
- :param builtins.bool default_load: Automatically load images to the Docker Engine image store. Defaults to `false`
327
- :param builtins.str image: Sets the image to use for running BuildKit.
328
- :param builtins.str labels: Sets additional labels on the deployments and pods.
318
+ rootless: Optional[_builtins.bool] = None,
319
+ schedulername: Optional[_builtins.str] = None,
320
+ serviceaccount: Optional[_builtins.str] = None,
321
+ timeout: Optional[_builtins.str] = None,
322
+ tolerations: Optional[_builtins.str] = None):
323
+ """
324
+ :param _builtins.str annotations: Sets additional annotations on the deployments and pods.
325
+ :param _builtins.bool default_load: Automatically load images to the Docker Engine image store. Defaults to `false`
326
+ :param _builtins.str image: Sets the image to use for running BuildKit.
327
+ :param _builtins.str labels: Sets additional labels on the deployments and pods.
329
328
  :param 'BuildxBuilderKubernetesLimitsArgs' limits: Resource limits for CPU, memory, and ephemeral storage.
330
- :param builtins.str loadbalance: Load-balancing strategy (sticky or random).
331
- :param builtins.str namespace: Sets the Kubernetes namespace.
332
- :param builtins.str nodeselector: Sets the pod's nodeSelector label(s).
329
+ :param _builtins.str loadbalance: Load-balancing strategy (sticky or random).
330
+ :param _builtins.str namespace: Sets the Kubernetes namespace.
331
+ :param _builtins.str nodeselector: Sets the pod's nodeSelector label(s).
333
332
  :param 'BuildxBuilderKubernetesQemuArgs' qemu: QEMU emulation configuration.
334
- :param builtins.int replicas: Sets the number of Pod replicas to create.
333
+ :param _builtins.int replicas: Sets the number of Pod replicas to create.
335
334
  :param 'BuildxBuilderKubernetesRequestsArgs' requests: Resource requests for CPU, memory, and ephemeral storage.
336
- :param builtins.bool rootless: Run the container as a non-root user.
337
- :param builtins.str schedulername: Sets the scheduler responsible for scheduling the pod.
338
- :param builtins.str serviceaccount: Sets the pod's serviceAccountName.
339
- :param builtins.str timeout: Set the timeout limit for pod provisioning.
340
- :param builtins.str tolerations: Configures the pod's taint toleration.
335
+ :param _builtins.bool rootless: Run the container as a non-root user.
336
+ :param _builtins.str schedulername: Sets the scheduler responsible for scheduling the pod.
337
+ :param _builtins.str serviceaccount: Sets the pod's serviceAccountName.
338
+ :param _builtins.str timeout: Set the timeout limit for pod provisioning.
339
+ :param _builtins.str tolerations: Configures the pod's taint toleration.
341
340
  """
342
341
  if annotations is not None:
343
342
  pulumi.set(__self__, "annotations", annotations)
@@ -372,39 +371,39 @@ class BuildxBuilderKubernetes(dict):
372
371
  if tolerations is not None:
373
372
  pulumi.set(__self__, "tolerations", tolerations)
374
373
 
375
- @property
374
+ @_builtins.property
376
375
  @pulumi.getter
377
- def annotations(self) -> Optional[builtins.str]:
376
+ def annotations(self) -> Optional[_builtins.str]:
378
377
  """
379
378
  Sets additional annotations on the deployments and pods.
380
379
  """
381
380
  return pulumi.get(self, "annotations")
382
381
 
383
- @property
382
+ @_builtins.property
384
383
  @pulumi.getter(name="defaultLoad")
385
- def default_load(self) -> Optional[builtins.bool]:
384
+ def default_load(self) -> Optional[_builtins.bool]:
386
385
  """
387
386
  Automatically load images to the Docker Engine image store. Defaults to `false`
388
387
  """
389
388
  return pulumi.get(self, "default_load")
390
389
 
391
- @property
390
+ @_builtins.property
392
391
  @pulumi.getter
393
- def image(self) -> Optional[builtins.str]:
392
+ def image(self) -> Optional[_builtins.str]:
394
393
  """
395
394
  Sets the image to use for running BuildKit.
396
395
  """
397
396
  return pulumi.get(self, "image")
398
397
 
399
- @property
398
+ @_builtins.property
400
399
  @pulumi.getter
401
- def labels(self) -> Optional[builtins.str]:
400
+ def labels(self) -> Optional[_builtins.str]:
402
401
  """
403
402
  Sets additional labels on the deployments and pods.
404
403
  """
405
404
  return pulumi.get(self, "labels")
406
405
 
407
- @property
406
+ @_builtins.property
408
407
  @pulumi.getter
409
408
  def limits(self) -> Optional['outputs.BuildxBuilderKubernetesLimits']:
410
409
  """
@@ -412,31 +411,31 @@ class BuildxBuilderKubernetes(dict):
412
411
  """
413
412
  return pulumi.get(self, "limits")
414
413
 
415
- @property
414
+ @_builtins.property
416
415
  @pulumi.getter
417
- def loadbalance(self) -> Optional[builtins.str]:
416
+ def loadbalance(self) -> Optional[_builtins.str]:
418
417
  """
419
418
  Load-balancing strategy (sticky or random).
420
419
  """
421
420
  return pulumi.get(self, "loadbalance")
422
421
 
423
- @property
422
+ @_builtins.property
424
423
  @pulumi.getter
425
- def namespace(self) -> Optional[builtins.str]:
424
+ def namespace(self) -> Optional[_builtins.str]:
426
425
  """
427
426
  Sets the Kubernetes namespace.
428
427
  """
429
428
  return pulumi.get(self, "namespace")
430
429
 
431
- @property
430
+ @_builtins.property
432
431
  @pulumi.getter
433
- def nodeselector(self) -> Optional[builtins.str]:
432
+ def nodeselector(self) -> Optional[_builtins.str]:
434
433
  """
435
434
  Sets the pod's nodeSelector label(s).
436
435
  """
437
436
  return pulumi.get(self, "nodeselector")
438
437
 
439
- @property
438
+ @_builtins.property
440
439
  @pulumi.getter
441
440
  def qemu(self) -> Optional['outputs.BuildxBuilderKubernetesQemu']:
442
441
  """
@@ -444,15 +443,15 @@ class BuildxBuilderKubernetes(dict):
444
443
  """
445
444
  return pulumi.get(self, "qemu")
446
445
 
447
- @property
446
+ @_builtins.property
448
447
  @pulumi.getter
449
- def replicas(self) -> Optional[builtins.int]:
448
+ def replicas(self) -> Optional[_builtins.int]:
450
449
  """
451
450
  Sets the number of Pod replicas to create.
452
451
  """
453
452
  return pulumi.get(self, "replicas")
454
453
 
455
- @property
454
+ @_builtins.property
456
455
  @pulumi.getter
457
456
  def requests(self) -> Optional['outputs.BuildxBuilderKubernetesRequests']:
458
457
  """
@@ -460,41 +459,41 @@ class BuildxBuilderKubernetes(dict):
460
459
  """
461
460
  return pulumi.get(self, "requests")
462
461
 
463
- @property
462
+ @_builtins.property
464
463
  @pulumi.getter
465
- def rootless(self) -> Optional[builtins.bool]:
464
+ def rootless(self) -> Optional[_builtins.bool]:
466
465
  """
467
466
  Run the container as a non-root user.
468
467
  """
469
468
  return pulumi.get(self, "rootless")
470
469
 
471
- @property
470
+ @_builtins.property
472
471
  @pulumi.getter
473
- def schedulername(self) -> Optional[builtins.str]:
472
+ def schedulername(self) -> Optional[_builtins.str]:
474
473
  """
475
474
  Sets the scheduler responsible for scheduling the pod.
476
475
  """
477
476
  return pulumi.get(self, "schedulername")
478
477
 
479
- @property
478
+ @_builtins.property
480
479
  @pulumi.getter
481
- def serviceaccount(self) -> Optional[builtins.str]:
480
+ def serviceaccount(self) -> Optional[_builtins.str]:
482
481
  """
483
482
  Sets the pod's serviceAccountName.
484
483
  """
485
484
  return pulumi.get(self, "serviceaccount")
486
485
 
487
- @property
486
+ @_builtins.property
488
487
  @pulumi.getter
489
- def timeout(self) -> Optional[builtins.str]:
488
+ def timeout(self) -> Optional[_builtins.str]:
490
489
  """
491
490
  Set the timeout limit for pod provisioning.
492
491
  """
493
492
  return pulumi.get(self, "timeout")
494
493
 
495
- @property
494
+ @_builtins.property
496
495
  @pulumi.getter
497
- def tolerations(self) -> Optional[builtins.str]:
496
+ def tolerations(self) -> Optional[_builtins.str]:
498
497
  """
499
498
  Configures the pod's taint toleration.
500
499
  """
@@ -521,13 +520,13 @@ class BuildxBuilderKubernetesLimits(dict):
521
520
  return super().get(key, default)
522
521
 
523
522
  def __init__(__self__, *,
524
- cpu: Optional[builtins.str] = None,
525
- ephemeral_storage: Optional[builtins.str] = None,
526
- memory: Optional[builtins.str] = None):
523
+ cpu: Optional[_builtins.str] = None,
524
+ ephemeral_storage: Optional[_builtins.str] = None,
525
+ memory: Optional[_builtins.str] = None):
527
526
  """
528
- :param builtins.str cpu: CPU limit for the Kubernetes pod.
529
- :param builtins.str ephemeral_storage: Ephemeral storage limit for the Kubernetes pod.
530
- :param builtins.str memory: Memory limit for the Kubernetes pod.
527
+ :param _builtins.str cpu: CPU limit for the Kubernetes pod.
528
+ :param _builtins.str ephemeral_storage: Ephemeral storage limit for the Kubernetes pod.
529
+ :param _builtins.str memory: Memory limit for the Kubernetes pod.
531
530
  """
532
531
  if cpu is not None:
533
532
  pulumi.set(__self__, "cpu", cpu)
@@ -536,25 +535,25 @@ class BuildxBuilderKubernetesLimits(dict):
536
535
  if memory is not None:
537
536
  pulumi.set(__self__, "memory", memory)
538
537
 
539
- @property
538
+ @_builtins.property
540
539
  @pulumi.getter
541
- def cpu(self) -> Optional[builtins.str]:
540
+ def cpu(self) -> Optional[_builtins.str]:
542
541
  """
543
542
  CPU limit for the Kubernetes pod.
544
543
  """
545
544
  return pulumi.get(self, "cpu")
546
545
 
547
- @property
546
+ @_builtins.property
548
547
  @pulumi.getter(name="ephemeralStorage")
549
- def ephemeral_storage(self) -> Optional[builtins.str]:
548
+ def ephemeral_storage(self) -> Optional[_builtins.str]:
550
549
  """
551
550
  Ephemeral storage limit for the Kubernetes pod.
552
551
  """
553
552
  return pulumi.get(self, "ephemeral_storage")
554
553
 
555
- @property
554
+ @_builtins.property
556
555
  @pulumi.getter
557
- def memory(self) -> Optional[builtins.str]:
556
+ def memory(self) -> Optional[_builtins.str]:
558
557
  """
559
558
  Memory limit for the Kubernetes pod.
560
559
  """
@@ -564,28 +563,28 @@ class BuildxBuilderKubernetesLimits(dict):
564
563
  @pulumi.output_type
565
564
  class BuildxBuilderKubernetesQemu(dict):
566
565
  def __init__(__self__, *,
567
- image: Optional[builtins.str] = None,
568
- install: Optional[builtins.bool] = None):
566
+ image: Optional[_builtins.str] = None,
567
+ install: Optional[_builtins.bool] = None):
569
568
  """
570
- :param builtins.str image: Sets the QEMU emulation image.
571
- :param builtins.bool install: Install QEMU emulation for multi-platform support.
569
+ :param _builtins.str image: Sets the QEMU emulation image.
570
+ :param _builtins.bool install: Install QEMU emulation for multi-platform support.
572
571
  """
573
572
  if image is not None:
574
573
  pulumi.set(__self__, "image", image)
575
574
  if install is not None:
576
575
  pulumi.set(__self__, "install", install)
577
576
 
578
- @property
577
+ @_builtins.property
579
578
  @pulumi.getter
580
- def image(self) -> Optional[builtins.str]:
579
+ def image(self) -> Optional[_builtins.str]:
581
580
  """
582
581
  Sets the QEMU emulation image.
583
582
  """
584
583
  return pulumi.get(self, "image")
585
584
 
586
- @property
585
+ @_builtins.property
587
586
  @pulumi.getter
588
- def install(self) -> Optional[builtins.bool]:
587
+ def install(self) -> Optional[_builtins.bool]:
589
588
  """
590
589
  Install QEMU emulation for multi-platform support.
591
590
  """
@@ -612,13 +611,13 @@ class BuildxBuilderKubernetesRequests(dict):
612
611
  return super().get(key, default)
613
612
 
614
613
  def __init__(__self__, *,
615
- cpu: Optional[builtins.str] = None,
616
- ephemeral_storage: Optional[builtins.str] = None,
617
- memory: Optional[builtins.str] = None):
614
+ cpu: Optional[_builtins.str] = None,
615
+ ephemeral_storage: Optional[_builtins.str] = None,
616
+ memory: Optional[_builtins.str] = None):
618
617
  """
619
- :param builtins.str cpu: CPU limit for the Kubernetes pod.
620
- :param builtins.str ephemeral_storage: Ephemeral storage limit for the Kubernetes pod.
621
- :param builtins.str memory: Memory limit for the Kubernetes pod.
618
+ :param _builtins.str cpu: CPU limit for the Kubernetes pod.
619
+ :param _builtins.str ephemeral_storage: Ephemeral storage limit for the Kubernetes pod.
620
+ :param _builtins.str memory: Memory limit for the Kubernetes pod.
622
621
  """
623
622
  if cpu is not None:
624
623
  pulumi.set(__self__, "cpu", cpu)
@@ -627,25 +626,25 @@ class BuildxBuilderKubernetesRequests(dict):
627
626
  if memory is not None:
628
627
  pulumi.set(__self__, "memory", memory)
629
628
 
630
- @property
629
+ @_builtins.property
631
630
  @pulumi.getter
632
- def cpu(self) -> Optional[builtins.str]:
631
+ def cpu(self) -> Optional[_builtins.str]:
633
632
  """
634
633
  CPU limit for the Kubernetes pod.
635
634
  """
636
635
  return pulumi.get(self, "cpu")
637
636
 
638
- @property
637
+ @_builtins.property
639
638
  @pulumi.getter(name="ephemeralStorage")
640
- def ephemeral_storage(self) -> Optional[builtins.str]:
639
+ def ephemeral_storage(self) -> Optional[_builtins.str]:
641
640
  """
642
641
  Ephemeral storage limit for the Kubernetes pod.
643
642
  """
644
643
  return pulumi.get(self, "ephemeral_storage")
645
644
 
646
- @property
645
+ @_builtins.property
647
646
  @pulumi.getter
648
- def memory(self) -> Optional[builtins.str]:
647
+ def memory(self) -> Optional[_builtins.str]:
649
648
  """
650
649
  Memory limit for the Kubernetes pod.
651
650
  """
@@ -672,17 +671,17 @@ class BuildxBuilderRemote(dict):
672
671
  return super().get(key, default)
673
672
 
674
673
  def __init__(__self__, *,
675
- cacert: Optional[builtins.str] = None,
676
- cert: Optional[builtins.str] = None,
677
- default_load: Optional[builtins.bool] = None,
678
- key: Optional[builtins.str] = None,
679
- servername: Optional[builtins.str] = None):
680
- """
681
- :param builtins.str cacert: Absolute path to the TLS certificate authority used for validation.
682
- :param builtins.str cert: Absolute path to the TLS client certificate to present to buildkitd.
683
- :param builtins.bool default_load: Automatically load images to the Docker Engine image store. Defaults to `false`
684
- :param builtins.str key: Sets the TLS client key.
685
- :param builtins.str servername: TLS server name used in requests.
674
+ cacert: Optional[_builtins.str] = None,
675
+ cert: Optional[_builtins.str] = None,
676
+ default_load: Optional[_builtins.bool] = None,
677
+ key: Optional[_builtins.str] = None,
678
+ servername: Optional[_builtins.str] = None):
679
+ """
680
+ :param _builtins.str cacert: Absolute path to the TLS certificate authority used for validation.
681
+ :param _builtins.str cert: Absolute path to the TLS client certificate to present to buildkitd.
682
+ :param _builtins.bool default_load: Automatically load images to the Docker Engine image store. Defaults to `false`
683
+ :param _builtins.str key: Sets the TLS client key.
684
+ :param _builtins.str servername: TLS server name used in requests.
686
685
  """
687
686
  if cacert is not None:
688
687
  pulumi.set(__self__, "cacert", cacert)
@@ -695,41 +694,41 @@ class BuildxBuilderRemote(dict):
695
694
  if servername is not None:
696
695
  pulumi.set(__self__, "servername", servername)
697
696
 
698
- @property
697
+ @_builtins.property
699
698
  @pulumi.getter
700
- def cacert(self) -> Optional[builtins.str]:
699
+ def cacert(self) -> Optional[_builtins.str]:
701
700
  """
702
701
  Absolute path to the TLS certificate authority used for validation.
703
702
  """
704
703
  return pulumi.get(self, "cacert")
705
704
 
706
- @property
705
+ @_builtins.property
707
706
  @pulumi.getter
708
- def cert(self) -> Optional[builtins.str]:
707
+ def cert(self) -> Optional[_builtins.str]:
709
708
  """
710
709
  Absolute path to the TLS client certificate to present to buildkitd.
711
710
  """
712
711
  return pulumi.get(self, "cert")
713
712
 
714
- @property
713
+ @_builtins.property
715
714
  @pulumi.getter(name="defaultLoad")
716
- def default_load(self) -> Optional[builtins.bool]:
715
+ def default_load(self) -> Optional[_builtins.bool]:
717
716
  """
718
717
  Automatically load images to the Docker Engine image store. Defaults to `false`
719
718
  """
720
719
  return pulumi.get(self, "default_load")
721
720
 
722
- @property
721
+ @_builtins.property
723
722
  @pulumi.getter
724
- def key(self) -> Optional[builtins.str]:
723
+ def key(self) -> Optional[_builtins.str]:
725
724
  """
726
725
  Sets the TLS client key.
727
726
  """
728
727
  return pulumi.get(self, "key")
729
728
 
730
- @property
729
+ @_builtins.property
731
730
  @pulumi.getter
732
- def servername(self) -> Optional[builtins.str]:
731
+ def servername(self) -> Optional[_builtins.str]:
733
732
  """
734
733
  TLS server name used in requests.
735
734
  """
@@ -739,28 +738,28 @@ class BuildxBuilderRemote(dict):
739
738
  @pulumi.output_type
740
739
  class ContainerCapabilities(dict):
741
740
  def __init__(__self__, *,
742
- adds: Optional[Sequence[builtins.str]] = None,
743
- drops: Optional[Sequence[builtins.str]] = None):
741
+ adds: Optional[Sequence[_builtins.str]] = None,
742
+ drops: Optional[Sequence[_builtins.str]] = None):
744
743
  """
745
- :param Sequence[builtins.str] adds: List of linux capabilities to add.
746
- :param Sequence[builtins.str] drops: List of linux capabilities to drop.
744
+ :param Sequence[_builtins.str] adds: List of linux capabilities to add.
745
+ :param Sequence[_builtins.str] drops: List of linux capabilities to drop.
747
746
  """
748
747
  if adds is not None:
749
748
  pulumi.set(__self__, "adds", adds)
750
749
  if drops is not None:
751
750
  pulumi.set(__self__, "drops", drops)
752
751
 
753
- @property
752
+ @_builtins.property
754
753
  @pulumi.getter
755
- def adds(self) -> Optional[Sequence[builtins.str]]:
754
+ def adds(self) -> Optional[Sequence[_builtins.str]]:
756
755
  """
757
756
  List of linux capabilities to add.
758
757
  """
759
758
  return pulumi.get(self, "adds")
760
759
 
761
- @property
760
+ @_builtins.property
762
761
  @pulumi.getter
763
- def drops(self) -> Optional[Sequence[builtins.str]]:
762
+ def drops(self) -> Optional[Sequence[_builtins.str]]:
764
763
  """
765
764
  List of linux capabilities to drop.
766
765
  """
@@ -789,13 +788,13 @@ class ContainerDevice(dict):
789
788
  return super().get(key, default)
790
789
 
791
790
  def __init__(__self__, *,
792
- host_path: builtins.str,
793
- container_path: Optional[builtins.str] = None,
794
- permissions: Optional[builtins.str] = None):
791
+ host_path: _builtins.str,
792
+ container_path: Optional[_builtins.str] = None,
793
+ permissions: Optional[_builtins.str] = None):
795
794
  """
796
- :param builtins.str host_path: The path on the host where the device is located.
797
- :param builtins.str container_path: The path in the container where the device will be bound.
798
- :param builtins.str permissions: The cgroup permissions given to the container to access the device. Defaults to `rwm`.
795
+ :param _builtins.str host_path: The path on the host where the device is located.
796
+ :param _builtins.str container_path: The path in the container where the device will be bound.
797
+ :param _builtins.str permissions: The cgroup permissions given to the container to access the device. Defaults to `rwm`.
799
798
  """
800
799
  pulumi.set(__self__, "host_path", host_path)
801
800
  if container_path is not None:
@@ -803,25 +802,25 @@ class ContainerDevice(dict):
803
802
  if permissions is not None:
804
803
  pulumi.set(__self__, "permissions", permissions)
805
804
 
806
- @property
805
+ @_builtins.property
807
806
  @pulumi.getter(name="hostPath")
808
- def host_path(self) -> builtins.str:
807
+ def host_path(self) -> _builtins.str:
809
808
  """
810
809
  The path on the host where the device is located.
811
810
  """
812
811
  return pulumi.get(self, "host_path")
813
812
 
814
- @property
813
+ @_builtins.property
815
814
  @pulumi.getter(name="containerPath")
816
- def container_path(self) -> Optional[builtins.str]:
815
+ def container_path(self) -> Optional[_builtins.str]:
817
816
  """
818
817
  The path in the container where the device will be bound.
819
818
  """
820
819
  return pulumi.get(self, "container_path")
821
820
 
822
- @property
821
+ @_builtins.property
823
822
  @pulumi.getter
824
- def permissions(self) -> Optional[builtins.str]:
823
+ def permissions(self) -> Optional[_builtins.str]:
825
824
  """
826
825
  The cgroup permissions given to the container to access the device. Defaults to `rwm`.
827
826
  """
@@ -850,19 +849,19 @@ class ContainerHealthcheck(dict):
850
849
  return super().get(key, default)
851
850
 
852
851
  def __init__(__self__, *,
853
- tests: Sequence[builtins.str],
854
- interval: Optional[builtins.str] = None,
855
- retries: Optional[builtins.int] = None,
856
- start_interval: Optional[builtins.str] = None,
857
- start_period: Optional[builtins.str] = None,
858
- timeout: Optional[builtins.str] = None):
859
- """
860
- :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"]`.
861
- :param builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
862
- :param builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`.
863
- :param builtins.str start_interval: Interval before the healthcheck starts (ms|s|m|h). Defaults to `0s`.
864
- :param builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
865
- :param builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
852
+ tests: Sequence[_builtins.str],
853
+ interval: Optional[_builtins.str] = None,
854
+ retries: Optional[_builtins.int] = None,
855
+ start_interval: Optional[_builtins.str] = None,
856
+ start_period: Optional[_builtins.str] = None,
857
+ timeout: Optional[_builtins.str] = None):
858
+ """
859
+ :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"]`.
860
+ :param _builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
861
+ :param _builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`.
862
+ :param _builtins.str start_interval: Interval before the healthcheck starts (ms|s|m|h). Defaults to `0s`.
863
+ :param _builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
864
+ :param _builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
866
865
  """
867
866
  pulumi.set(__self__, "tests", tests)
868
867
  if interval is not None:
@@ -876,49 +875,49 @@ class ContainerHealthcheck(dict):
876
875
  if timeout is not None:
877
876
  pulumi.set(__self__, "timeout", timeout)
878
877
 
879
- @property
878
+ @_builtins.property
880
879
  @pulumi.getter
881
- def tests(self) -> Sequence[builtins.str]:
880
+ def tests(self) -> Sequence[_builtins.str]:
882
881
  """
883
882
  Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.
884
883
  """
885
884
  return pulumi.get(self, "tests")
886
885
 
887
- @property
886
+ @_builtins.property
888
887
  @pulumi.getter
889
- def interval(self) -> Optional[builtins.str]:
888
+ def interval(self) -> Optional[_builtins.str]:
890
889
  """
891
890
  Time between running the check (ms|s|m|h). Defaults to `0s`.
892
891
  """
893
892
  return pulumi.get(self, "interval")
894
893
 
895
- @property
894
+ @_builtins.property
896
895
  @pulumi.getter
897
- def retries(self) -> Optional[builtins.int]:
896
+ def retries(self) -> Optional[_builtins.int]:
898
897
  """
899
898
  Consecutive failures needed to report unhealthy. Defaults to `0`.
900
899
  """
901
900
  return pulumi.get(self, "retries")
902
901
 
903
- @property
902
+ @_builtins.property
904
903
  @pulumi.getter(name="startInterval")
905
- def start_interval(self) -> Optional[builtins.str]:
904
+ def start_interval(self) -> Optional[_builtins.str]:
906
905
  """
907
906
  Interval before the healthcheck starts (ms|s|m|h). Defaults to `0s`.
908
907
  """
909
908
  return pulumi.get(self, "start_interval")
910
909
 
911
- @property
910
+ @_builtins.property
912
911
  @pulumi.getter(name="startPeriod")
913
- def start_period(self) -> Optional[builtins.str]:
912
+ def start_period(self) -> Optional[_builtins.str]:
914
913
  """
915
914
  Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
916
915
  """
917
916
  return pulumi.get(self, "start_period")
918
917
 
919
- @property
918
+ @_builtins.property
920
919
  @pulumi.getter
921
- def timeout(self) -> Optional[builtins.str]:
920
+ def timeout(self) -> Optional[_builtins.str]:
922
921
  """
923
922
  Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
924
923
  """
@@ -928,26 +927,26 @@ class ContainerHealthcheck(dict):
928
927
  @pulumi.output_type
929
928
  class ContainerHost(dict):
930
929
  def __init__(__self__, *,
931
- host: builtins.str,
932
- ip: builtins.str):
930
+ host: _builtins.str,
931
+ ip: _builtins.str):
933
932
  """
934
- :param builtins.str host: Hostname to add
935
- :param builtins.str ip: IP address this hostname should resolve to.
933
+ :param _builtins.str host: Hostname to add
934
+ :param _builtins.str ip: IP address this hostname should resolve to.
936
935
  """
937
936
  pulumi.set(__self__, "host", host)
938
937
  pulumi.set(__self__, "ip", ip)
939
938
 
940
- @property
939
+ @_builtins.property
941
940
  @pulumi.getter
942
- def host(self) -> builtins.str:
941
+ def host(self) -> _builtins.str:
943
942
  """
944
943
  Hostname to add
945
944
  """
946
945
  return pulumi.get(self, "host")
947
946
 
948
- @property
947
+ @_builtins.property
949
948
  @pulumi.getter
950
- def ip(self) -> builtins.str:
949
+ def ip(self) -> _builtins.str:
951
950
  """
952
951
  IP address this hostname should resolve to.
953
952
  """
@@ -957,26 +956,26 @@ class ContainerHost(dict):
957
956
  @pulumi.output_type
958
957
  class ContainerLabel(dict):
959
958
  def __init__(__self__, *,
960
- label: builtins.str,
961
- value: builtins.str):
959
+ label: _builtins.str,
960
+ value: _builtins.str):
962
961
  """
963
- :param builtins.str label: Name of the label
964
- :param builtins.str value: Value of the label
962
+ :param _builtins.str label: Name of the label
963
+ :param _builtins.str value: Value of the label
965
964
  """
966
965
  pulumi.set(__self__, "label", label)
967
966
  pulumi.set(__self__, "value", value)
968
967
 
969
- @property
968
+ @_builtins.property
970
969
  @pulumi.getter
971
- def label(self) -> builtins.str:
970
+ def label(self) -> _builtins.str:
972
971
  """
973
972
  Name of the label
974
973
  """
975
974
  return pulumi.get(self, "label")
976
975
 
977
- @property
976
+ @_builtins.property
978
977
  @pulumi.getter
979
- def value(self) -> builtins.str:
978
+ def value(self) -> _builtins.str:
980
979
  """
981
980
  Value of the label
982
981
  """
@@ -1009,19 +1008,19 @@ class ContainerMount(dict):
1009
1008
  return super().get(key, default)
1010
1009
 
1011
1010
  def __init__(__self__, *,
1012
- target: builtins.str,
1013
- type: builtins.str,
1011
+ target: _builtins.str,
1012
+ type: _builtins.str,
1014
1013
  bind_options: Optional['outputs.ContainerMountBindOptions'] = None,
1015
- read_only: Optional[builtins.bool] = None,
1016
- source: Optional[builtins.str] = None,
1014
+ read_only: Optional[_builtins.bool] = None,
1015
+ source: Optional[_builtins.str] = None,
1017
1016
  tmpfs_options: Optional['outputs.ContainerMountTmpfsOptions'] = None,
1018
1017
  volume_options: Optional['outputs.ContainerMountVolumeOptions'] = None):
1019
1018
  """
1020
- :param builtins.str target: Container path
1021
- :param builtins.str type: The mount type
1019
+ :param _builtins.str target: Container path
1020
+ :param _builtins.str type: The mount type
1022
1021
  :param 'ContainerMountBindOptionsArgs' bind_options: Optional configuration for the bind type.
1023
- :param builtins.bool read_only: Whether the mount should be read-only.
1024
- :param builtins.str source: Mount source (e.g. a volume name, a host path).
1022
+ :param _builtins.bool read_only: Whether the mount should be read-only.
1023
+ :param _builtins.str source: Mount source (e.g. a volume name, a host path).
1025
1024
  :param 'ContainerMountTmpfsOptionsArgs' tmpfs_options: Optional configuration for the tmpfs type.
1026
1025
  :param 'ContainerMountVolumeOptionsArgs' volume_options: Optional configuration for the volume type.
1027
1026
  """
@@ -1038,23 +1037,23 @@ class ContainerMount(dict):
1038
1037
  if volume_options is not None:
1039
1038
  pulumi.set(__self__, "volume_options", volume_options)
1040
1039
 
1041
- @property
1040
+ @_builtins.property
1042
1041
  @pulumi.getter
1043
- def target(self) -> builtins.str:
1042
+ def target(self) -> _builtins.str:
1044
1043
  """
1045
1044
  Container path
1046
1045
  """
1047
1046
  return pulumi.get(self, "target")
1048
1047
 
1049
- @property
1048
+ @_builtins.property
1050
1049
  @pulumi.getter
1051
- def type(self) -> builtins.str:
1050
+ def type(self) -> _builtins.str:
1052
1051
  """
1053
1052
  The mount type
1054
1053
  """
1055
1054
  return pulumi.get(self, "type")
1056
1055
 
1057
- @property
1056
+ @_builtins.property
1058
1057
  @pulumi.getter(name="bindOptions")
1059
1058
  def bind_options(self) -> Optional['outputs.ContainerMountBindOptions']:
1060
1059
  """
@@ -1062,23 +1061,23 @@ class ContainerMount(dict):
1062
1061
  """
1063
1062
  return pulumi.get(self, "bind_options")
1064
1063
 
1065
- @property
1064
+ @_builtins.property
1066
1065
  @pulumi.getter(name="readOnly")
1067
- def read_only(self) -> Optional[builtins.bool]:
1066
+ def read_only(self) -> Optional[_builtins.bool]:
1068
1067
  """
1069
1068
  Whether the mount should be read-only.
1070
1069
  """
1071
1070
  return pulumi.get(self, "read_only")
1072
1071
 
1073
- @property
1072
+ @_builtins.property
1074
1073
  @pulumi.getter
1075
- def source(self) -> Optional[builtins.str]:
1074
+ def source(self) -> Optional[_builtins.str]:
1076
1075
  """
1077
1076
  Mount source (e.g. a volume name, a host path).
1078
1077
  """
1079
1078
  return pulumi.get(self, "source")
1080
1079
 
1081
- @property
1080
+ @_builtins.property
1082
1081
  @pulumi.getter(name="tmpfsOptions")
1083
1082
  def tmpfs_options(self) -> Optional['outputs.ContainerMountTmpfsOptions']:
1084
1083
  """
@@ -1086,7 +1085,7 @@ class ContainerMount(dict):
1086
1085
  """
1087
1086
  return pulumi.get(self, "tmpfs_options")
1088
1087
 
1089
- @property
1088
+ @_builtins.property
1090
1089
  @pulumi.getter(name="volumeOptions")
1091
1090
  def volume_options(self) -> Optional['outputs.ContainerMountVolumeOptions']:
1092
1091
  """
@@ -1098,16 +1097,16 @@ class ContainerMount(dict):
1098
1097
  @pulumi.output_type
1099
1098
  class ContainerMountBindOptions(dict):
1100
1099
  def __init__(__self__, *,
1101
- propagation: Optional[builtins.str] = None):
1100
+ propagation: Optional[_builtins.str] = None):
1102
1101
  """
1103
- :param builtins.str propagation: A propagation mode with the value.
1102
+ :param _builtins.str propagation: A propagation mode with the value.
1104
1103
  """
1105
1104
  if propagation is not None:
1106
1105
  pulumi.set(__self__, "propagation", propagation)
1107
1106
 
1108
- @property
1107
+ @_builtins.property
1109
1108
  @pulumi.getter
1110
- def propagation(self) -> Optional[builtins.str]:
1109
+ def propagation(self) -> Optional[_builtins.str]:
1111
1110
  """
1112
1111
  A propagation mode with the value.
1113
1112
  """
@@ -1134,28 +1133,28 @@ class ContainerMountTmpfsOptions(dict):
1134
1133
  return super().get(key, default)
1135
1134
 
1136
1135
  def __init__(__self__, *,
1137
- mode: Optional[builtins.int] = None,
1138
- size_bytes: Optional[builtins.int] = None):
1136
+ mode: Optional[_builtins.int] = None,
1137
+ size_bytes: Optional[_builtins.int] = None):
1139
1138
  """
1140
- :param builtins.int mode: The permission mode for the tmpfs mount in an integer.
1141
- :param builtins.int size_bytes: The size for the tmpfs mount in bytes.
1139
+ :param _builtins.int mode: The permission mode for the tmpfs mount in an integer.
1140
+ :param _builtins.int size_bytes: The size for the tmpfs mount in bytes.
1142
1141
  """
1143
1142
  if mode is not None:
1144
1143
  pulumi.set(__self__, "mode", mode)
1145
1144
  if size_bytes is not None:
1146
1145
  pulumi.set(__self__, "size_bytes", size_bytes)
1147
1146
 
1148
- @property
1147
+ @_builtins.property
1149
1148
  @pulumi.getter
1150
- def mode(self) -> Optional[builtins.int]:
1149
+ def mode(self) -> Optional[_builtins.int]:
1151
1150
  """
1152
1151
  The permission mode for the tmpfs mount in an integer.
1153
1152
  """
1154
1153
  return pulumi.get(self, "mode")
1155
1154
 
1156
- @property
1155
+ @_builtins.property
1157
1156
  @pulumi.getter(name="sizeBytes")
1158
- def size_bytes(self) -> Optional[builtins.int]:
1157
+ def size_bytes(self) -> Optional[_builtins.int]:
1159
1158
  """
1160
1159
  The size for the tmpfs mount in bytes.
1161
1160
  """
@@ -1186,17 +1185,17 @@ class ContainerMountVolumeOptions(dict):
1186
1185
  return super().get(key, default)
1187
1186
 
1188
1187
  def __init__(__self__, *,
1189
- driver_name: Optional[builtins.str] = None,
1190
- driver_options: Optional[Mapping[str, builtins.str]] = None,
1188
+ driver_name: Optional[_builtins.str] = None,
1189
+ driver_options: Optional[Mapping[str, _builtins.str]] = None,
1191
1190
  labels: Optional[Sequence['outputs.ContainerMountVolumeOptionsLabel']] = None,
1192
- no_copy: Optional[builtins.bool] = None,
1193
- subpath: Optional[builtins.str] = None):
1191
+ no_copy: Optional[_builtins.bool] = None,
1192
+ subpath: Optional[_builtins.str] = None):
1194
1193
  """
1195
- :param builtins.str driver_name: Name of the driver to use to create the volume.
1196
- :param Mapping[str, builtins.str] driver_options: key/value map of driver specific options.
1194
+ :param _builtins.str driver_name: Name of the driver to use to create the volume.
1195
+ :param Mapping[str, _builtins.str] driver_options: key/value map of driver specific options.
1197
1196
  :param Sequence['ContainerMountVolumeOptionsLabelArgs'] labels: User-defined key/value metadata.
1198
- :param builtins.bool no_copy: Populate volume with data from the target.
1199
- :param builtins.str subpath: Path within the volume to mount. Requires docker server version 1.45 or higher.
1197
+ :param _builtins.bool no_copy: Populate volume with data from the target.
1198
+ :param _builtins.str subpath: Path within the volume to mount. Requires docker server version 1.45 or higher.
1200
1199
  """
1201
1200
  if driver_name is not None:
1202
1201
  pulumi.set(__self__, "driver_name", driver_name)
@@ -1209,23 +1208,23 @@ class ContainerMountVolumeOptions(dict):
1209
1208
  if subpath is not None:
1210
1209
  pulumi.set(__self__, "subpath", subpath)
1211
1210
 
1212
- @property
1211
+ @_builtins.property
1213
1212
  @pulumi.getter(name="driverName")
1214
- def driver_name(self) -> Optional[builtins.str]:
1213
+ def driver_name(self) -> Optional[_builtins.str]:
1215
1214
  """
1216
1215
  Name of the driver to use to create the volume.
1217
1216
  """
1218
1217
  return pulumi.get(self, "driver_name")
1219
1218
 
1220
- @property
1219
+ @_builtins.property
1221
1220
  @pulumi.getter(name="driverOptions")
1222
- def driver_options(self) -> Optional[Mapping[str, builtins.str]]:
1221
+ def driver_options(self) -> Optional[Mapping[str, _builtins.str]]:
1223
1222
  """
1224
1223
  key/value map of driver specific options.
1225
1224
  """
1226
1225
  return pulumi.get(self, "driver_options")
1227
1226
 
1228
- @property
1227
+ @_builtins.property
1229
1228
  @pulumi.getter
1230
1229
  def labels(self) -> Optional[Sequence['outputs.ContainerMountVolumeOptionsLabel']]:
1231
1230
  """
@@ -1233,17 +1232,17 @@ class ContainerMountVolumeOptions(dict):
1233
1232
  """
1234
1233
  return pulumi.get(self, "labels")
1235
1234
 
1236
- @property
1235
+ @_builtins.property
1237
1236
  @pulumi.getter(name="noCopy")
1238
- def no_copy(self) -> Optional[builtins.bool]:
1237
+ def no_copy(self) -> Optional[_builtins.bool]:
1239
1238
  """
1240
1239
  Populate volume with data from the target.
1241
1240
  """
1242
1241
  return pulumi.get(self, "no_copy")
1243
1242
 
1244
- @property
1243
+ @_builtins.property
1245
1244
  @pulumi.getter
1246
- def subpath(self) -> Optional[builtins.str]:
1245
+ def subpath(self) -> Optional[_builtins.str]:
1247
1246
  """
1248
1247
  Path within the volume to mount. Requires docker server version 1.45 or higher.
1249
1248
  """
@@ -1253,26 +1252,26 @@ class ContainerMountVolumeOptions(dict):
1253
1252
  @pulumi.output_type
1254
1253
  class ContainerMountVolumeOptionsLabel(dict):
1255
1254
  def __init__(__self__, *,
1256
- label: builtins.str,
1257
- value: builtins.str):
1255
+ label: _builtins.str,
1256
+ value: _builtins.str):
1258
1257
  """
1259
- :param builtins.str label: Name of the label
1260
- :param builtins.str value: Value of the label
1258
+ :param _builtins.str label: Name of the label
1259
+ :param _builtins.str value: Value of the label
1261
1260
  """
1262
1261
  pulumi.set(__self__, "label", label)
1263
1262
  pulumi.set(__self__, "value", value)
1264
1263
 
1265
- @property
1264
+ @_builtins.property
1266
1265
  @pulumi.getter
1267
- def label(self) -> builtins.str:
1266
+ def label(self) -> _builtins.str:
1268
1267
  """
1269
1268
  Name of the label
1270
1269
  """
1271
1270
  return pulumi.get(self, "label")
1272
1271
 
1273
- @property
1272
+ @_builtins.property
1274
1273
  @pulumi.getter
1275
- def value(self) -> builtins.str:
1274
+ def value(self) -> _builtins.str:
1276
1275
  """
1277
1276
  Value of the label
1278
1277
  """
@@ -1311,23 +1310,23 @@ class ContainerNetworkData(dict):
1311
1310
  return super().get(key, default)
1312
1311
 
1313
1312
  def __init__(__self__, *,
1314
- gateway: Optional[builtins.str] = None,
1315
- global_ipv6_address: Optional[builtins.str] = None,
1316
- global_ipv6_prefix_length: Optional[builtins.int] = None,
1317
- ip_address: Optional[builtins.str] = None,
1318
- ip_prefix_length: Optional[builtins.int] = None,
1319
- ipv6_gateway: Optional[builtins.str] = None,
1320
- mac_address: Optional[builtins.str] = None,
1321
- network_name: Optional[builtins.str] = None):
1322
- """
1323
- :param builtins.str gateway: The network gateway of the container.
1324
- :param builtins.str global_ipv6_address: The IPV6 address of the container.
1325
- :param builtins.int global_ipv6_prefix_length: The IPV6 prefix length address of the container.
1326
- :param builtins.str ip_address: The IP address of the container.
1327
- :param builtins.int ip_prefix_length: The IP prefix length of the container.
1328
- :param builtins.str ipv6_gateway: The IPV6 gateway of the container.
1329
- :param builtins.str mac_address: The MAC address of the container.
1330
- :param builtins.str network_name: The name of the network
1313
+ gateway: Optional[_builtins.str] = None,
1314
+ global_ipv6_address: Optional[_builtins.str] = None,
1315
+ global_ipv6_prefix_length: Optional[_builtins.int] = None,
1316
+ ip_address: Optional[_builtins.str] = None,
1317
+ ip_prefix_length: Optional[_builtins.int] = None,
1318
+ ipv6_gateway: Optional[_builtins.str] = None,
1319
+ mac_address: Optional[_builtins.str] = None,
1320
+ network_name: Optional[_builtins.str] = None):
1321
+ """
1322
+ :param _builtins.str gateway: The network gateway of the container.
1323
+ :param _builtins.str global_ipv6_address: The IPV6 address of the container.
1324
+ :param _builtins.int global_ipv6_prefix_length: The IPV6 prefix length address of the container.
1325
+ :param _builtins.str ip_address: The IP address of the container.
1326
+ :param _builtins.int ip_prefix_length: The IP prefix length of the container.
1327
+ :param _builtins.str ipv6_gateway: The IPV6 gateway of the container.
1328
+ :param _builtins.str mac_address: The MAC address of the container.
1329
+ :param _builtins.str network_name: The name of the network
1331
1330
  """
1332
1331
  if gateway is not None:
1333
1332
  pulumi.set(__self__, "gateway", gateway)
@@ -1346,65 +1345,65 @@ class ContainerNetworkData(dict):
1346
1345
  if network_name is not None:
1347
1346
  pulumi.set(__self__, "network_name", network_name)
1348
1347
 
1349
- @property
1348
+ @_builtins.property
1350
1349
  @pulumi.getter
1351
- def gateway(self) -> Optional[builtins.str]:
1350
+ def gateway(self) -> Optional[_builtins.str]:
1352
1351
  """
1353
1352
  The network gateway of the container.
1354
1353
  """
1355
1354
  return pulumi.get(self, "gateway")
1356
1355
 
1357
- @property
1356
+ @_builtins.property
1358
1357
  @pulumi.getter(name="globalIpv6Address")
1359
- def global_ipv6_address(self) -> Optional[builtins.str]:
1358
+ def global_ipv6_address(self) -> Optional[_builtins.str]:
1360
1359
  """
1361
1360
  The IPV6 address of the container.
1362
1361
  """
1363
1362
  return pulumi.get(self, "global_ipv6_address")
1364
1363
 
1365
- @property
1364
+ @_builtins.property
1366
1365
  @pulumi.getter(name="globalIpv6PrefixLength")
1367
- def global_ipv6_prefix_length(self) -> Optional[builtins.int]:
1366
+ def global_ipv6_prefix_length(self) -> Optional[_builtins.int]:
1368
1367
  """
1369
1368
  The IPV6 prefix length address of the container.
1370
1369
  """
1371
1370
  return pulumi.get(self, "global_ipv6_prefix_length")
1372
1371
 
1373
- @property
1372
+ @_builtins.property
1374
1373
  @pulumi.getter(name="ipAddress")
1375
- def ip_address(self) -> Optional[builtins.str]:
1374
+ def ip_address(self) -> Optional[_builtins.str]:
1376
1375
  """
1377
1376
  The IP address of the container.
1378
1377
  """
1379
1378
  return pulumi.get(self, "ip_address")
1380
1379
 
1381
- @property
1380
+ @_builtins.property
1382
1381
  @pulumi.getter(name="ipPrefixLength")
1383
- def ip_prefix_length(self) -> Optional[builtins.int]:
1382
+ def ip_prefix_length(self) -> Optional[_builtins.int]:
1384
1383
  """
1385
1384
  The IP prefix length of the container.
1386
1385
  """
1387
1386
  return pulumi.get(self, "ip_prefix_length")
1388
1387
 
1389
- @property
1388
+ @_builtins.property
1390
1389
  @pulumi.getter(name="ipv6Gateway")
1391
- def ipv6_gateway(self) -> Optional[builtins.str]:
1390
+ def ipv6_gateway(self) -> Optional[_builtins.str]:
1392
1391
  """
1393
1392
  The IPV6 gateway of the container.
1394
1393
  """
1395
1394
  return pulumi.get(self, "ipv6_gateway")
1396
1395
 
1397
- @property
1396
+ @_builtins.property
1398
1397
  @pulumi.getter(name="macAddress")
1399
- def mac_address(self) -> Optional[builtins.str]:
1398
+ def mac_address(self) -> Optional[_builtins.str]:
1400
1399
  """
1401
1400
  The MAC address of the container.
1402
1401
  """
1403
1402
  return pulumi.get(self, "mac_address")
1404
1403
 
1405
- @property
1404
+ @_builtins.property
1406
1405
  @pulumi.getter(name="networkName")
1407
- def network_name(self) -> Optional[builtins.str]:
1406
+ def network_name(self) -> Optional[_builtins.str]:
1408
1407
  """
1409
1408
  The name of the network
1410
1409
  """
@@ -1433,15 +1432,15 @@ class ContainerNetworksAdvanced(dict):
1433
1432
  return super().get(key, default)
1434
1433
 
1435
1434
  def __init__(__self__, *,
1436
- name: builtins.str,
1437
- aliases: Optional[Sequence[builtins.str]] = None,
1438
- ipv4_address: Optional[builtins.str] = None,
1439
- ipv6_address: Optional[builtins.str] = None):
1435
+ name: _builtins.str,
1436
+ aliases: Optional[Sequence[_builtins.str]] = None,
1437
+ ipv4_address: Optional[_builtins.str] = None,
1438
+ ipv6_address: Optional[_builtins.str] = None):
1440
1439
  """
1441
- :param builtins.str name: The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
1442
- :param Sequence[builtins.str] aliases: The network aliases of the container in the specific network.
1443
- :param builtins.str ipv4_address: The IPV4 address of the container in the specific network.
1444
- :param builtins.str ipv6_address: The IPV6 address of the container in the specific network.
1440
+ :param _builtins.str name: The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
1441
+ :param Sequence[_builtins.str] aliases: The network aliases of the container in the specific network.
1442
+ :param _builtins.str ipv4_address: The IPV4 address of the container in the specific network.
1443
+ :param _builtins.str ipv6_address: The IPV6 address of the container in the specific network.
1445
1444
  """
1446
1445
  pulumi.set(__self__, "name", name)
1447
1446
  if aliases is not None:
@@ -1451,33 +1450,33 @@ class ContainerNetworksAdvanced(dict):
1451
1450
  if ipv6_address is not None:
1452
1451
  pulumi.set(__self__, "ipv6_address", ipv6_address)
1453
1452
 
1454
- @property
1453
+ @_builtins.property
1455
1454
  @pulumi.getter
1456
- def name(self) -> builtins.str:
1455
+ def name(self) -> _builtins.str:
1457
1456
  """
1458
1457
  The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
1459
1458
  """
1460
1459
  return pulumi.get(self, "name")
1461
1460
 
1462
- @property
1461
+ @_builtins.property
1463
1462
  @pulumi.getter
1464
- def aliases(self) -> Optional[Sequence[builtins.str]]:
1463
+ def aliases(self) -> Optional[Sequence[_builtins.str]]:
1465
1464
  """
1466
1465
  The network aliases of the container in the specific network.
1467
1466
  """
1468
1467
  return pulumi.get(self, "aliases")
1469
1468
 
1470
- @property
1469
+ @_builtins.property
1471
1470
  @pulumi.getter(name="ipv4Address")
1472
- def ipv4_address(self) -> Optional[builtins.str]:
1471
+ def ipv4_address(self) -> Optional[_builtins.str]:
1473
1472
  """
1474
1473
  The IPV4 address of the container in the specific network.
1475
1474
  """
1476
1475
  return pulumi.get(self, "ipv4_address")
1477
1476
 
1478
- @property
1477
+ @_builtins.property
1479
1478
  @pulumi.getter(name="ipv6Address")
1480
- def ipv6_address(self) -> Optional[builtins.str]:
1479
+ def ipv6_address(self) -> Optional[_builtins.str]:
1481
1480
  """
1482
1481
  The IPV6 address of the container in the specific network.
1483
1482
  """
@@ -1487,15 +1486,15 @@ class ContainerNetworksAdvanced(dict):
1487
1486
  @pulumi.output_type
1488
1487
  class ContainerPort(dict):
1489
1488
  def __init__(__self__, *,
1490
- internal: builtins.int,
1491
- external: Optional[builtins.int] = None,
1492
- ip: Optional[builtins.str] = None,
1493
- protocol: Optional[builtins.str] = None):
1489
+ internal: _builtins.int,
1490
+ external: Optional[_builtins.int] = None,
1491
+ ip: Optional[_builtins.str] = None,
1492
+ protocol: Optional[_builtins.str] = None):
1494
1493
  """
1495
- :param builtins.int internal: Port within the container.
1496
- :param builtins.int external: Port exposed out of the container. If not given a free random port `>= 32768` will be used.
1497
- :param builtins.str ip: IP address/mask that can access this port. Defaults to `0.0.0.0`.
1498
- :param builtins.str protocol: Protocol that can be used over this port. Defaults to `tcp`.
1494
+ :param _builtins.int internal: Port within the container.
1495
+ :param _builtins.int external: Port exposed out of the container. If not given a free random port `>= 32768` will be used.
1496
+ :param _builtins.str ip: IP address/mask that can access this port. Defaults to `0.0.0.0`.
1497
+ :param _builtins.str protocol: Protocol that can be used over this port. Defaults to `tcp`.
1499
1498
  """
1500
1499
  pulumi.set(__self__, "internal", internal)
1501
1500
  if external is not None:
@@ -1505,33 +1504,33 @@ class ContainerPort(dict):
1505
1504
  if protocol is not None:
1506
1505
  pulumi.set(__self__, "protocol", protocol)
1507
1506
 
1508
- @property
1507
+ @_builtins.property
1509
1508
  @pulumi.getter
1510
- def internal(self) -> builtins.int:
1509
+ def internal(self) -> _builtins.int:
1511
1510
  """
1512
1511
  Port within the container.
1513
1512
  """
1514
1513
  return pulumi.get(self, "internal")
1515
1514
 
1516
- @property
1515
+ @_builtins.property
1517
1516
  @pulumi.getter
1518
- def external(self) -> Optional[builtins.int]:
1517
+ def external(self) -> Optional[_builtins.int]:
1519
1518
  """
1520
1519
  Port exposed out of the container. If not given a free random port `>= 32768` will be used.
1521
1520
  """
1522
1521
  return pulumi.get(self, "external")
1523
1522
 
1524
- @property
1523
+ @_builtins.property
1525
1524
  @pulumi.getter
1526
- def ip(self) -> Optional[builtins.str]:
1525
+ def ip(self) -> Optional[_builtins.str]:
1527
1526
  """
1528
1527
  IP address/mask that can access this port. Defaults to `0.0.0.0`.
1529
1528
  """
1530
1529
  return pulumi.get(self, "ip")
1531
1530
 
1532
- @property
1531
+ @_builtins.property
1533
1532
  @pulumi.getter
1534
- def protocol(self) -> Optional[builtins.str]:
1533
+ def protocol(self) -> Optional[_builtins.str]:
1535
1534
  """
1536
1535
  Protocol that can be used over this port. Defaults to `tcp`.
1537
1536
  """
@@ -1541,37 +1540,37 @@ class ContainerPort(dict):
1541
1540
  @pulumi.output_type
1542
1541
  class ContainerUlimit(dict):
1543
1542
  def __init__(__self__, *,
1544
- hard: builtins.int,
1545
- name: builtins.str,
1546
- soft: builtins.int):
1543
+ hard: _builtins.int,
1544
+ name: _builtins.str,
1545
+ soft: _builtins.int):
1547
1546
  """
1548
- :param builtins.int hard: The hard limit
1549
- :param builtins.str name: The name of the ulimit
1550
- :param builtins.int soft: The soft limit
1547
+ :param _builtins.int hard: The hard limit
1548
+ :param _builtins.str name: The name of the ulimit
1549
+ :param _builtins.int soft: The soft limit
1551
1550
  """
1552
1551
  pulumi.set(__self__, "hard", hard)
1553
1552
  pulumi.set(__self__, "name", name)
1554
1553
  pulumi.set(__self__, "soft", soft)
1555
1554
 
1556
- @property
1555
+ @_builtins.property
1557
1556
  @pulumi.getter
1558
- def hard(self) -> builtins.int:
1557
+ def hard(self) -> _builtins.int:
1559
1558
  """
1560
1559
  The hard limit
1561
1560
  """
1562
1561
  return pulumi.get(self, "hard")
1563
1562
 
1564
- @property
1563
+ @_builtins.property
1565
1564
  @pulumi.getter
1566
- def name(self) -> builtins.str:
1565
+ def name(self) -> _builtins.str:
1567
1566
  """
1568
1567
  The name of the ulimit
1569
1568
  """
1570
1569
  return pulumi.get(self, "name")
1571
1570
 
1572
- @property
1571
+ @_builtins.property
1573
1572
  @pulumi.getter
1574
- def soft(self) -> builtins.int:
1573
+ def soft(self) -> _builtins.int:
1575
1574
  """
1576
1575
  The soft limit
1577
1576
  """
@@ -1600,21 +1599,21 @@ class ContainerUpload(dict):
1600
1599
  return super().get(key, default)
1601
1600
 
1602
1601
  def __init__(__self__, *,
1603
- file: builtins.str,
1604
- content: Optional[builtins.str] = None,
1605
- content_base64: Optional[builtins.str] = None,
1606
- executable: Optional[builtins.bool] = None,
1607
- permissions: Optional[builtins.str] = None,
1608
- source: Optional[builtins.str] = None,
1609
- source_hash: Optional[builtins.str] = None):
1610
- """
1611
- :param builtins.str file: Path to the file in the container where is upload goes to
1612
- :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`
1613
- :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`
1614
- :param builtins.bool executable: If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
1615
- :param builtins.str permissions: The permission mode for the file in the container. Has precedence over `executable`.
1616
- :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`
1617
- :param builtins.str source_hash: If using `source`, this will force an update if the file content has updated but the filename has not.
1602
+ file: _builtins.str,
1603
+ content: Optional[_builtins.str] = None,
1604
+ content_base64: Optional[_builtins.str] = None,
1605
+ executable: Optional[_builtins.bool] = None,
1606
+ permissions: Optional[_builtins.str] = None,
1607
+ source: Optional[_builtins.str] = None,
1608
+ source_hash: Optional[_builtins.str] = None):
1609
+ """
1610
+ :param _builtins.str file: Path to the file in the container where is upload goes to
1611
+ :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`
1612
+ :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`
1613
+ :param _builtins.bool executable: If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
1614
+ :param _builtins.str permissions: The permission mode for the file in the container. Has precedence over `executable`.
1615
+ :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`
1616
+ :param _builtins.str source_hash: If using `source`, this will force an update if the file content has updated but the filename has not.
1618
1617
  """
1619
1618
  pulumi.set(__self__, "file", file)
1620
1619
  if content is not None:
@@ -1630,57 +1629,57 @@ class ContainerUpload(dict):
1630
1629
  if source_hash is not None:
1631
1630
  pulumi.set(__self__, "source_hash", source_hash)
1632
1631
 
1633
- @property
1632
+ @_builtins.property
1634
1633
  @pulumi.getter
1635
- def file(self) -> builtins.str:
1634
+ def file(self) -> _builtins.str:
1636
1635
  """
1637
1636
  Path to the file in the container where is upload goes to
1638
1637
  """
1639
1638
  return pulumi.get(self, "file")
1640
1639
 
1641
- @property
1640
+ @_builtins.property
1642
1641
  @pulumi.getter
1643
- def content(self) -> Optional[builtins.str]:
1642
+ def content(self) -> Optional[_builtins.str]:
1644
1643
  """
1645
1644
  Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` & `source`
1646
1645
  """
1647
1646
  return pulumi.get(self, "content")
1648
1647
 
1649
- @property
1648
+ @_builtins.property
1650
1649
  @pulumi.getter(name="contentBase64")
1651
- def content_base64(self) -> Optional[builtins.str]:
1650
+ def content_base64(self) -> Optional[_builtins.str]:
1652
1651
  """
1653
1652
  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`
1654
1653
  """
1655
1654
  return pulumi.get(self, "content_base64")
1656
1655
 
1657
- @property
1656
+ @_builtins.property
1658
1657
  @pulumi.getter
1659
- def executable(self) -> Optional[builtins.bool]:
1658
+ def executable(self) -> Optional[_builtins.bool]:
1660
1659
  """
1661
1660
  If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
1662
1661
  """
1663
1662
  return pulumi.get(self, "executable")
1664
1663
 
1665
- @property
1664
+ @_builtins.property
1666
1665
  @pulumi.getter
1667
- def permissions(self) -> Optional[builtins.str]:
1666
+ def permissions(self) -> Optional[_builtins.str]:
1668
1667
  """
1669
1668
  The permission mode for the file in the container. Has precedence over `executable`.
1670
1669
  """
1671
1670
  return pulumi.get(self, "permissions")
1672
1671
 
1673
- @property
1672
+ @_builtins.property
1674
1673
  @pulumi.getter
1675
- def source(self) -> Optional[builtins.str]:
1674
+ def source(self) -> Optional[_builtins.str]:
1676
1675
  """
1677
1676
  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`
1678
1677
  """
1679
1678
  return pulumi.get(self, "source")
1680
1679
 
1681
- @property
1680
+ @_builtins.property
1682
1681
  @pulumi.getter(name="sourceHash")
1683
- def source_hash(self) -> Optional[builtins.str]:
1682
+ def source_hash(self) -> Optional[_builtins.str]:
1684
1683
  """
1685
1684
  If using `source`, this will force an update if the file content has updated but the filename has not.
1686
1685
  """
@@ -1715,17 +1714,17 @@ class ContainerVolume(dict):
1715
1714
  return super().get(key, default)
1716
1715
 
1717
1716
  def __init__(__self__, *,
1718
- container_path: Optional[builtins.str] = None,
1719
- from_container: Optional[builtins.str] = None,
1720
- host_path: Optional[builtins.str] = None,
1721
- read_only: Optional[builtins.bool] = None,
1722
- volume_name: Optional[builtins.str] = None):
1723
- """
1724
- :param builtins.str container_path: The path in the container where the volume will be mounted.
1725
- :param builtins.str from_container: The container where the volume is coming from.
1726
- :param builtins.str host_path: The path on the host where the volume is coming from.
1727
- :param builtins.bool read_only: If `true`, this volume will be readonly. Defaults to `false`.
1728
- :param builtins.str volume_name: The name of the docker volume which should be mounted.
1717
+ container_path: Optional[_builtins.str] = None,
1718
+ from_container: Optional[_builtins.str] = None,
1719
+ host_path: Optional[_builtins.str] = None,
1720
+ read_only: Optional[_builtins.bool] = None,
1721
+ volume_name: Optional[_builtins.str] = None):
1722
+ """
1723
+ :param _builtins.str container_path: The path in the container where the volume will be mounted.
1724
+ :param _builtins.str from_container: The container where the volume is coming from.
1725
+ :param _builtins.str host_path: The path on the host where the volume is coming from.
1726
+ :param _builtins.bool read_only: If `true`, this volume will be readonly. Defaults to `false`.
1727
+ :param _builtins.str volume_name: The name of the docker volume which should be mounted.
1729
1728
  """
1730
1729
  if container_path is not None:
1731
1730
  pulumi.set(__self__, "container_path", container_path)
@@ -1738,41 +1737,41 @@ class ContainerVolume(dict):
1738
1737
  if volume_name is not None:
1739
1738
  pulumi.set(__self__, "volume_name", volume_name)
1740
1739
 
1741
- @property
1740
+ @_builtins.property
1742
1741
  @pulumi.getter(name="containerPath")
1743
- def container_path(self) -> Optional[builtins.str]:
1742
+ def container_path(self) -> Optional[_builtins.str]:
1744
1743
  """
1745
1744
  The path in the container where the volume will be mounted.
1746
1745
  """
1747
1746
  return pulumi.get(self, "container_path")
1748
1747
 
1749
- @property
1748
+ @_builtins.property
1750
1749
  @pulumi.getter(name="fromContainer")
1751
- def from_container(self) -> Optional[builtins.str]:
1750
+ def from_container(self) -> Optional[_builtins.str]:
1752
1751
  """
1753
1752
  The container where the volume is coming from.
1754
1753
  """
1755
1754
  return pulumi.get(self, "from_container")
1756
1755
 
1757
- @property
1756
+ @_builtins.property
1758
1757
  @pulumi.getter(name="hostPath")
1759
- def host_path(self) -> Optional[builtins.str]:
1758
+ def host_path(self) -> Optional[_builtins.str]:
1760
1759
  """
1761
1760
  The path on the host where the volume is coming from.
1762
1761
  """
1763
1762
  return pulumi.get(self, "host_path")
1764
1763
 
1765
- @property
1764
+ @_builtins.property
1766
1765
  @pulumi.getter(name="readOnly")
1767
- def read_only(self) -> Optional[builtins.bool]:
1766
+ def read_only(self) -> Optional[_builtins.bool]:
1768
1767
  """
1769
1768
  If `true`, this volume will be readonly. Defaults to `false`.
1770
1769
  """
1771
1770
  return pulumi.get(self, "read_only")
1772
1771
 
1773
- @property
1772
+ @_builtins.property
1774
1773
  @pulumi.getter(name="volumeName")
1775
- def volume_name(self) -> Optional[builtins.str]:
1774
+ def volume_name(self) -> Optional[_builtins.str]:
1776
1775
  """
1777
1776
  The name of the docker volume which should be mounted.
1778
1777
  """
@@ -1801,15 +1800,15 @@ class NetworkIpamConfig(dict):
1801
1800
  return super().get(key, default)
1802
1801
 
1803
1802
  def __init__(__self__, *,
1804
- aux_address: Optional[Mapping[str, builtins.str]] = None,
1805
- gateway: Optional[builtins.str] = None,
1806
- ip_range: Optional[builtins.str] = None,
1807
- subnet: Optional[builtins.str] = None):
1803
+ aux_address: Optional[Mapping[str, _builtins.str]] = None,
1804
+ gateway: Optional[_builtins.str] = None,
1805
+ ip_range: Optional[_builtins.str] = None,
1806
+ subnet: Optional[_builtins.str] = None):
1808
1807
  """
1809
- :param Mapping[str, builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
1810
- :param builtins.str gateway: The IP address of the gateway
1811
- :param builtins.str ip_range: The ip range in CIDR form
1812
- :param builtins.str subnet: The subnet in CIDR form
1808
+ :param Mapping[str, _builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
1809
+ :param _builtins.str gateway: The IP address of the gateway
1810
+ :param _builtins.str ip_range: The ip range in CIDR form
1811
+ :param _builtins.str subnet: The subnet in CIDR form
1813
1812
  """
1814
1813
  if aux_address is not None:
1815
1814
  pulumi.set(__self__, "aux_address", aux_address)
@@ -1820,33 +1819,33 @@ class NetworkIpamConfig(dict):
1820
1819
  if subnet is not None:
1821
1820
  pulumi.set(__self__, "subnet", subnet)
1822
1821
 
1823
- @property
1822
+ @_builtins.property
1824
1823
  @pulumi.getter(name="auxAddress")
1825
- def aux_address(self) -> Optional[Mapping[str, builtins.str]]:
1824
+ def aux_address(self) -> Optional[Mapping[str, _builtins.str]]:
1826
1825
  """
1827
1826
  Auxiliary IPv4 or IPv6 addresses used by Network driver
1828
1827
  """
1829
1828
  return pulumi.get(self, "aux_address")
1830
1829
 
1831
- @property
1830
+ @_builtins.property
1832
1831
  @pulumi.getter
1833
- def gateway(self) -> Optional[builtins.str]:
1832
+ def gateway(self) -> Optional[_builtins.str]:
1834
1833
  """
1835
1834
  The IP address of the gateway
1836
1835
  """
1837
1836
  return pulumi.get(self, "gateway")
1838
1837
 
1839
- @property
1838
+ @_builtins.property
1840
1839
  @pulumi.getter(name="ipRange")
1841
- def ip_range(self) -> Optional[builtins.str]:
1840
+ def ip_range(self) -> Optional[_builtins.str]:
1842
1841
  """
1843
1842
  The ip range in CIDR form
1844
1843
  """
1845
1844
  return pulumi.get(self, "ip_range")
1846
1845
 
1847
- @property
1846
+ @_builtins.property
1848
1847
  @pulumi.getter
1849
- def subnet(self) -> Optional[builtins.str]:
1848
+ def subnet(self) -> Optional[_builtins.str]:
1850
1849
  """
1851
1850
  The subnet in CIDR form
1852
1851
  """
@@ -1856,26 +1855,26 @@ class NetworkIpamConfig(dict):
1856
1855
  @pulumi.output_type
1857
1856
  class NetworkLabel(dict):
1858
1857
  def __init__(__self__, *,
1859
- label: builtins.str,
1860
- value: builtins.str):
1858
+ label: _builtins.str,
1859
+ value: _builtins.str):
1861
1860
  """
1862
- :param builtins.str label: Name of the label
1863
- :param builtins.str value: Value of the label
1861
+ :param _builtins.str label: Name of the label
1862
+ :param _builtins.str value: Value of the label
1864
1863
  """
1865
1864
  pulumi.set(__self__, "label", label)
1866
1865
  pulumi.set(__self__, "value", value)
1867
1866
 
1868
- @property
1867
+ @_builtins.property
1869
1868
  @pulumi.getter
1870
- def label(self) -> builtins.str:
1869
+ def label(self) -> _builtins.str:
1871
1870
  """
1872
1871
  Name of the label
1873
1872
  """
1874
1873
  return pulumi.get(self, "label")
1875
1874
 
1876
- @property
1875
+ @_builtins.property
1877
1876
  @pulumi.getter
1878
- def value(self) -> builtins.str:
1877
+ def value(self) -> _builtins.str:
1879
1878
  """
1880
1879
  Value of the label
1881
1880
  """
@@ -1885,26 +1884,26 @@ class NetworkLabel(dict):
1885
1884
  @pulumi.output_type
1886
1885
  class PluginGrantPermission(dict):
1887
1886
  def __init__(__self__, *,
1888
- name: builtins.str,
1889
- values: Sequence[builtins.str]):
1887
+ name: _builtins.str,
1888
+ values: Sequence[_builtins.str]):
1890
1889
  """
1891
- :param builtins.str name: The name of the permission
1892
- :param Sequence[builtins.str] values: The value of the permission
1890
+ :param _builtins.str name: The name of the permission
1891
+ :param Sequence[_builtins.str] values: The value of the permission
1893
1892
  """
1894
1893
  pulumi.set(__self__, "name", name)
1895
1894
  pulumi.set(__self__, "values", values)
1896
1895
 
1897
- @property
1896
+ @_builtins.property
1898
1897
  @pulumi.getter
1899
- def name(self) -> builtins.str:
1898
+ def name(self) -> _builtins.str:
1900
1899
  """
1901
1900
  The name of the permission
1902
1901
  """
1903
1902
  return pulumi.get(self, "name")
1904
1903
 
1905
- @property
1904
+ @_builtins.property
1906
1905
  @pulumi.getter
1907
- def values(self) -> Sequence[builtins.str]:
1906
+ def values(self) -> Sequence[_builtins.str]:
1908
1907
  """
1909
1908
  The value of the permission
1910
1909
  """
@@ -1914,37 +1913,37 @@ class PluginGrantPermission(dict):
1914
1913
  @pulumi.output_type
1915
1914
  class RegistryImageAuthConfig(dict):
1916
1915
  def __init__(__self__, *,
1917
- address: builtins.str,
1918
- password: builtins.str,
1919
- username: builtins.str):
1916
+ address: _builtins.str,
1917
+ password: _builtins.str,
1918
+ username: _builtins.str):
1920
1919
  """
1921
- :param builtins.str address: The address of the Docker registry.
1922
- :param builtins.str password: The password for the Docker registry.
1923
- :param builtins.str username: The username for the Docker registry.
1920
+ :param _builtins.str address: The address of the Docker registry.
1921
+ :param _builtins.str password: The password for the Docker registry.
1922
+ :param _builtins.str username: The username for the Docker registry.
1924
1923
  """
1925
1924
  pulumi.set(__self__, "address", address)
1926
1925
  pulumi.set(__self__, "password", password)
1927
1926
  pulumi.set(__self__, "username", username)
1928
1927
 
1929
- @property
1928
+ @_builtins.property
1930
1929
  @pulumi.getter
1931
- def address(self) -> builtins.str:
1930
+ def address(self) -> _builtins.str:
1932
1931
  """
1933
1932
  The address of the Docker registry.
1934
1933
  """
1935
1934
  return pulumi.get(self, "address")
1936
1935
 
1937
- @property
1936
+ @_builtins.property
1938
1937
  @pulumi.getter
1939
- def password(self) -> builtins.str:
1938
+ def password(self) -> _builtins.str:
1940
1939
  """
1941
1940
  The password for the Docker registry.
1942
1941
  """
1943
1942
  return pulumi.get(self, "password")
1944
1943
 
1945
- @property
1944
+ @_builtins.property
1946
1945
  @pulumi.getter
1947
- def username(self) -> builtins.str:
1946
+ def username(self) -> _builtins.str:
1948
1947
  """
1949
1948
  The username for the Docker registry.
1950
1949
  """
@@ -2013,81 +2012,81 @@ class RemoteImageBuild(dict):
2013
2012
  return super().get(key, default)
2014
2013
 
2015
2014
  def __init__(__self__, *,
2016
- context: builtins.str,
2015
+ context: _builtins.str,
2017
2016
  auth_configs: Optional[Sequence['outputs.RemoteImageBuildAuthConfig']] = None,
2018
- build_args: Optional[Mapping[str, builtins.str]] = None,
2019
- build_id: Optional[builtins.str] = None,
2020
- build_log_file: Optional[builtins.str] = None,
2021
- builder: Optional[builtins.str] = None,
2022
- cache_froms: Optional[Sequence[builtins.str]] = None,
2023
- cgroup_parent: Optional[builtins.str] = None,
2024
- cpu_period: Optional[builtins.int] = None,
2025
- cpu_quota: Optional[builtins.int] = None,
2026
- cpu_set_cpus: Optional[builtins.str] = None,
2027
- cpu_set_mems: Optional[builtins.str] = None,
2028
- cpu_shares: Optional[builtins.int] = None,
2029
- dockerfile: Optional[builtins.str] = None,
2030
- extra_hosts: Optional[Sequence[builtins.str]] = None,
2031
- force_remove: Optional[builtins.bool] = None,
2032
- isolation: Optional[builtins.str] = None,
2033
- label: Optional[Mapping[str, builtins.str]] = None,
2034
- labels: Optional[Mapping[str, builtins.str]] = None,
2035
- memory: Optional[builtins.int] = None,
2036
- memory_swap: Optional[builtins.int] = None,
2037
- network_mode: Optional[builtins.str] = None,
2038
- no_cache: Optional[builtins.bool] = None,
2039
- platform: Optional[builtins.str] = None,
2040
- pull_parent: Optional[builtins.bool] = None,
2041
- remote_context: Optional[builtins.str] = None,
2042
- remove: Optional[builtins.bool] = None,
2017
+ build_args: Optional[Mapping[str, _builtins.str]] = None,
2018
+ build_id: Optional[_builtins.str] = None,
2019
+ build_log_file: Optional[_builtins.str] = None,
2020
+ builder: Optional[_builtins.str] = None,
2021
+ cache_froms: Optional[Sequence[_builtins.str]] = None,
2022
+ cgroup_parent: Optional[_builtins.str] = None,
2023
+ cpu_period: Optional[_builtins.int] = None,
2024
+ cpu_quota: Optional[_builtins.int] = None,
2025
+ cpu_set_cpus: Optional[_builtins.str] = None,
2026
+ cpu_set_mems: Optional[_builtins.str] = None,
2027
+ cpu_shares: Optional[_builtins.int] = None,
2028
+ dockerfile: Optional[_builtins.str] = None,
2029
+ extra_hosts: Optional[Sequence[_builtins.str]] = None,
2030
+ force_remove: Optional[_builtins.bool] = None,
2031
+ isolation: Optional[_builtins.str] = None,
2032
+ label: Optional[Mapping[str, _builtins.str]] = None,
2033
+ labels: Optional[Mapping[str, _builtins.str]] = None,
2034
+ memory: Optional[_builtins.int] = None,
2035
+ memory_swap: Optional[_builtins.int] = None,
2036
+ network_mode: Optional[_builtins.str] = None,
2037
+ no_cache: Optional[_builtins.bool] = None,
2038
+ platform: Optional[_builtins.str] = None,
2039
+ pull_parent: Optional[_builtins.bool] = None,
2040
+ remote_context: Optional[_builtins.str] = None,
2041
+ remove: Optional[_builtins.bool] = None,
2043
2042
  secrets: Optional[Sequence['outputs.RemoteImageBuildSecret']] = None,
2044
- security_opts: Optional[Sequence[builtins.str]] = None,
2045
- session_id: Optional[builtins.str] = None,
2046
- shm_size: Optional[builtins.int] = None,
2047
- squash: Optional[builtins.bool] = None,
2048
- suppress_output: Optional[builtins.bool] = None,
2049
- tags: Optional[Sequence[builtins.str]] = None,
2050
- target: Optional[builtins.str] = None,
2043
+ security_opts: Optional[Sequence[_builtins.str]] = None,
2044
+ session_id: Optional[_builtins.str] = None,
2045
+ shm_size: Optional[_builtins.int] = None,
2046
+ squash: Optional[_builtins.bool] = None,
2047
+ suppress_output: Optional[_builtins.bool] = None,
2048
+ tags: Optional[Sequence[_builtins.str]] = None,
2049
+ target: Optional[_builtins.str] = None,
2051
2050
  ulimits: Optional[Sequence['outputs.RemoteImageBuildUlimit']] = None,
2052
- version: Optional[builtins.str] = None):
2051
+ version: Optional[_builtins.str] = None):
2053
2052
  """
2054
- :param builtins.str context: Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. This always refers to the local working directory, even when building images on remote hosts. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
2053
+ :param _builtins.str context: Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. This always refers to the local working directory, even when building images on remote hosts. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
2055
2054
  :param Sequence['RemoteImageBuildAuthConfigArgs'] auth_configs: The configuration for the authentication
2056
- :param Mapping[str, builtins.str] build_args: Pairs for build-time variables in the form of `ENDPOINT : "https://example.com"`
2057
- :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.
2058
- :param builtins.str build_log_file: Path to a file where the buildx log are written to. Only available when `builder` is set. If not set, no logs are available. The path is taken as is, so make sure to use a path that is available.
2059
- :param builtins.str builder: Set the name of the buildx builder to use. If not set, the legacy builder is used.
2060
- :param Sequence[builtins.str] cache_froms: Images to consider as cache sources
2061
- :param builtins.str cgroup_parent: Optional parent cgroup for the container
2062
- :param builtins.int cpu_period: The length of a CPU period in microseconds
2063
- :param builtins.int cpu_quota: Microseconds of CPU time that the container can get in a CPU period
2064
- :param builtins.str cpu_set_cpus: CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
2065
- :param builtins.str cpu_set_mems: MEMs in which to allow execution (`0-3`, `0`, `1`)
2066
- :param builtins.int cpu_shares: CPU shares (relative weight)
2067
- :param builtins.str dockerfile: Name of the Dockerfile. Defaults to `Dockerfile`.
2068
- :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"]
2069
- :param builtins.bool force_remove: Always remove intermediate containers
2070
- :param builtins.str isolation: Isolation represents the isolation technology of a container. The supported values are
2071
- :param Mapping[str, builtins.str] label: Set metadata for an image
2072
- :param Mapping[str, builtins.str] labels: User-defined key/value metadata
2073
- :param builtins.int memory: Set memory limit for build
2074
- :param builtins.int memory_swap: Total memory (memory + swap), -1 to enable unlimited swap
2075
- :param builtins.str network_mode: Set the networking mode for the RUN instructions during build
2076
- :param builtins.bool no_cache: Do not use the cache when building the image
2077
- :param builtins.str platform: Set the target platform for the build. Defaults to `GOOS/GOARCH`. For more information see the [docker documentation](https://github.com/docker/buildx/blob/master/docs/reference/buildx.md#-set-the-target-platforms-for-the-build---platform)
2078
- :param builtins.bool pull_parent: Attempt to pull the image even if an older image exists locally
2079
- :param builtins.str remote_context: A Git repository URI or HTTP/HTTPS context URI. Will be ignored if `builder` is set.
2080
- :param builtins.bool remove: Remove intermediate containers after a successful build. Defaults to `true`.
2055
+ :param Mapping[str, _builtins.str] build_args: Pairs for build-time variables in the form of `ENDPOINT : "https://example.com"`
2056
+ :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.
2057
+ :param _builtins.str build_log_file: Path to a file where the buildx log are written to. Only available when `builder` is set. If not set, no logs are available. The path is taken as is, so make sure to use a path that is available.
2058
+ :param _builtins.str builder: Set the name of the buildx builder to use. If not set, the legacy builder is used.
2059
+ :param Sequence[_builtins.str] cache_froms: Images to consider as cache sources
2060
+ :param _builtins.str cgroup_parent: Optional parent cgroup for the container
2061
+ :param _builtins.int cpu_period: The length of a CPU period in microseconds
2062
+ :param _builtins.int cpu_quota: Microseconds of CPU time that the container can get in a CPU period
2063
+ :param _builtins.str cpu_set_cpus: CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
2064
+ :param _builtins.str cpu_set_mems: MEMs in which to allow execution (`0-3`, `0`, `1`)
2065
+ :param _builtins.int cpu_shares: CPU shares (relative weight)
2066
+ :param _builtins.str dockerfile: Name of the Dockerfile. Defaults to `Dockerfile`.
2067
+ :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"]
2068
+ :param _builtins.bool force_remove: Always remove intermediate containers
2069
+ :param _builtins.str isolation: Isolation represents the isolation technology of a container. The supported values are
2070
+ :param Mapping[str, _builtins.str] label: Set metadata for an image
2071
+ :param Mapping[str, _builtins.str] labels: User-defined key/value metadata
2072
+ :param _builtins.int memory: Set memory limit for build
2073
+ :param _builtins.int memory_swap: Total memory (memory + swap), -1 to enable unlimited swap
2074
+ :param _builtins.str network_mode: Set the networking mode for the RUN instructions during build
2075
+ :param _builtins.bool no_cache: Do not use the cache when building the image
2076
+ :param _builtins.str platform: Set the target platform for the build. Defaults to `GOOS/GOARCH`. For more information see the [docker documentation](https://github.com/docker/buildx/blob/master/docs/reference/buildx.md#-set-the-target-platforms-for-the-build---platform)
2077
+ :param _builtins.bool pull_parent: Attempt to pull the image even if an older image exists locally
2078
+ :param _builtins.str remote_context: A Git repository URI or HTTP/HTTPS context URI. Will be ignored if `builder` is set.
2079
+ :param _builtins.bool remove: Remove intermediate containers after a successful build. Defaults to `true`.
2081
2080
  :param Sequence['RemoteImageBuildSecretArgs'] secrets: Set build-time secrets. Only available when you use a buildx builder.
2082
- :param Sequence[builtins.str] security_opts: The security options
2083
- :param builtins.str session_id: Set an ID for the build session
2084
- :param builtins.int shm_size: Size of /dev/shm in bytes. The size must be greater than 0
2085
- :param builtins.bool squash: If true the new layers are squashed into a new image with a single new layer
2086
- :param builtins.bool suppress_output: Suppress the build output and print image ID on success
2087
- :param Sequence[builtins.str] tags: Name and optionally a tag in the 'name:tag' format
2088
- :param builtins.str target: Set the target build stage to build
2081
+ :param Sequence[_builtins.str] security_opts: The security options
2082
+ :param _builtins.str session_id: Set an ID for the build session
2083
+ :param _builtins.int shm_size: Size of /dev/shm in bytes. The size must be greater than 0
2084
+ :param _builtins.bool squash: If true the new layers are squashed into a new image with a single new layer
2085
+ :param _builtins.bool suppress_output: Suppress the build output and print image ID on success
2086
+ :param Sequence[_builtins.str] tags: Name and optionally a tag in the 'name:tag' format
2087
+ :param _builtins.str target: Set the target build stage to build
2089
2088
  :param Sequence['RemoteImageBuildUlimitArgs'] ulimits: Configuration for ulimits
2090
- :param builtins.str version: Version of the underlying builder to use
2089
+ :param _builtins.str version: Version of the underlying builder to use
2091
2090
  """
2092
2091
  pulumi.set(__self__, "context", context)
2093
2092
  if auth_configs is not None:
@@ -2163,15 +2162,15 @@ class RemoteImageBuild(dict):
2163
2162
  if version is not None:
2164
2163
  pulumi.set(__self__, "version", version)
2165
2164
 
2166
- @property
2165
+ @_builtins.property
2167
2166
  @pulumi.getter
2168
- def context(self) -> builtins.str:
2167
+ def context(self) -> _builtins.str:
2169
2168
  """
2170
2169
  Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. This always refers to the local working directory, even when building images on remote hosts. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
2171
2170
  """
2172
2171
  return pulumi.get(self, "context")
2173
2172
 
2174
- @property
2173
+ @_builtins.property
2175
2174
  @pulumi.getter(name="authConfigs")
2176
2175
  def auth_configs(self) -> Optional[Sequence['outputs.RemoteImageBuildAuthConfig']]:
2177
2176
  """
@@ -2179,207 +2178,207 @@ class RemoteImageBuild(dict):
2179
2178
  """
2180
2179
  return pulumi.get(self, "auth_configs")
2181
2180
 
2182
- @property
2181
+ @_builtins.property
2183
2182
  @pulumi.getter(name="buildArgs")
2184
- def build_args(self) -> Optional[Mapping[str, builtins.str]]:
2183
+ def build_args(self) -> Optional[Mapping[str, _builtins.str]]:
2185
2184
  """
2186
2185
  Pairs for build-time variables in the form of `ENDPOINT : "https://example.com"`
2187
2186
  """
2188
2187
  return pulumi.get(self, "build_args")
2189
2188
 
2190
- @property
2189
+ @_builtins.property
2191
2190
  @pulumi.getter(name="buildId")
2192
- def build_id(self) -> Optional[builtins.str]:
2191
+ def build_id(self) -> Optional[_builtins.str]:
2193
2192
  """
2194
2193
  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.
2195
2194
  """
2196
2195
  return pulumi.get(self, "build_id")
2197
2196
 
2198
- @property
2197
+ @_builtins.property
2199
2198
  @pulumi.getter(name="buildLogFile")
2200
- def build_log_file(self) -> Optional[builtins.str]:
2199
+ def build_log_file(self) -> Optional[_builtins.str]:
2201
2200
  """
2202
2201
  Path to a file where the buildx log are written to. Only available when `builder` is set. If not set, no logs are available. The path is taken as is, so make sure to use a path that is available.
2203
2202
  """
2204
2203
  return pulumi.get(self, "build_log_file")
2205
2204
 
2206
- @property
2205
+ @_builtins.property
2207
2206
  @pulumi.getter
2208
- def builder(self) -> Optional[builtins.str]:
2207
+ def builder(self) -> Optional[_builtins.str]:
2209
2208
  """
2210
2209
  Set the name of the buildx builder to use. If not set, the legacy builder is used.
2211
2210
  """
2212
2211
  return pulumi.get(self, "builder")
2213
2212
 
2214
- @property
2213
+ @_builtins.property
2215
2214
  @pulumi.getter(name="cacheFroms")
2216
- def cache_froms(self) -> Optional[Sequence[builtins.str]]:
2215
+ def cache_froms(self) -> Optional[Sequence[_builtins.str]]:
2217
2216
  """
2218
2217
  Images to consider as cache sources
2219
2218
  """
2220
2219
  return pulumi.get(self, "cache_froms")
2221
2220
 
2222
- @property
2221
+ @_builtins.property
2223
2222
  @pulumi.getter(name="cgroupParent")
2224
- def cgroup_parent(self) -> Optional[builtins.str]:
2223
+ def cgroup_parent(self) -> Optional[_builtins.str]:
2225
2224
  """
2226
2225
  Optional parent cgroup for the container
2227
2226
  """
2228
2227
  return pulumi.get(self, "cgroup_parent")
2229
2228
 
2230
- @property
2229
+ @_builtins.property
2231
2230
  @pulumi.getter(name="cpuPeriod")
2232
- def cpu_period(self) -> Optional[builtins.int]:
2231
+ def cpu_period(self) -> Optional[_builtins.int]:
2233
2232
  """
2234
2233
  The length of a CPU period in microseconds
2235
2234
  """
2236
2235
  return pulumi.get(self, "cpu_period")
2237
2236
 
2238
- @property
2237
+ @_builtins.property
2239
2238
  @pulumi.getter(name="cpuQuota")
2240
- def cpu_quota(self) -> Optional[builtins.int]:
2239
+ def cpu_quota(self) -> Optional[_builtins.int]:
2241
2240
  """
2242
2241
  Microseconds of CPU time that the container can get in a CPU period
2243
2242
  """
2244
2243
  return pulumi.get(self, "cpu_quota")
2245
2244
 
2246
- @property
2245
+ @_builtins.property
2247
2246
  @pulumi.getter(name="cpuSetCpus")
2248
- def cpu_set_cpus(self) -> Optional[builtins.str]:
2247
+ def cpu_set_cpus(self) -> Optional[_builtins.str]:
2249
2248
  """
2250
2249
  CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
2251
2250
  """
2252
2251
  return pulumi.get(self, "cpu_set_cpus")
2253
2252
 
2254
- @property
2253
+ @_builtins.property
2255
2254
  @pulumi.getter(name="cpuSetMems")
2256
- def cpu_set_mems(self) -> Optional[builtins.str]:
2255
+ def cpu_set_mems(self) -> Optional[_builtins.str]:
2257
2256
  """
2258
2257
  MEMs in which to allow execution (`0-3`, `0`, `1`)
2259
2258
  """
2260
2259
  return pulumi.get(self, "cpu_set_mems")
2261
2260
 
2262
- @property
2261
+ @_builtins.property
2263
2262
  @pulumi.getter(name="cpuShares")
2264
- def cpu_shares(self) -> Optional[builtins.int]:
2263
+ def cpu_shares(self) -> Optional[_builtins.int]:
2265
2264
  """
2266
2265
  CPU shares (relative weight)
2267
2266
  """
2268
2267
  return pulumi.get(self, "cpu_shares")
2269
2268
 
2270
- @property
2269
+ @_builtins.property
2271
2270
  @pulumi.getter
2272
- def dockerfile(self) -> Optional[builtins.str]:
2271
+ def dockerfile(self) -> Optional[_builtins.str]:
2273
2272
  """
2274
2273
  Name of the Dockerfile. Defaults to `Dockerfile`.
2275
2274
  """
2276
2275
  return pulumi.get(self, "dockerfile")
2277
2276
 
2278
- @property
2277
+ @_builtins.property
2279
2278
  @pulumi.getter(name="extraHosts")
2280
- def extra_hosts(self) -> Optional[Sequence[builtins.str]]:
2279
+ def extra_hosts(self) -> Optional[Sequence[_builtins.str]]:
2281
2280
  """
2282
2281
  A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
2283
2282
  """
2284
2283
  return pulumi.get(self, "extra_hosts")
2285
2284
 
2286
- @property
2285
+ @_builtins.property
2287
2286
  @pulumi.getter(name="forceRemove")
2288
- def force_remove(self) -> Optional[builtins.bool]:
2287
+ def force_remove(self) -> Optional[_builtins.bool]:
2289
2288
  """
2290
2289
  Always remove intermediate containers
2291
2290
  """
2292
2291
  return pulumi.get(self, "force_remove")
2293
2292
 
2294
- @property
2293
+ @_builtins.property
2295
2294
  @pulumi.getter
2296
- def isolation(self) -> Optional[builtins.str]:
2295
+ def isolation(self) -> Optional[_builtins.str]:
2297
2296
  """
2298
2297
  Isolation represents the isolation technology of a container. The supported values are
2299
2298
  """
2300
2299
  return pulumi.get(self, "isolation")
2301
2300
 
2302
- @property
2301
+ @_builtins.property
2303
2302
  @pulumi.getter
2304
- def label(self) -> Optional[Mapping[str, builtins.str]]:
2303
+ def label(self) -> Optional[Mapping[str, _builtins.str]]:
2305
2304
  """
2306
2305
  Set metadata for an image
2307
2306
  """
2308
2307
  return pulumi.get(self, "label")
2309
2308
 
2310
- @property
2309
+ @_builtins.property
2311
2310
  @pulumi.getter
2312
- def labels(self) -> Optional[Mapping[str, builtins.str]]:
2311
+ def labels(self) -> Optional[Mapping[str, _builtins.str]]:
2313
2312
  """
2314
2313
  User-defined key/value metadata
2315
2314
  """
2316
2315
  return pulumi.get(self, "labels")
2317
2316
 
2318
- @property
2317
+ @_builtins.property
2319
2318
  @pulumi.getter
2320
- def memory(self) -> Optional[builtins.int]:
2319
+ def memory(self) -> Optional[_builtins.int]:
2321
2320
  """
2322
2321
  Set memory limit for build
2323
2322
  """
2324
2323
  return pulumi.get(self, "memory")
2325
2324
 
2326
- @property
2325
+ @_builtins.property
2327
2326
  @pulumi.getter(name="memorySwap")
2328
- def memory_swap(self) -> Optional[builtins.int]:
2327
+ def memory_swap(self) -> Optional[_builtins.int]:
2329
2328
  """
2330
2329
  Total memory (memory + swap), -1 to enable unlimited swap
2331
2330
  """
2332
2331
  return pulumi.get(self, "memory_swap")
2333
2332
 
2334
- @property
2333
+ @_builtins.property
2335
2334
  @pulumi.getter(name="networkMode")
2336
- def network_mode(self) -> Optional[builtins.str]:
2335
+ def network_mode(self) -> Optional[_builtins.str]:
2337
2336
  """
2338
2337
  Set the networking mode for the RUN instructions during build
2339
2338
  """
2340
2339
  return pulumi.get(self, "network_mode")
2341
2340
 
2342
- @property
2341
+ @_builtins.property
2343
2342
  @pulumi.getter(name="noCache")
2344
- def no_cache(self) -> Optional[builtins.bool]:
2343
+ def no_cache(self) -> Optional[_builtins.bool]:
2345
2344
  """
2346
2345
  Do not use the cache when building the image
2347
2346
  """
2348
2347
  return pulumi.get(self, "no_cache")
2349
2348
 
2350
- @property
2349
+ @_builtins.property
2351
2350
  @pulumi.getter
2352
- def platform(self) -> Optional[builtins.str]:
2351
+ def platform(self) -> Optional[_builtins.str]:
2353
2352
  """
2354
2353
  Set the target platform for the build. Defaults to `GOOS/GOARCH`. For more information see the [docker documentation](https://github.com/docker/buildx/blob/master/docs/reference/buildx.md#-set-the-target-platforms-for-the-build---platform)
2355
2354
  """
2356
2355
  return pulumi.get(self, "platform")
2357
2356
 
2358
- @property
2357
+ @_builtins.property
2359
2358
  @pulumi.getter(name="pullParent")
2360
- def pull_parent(self) -> Optional[builtins.bool]:
2359
+ def pull_parent(self) -> Optional[_builtins.bool]:
2361
2360
  """
2362
2361
  Attempt to pull the image even if an older image exists locally
2363
2362
  """
2364
2363
  return pulumi.get(self, "pull_parent")
2365
2364
 
2366
- @property
2365
+ @_builtins.property
2367
2366
  @pulumi.getter(name="remoteContext")
2368
- def remote_context(self) -> Optional[builtins.str]:
2367
+ def remote_context(self) -> Optional[_builtins.str]:
2369
2368
  """
2370
2369
  A Git repository URI or HTTP/HTTPS context URI. Will be ignored if `builder` is set.
2371
2370
  """
2372
2371
  return pulumi.get(self, "remote_context")
2373
2372
 
2374
- @property
2373
+ @_builtins.property
2375
2374
  @pulumi.getter
2376
- def remove(self) -> Optional[builtins.bool]:
2375
+ def remove(self) -> Optional[_builtins.bool]:
2377
2376
  """
2378
2377
  Remove intermediate containers after a successful build. Defaults to `true`.
2379
2378
  """
2380
2379
  return pulumi.get(self, "remove")
2381
2380
 
2382
- @property
2381
+ @_builtins.property
2383
2382
  @pulumi.getter
2384
2383
  def secrets(self) -> Optional[Sequence['outputs.RemoteImageBuildSecret']]:
2385
2384
  """
@@ -2387,63 +2386,63 @@ class RemoteImageBuild(dict):
2387
2386
  """
2388
2387
  return pulumi.get(self, "secrets")
2389
2388
 
2390
- @property
2389
+ @_builtins.property
2391
2390
  @pulumi.getter(name="securityOpts")
2392
- def security_opts(self) -> Optional[Sequence[builtins.str]]:
2391
+ def security_opts(self) -> Optional[Sequence[_builtins.str]]:
2393
2392
  """
2394
2393
  The security options
2395
2394
  """
2396
2395
  return pulumi.get(self, "security_opts")
2397
2396
 
2398
- @property
2397
+ @_builtins.property
2399
2398
  @pulumi.getter(name="sessionId")
2400
- def session_id(self) -> Optional[builtins.str]:
2399
+ def session_id(self) -> Optional[_builtins.str]:
2401
2400
  """
2402
2401
  Set an ID for the build session
2403
2402
  """
2404
2403
  return pulumi.get(self, "session_id")
2405
2404
 
2406
- @property
2405
+ @_builtins.property
2407
2406
  @pulumi.getter(name="shmSize")
2408
- def shm_size(self) -> Optional[builtins.int]:
2407
+ def shm_size(self) -> Optional[_builtins.int]:
2409
2408
  """
2410
2409
  Size of /dev/shm in bytes. The size must be greater than 0
2411
2410
  """
2412
2411
  return pulumi.get(self, "shm_size")
2413
2412
 
2414
- @property
2413
+ @_builtins.property
2415
2414
  @pulumi.getter
2416
- def squash(self) -> Optional[builtins.bool]:
2415
+ def squash(self) -> Optional[_builtins.bool]:
2417
2416
  """
2418
2417
  If true the new layers are squashed into a new image with a single new layer
2419
2418
  """
2420
2419
  return pulumi.get(self, "squash")
2421
2420
 
2422
- @property
2421
+ @_builtins.property
2423
2422
  @pulumi.getter(name="suppressOutput")
2424
- def suppress_output(self) -> Optional[builtins.bool]:
2423
+ def suppress_output(self) -> Optional[_builtins.bool]:
2425
2424
  """
2426
2425
  Suppress the build output and print image ID on success
2427
2426
  """
2428
2427
  return pulumi.get(self, "suppress_output")
2429
2428
 
2430
- @property
2429
+ @_builtins.property
2431
2430
  @pulumi.getter
2432
- def tags(self) -> Optional[Sequence[builtins.str]]:
2431
+ def tags(self) -> Optional[Sequence[_builtins.str]]:
2433
2432
  """
2434
2433
  Name and optionally a tag in the 'name:tag' format
2435
2434
  """
2436
2435
  return pulumi.get(self, "tags")
2437
2436
 
2438
- @property
2437
+ @_builtins.property
2439
2438
  @pulumi.getter
2440
- def target(self) -> Optional[builtins.str]:
2439
+ def target(self) -> Optional[_builtins.str]:
2441
2440
  """
2442
2441
  Set the target build stage to build
2443
2442
  """
2444
2443
  return pulumi.get(self, "target")
2445
2444
 
2446
- @property
2445
+ @_builtins.property
2447
2446
  @pulumi.getter
2448
2447
  def ulimits(self) -> Optional[Sequence['outputs.RemoteImageBuildUlimit']]:
2449
2448
  """
@@ -2451,9 +2450,9 @@ class RemoteImageBuild(dict):
2451
2450
  """
2452
2451
  return pulumi.get(self, "ulimits")
2453
2452
 
2454
- @property
2453
+ @_builtins.property
2455
2454
  @pulumi.getter
2456
- def version(self) -> Optional[builtins.str]:
2455
+ def version(self) -> Optional[_builtins.str]:
2457
2456
  """
2458
2457
  Version of the underlying builder to use
2459
2458
  """
@@ -2488,23 +2487,23 @@ class RemoteImageBuildAuthConfig(dict):
2488
2487
  return super().get(key, default)
2489
2488
 
2490
2489
  def __init__(__self__, *,
2491
- host_name: builtins.str,
2492
- auth: Optional[builtins.str] = None,
2493
- email: Optional[builtins.str] = None,
2494
- identity_token: Optional[builtins.str] = None,
2495
- password: Optional[builtins.str] = None,
2496
- registry_token: Optional[builtins.str] = None,
2497
- server_address: Optional[builtins.str] = None,
2498
- user_name: Optional[builtins.str] = None):
2499
- """
2500
- :param builtins.str host_name: hostname of the registry
2501
- :param builtins.str auth: the auth token
2502
- :param builtins.str email: the user emal
2503
- :param builtins.str identity_token: the identity token
2504
- :param builtins.str password: the registry password
2505
- :param builtins.str registry_token: the registry token
2506
- :param builtins.str server_address: the server address
2507
- :param builtins.str user_name: the registry user name
2490
+ host_name: _builtins.str,
2491
+ auth: Optional[_builtins.str] = None,
2492
+ email: Optional[_builtins.str] = None,
2493
+ identity_token: Optional[_builtins.str] = None,
2494
+ password: Optional[_builtins.str] = None,
2495
+ registry_token: Optional[_builtins.str] = None,
2496
+ server_address: Optional[_builtins.str] = None,
2497
+ user_name: Optional[_builtins.str] = None):
2498
+ """
2499
+ :param _builtins.str host_name: hostname of the registry
2500
+ :param _builtins.str auth: the auth token
2501
+ :param _builtins.str email: the user emal
2502
+ :param _builtins.str identity_token: the identity token
2503
+ :param _builtins.str password: the registry password
2504
+ :param _builtins.str registry_token: the registry token
2505
+ :param _builtins.str server_address: the server address
2506
+ :param _builtins.str user_name: the registry user name
2508
2507
  """
2509
2508
  pulumi.set(__self__, "host_name", host_name)
2510
2509
  if auth is not None:
@@ -2522,65 +2521,65 @@ class RemoteImageBuildAuthConfig(dict):
2522
2521
  if user_name is not None:
2523
2522
  pulumi.set(__self__, "user_name", user_name)
2524
2523
 
2525
- @property
2524
+ @_builtins.property
2526
2525
  @pulumi.getter(name="hostName")
2527
- def host_name(self) -> builtins.str:
2526
+ def host_name(self) -> _builtins.str:
2528
2527
  """
2529
2528
  hostname of the registry
2530
2529
  """
2531
2530
  return pulumi.get(self, "host_name")
2532
2531
 
2533
- @property
2532
+ @_builtins.property
2534
2533
  @pulumi.getter
2535
- def auth(self) -> Optional[builtins.str]:
2534
+ def auth(self) -> Optional[_builtins.str]:
2536
2535
  """
2537
2536
  the auth token
2538
2537
  """
2539
2538
  return pulumi.get(self, "auth")
2540
2539
 
2541
- @property
2540
+ @_builtins.property
2542
2541
  @pulumi.getter
2543
- def email(self) -> Optional[builtins.str]:
2542
+ def email(self) -> Optional[_builtins.str]:
2544
2543
  """
2545
2544
  the user emal
2546
2545
  """
2547
2546
  return pulumi.get(self, "email")
2548
2547
 
2549
- @property
2548
+ @_builtins.property
2550
2549
  @pulumi.getter(name="identityToken")
2551
- def identity_token(self) -> Optional[builtins.str]:
2550
+ def identity_token(self) -> Optional[_builtins.str]:
2552
2551
  """
2553
2552
  the identity token
2554
2553
  """
2555
2554
  return pulumi.get(self, "identity_token")
2556
2555
 
2557
- @property
2556
+ @_builtins.property
2558
2557
  @pulumi.getter
2559
- def password(self) -> Optional[builtins.str]:
2558
+ def password(self) -> Optional[_builtins.str]:
2560
2559
  """
2561
2560
  the registry password
2562
2561
  """
2563
2562
  return pulumi.get(self, "password")
2564
2563
 
2565
- @property
2564
+ @_builtins.property
2566
2565
  @pulumi.getter(name="registryToken")
2567
- def registry_token(self) -> Optional[builtins.str]:
2566
+ def registry_token(self) -> Optional[_builtins.str]:
2568
2567
  """
2569
2568
  the registry token
2570
2569
  """
2571
2570
  return pulumi.get(self, "registry_token")
2572
2571
 
2573
- @property
2572
+ @_builtins.property
2574
2573
  @pulumi.getter(name="serverAddress")
2575
- def server_address(self) -> Optional[builtins.str]:
2574
+ def server_address(self) -> Optional[_builtins.str]:
2576
2575
  """
2577
2576
  the server address
2578
2577
  """
2579
2578
  return pulumi.get(self, "server_address")
2580
2579
 
2581
- @property
2580
+ @_builtins.property
2582
2581
  @pulumi.getter(name="userName")
2583
- def user_name(self) -> Optional[builtins.str]:
2582
+ def user_name(self) -> Optional[_builtins.str]:
2584
2583
  """
2585
2584
  the registry user name
2586
2585
  """
@@ -2590,13 +2589,13 @@ class RemoteImageBuildAuthConfig(dict):
2590
2589
  @pulumi.output_type
2591
2590
  class RemoteImageBuildSecret(dict):
2592
2591
  def __init__(__self__, *,
2593
- id: builtins.str,
2594
- env: Optional[builtins.str] = None,
2595
- src: Optional[builtins.str] = None):
2592
+ id: _builtins.str,
2593
+ env: Optional[_builtins.str] = None,
2594
+ src: Optional[_builtins.str] = None):
2596
2595
  """
2597
- :param builtins.str id: ID of the secret. By default, secrets are mounted to /run/secrets/\\n\\n
2598
- :param builtins.str env: Environment variable source of the secret
2599
- :param builtins.str src: File source of the secret. Takes precedence over `env`
2596
+ :param _builtins.str id: ID of the secret. By default, secrets are mounted to /run/secrets/\\n\\n
2597
+ :param _builtins.str env: Environment variable source of the secret
2598
+ :param _builtins.str src: File source of the secret. Takes precedence over `env`
2600
2599
  """
2601
2600
  pulumi.set(__self__, "id", id)
2602
2601
  if env is not None:
@@ -2604,25 +2603,25 @@ class RemoteImageBuildSecret(dict):
2604
2603
  if src is not None:
2605
2604
  pulumi.set(__self__, "src", src)
2606
2605
 
2607
- @property
2606
+ @_builtins.property
2608
2607
  @pulumi.getter
2609
- def id(self) -> builtins.str:
2608
+ def id(self) -> _builtins.str:
2610
2609
  """
2611
2610
  ID of the secret. By default, secrets are mounted to /run/secrets/\\n\\n
2612
2611
  """
2613
2612
  return pulumi.get(self, "id")
2614
2613
 
2615
- @property
2614
+ @_builtins.property
2616
2615
  @pulumi.getter
2617
- def env(self) -> Optional[builtins.str]:
2616
+ def env(self) -> Optional[_builtins.str]:
2618
2617
  """
2619
2618
  Environment variable source of the secret
2620
2619
  """
2621
2620
  return pulumi.get(self, "env")
2622
2621
 
2623
- @property
2622
+ @_builtins.property
2624
2623
  @pulumi.getter
2625
- def src(self) -> Optional[builtins.str]:
2624
+ def src(self) -> Optional[_builtins.str]:
2626
2625
  """
2627
2626
  File source of the secret. Takes precedence over `env`
2628
2627
  """
@@ -2632,37 +2631,37 @@ class RemoteImageBuildSecret(dict):
2632
2631
  @pulumi.output_type
2633
2632
  class RemoteImageBuildUlimit(dict):
2634
2633
  def __init__(__self__, *,
2635
- hard: builtins.int,
2636
- name: builtins.str,
2637
- soft: builtins.int):
2634
+ hard: _builtins.int,
2635
+ name: _builtins.str,
2636
+ soft: _builtins.int):
2638
2637
  """
2639
- :param builtins.int hard: soft limit
2640
- :param builtins.str name: type of ulimit, e.g. `nofile`
2641
- :param builtins.int soft: hard limit
2638
+ :param _builtins.int hard: soft limit
2639
+ :param _builtins.str name: type of ulimit, e.g. `nofile`
2640
+ :param _builtins.int soft: hard limit
2642
2641
  """
2643
2642
  pulumi.set(__self__, "hard", hard)
2644
2643
  pulumi.set(__self__, "name", name)
2645
2644
  pulumi.set(__self__, "soft", soft)
2646
2645
 
2647
- @property
2646
+ @_builtins.property
2648
2647
  @pulumi.getter
2649
- def hard(self) -> builtins.int:
2648
+ def hard(self) -> _builtins.int:
2650
2649
  """
2651
2650
  soft limit
2652
2651
  """
2653
2652
  return pulumi.get(self, "hard")
2654
2653
 
2655
- @property
2654
+ @_builtins.property
2656
2655
  @pulumi.getter
2657
- def name(self) -> builtins.str:
2656
+ def name(self) -> _builtins.str:
2658
2657
  """
2659
2658
  type of ulimit, e.g. `nofile`
2660
2659
  """
2661
2660
  return pulumi.get(self, "name")
2662
2661
 
2663
- @property
2662
+ @_builtins.property
2664
2663
  @pulumi.getter
2665
- def soft(self) -> builtins.int:
2664
+ def soft(self) -> _builtins.int:
2666
2665
  """
2667
2666
  hard limit
2668
2667
  """
@@ -2672,26 +2671,26 @@ class RemoteImageBuildUlimit(dict):
2672
2671
  @pulumi.output_type
2673
2672
  class SecretLabel(dict):
2674
2673
  def __init__(__self__, *,
2675
- label: builtins.str,
2676
- value: builtins.str):
2674
+ label: _builtins.str,
2675
+ value: _builtins.str):
2677
2676
  """
2678
- :param builtins.str label: Name of the label
2679
- :param builtins.str value: Value of the label
2677
+ :param _builtins.str label: Name of the label
2678
+ :param _builtins.str value: Value of the label
2680
2679
  """
2681
2680
  pulumi.set(__self__, "label", label)
2682
2681
  pulumi.set(__self__, "value", value)
2683
2682
 
2684
- @property
2683
+ @_builtins.property
2685
2684
  @pulumi.getter
2686
- def label(self) -> builtins.str:
2685
+ def label(self) -> _builtins.str:
2687
2686
  """
2688
2687
  Name of the label
2689
2688
  """
2690
2689
  return pulumi.get(self, "label")
2691
2690
 
2692
- @property
2691
+ @_builtins.property
2693
2692
  @pulumi.getter
2694
- def value(self) -> builtins.str:
2693
+ def value(self) -> _builtins.str:
2695
2694
  """
2696
2695
  Value of the label
2697
2696
  """
@@ -2718,13 +2717,13 @@ class ServiceAuth(dict):
2718
2717
  return super().get(key, default)
2719
2718
 
2720
2719
  def __init__(__self__, *,
2721
- server_address: builtins.str,
2722
- password: Optional[builtins.str] = None,
2723
- username: Optional[builtins.str] = None):
2720
+ server_address: _builtins.str,
2721
+ password: Optional[_builtins.str] = None,
2722
+ username: Optional[_builtins.str] = None):
2724
2723
  """
2725
- :param builtins.str server_address: The address of the server for the authentication
2726
- :param builtins.str password: The password
2727
- :param builtins.str username: The username
2724
+ :param _builtins.str server_address: The address of the server for the authentication
2725
+ :param _builtins.str password: The password
2726
+ :param _builtins.str username: The username
2728
2727
  """
2729
2728
  pulumi.set(__self__, "server_address", server_address)
2730
2729
  if password is not None:
@@ -2732,25 +2731,25 @@ class ServiceAuth(dict):
2732
2731
  if username is not None:
2733
2732
  pulumi.set(__self__, "username", username)
2734
2733
 
2735
- @property
2734
+ @_builtins.property
2736
2735
  @pulumi.getter(name="serverAddress")
2737
- def server_address(self) -> builtins.str:
2736
+ def server_address(self) -> _builtins.str:
2738
2737
  """
2739
2738
  The address of the server for the authentication
2740
2739
  """
2741
2740
  return pulumi.get(self, "server_address")
2742
2741
 
2743
- @property
2742
+ @_builtins.property
2744
2743
  @pulumi.getter
2745
- def password(self) -> Optional[builtins.str]:
2744
+ def password(self) -> Optional[_builtins.str]:
2746
2745
  """
2747
2746
  The password
2748
2747
  """
2749
2748
  return pulumi.get(self, "password")
2750
2749
 
2751
- @property
2750
+ @_builtins.property
2752
2751
  @pulumi.getter
2753
- def username(self) -> Optional[builtins.str]:
2752
+ def username(self) -> Optional[_builtins.str]:
2754
2753
  """
2755
2754
  The username
2756
2755
  """
@@ -2760,28 +2759,28 @@ class ServiceAuth(dict):
2760
2759
  @pulumi.output_type
2761
2760
  class ServiceConvergeConfig(dict):
2762
2761
  def __init__(__self__, *,
2763
- delay: Optional[builtins.str] = None,
2764
- timeout: Optional[builtins.str] = None):
2762
+ delay: Optional[_builtins.str] = None,
2763
+ timeout: Optional[_builtins.str] = None):
2765
2764
  """
2766
- :param builtins.str delay: The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
2767
- :param builtins.str timeout: The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
2765
+ :param _builtins.str delay: The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
2766
+ :param _builtins.str timeout: The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
2768
2767
  """
2769
2768
  if delay is not None:
2770
2769
  pulumi.set(__self__, "delay", delay)
2771
2770
  if timeout is not None:
2772
2771
  pulumi.set(__self__, "timeout", timeout)
2773
2772
 
2774
- @property
2773
+ @_builtins.property
2775
2774
  @pulumi.getter
2776
- def delay(self) -> Optional[builtins.str]:
2775
+ def delay(self) -> Optional[_builtins.str]:
2777
2776
  """
2778
2777
  The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
2779
2778
  """
2780
2779
  return pulumi.get(self, "delay")
2781
2780
 
2782
- @property
2781
+ @_builtins.property
2783
2782
  @pulumi.getter
2784
- def timeout(self) -> Optional[builtins.str]:
2783
+ def timeout(self) -> Optional[_builtins.str]:
2785
2784
  """
2786
2785
  The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
2787
2786
  """
@@ -2791,10 +2790,10 @@ class ServiceConvergeConfig(dict):
2791
2790
  @pulumi.output_type
2792
2791
  class ServiceEndpointSpec(dict):
2793
2792
  def __init__(__self__, *,
2794
- mode: Optional[builtins.str] = None,
2793
+ mode: Optional[_builtins.str] = None,
2795
2794
  ports: Optional[Sequence['outputs.ServiceEndpointSpecPort']] = None):
2796
2795
  """
2797
- :param builtins.str mode: The mode of resolution to use for internal load balancing between tasks
2796
+ :param _builtins.str mode: The mode of resolution to use for internal load balancing between tasks
2798
2797
  :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
2799
2798
  """
2800
2799
  if mode is not None:
@@ -2802,15 +2801,15 @@ class ServiceEndpointSpec(dict):
2802
2801
  if ports is not None:
2803
2802
  pulumi.set(__self__, "ports", ports)
2804
2803
 
2805
- @property
2804
+ @_builtins.property
2806
2805
  @pulumi.getter
2807
- def mode(self) -> Optional[builtins.str]:
2806
+ def mode(self) -> Optional[_builtins.str]:
2808
2807
  """
2809
2808
  The mode of resolution to use for internal load balancing between tasks
2810
2809
  """
2811
2810
  return pulumi.get(self, "mode")
2812
2811
 
2813
- @property
2812
+ @_builtins.property
2814
2813
  @pulumi.getter
2815
2814
  def ports(self) -> Optional[Sequence['outputs.ServiceEndpointSpecPort']]:
2816
2815
  """
@@ -2843,17 +2842,17 @@ class ServiceEndpointSpecPort(dict):
2843
2842
  return super().get(key, default)
2844
2843
 
2845
2844
  def __init__(__self__, *,
2846
- target_port: builtins.int,
2847
- name: Optional[builtins.str] = None,
2848
- protocol: Optional[builtins.str] = None,
2849
- publish_mode: Optional[builtins.str] = None,
2850
- published_port: Optional[builtins.int] = None):
2851
- """
2852
- :param builtins.int target_port: The port inside the container
2853
- :param builtins.str name: A random name for the port
2854
- :param builtins.str protocol: Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2855
- :param builtins.str publish_mode: Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2856
- :param builtins.int published_port: The port on the swarm hosts
2845
+ target_port: _builtins.int,
2846
+ name: Optional[_builtins.str] = None,
2847
+ protocol: Optional[_builtins.str] = None,
2848
+ publish_mode: Optional[_builtins.str] = None,
2849
+ published_port: Optional[_builtins.int] = None):
2850
+ """
2851
+ :param _builtins.int target_port: The port inside the container
2852
+ :param _builtins.str name: A random name for the port
2853
+ :param _builtins.str protocol: Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2854
+ :param _builtins.str publish_mode: Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2855
+ :param _builtins.int published_port: The port on the swarm hosts
2857
2856
  """
2858
2857
  pulumi.set(__self__, "target_port", target_port)
2859
2858
  if name is not None:
@@ -2865,41 +2864,41 @@ class ServiceEndpointSpecPort(dict):
2865
2864
  if published_port is not None:
2866
2865
  pulumi.set(__self__, "published_port", published_port)
2867
2866
 
2868
- @property
2867
+ @_builtins.property
2869
2868
  @pulumi.getter(name="targetPort")
2870
- def target_port(self) -> builtins.int:
2869
+ def target_port(self) -> _builtins.int:
2871
2870
  """
2872
2871
  The port inside the container
2873
2872
  """
2874
2873
  return pulumi.get(self, "target_port")
2875
2874
 
2876
- @property
2875
+ @_builtins.property
2877
2876
  @pulumi.getter
2878
- def name(self) -> Optional[builtins.str]:
2877
+ def name(self) -> Optional[_builtins.str]:
2879
2878
  """
2880
2879
  A random name for the port
2881
2880
  """
2882
2881
  return pulumi.get(self, "name")
2883
2882
 
2884
- @property
2883
+ @_builtins.property
2885
2884
  @pulumi.getter
2886
- def protocol(self) -> Optional[builtins.str]:
2885
+ def protocol(self) -> Optional[_builtins.str]:
2887
2886
  """
2888
2887
  Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
2889
2888
  """
2890
2889
  return pulumi.get(self, "protocol")
2891
2890
 
2892
- @property
2891
+ @_builtins.property
2893
2892
  @pulumi.getter(name="publishMode")
2894
- def publish_mode(self) -> Optional[builtins.str]:
2893
+ def publish_mode(self) -> Optional[_builtins.str]:
2895
2894
  """
2896
2895
  Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
2897
2896
  """
2898
2897
  return pulumi.get(self, "publish_mode")
2899
2898
 
2900
- @property
2899
+ @_builtins.property
2901
2900
  @pulumi.getter(name="publishedPort")
2902
- def published_port(self) -> Optional[builtins.int]:
2901
+ def published_port(self) -> Optional[_builtins.int]:
2903
2902
  """
2904
2903
  The port on the swarm hosts
2905
2904
  """
@@ -2909,26 +2908,26 @@ class ServiceEndpointSpecPort(dict):
2909
2908
  @pulumi.output_type
2910
2909
  class ServiceLabel(dict):
2911
2910
  def __init__(__self__, *,
2912
- label: builtins.str,
2913
- value: builtins.str):
2911
+ label: _builtins.str,
2912
+ value: _builtins.str):
2914
2913
  """
2915
- :param builtins.str label: Name of the label
2916
- :param builtins.str value: Value of the label
2914
+ :param _builtins.str label: Name of the label
2915
+ :param _builtins.str value: Value of the label
2917
2916
  """
2918
2917
  pulumi.set(__self__, "label", label)
2919
2918
  pulumi.set(__self__, "value", value)
2920
2919
 
2921
- @property
2920
+ @_builtins.property
2922
2921
  @pulumi.getter
2923
- def label(self) -> builtins.str:
2922
+ def label(self) -> _builtins.str:
2924
2923
  """
2925
2924
  Name of the label
2926
2925
  """
2927
2926
  return pulumi.get(self, "label")
2928
2927
 
2929
- @property
2928
+ @_builtins.property
2930
2929
  @pulumi.getter
2931
- def value(self) -> builtins.str:
2930
+ def value(self) -> _builtins.str:
2932
2931
  """
2933
2932
  Value of the label
2934
2933
  """
@@ -2955,10 +2954,10 @@ class ServiceMode(dict):
2955
2954
  return super().get(key, default)
2956
2955
 
2957
2956
  def __init__(__self__, *,
2958
- global_: Optional[builtins.bool] = None,
2957
+ global_: Optional[_builtins.bool] = None,
2959
2958
  replicated: Optional['outputs.ServiceModeReplicated'] = None):
2960
2959
  """
2961
- :param builtins.bool global_: When `true`, tasks will run on every worker node. Conflicts with `replicated`
2960
+ :param _builtins.bool global_: When `true`, tasks will run on every worker node. Conflicts with `replicated`
2962
2961
  :param 'ServiceModeReplicatedArgs' replicated: The replicated service mode
2963
2962
  """
2964
2963
  if global_ is not None:
@@ -2966,15 +2965,15 @@ class ServiceMode(dict):
2966
2965
  if replicated is not None:
2967
2966
  pulumi.set(__self__, "replicated", replicated)
2968
2967
 
2969
- @property
2968
+ @_builtins.property
2970
2969
  @pulumi.getter(name="global")
2971
- def global_(self) -> Optional[builtins.bool]:
2970
+ def global_(self) -> Optional[_builtins.bool]:
2972
2971
  """
2973
2972
  When `true`, tasks will run on every worker node. Conflicts with `replicated`
2974
2973
  """
2975
2974
  return pulumi.get(self, "global_")
2976
2975
 
2977
- @property
2976
+ @_builtins.property
2978
2977
  @pulumi.getter
2979
2978
  def replicated(self) -> Optional['outputs.ServiceModeReplicated']:
2980
2979
  """
@@ -2986,16 +2985,16 @@ class ServiceMode(dict):
2986
2985
  @pulumi.output_type
2987
2986
  class ServiceModeReplicated(dict):
2988
2987
  def __init__(__self__, *,
2989
- replicas: Optional[builtins.int] = None):
2988
+ replicas: Optional[_builtins.int] = None):
2990
2989
  """
2991
- :param builtins.int replicas: The amount of replicas of the service. Defaults to `1`
2990
+ :param _builtins.int replicas: The amount of replicas of the service. Defaults to `1`
2992
2991
  """
2993
2992
  if replicas is not None:
2994
2993
  pulumi.set(__self__, "replicas", replicas)
2995
2994
 
2996
- @property
2995
+ @_builtins.property
2997
2996
  @pulumi.getter
2998
- def replicas(self) -> Optional[builtins.int]:
2997
+ def replicas(self) -> Optional[_builtins.int]:
2999
2998
  """
3000
2999
  The amount of replicas of the service. Defaults to `1`
3001
3000
  """
@@ -3024,19 +3023,19 @@ class ServiceRollbackConfig(dict):
3024
3023
  return super().get(key, default)
3025
3024
 
3026
3025
  def __init__(__self__, *,
3027
- delay: Optional[builtins.str] = None,
3028
- failure_action: Optional[builtins.str] = None,
3029
- max_failure_ratio: Optional[builtins.str] = None,
3030
- monitor: Optional[builtins.str] = None,
3031
- order: Optional[builtins.str] = None,
3032
- parallelism: Optional[builtins.int] = None):
3033
- """
3034
- :param builtins.str delay: Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
3035
- :param builtins.str failure_action: Action on rollback failure: pause | continue. Defaults to `pause`.
3036
- :param builtins.str max_failure_ratio: Failure rate to tolerate during a rollback. Defaults to `0.0`.
3037
- :param builtins.str monitor: Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
3038
- :param builtins.str order: Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
3039
- :param builtins.int parallelism: Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
3026
+ delay: Optional[_builtins.str] = None,
3027
+ failure_action: Optional[_builtins.str] = None,
3028
+ max_failure_ratio: Optional[_builtins.str] = None,
3029
+ monitor: Optional[_builtins.str] = None,
3030
+ order: Optional[_builtins.str] = None,
3031
+ parallelism: Optional[_builtins.int] = None):
3032
+ """
3033
+ :param _builtins.str delay: Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
3034
+ :param _builtins.str failure_action: Action on rollback failure: pause | continue. Defaults to `pause`.
3035
+ :param _builtins.str max_failure_ratio: Failure rate to tolerate during a rollback. Defaults to `0.0`.
3036
+ :param _builtins.str monitor: Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
3037
+ :param _builtins.str order: Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
3038
+ :param _builtins.int parallelism: Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
3040
3039
  """
3041
3040
  if delay is not None:
3042
3041
  pulumi.set(__self__, "delay", delay)
@@ -3051,49 +3050,49 @@ class ServiceRollbackConfig(dict):
3051
3050
  if parallelism is not None:
3052
3051
  pulumi.set(__self__, "parallelism", parallelism)
3053
3052
 
3054
- @property
3053
+ @_builtins.property
3055
3054
  @pulumi.getter
3056
- def delay(self) -> Optional[builtins.str]:
3055
+ def delay(self) -> Optional[_builtins.str]:
3057
3056
  """
3058
3057
  Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
3059
3058
  """
3060
3059
  return pulumi.get(self, "delay")
3061
3060
 
3062
- @property
3061
+ @_builtins.property
3063
3062
  @pulumi.getter(name="failureAction")
3064
- def failure_action(self) -> Optional[builtins.str]:
3063
+ def failure_action(self) -> Optional[_builtins.str]:
3065
3064
  """
3066
3065
  Action on rollback failure: pause | continue. Defaults to `pause`.
3067
3066
  """
3068
3067
  return pulumi.get(self, "failure_action")
3069
3068
 
3070
- @property
3069
+ @_builtins.property
3071
3070
  @pulumi.getter(name="maxFailureRatio")
3072
- def max_failure_ratio(self) -> Optional[builtins.str]:
3071
+ def max_failure_ratio(self) -> Optional[_builtins.str]:
3073
3072
  """
3074
3073
  Failure rate to tolerate during a rollback. Defaults to `0.0`.
3075
3074
  """
3076
3075
  return pulumi.get(self, "max_failure_ratio")
3077
3076
 
3078
- @property
3077
+ @_builtins.property
3079
3078
  @pulumi.getter
3080
- def monitor(self) -> Optional[builtins.str]:
3079
+ def monitor(self) -> Optional[_builtins.str]:
3081
3080
  """
3082
3081
  Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
3083
3082
  """
3084
3083
  return pulumi.get(self, "monitor")
3085
3084
 
3086
- @property
3085
+ @_builtins.property
3087
3086
  @pulumi.getter
3088
- def order(self) -> Optional[builtins.str]:
3087
+ def order(self) -> Optional[_builtins.str]:
3089
3088
  """
3090
3089
  Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
3091
3090
  """
3092
3091
  return pulumi.get(self, "order")
3093
3092
 
3094
- @property
3093
+ @_builtins.property
3095
3094
  @pulumi.getter
3096
- def parallelism(self) -> Optional[builtins.int]:
3095
+ def parallelism(self) -> Optional[_builtins.int]:
3097
3096
  """
3098
3097
  Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
3099
3098
  """
@@ -3129,22 +3128,22 @@ class ServiceTaskSpec(dict):
3129
3128
 
3130
3129
  def __init__(__self__, *,
3131
3130
  container_spec: 'outputs.ServiceTaskSpecContainerSpec',
3132
- force_update: Optional[builtins.int] = None,
3131
+ force_update: Optional[_builtins.int] = None,
3133
3132
  log_driver: Optional['outputs.ServiceTaskSpecLogDriver'] = None,
3134
3133
  networks_advanceds: Optional[Sequence['outputs.ServiceTaskSpecNetworksAdvanced']] = None,
3135
3134
  placement: Optional['outputs.ServiceTaskSpecPlacement'] = None,
3136
3135
  resources: Optional['outputs.ServiceTaskSpecResources'] = None,
3137
3136
  restart_policy: Optional['outputs.ServiceTaskSpecRestartPolicy'] = None,
3138
- runtime: Optional[builtins.str] = None):
3137
+ runtime: Optional[_builtins.str] = None):
3139
3138
  """
3140
3139
  :param 'ServiceTaskSpecContainerSpecArgs' container_spec: The spec for each container
3141
- :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).
3140
+ :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).
3142
3141
  :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
3143
3142
  :param Sequence['ServiceTaskSpecNetworksAdvancedArgs'] networks_advanceds: The networks the container is attached to
3144
3143
  :param 'ServiceTaskSpecPlacementArgs' placement: The placement preferences
3145
3144
  :param 'ServiceTaskSpecResourcesArgs' resources: Resource requirements which apply to each individual container created as part of the service
3146
3145
  :param 'ServiceTaskSpecRestartPolicyArgs' restart_policy: Specification for the restart policy which applies to containers created as part of this service.
3147
- :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).
3146
+ :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).
3148
3147
  """
3149
3148
  pulumi.set(__self__, "container_spec", container_spec)
3150
3149
  if force_update is not None:
@@ -3162,7 +3161,7 @@ class ServiceTaskSpec(dict):
3162
3161
  if runtime is not None:
3163
3162
  pulumi.set(__self__, "runtime", runtime)
3164
3163
 
3165
- @property
3164
+ @_builtins.property
3166
3165
  @pulumi.getter(name="containerSpec")
3167
3166
  def container_spec(self) -> 'outputs.ServiceTaskSpecContainerSpec':
3168
3167
  """
@@ -3170,15 +3169,15 @@ class ServiceTaskSpec(dict):
3170
3169
  """
3171
3170
  return pulumi.get(self, "container_spec")
3172
3171
 
3173
- @property
3172
+ @_builtins.property
3174
3173
  @pulumi.getter(name="forceUpdate")
3175
- def force_update(self) -> Optional[builtins.int]:
3174
+ def force_update(self) -> Optional[_builtins.int]:
3176
3175
  """
3177
3176
  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).
3178
3177
  """
3179
3178
  return pulumi.get(self, "force_update")
3180
3179
 
3181
- @property
3180
+ @_builtins.property
3182
3181
  @pulumi.getter(name="logDriver")
3183
3182
  def log_driver(self) -> Optional['outputs.ServiceTaskSpecLogDriver']:
3184
3183
  """
@@ -3186,7 +3185,7 @@ class ServiceTaskSpec(dict):
3186
3185
  """
3187
3186
  return pulumi.get(self, "log_driver")
3188
3187
 
3189
- @property
3188
+ @_builtins.property
3190
3189
  @pulumi.getter(name="networksAdvanceds")
3191
3190
  def networks_advanceds(self) -> Optional[Sequence['outputs.ServiceTaskSpecNetworksAdvanced']]:
3192
3191
  """
@@ -3194,7 +3193,7 @@ class ServiceTaskSpec(dict):
3194
3193
  """
3195
3194
  return pulumi.get(self, "networks_advanceds")
3196
3195
 
3197
- @property
3196
+ @_builtins.property
3198
3197
  @pulumi.getter
3199
3198
  def placement(self) -> Optional['outputs.ServiceTaskSpecPlacement']:
3200
3199
  """
@@ -3202,7 +3201,7 @@ class ServiceTaskSpec(dict):
3202
3201
  """
3203
3202
  return pulumi.get(self, "placement")
3204
3203
 
3205
- @property
3204
+ @_builtins.property
3206
3205
  @pulumi.getter
3207
3206
  def resources(self) -> Optional['outputs.ServiceTaskSpecResources']:
3208
3207
  """
@@ -3210,7 +3209,7 @@ class ServiceTaskSpec(dict):
3210
3209
  """
3211
3210
  return pulumi.get(self, "resources")
3212
3211
 
3213
- @property
3212
+ @_builtins.property
3214
3213
  @pulumi.getter(name="restartPolicy")
3215
3214
  def restart_policy(self) -> Optional['outputs.ServiceTaskSpecRestartPolicy']:
3216
3215
  """
@@ -3218,9 +3217,9 @@ class ServiceTaskSpec(dict):
3218
3217
  """
3219
3218
  return pulumi.get(self, "restart_policy")
3220
3219
 
3221
- @property
3220
+ @_builtins.property
3222
3221
  @pulumi.getter
3223
- def runtime(self) -> Optional[builtins.str]:
3222
+ def runtime(self) -> Optional[_builtins.str]:
3224
3223
  """
3225
3224
  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).
3226
3225
  """
@@ -3257,53 +3256,53 @@ class ServiceTaskSpecContainerSpec(dict):
3257
3256
  return super().get(key, default)
3258
3257
 
3259
3258
  def __init__(__self__, *,
3260
- image: builtins.str,
3261
- args: Optional[Sequence[builtins.str]] = None,
3262
- cap_adds: Optional[Sequence[builtins.str]] = None,
3263
- cap_drops: Optional[Sequence[builtins.str]] = None,
3264
- commands: Optional[Sequence[builtins.str]] = None,
3259
+ image: _builtins.str,
3260
+ args: Optional[Sequence[_builtins.str]] = None,
3261
+ cap_adds: Optional[Sequence[_builtins.str]] = None,
3262
+ cap_drops: Optional[Sequence[_builtins.str]] = None,
3263
+ commands: Optional[Sequence[_builtins.str]] = None,
3265
3264
  configs: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecConfig']] = None,
3266
- dir: Optional[builtins.str] = None,
3265
+ dir: Optional[_builtins.str] = None,
3267
3266
  dns_config: Optional['outputs.ServiceTaskSpecContainerSpecDnsConfig'] = None,
3268
- env: Optional[Mapping[str, builtins.str]] = None,
3269
- groups: Optional[Sequence[builtins.str]] = None,
3267
+ env: Optional[Mapping[str, _builtins.str]] = None,
3268
+ groups: Optional[Sequence[_builtins.str]] = None,
3270
3269
  healthcheck: Optional['outputs.ServiceTaskSpecContainerSpecHealthcheck'] = None,
3271
- hostname: Optional[builtins.str] = None,
3270
+ hostname: Optional[_builtins.str] = None,
3272
3271
  hosts: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecHost']] = None,
3273
- isolation: Optional[builtins.str] = None,
3272
+ isolation: Optional[_builtins.str] = None,
3274
3273
  labels: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecLabel']] = None,
3275
3274
  mounts: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMount']] = None,
3276
3275
  privileges: Optional['outputs.ServiceTaskSpecContainerSpecPrivileges'] = None,
3277
- read_only: Optional[builtins.bool] = None,
3276
+ read_only: Optional[_builtins.bool] = None,
3278
3277
  secrets: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecSecret']] = None,
3279
- stop_grace_period: Optional[builtins.str] = None,
3280
- stop_signal: Optional[builtins.str] = None,
3281
- sysctl: Optional[Mapping[str, builtins.str]] = None,
3282
- user: Optional[builtins.str] = None):
3283
- """
3284
- :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.
3285
- :param Sequence[builtins.str] args: Arguments to the command
3286
- :param Sequence[builtins.str] cap_adds: List of Linux capabilities to add to the container
3287
- :param Sequence[builtins.str] cap_drops: List of Linux capabilities to drop from the container
3288
- :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.
3278
+ stop_grace_period: Optional[_builtins.str] = None,
3279
+ stop_signal: Optional[_builtins.str] = None,
3280
+ sysctl: Optional[Mapping[str, _builtins.str]] = None,
3281
+ user: Optional[_builtins.str] = None):
3282
+ """
3283
+ :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.
3284
+ :param Sequence[_builtins.str] args: Arguments to the command
3285
+ :param Sequence[_builtins.str] cap_adds: List of Linux capabilities to add to the container
3286
+ :param Sequence[_builtins.str] cap_drops: List of Linux capabilities to drop from the container
3287
+ :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.
3289
3288
  :param Sequence['ServiceTaskSpecContainerSpecConfigArgs'] configs: References to zero or more configs that will be exposed to the service
3290
- :param builtins.str dir: The working directory for commands to run in
3289
+ :param _builtins.str dir: The working directory for commands to run in
3291
3290
  :param 'ServiceTaskSpecContainerSpecDnsConfigArgs' dns_config: Specification for DNS related configurations in resolver configuration file (`resolv.conf`)
3292
- :param Mapping[str, builtins.str] env: A list of environment variables in the form VAR="value"
3293
- :param Sequence[builtins.str] groups: A list of additional groups that the container process will run as
3291
+ :param Mapping[str, _builtins.str] env: A list of environment variables in the form VAR="value"
3292
+ :param Sequence[_builtins.str] groups: A list of additional groups that the container process will run as
3294
3293
  :param 'ServiceTaskSpecContainerSpecHealthcheckArgs' healthcheck: A test to perform to check that the container is healthy
3295
- :param builtins.str hostname: The hostname to use for the container, as a valid RFC 1123 hostname
3294
+ :param _builtins.str hostname: The hostname to use for the container, as a valid RFC 1123 hostname
3296
3295
  :param Sequence['ServiceTaskSpecContainerSpecHostArgs'] hosts: A list of hostname/IP mappings to add to the container's hosts file
3297
- :param builtins.str isolation: Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
3296
+ :param _builtins.str isolation: Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
3298
3297
  :param Sequence['ServiceTaskSpecContainerSpecLabelArgs'] labels: User-defined key/value metadata
3299
3298
  :param Sequence['ServiceTaskSpecContainerSpecMountArgs'] mounts: Specification for mounts to be added to containers created as part of the service
3300
3299
  :param 'ServiceTaskSpecContainerSpecPrivilegesArgs' privileges: Security options for the container
3301
- :param builtins.bool read_only: Mount the container's root filesystem as read only
3300
+ :param _builtins.bool read_only: Mount the container's root filesystem as read only
3302
3301
  :param Sequence['ServiceTaskSpecContainerSpecSecretArgs'] secrets: References to zero or more secrets that will be exposed to the service
3303
- :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.
3304
- :param builtins.str stop_signal: Signal to stop the container
3305
- :param Mapping[str, builtins.str] sysctl: Sysctls config (Linux only)
3306
- :param builtins.str user: The user inside the container
3302
+ :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.
3303
+ :param _builtins.str stop_signal: Signal to stop the container
3304
+ :param Mapping[str, _builtins.str] sysctl: Sysctls config (Linux only)
3305
+ :param _builtins.str user: The user inside the container
3307
3306
  """
3308
3307
  pulumi.set(__self__, "image", image)
3309
3308
  if args is not None:
@@ -3351,47 +3350,47 @@ class ServiceTaskSpecContainerSpec(dict):
3351
3350
  if user is not None:
3352
3351
  pulumi.set(__self__, "user", user)
3353
3352
 
3354
- @property
3353
+ @_builtins.property
3355
3354
  @pulumi.getter
3356
- def image(self) -> builtins.str:
3355
+ def image(self) -> _builtins.str:
3357
3356
  """
3358
3357
  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.
3359
3358
  """
3360
3359
  return pulumi.get(self, "image")
3361
3360
 
3362
- @property
3361
+ @_builtins.property
3363
3362
  @pulumi.getter
3364
- def args(self) -> Optional[Sequence[builtins.str]]:
3363
+ def args(self) -> Optional[Sequence[_builtins.str]]:
3365
3364
  """
3366
3365
  Arguments to the command
3367
3366
  """
3368
3367
  return pulumi.get(self, "args")
3369
3368
 
3370
- @property
3369
+ @_builtins.property
3371
3370
  @pulumi.getter(name="capAdds")
3372
- def cap_adds(self) -> Optional[Sequence[builtins.str]]:
3371
+ def cap_adds(self) -> Optional[Sequence[_builtins.str]]:
3373
3372
  """
3374
3373
  List of Linux capabilities to add to the container
3375
3374
  """
3376
3375
  return pulumi.get(self, "cap_adds")
3377
3376
 
3378
- @property
3377
+ @_builtins.property
3379
3378
  @pulumi.getter(name="capDrops")
3380
- def cap_drops(self) -> Optional[Sequence[builtins.str]]:
3379
+ def cap_drops(self) -> Optional[Sequence[_builtins.str]]:
3381
3380
  """
3382
3381
  List of Linux capabilities to drop from the container
3383
3382
  """
3384
3383
  return pulumi.get(self, "cap_drops")
3385
3384
 
3386
- @property
3385
+ @_builtins.property
3387
3386
  @pulumi.getter
3388
- def commands(self) -> Optional[Sequence[builtins.str]]:
3387
+ def commands(self) -> Optional[Sequence[_builtins.str]]:
3389
3388
  """
3390
3389
  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.
3391
3390
  """
3392
3391
  return pulumi.get(self, "commands")
3393
3392
 
3394
- @property
3393
+ @_builtins.property
3395
3394
  @pulumi.getter
3396
3395
  def configs(self) -> Optional[Sequence['outputs.ServiceTaskSpecContainerSpecConfig']]:
3397
3396
  """
@@ -3399,15 +3398,15 @@ class ServiceTaskSpecContainerSpec(dict):
3399
3398
  """
3400
3399
  return pulumi.get(self, "configs")
3401
3400
 
3402
- @property
3401
+ @_builtins.property
3403
3402
  @pulumi.getter
3404
- def dir(self) -> Optional[builtins.str]:
3403
+ def dir(self) -> Optional[_builtins.str]:
3405
3404
  """
3406
3405
  The working directory for commands to run in
3407
3406
  """
3408
3407
  return pulumi.get(self, "dir")
3409
3408
 
3410
- @property
3409
+ @_builtins.property
3411
3410
  @pulumi.getter(name="dnsConfig")
3412
3411
  def dns_config(self) -> Optional['outputs.ServiceTaskSpecContainerSpecDnsConfig']:
3413
3412
  """
@@ -3415,23 +3414,23 @@ class ServiceTaskSpecContainerSpec(dict):
3415
3414
  """
3416
3415
  return pulumi.get(self, "dns_config")
3417
3416
 
3418
- @property
3417
+ @_builtins.property
3419
3418
  @pulumi.getter
3420
- def env(self) -> Optional[Mapping[str, builtins.str]]:
3419
+ def env(self) -> Optional[Mapping[str, _builtins.str]]:
3421
3420
  """
3422
3421
  A list of environment variables in the form VAR="value"
3423
3422
  """
3424
3423
  return pulumi.get(self, "env")
3425
3424
 
3426
- @property
3425
+ @_builtins.property
3427
3426
  @pulumi.getter
3428
- def groups(self) -> Optional[Sequence[builtins.str]]:
3427
+ def groups(self) -> Optional[Sequence[_builtins.str]]:
3429
3428
  """
3430
3429
  A list of additional groups that the container process will run as
3431
3430
  """
3432
3431
  return pulumi.get(self, "groups")
3433
3432
 
3434
- @property
3433
+ @_builtins.property
3435
3434
  @pulumi.getter
3436
3435
  def healthcheck(self) -> Optional['outputs.ServiceTaskSpecContainerSpecHealthcheck']:
3437
3436
  """
@@ -3439,15 +3438,15 @@ class ServiceTaskSpecContainerSpec(dict):
3439
3438
  """
3440
3439
  return pulumi.get(self, "healthcheck")
3441
3440
 
3442
- @property
3441
+ @_builtins.property
3443
3442
  @pulumi.getter
3444
- def hostname(self) -> Optional[builtins.str]:
3443
+ def hostname(self) -> Optional[_builtins.str]:
3445
3444
  """
3446
3445
  The hostname to use for the container, as a valid RFC 1123 hostname
3447
3446
  """
3448
3447
  return pulumi.get(self, "hostname")
3449
3448
 
3450
- @property
3449
+ @_builtins.property
3451
3450
  @pulumi.getter
3452
3451
  def hosts(self) -> Optional[Sequence['outputs.ServiceTaskSpecContainerSpecHost']]:
3453
3452
  """
@@ -3455,15 +3454,15 @@ class ServiceTaskSpecContainerSpec(dict):
3455
3454
  """
3456
3455
  return pulumi.get(self, "hosts")
3457
3456
 
3458
- @property
3457
+ @_builtins.property
3459
3458
  @pulumi.getter
3460
- def isolation(self) -> Optional[builtins.str]:
3459
+ def isolation(self) -> Optional[_builtins.str]:
3461
3460
  """
3462
3461
  Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
3463
3462
  """
3464
3463
  return pulumi.get(self, "isolation")
3465
3464
 
3466
- @property
3465
+ @_builtins.property
3467
3466
  @pulumi.getter
3468
3467
  def labels(self) -> Optional[Sequence['outputs.ServiceTaskSpecContainerSpecLabel']]:
3469
3468
  """
@@ -3471,7 +3470,7 @@ class ServiceTaskSpecContainerSpec(dict):
3471
3470
  """
3472
3471
  return pulumi.get(self, "labels")
3473
3472
 
3474
- @property
3473
+ @_builtins.property
3475
3474
  @pulumi.getter
3476
3475
  def mounts(self) -> Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMount']]:
3477
3476
  """
@@ -3479,7 +3478,7 @@ class ServiceTaskSpecContainerSpec(dict):
3479
3478
  """
3480
3479
  return pulumi.get(self, "mounts")
3481
3480
 
3482
- @property
3481
+ @_builtins.property
3483
3482
  @pulumi.getter
3484
3483
  def privileges(self) -> Optional['outputs.ServiceTaskSpecContainerSpecPrivileges']:
3485
3484
  """
@@ -3487,15 +3486,15 @@ class ServiceTaskSpecContainerSpec(dict):
3487
3486
  """
3488
3487
  return pulumi.get(self, "privileges")
3489
3488
 
3490
- @property
3489
+ @_builtins.property
3491
3490
  @pulumi.getter(name="readOnly")
3492
- def read_only(self) -> Optional[builtins.bool]:
3491
+ def read_only(self) -> Optional[_builtins.bool]:
3493
3492
  """
3494
3493
  Mount the container's root filesystem as read only
3495
3494
  """
3496
3495
  return pulumi.get(self, "read_only")
3497
3496
 
3498
- @property
3497
+ @_builtins.property
3499
3498
  @pulumi.getter
3500
3499
  def secrets(self) -> Optional[Sequence['outputs.ServiceTaskSpecContainerSpecSecret']]:
3501
3500
  """
@@ -3503,33 +3502,33 @@ class ServiceTaskSpecContainerSpec(dict):
3503
3502
  """
3504
3503
  return pulumi.get(self, "secrets")
3505
3504
 
3506
- @property
3505
+ @_builtins.property
3507
3506
  @pulumi.getter(name="stopGracePeriod")
3508
- def stop_grace_period(self) -> Optional[builtins.str]:
3507
+ def stop_grace_period(self) -> Optional[_builtins.str]:
3509
3508
  """
3510
3509
  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.
3511
3510
  """
3512
3511
  return pulumi.get(self, "stop_grace_period")
3513
3512
 
3514
- @property
3513
+ @_builtins.property
3515
3514
  @pulumi.getter(name="stopSignal")
3516
- def stop_signal(self) -> Optional[builtins.str]:
3515
+ def stop_signal(self) -> Optional[_builtins.str]:
3517
3516
  """
3518
3517
  Signal to stop the container
3519
3518
  """
3520
3519
  return pulumi.get(self, "stop_signal")
3521
3520
 
3522
- @property
3521
+ @_builtins.property
3523
3522
  @pulumi.getter
3524
- def sysctl(self) -> Optional[Mapping[str, builtins.str]]:
3523
+ def sysctl(self) -> Optional[Mapping[str, _builtins.str]]:
3525
3524
  """
3526
3525
  Sysctls config (Linux only)
3527
3526
  """
3528
3527
  return pulumi.get(self, "sysctl")
3529
3528
 
3530
- @property
3529
+ @_builtins.property
3531
3530
  @pulumi.getter
3532
- def user(self) -> Optional[builtins.str]:
3531
+ def user(self) -> Optional[_builtins.str]:
3533
3532
  """
3534
3533
  The user inside the container
3535
3534
  """
@@ -3566,19 +3565,19 @@ class ServiceTaskSpecContainerSpecConfig(dict):
3566
3565
  return super().get(key, default)
3567
3566
 
3568
3567
  def __init__(__self__, *,
3569
- config_id: builtins.str,
3570
- file_name: builtins.str,
3571
- config_name: Optional[builtins.str] = None,
3572
- file_gid: Optional[builtins.str] = None,
3573
- file_mode: Optional[builtins.int] = None,
3574
- file_uid: Optional[builtins.str] = None):
3575
- """
3576
- :param builtins.str config_id: ID of the specific config that we're referencing
3577
- :param builtins.str file_name: Represents the final filename in the filesystem
3578
- :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
3579
- :param builtins.str file_gid: Represents the file GID. Defaults to `0`.
3580
- :param builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`.
3581
- :param builtins.str file_uid: Represents the file UID. Defaults to `0`.
3568
+ config_id: _builtins.str,
3569
+ file_name: _builtins.str,
3570
+ config_name: Optional[_builtins.str] = None,
3571
+ file_gid: Optional[_builtins.str] = None,
3572
+ file_mode: Optional[_builtins.int] = None,
3573
+ file_uid: Optional[_builtins.str] = None):
3574
+ """
3575
+ :param _builtins.str config_id: ID of the specific config that we're referencing
3576
+ :param _builtins.str file_name: Represents the final filename in the filesystem
3577
+ :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
3578
+ :param _builtins.str file_gid: Represents the file GID. Defaults to `0`.
3579
+ :param _builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`.
3580
+ :param _builtins.str file_uid: Represents the file UID. Defaults to `0`.
3582
3581
  """
3583
3582
  pulumi.set(__self__, "config_id", config_id)
3584
3583
  pulumi.set(__self__, "file_name", file_name)
@@ -3591,49 +3590,49 @@ class ServiceTaskSpecContainerSpecConfig(dict):
3591
3590
  if file_uid is not None:
3592
3591
  pulumi.set(__self__, "file_uid", file_uid)
3593
3592
 
3594
- @property
3593
+ @_builtins.property
3595
3594
  @pulumi.getter(name="configId")
3596
- def config_id(self) -> builtins.str:
3595
+ def config_id(self) -> _builtins.str:
3597
3596
  """
3598
3597
  ID of the specific config that we're referencing
3599
3598
  """
3600
3599
  return pulumi.get(self, "config_id")
3601
3600
 
3602
- @property
3601
+ @_builtins.property
3603
3602
  @pulumi.getter(name="fileName")
3604
- def file_name(self) -> builtins.str:
3603
+ def file_name(self) -> _builtins.str:
3605
3604
  """
3606
3605
  Represents the final filename in the filesystem
3607
3606
  """
3608
3607
  return pulumi.get(self, "file_name")
3609
3608
 
3610
- @property
3609
+ @_builtins.property
3611
3610
  @pulumi.getter(name="configName")
3612
- def config_name(self) -> Optional[builtins.str]:
3611
+ def config_name(self) -> Optional[_builtins.str]:
3613
3612
  """
3614
3613
  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
3615
3614
  """
3616
3615
  return pulumi.get(self, "config_name")
3617
3616
 
3618
- @property
3617
+ @_builtins.property
3619
3618
  @pulumi.getter(name="fileGid")
3620
- def file_gid(self) -> Optional[builtins.str]:
3619
+ def file_gid(self) -> Optional[_builtins.str]:
3621
3620
  """
3622
3621
  Represents the file GID. Defaults to `0`.
3623
3622
  """
3624
3623
  return pulumi.get(self, "file_gid")
3625
3624
 
3626
- @property
3625
+ @_builtins.property
3627
3626
  @pulumi.getter(name="fileMode")
3628
- def file_mode(self) -> Optional[builtins.int]:
3627
+ def file_mode(self) -> Optional[_builtins.int]:
3629
3628
  """
3630
3629
  Represents represents the FileMode of the file. Defaults to `0o444`.
3631
3630
  """
3632
3631
  return pulumi.get(self, "file_mode")
3633
3632
 
3634
- @property
3633
+ @_builtins.property
3635
3634
  @pulumi.getter(name="fileUid")
3636
- def file_uid(self) -> Optional[builtins.str]:
3635
+ def file_uid(self) -> Optional[_builtins.str]:
3637
3636
  """
3638
3637
  Represents the file UID. Defaults to `0`.
3639
3638
  """
@@ -3643,13 +3642,13 @@ class ServiceTaskSpecContainerSpecConfig(dict):
3643
3642
  @pulumi.output_type
3644
3643
  class ServiceTaskSpecContainerSpecDnsConfig(dict):
3645
3644
  def __init__(__self__, *,
3646
- nameservers: Sequence[builtins.str],
3647
- options: Optional[Sequence[builtins.str]] = None,
3648
- searches: Optional[Sequence[builtins.str]] = None):
3645
+ nameservers: Sequence[_builtins.str],
3646
+ options: Optional[Sequence[_builtins.str]] = None,
3647
+ searches: Optional[Sequence[_builtins.str]] = None):
3649
3648
  """
3650
- :param Sequence[builtins.str] nameservers: The IP addresses of the name servers
3651
- :param Sequence[builtins.str] options: A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
3652
- :param Sequence[builtins.str] searches: A search list for host-name lookup
3649
+ :param Sequence[_builtins.str] nameservers: The IP addresses of the name servers
3650
+ :param Sequence[_builtins.str] options: A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
3651
+ :param Sequence[_builtins.str] searches: A search list for host-name lookup
3653
3652
  """
3654
3653
  pulumi.set(__self__, "nameservers", nameservers)
3655
3654
  if options is not None:
@@ -3657,25 +3656,25 @@ class ServiceTaskSpecContainerSpecDnsConfig(dict):
3657
3656
  if searches is not None:
3658
3657
  pulumi.set(__self__, "searches", searches)
3659
3658
 
3660
- @property
3659
+ @_builtins.property
3661
3660
  @pulumi.getter
3662
- def nameservers(self) -> Sequence[builtins.str]:
3661
+ def nameservers(self) -> Sequence[_builtins.str]:
3663
3662
  """
3664
3663
  The IP addresses of the name servers
3665
3664
  """
3666
3665
  return pulumi.get(self, "nameservers")
3667
3666
 
3668
- @property
3667
+ @_builtins.property
3669
3668
  @pulumi.getter
3670
- def options(self) -> Optional[Sequence[builtins.str]]:
3669
+ def options(self) -> Optional[Sequence[_builtins.str]]:
3671
3670
  """
3672
3671
  A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
3673
3672
  """
3674
3673
  return pulumi.get(self, "options")
3675
3674
 
3676
- @property
3675
+ @_builtins.property
3677
3676
  @pulumi.getter
3678
- def searches(self) -> Optional[Sequence[builtins.str]]:
3677
+ def searches(self) -> Optional[Sequence[_builtins.str]]:
3679
3678
  """
3680
3679
  A search list for host-name lookup
3681
3680
  """
@@ -3702,17 +3701,17 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
3702
3701
  return super().get(key, default)
3703
3702
 
3704
3703
  def __init__(__self__, *,
3705
- tests: Sequence[builtins.str],
3706
- interval: Optional[builtins.str] = None,
3707
- retries: Optional[builtins.int] = None,
3708
- start_period: Optional[builtins.str] = None,
3709
- timeout: Optional[builtins.str] = None):
3710
- """
3711
- :param Sequence[builtins.str] tests: The test to perform as list
3712
- :param builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
3713
- :param builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`
3714
- :param builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
3715
- :param builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
3704
+ tests: Sequence[_builtins.str],
3705
+ interval: Optional[_builtins.str] = None,
3706
+ retries: Optional[_builtins.int] = None,
3707
+ start_period: Optional[_builtins.str] = None,
3708
+ timeout: Optional[_builtins.str] = None):
3709
+ """
3710
+ :param Sequence[_builtins.str] tests: The test to perform as list
3711
+ :param _builtins.str interval: Time between running the check (ms|s|m|h). Defaults to `0s`.
3712
+ :param _builtins.int retries: Consecutive failures needed to report unhealthy. Defaults to `0`
3713
+ :param _builtins.str start_period: Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
3714
+ :param _builtins.str timeout: Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
3716
3715
  """
3717
3716
  pulumi.set(__self__, "tests", tests)
3718
3717
  if interval is not None:
@@ -3724,41 +3723,41 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
3724
3723
  if timeout is not None:
3725
3724
  pulumi.set(__self__, "timeout", timeout)
3726
3725
 
3727
- @property
3726
+ @_builtins.property
3728
3727
  @pulumi.getter
3729
- def tests(self) -> Sequence[builtins.str]:
3728
+ def tests(self) -> Sequence[_builtins.str]:
3730
3729
  """
3731
3730
  The test to perform as list
3732
3731
  """
3733
3732
  return pulumi.get(self, "tests")
3734
3733
 
3735
- @property
3734
+ @_builtins.property
3736
3735
  @pulumi.getter
3737
- def interval(self) -> Optional[builtins.str]:
3736
+ def interval(self) -> Optional[_builtins.str]:
3738
3737
  """
3739
3738
  Time between running the check (ms|s|m|h). Defaults to `0s`.
3740
3739
  """
3741
3740
  return pulumi.get(self, "interval")
3742
3741
 
3743
- @property
3742
+ @_builtins.property
3744
3743
  @pulumi.getter
3745
- def retries(self) -> Optional[builtins.int]:
3744
+ def retries(self) -> Optional[_builtins.int]:
3746
3745
  """
3747
3746
  Consecutive failures needed to report unhealthy. Defaults to `0`
3748
3747
  """
3749
3748
  return pulumi.get(self, "retries")
3750
3749
 
3751
- @property
3750
+ @_builtins.property
3752
3751
  @pulumi.getter(name="startPeriod")
3753
- def start_period(self) -> Optional[builtins.str]:
3752
+ def start_period(self) -> Optional[_builtins.str]:
3754
3753
  """
3755
3754
  Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
3756
3755
  """
3757
3756
  return pulumi.get(self, "start_period")
3758
3757
 
3759
- @property
3758
+ @_builtins.property
3760
3759
  @pulumi.getter
3761
- def timeout(self) -> Optional[builtins.str]:
3760
+ def timeout(self) -> Optional[_builtins.str]:
3762
3761
  """
3763
3762
  Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
3764
3763
  """
@@ -3768,26 +3767,26 @@ class ServiceTaskSpecContainerSpecHealthcheck(dict):
3768
3767
  @pulumi.output_type
3769
3768
  class ServiceTaskSpecContainerSpecHost(dict):
3770
3769
  def __init__(__self__, *,
3771
- host: builtins.str,
3772
- ip: builtins.str):
3770
+ host: _builtins.str,
3771
+ ip: _builtins.str):
3773
3772
  """
3774
- :param builtins.str host: The name of the host
3775
- :param builtins.str ip: The ip of the host
3773
+ :param _builtins.str host: The name of the host
3774
+ :param _builtins.str ip: The ip of the host
3776
3775
  """
3777
3776
  pulumi.set(__self__, "host", host)
3778
3777
  pulumi.set(__self__, "ip", ip)
3779
3778
 
3780
- @property
3779
+ @_builtins.property
3781
3780
  @pulumi.getter
3782
- def host(self) -> builtins.str:
3781
+ def host(self) -> _builtins.str:
3783
3782
  """
3784
3783
  The name of the host
3785
3784
  """
3786
3785
  return pulumi.get(self, "host")
3787
3786
 
3788
- @property
3787
+ @_builtins.property
3789
3788
  @pulumi.getter
3790
- def ip(self) -> builtins.str:
3789
+ def ip(self) -> _builtins.str:
3791
3790
  """
3792
3791
  The ip of the host
3793
3792
  """
@@ -3797,26 +3796,26 @@ class ServiceTaskSpecContainerSpecHost(dict):
3797
3796
  @pulumi.output_type
3798
3797
  class ServiceTaskSpecContainerSpecLabel(dict):
3799
3798
  def __init__(__self__, *,
3800
- label: builtins.str,
3801
- value: builtins.str):
3799
+ label: _builtins.str,
3800
+ value: _builtins.str):
3802
3801
  """
3803
- :param builtins.str label: Name of the label
3804
- :param builtins.str value: Value of the label
3802
+ :param _builtins.str label: Name of the label
3803
+ :param _builtins.str value: Value of the label
3805
3804
  """
3806
3805
  pulumi.set(__self__, "label", label)
3807
3806
  pulumi.set(__self__, "value", value)
3808
3807
 
3809
- @property
3808
+ @_builtins.property
3810
3809
  @pulumi.getter
3811
- def label(self) -> builtins.str:
3810
+ def label(self) -> _builtins.str:
3812
3811
  """
3813
3812
  Name of the label
3814
3813
  """
3815
3814
  return pulumi.get(self, "label")
3816
3815
 
3817
- @property
3816
+ @_builtins.property
3818
3817
  @pulumi.getter
3819
- def value(self) -> builtins.str:
3818
+ def value(self) -> _builtins.str:
3820
3819
  """
3821
3820
  Value of the label
3822
3821
  """
@@ -3849,19 +3848,19 @@ class ServiceTaskSpecContainerSpecMount(dict):
3849
3848
  return super().get(key, default)
3850
3849
 
3851
3850
  def __init__(__self__, *,
3852
- target: builtins.str,
3853
- type: builtins.str,
3851
+ target: _builtins.str,
3852
+ type: _builtins.str,
3854
3853
  bind_options: Optional['outputs.ServiceTaskSpecContainerSpecMountBindOptions'] = None,
3855
- read_only: Optional[builtins.bool] = None,
3856
- source: Optional[builtins.str] = None,
3854
+ read_only: Optional[_builtins.bool] = None,
3855
+ source: Optional[_builtins.str] = None,
3857
3856
  tmpfs_options: Optional['outputs.ServiceTaskSpecContainerSpecMountTmpfsOptions'] = None,
3858
3857
  volume_options: Optional['outputs.ServiceTaskSpecContainerSpecMountVolumeOptions'] = None):
3859
3858
  """
3860
- :param builtins.str target: Container path
3861
- :param builtins.str type: The mount type
3859
+ :param _builtins.str target: Container path
3860
+ :param _builtins.str type: The mount type
3862
3861
  :param 'ServiceTaskSpecContainerSpecMountBindOptionsArgs' bind_options: Optional configuration for the bind type
3863
- :param builtins.bool read_only: Whether the mount should be read-only
3864
- :param builtins.str source: Mount source (e.g. a volume name, a host path)
3862
+ :param _builtins.bool read_only: Whether the mount should be read-only
3863
+ :param _builtins.str source: Mount source (e.g. a volume name, a host path)
3865
3864
  :param 'ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs' tmpfs_options: Optional configuration for the tmpfs type
3866
3865
  :param 'ServiceTaskSpecContainerSpecMountVolumeOptionsArgs' volume_options: Optional configuration for the volume type
3867
3866
  """
@@ -3878,23 +3877,23 @@ class ServiceTaskSpecContainerSpecMount(dict):
3878
3877
  if volume_options is not None:
3879
3878
  pulumi.set(__self__, "volume_options", volume_options)
3880
3879
 
3881
- @property
3880
+ @_builtins.property
3882
3881
  @pulumi.getter
3883
- def target(self) -> builtins.str:
3882
+ def target(self) -> _builtins.str:
3884
3883
  """
3885
3884
  Container path
3886
3885
  """
3887
3886
  return pulumi.get(self, "target")
3888
3887
 
3889
- @property
3888
+ @_builtins.property
3890
3889
  @pulumi.getter
3891
- def type(self) -> builtins.str:
3890
+ def type(self) -> _builtins.str:
3892
3891
  """
3893
3892
  The mount type
3894
3893
  """
3895
3894
  return pulumi.get(self, "type")
3896
3895
 
3897
- @property
3896
+ @_builtins.property
3898
3897
  @pulumi.getter(name="bindOptions")
3899
3898
  def bind_options(self) -> Optional['outputs.ServiceTaskSpecContainerSpecMountBindOptions']:
3900
3899
  """
@@ -3902,23 +3901,23 @@ class ServiceTaskSpecContainerSpecMount(dict):
3902
3901
  """
3903
3902
  return pulumi.get(self, "bind_options")
3904
3903
 
3905
- @property
3904
+ @_builtins.property
3906
3905
  @pulumi.getter(name="readOnly")
3907
- def read_only(self) -> Optional[builtins.bool]:
3906
+ def read_only(self) -> Optional[_builtins.bool]:
3908
3907
  """
3909
3908
  Whether the mount should be read-only
3910
3909
  """
3911
3910
  return pulumi.get(self, "read_only")
3912
3911
 
3913
- @property
3912
+ @_builtins.property
3914
3913
  @pulumi.getter
3915
- def source(self) -> Optional[builtins.str]:
3914
+ def source(self) -> Optional[_builtins.str]:
3916
3915
  """
3917
3916
  Mount source (e.g. a volume name, a host path)
3918
3917
  """
3919
3918
  return pulumi.get(self, "source")
3920
3919
 
3921
- @property
3920
+ @_builtins.property
3922
3921
  @pulumi.getter(name="tmpfsOptions")
3923
3922
  def tmpfs_options(self) -> Optional['outputs.ServiceTaskSpecContainerSpecMountTmpfsOptions']:
3924
3923
  """
@@ -3926,7 +3925,7 @@ class ServiceTaskSpecContainerSpecMount(dict):
3926
3925
  """
3927
3926
  return pulumi.get(self, "tmpfs_options")
3928
3927
 
3929
- @property
3928
+ @_builtins.property
3930
3929
  @pulumi.getter(name="volumeOptions")
3931
3930
  def volume_options(self) -> Optional['outputs.ServiceTaskSpecContainerSpecMountVolumeOptions']:
3932
3931
  """
@@ -3938,16 +3937,16 @@ class ServiceTaskSpecContainerSpecMount(dict):
3938
3937
  @pulumi.output_type
3939
3938
  class ServiceTaskSpecContainerSpecMountBindOptions(dict):
3940
3939
  def __init__(__self__, *,
3941
- propagation: Optional[builtins.str] = None):
3940
+ propagation: Optional[_builtins.str] = None):
3942
3941
  """
3943
- :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`
3942
+ :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`
3944
3943
  """
3945
3944
  if propagation is not None:
3946
3945
  pulumi.set(__self__, "propagation", propagation)
3947
3946
 
3948
- @property
3947
+ @_builtins.property
3949
3948
  @pulumi.getter
3950
- def propagation(self) -> Optional[builtins.str]:
3949
+ def propagation(self) -> Optional[_builtins.str]:
3951
3950
  """
3952
3951
  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`
3953
3952
  """
@@ -3974,28 +3973,28 @@ class ServiceTaskSpecContainerSpecMountTmpfsOptions(dict):
3974
3973
  return super().get(key, default)
3975
3974
 
3976
3975
  def __init__(__self__, *,
3977
- mode: Optional[builtins.int] = None,
3978
- size_bytes: Optional[builtins.int] = None):
3976
+ mode: Optional[_builtins.int] = None,
3977
+ size_bytes: Optional[_builtins.int] = None):
3979
3978
  """
3980
- :param builtins.int mode: The permission mode for the tmpfs mount in an integer
3981
- :param builtins.int size_bytes: The size for the tmpfs mount in bytes
3979
+ :param _builtins.int mode: The permission mode for the tmpfs mount in an integer
3980
+ :param _builtins.int size_bytes: The size for the tmpfs mount in bytes
3982
3981
  """
3983
3982
  if mode is not None:
3984
3983
  pulumi.set(__self__, "mode", mode)
3985
3984
  if size_bytes is not None:
3986
3985
  pulumi.set(__self__, "size_bytes", size_bytes)
3987
3986
 
3988
- @property
3987
+ @_builtins.property
3989
3988
  @pulumi.getter
3990
- def mode(self) -> Optional[builtins.int]:
3989
+ def mode(self) -> Optional[_builtins.int]:
3991
3990
  """
3992
3991
  The permission mode for the tmpfs mount in an integer
3993
3992
  """
3994
3993
  return pulumi.get(self, "mode")
3995
3994
 
3996
- @property
3995
+ @_builtins.property
3997
3996
  @pulumi.getter(name="sizeBytes")
3998
- def size_bytes(self) -> Optional[builtins.int]:
3997
+ def size_bytes(self) -> Optional[_builtins.int]:
3999
3998
  """
4000
3999
  The size for the tmpfs mount in bytes
4001
4000
  """
@@ -4026,15 +4025,15 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
4026
4025
  return super().get(key, default)
4027
4026
 
4028
4027
  def __init__(__self__, *,
4029
- driver_name: Optional[builtins.str] = None,
4030
- driver_options: Optional[Mapping[str, builtins.str]] = None,
4028
+ driver_name: Optional[_builtins.str] = None,
4029
+ driver_options: Optional[Mapping[str, _builtins.str]] = None,
4031
4030
  labels: Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMountVolumeOptionsLabel']] = None,
4032
- no_copy: Optional[builtins.bool] = None):
4031
+ no_copy: Optional[_builtins.bool] = None):
4033
4032
  """
4034
- :param builtins.str driver_name: Name of the driver to use to create the volume
4035
- :param Mapping[str, builtins.str] driver_options: key/value map of driver specific options
4033
+ :param _builtins.str driver_name: Name of the driver to use to create the volume
4034
+ :param Mapping[str, _builtins.str] driver_options: key/value map of driver specific options
4036
4035
  :param Sequence['ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs'] labels: User-defined key/value metadata
4037
- :param builtins.bool no_copy: Populate volume with data from the target
4036
+ :param _builtins.bool no_copy: Populate volume with data from the target
4038
4037
  """
4039
4038
  if driver_name is not None:
4040
4039
  pulumi.set(__self__, "driver_name", driver_name)
@@ -4045,23 +4044,23 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
4045
4044
  if no_copy is not None:
4046
4045
  pulumi.set(__self__, "no_copy", no_copy)
4047
4046
 
4048
- @property
4047
+ @_builtins.property
4049
4048
  @pulumi.getter(name="driverName")
4050
- def driver_name(self) -> Optional[builtins.str]:
4049
+ def driver_name(self) -> Optional[_builtins.str]:
4051
4050
  """
4052
4051
  Name of the driver to use to create the volume
4053
4052
  """
4054
4053
  return pulumi.get(self, "driver_name")
4055
4054
 
4056
- @property
4055
+ @_builtins.property
4057
4056
  @pulumi.getter(name="driverOptions")
4058
- def driver_options(self) -> Optional[Mapping[str, builtins.str]]:
4057
+ def driver_options(self) -> Optional[Mapping[str, _builtins.str]]:
4059
4058
  """
4060
4059
  key/value map of driver specific options
4061
4060
  """
4062
4061
  return pulumi.get(self, "driver_options")
4063
4062
 
4064
- @property
4063
+ @_builtins.property
4065
4064
  @pulumi.getter
4066
4065
  def labels(self) -> Optional[Sequence['outputs.ServiceTaskSpecContainerSpecMountVolumeOptionsLabel']]:
4067
4066
  """
@@ -4069,9 +4068,9 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
4069
4068
  """
4070
4069
  return pulumi.get(self, "labels")
4071
4070
 
4072
- @property
4071
+ @_builtins.property
4073
4072
  @pulumi.getter(name="noCopy")
4074
- def no_copy(self) -> Optional[builtins.bool]:
4073
+ def no_copy(self) -> Optional[_builtins.bool]:
4075
4074
  """
4076
4075
  Populate volume with data from the target
4077
4076
  """
@@ -4081,26 +4080,26 @@ class ServiceTaskSpecContainerSpecMountVolumeOptions(dict):
4081
4080
  @pulumi.output_type
4082
4081
  class ServiceTaskSpecContainerSpecMountVolumeOptionsLabel(dict):
4083
4082
  def __init__(__self__, *,
4084
- label: builtins.str,
4085
- value: builtins.str):
4083
+ label: _builtins.str,
4084
+ value: _builtins.str):
4086
4085
  """
4087
- :param builtins.str label: Name of the label
4088
- :param builtins.str value: Value of the label
4086
+ :param _builtins.str label: Name of the label
4087
+ :param _builtins.str value: Value of the label
4089
4088
  """
4090
4089
  pulumi.set(__self__, "label", label)
4091
4090
  pulumi.set(__self__, "value", value)
4092
4091
 
4093
- @property
4092
+ @_builtins.property
4094
4093
  @pulumi.getter
4095
- def label(self) -> builtins.str:
4094
+ def label(self) -> _builtins.str:
4096
4095
  """
4097
4096
  Name of the label
4098
4097
  """
4099
4098
  return pulumi.get(self, "label")
4100
4099
 
4101
- @property
4100
+ @_builtins.property
4102
4101
  @pulumi.getter
4103
- def value(self) -> builtins.str:
4102
+ def value(self) -> _builtins.str:
4104
4103
  """
4105
4104
  Value of the label
4106
4105
  """
@@ -4140,7 +4139,7 @@ class ServiceTaskSpecContainerSpecPrivileges(dict):
4140
4139
  if se_linux_context is not None:
4141
4140
  pulumi.set(__self__, "se_linux_context", se_linux_context)
4142
4141
 
4143
- @property
4142
+ @_builtins.property
4144
4143
  @pulumi.getter(name="credentialSpec")
4145
4144
  def credential_spec(self) -> Optional['outputs.ServiceTaskSpecContainerSpecPrivilegesCredentialSpec']:
4146
4145
  """
@@ -4148,7 +4147,7 @@ class ServiceTaskSpecContainerSpecPrivileges(dict):
4148
4147
  """
4149
4148
  return pulumi.get(self, "credential_spec")
4150
4149
 
4151
- @property
4150
+ @_builtins.property
4152
4151
  @pulumi.getter(name="seLinuxContext")
4153
4152
  def se_linux_context(self) -> Optional['outputs.ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext']:
4154
4153
  """
@@ -4160,28 +4159,28 @@ class ServiceTaskSpecContainerSpecPrivileges(dict):
4160
4159
  @pulumi.output_type
4161
4160
  class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
4162
4161
  def __init__(__self__, *,
4163
- file: Optional[builtins.str] = None,
4164
- registry: Optional[builtins.str] = None):
4162
+ file: Optional[_builtins.str] = None,
4163
+ registry: Optional[_builtins.str] = None):
4165
4164
  """
4166
- :param builtins.str file: Load credential spec from this file
4167
- :param builtins.str registry: Load credential spec from this value in the Windows registry
4165
+ :param _builtins.str file: Load credential spec from this file
4166
+ :param _builtins.str registry: Load credential spec from this value in the Windows registry
4168
4167
  """
4169
4168
  if file is not None:
4170
4169
  pulumi.set(__self__, "file", file)
4171
4170
  if registry is not None:
4172
4171
  pulumi.set(__self__, "registry", registry)
4173
4172
 
4174
- @property
4173
+ @_builtins.property
4175
4174
  @pulumi.getter
4176
- def file(self) -> Optional[builtins.str]:
4175
+ def file(self) -> Optional[_builtins.str]:
4177
4176
  """
4178
4177
  Load credential spec from this file
4179
4178
  """
4180
4179
  return pulumi.get(self, "file")
4181
4180
 
4182
- @property
4181
+ @_builtins.property
4183
4182
  @pulumi.getter
4184
- def registry(self) -> Optional[builtins.str]:
4183
+ def registry(self) -> Optional[_builtins.str]:
4185
4184
  """
4186
4185
  Load credential spec from this value in the Windows registry
4187
4186
  """
@@ -4191,17 +4190,17 @@ class ServiceTaskSpecContainerSpecPrivilegesCredentialSpec(dict):
4191
4190
  @pulumi.output_type
4192
4191
  class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
4193
4192
  def __init__(__self__, *,
4194
- disable: Optional[builtins.bool] = None,
4195
- level: Optional[builtins.str] = None,
4196
- role: Optional[builtins.str] = None,
4197
- type: Optional[builtins.str] = None,
4198
- user: Optional[builtins.str] = None):
4199
- """
4200
- :param builtins.bool disable: Disable SELinux
4201
- :param builtins.str level: SELinux level label
4202
- :param builtins.str role: SELinux role label
4203
- :param builtins.str type: SELinux type label
4204
- :param builtins.str user: SELinux user label
4193
+ disable: Optional[_builtins.bool] = None,
4194
+ level: Optional[_builtins.str] = None,
4195
+ role: Optional[_builtins.str] = None,
4196
+ type: Optional[_builtins.str] = None,
4197
+ user: Optional[_builtins.str] = None):
4198
+ """
4199
+ :param _builtins.bool disable: Disable SELinux
4200
+ :param _builtins.str level: SELinux level label
4201
+ :param _builtins.str role: SELinux role label
4202
+ :param _builtins.str type: SELinux type label
4203
+ :param _builtins.str user: SELinux user label
4205
4204
  """
4206
4205
  if disable is not None:
4207
4206
  pulumi.set(__self__, "disable", disable)
@@ -4214,41 +4213,41 @@ class ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext(dict):
4214
4213
  if user is not None:
4215
4214
  pulumi.set(__self__, "user", user)
4216
4215
 
4217
- @property
4216
+ @_builtins.property
4218
4217
  @pulumi.getter
4219
- def disable(self) -> Optional[builtins.bool]:
4218
+ def disable(self) -> Optional[_builtins.bool]:
4220
4219
  """
4221
4220
  Disable SELinux
4222
4221
  """
4223
4222
  return pulumi.get(self, "disable")
4224
4223
 
4225
- @property
4224
+ @_builtins.property
4226
4225
  @pulumi.getter
4227
- def level(self) -> Optional[builtins.str]:
4226
+ def level(self) -> Optional[_builtins.str]:
4228
4227
  """
4229
4228
  SELinux level label
4230
4229
  """
4231
4230
  return pulumi.get(self, "level")
4232
4231
 
4233
- @property
4232
+ @_builtins.property
4234
4233
  @pulumi.getter
4235
- def role(self) -> Optional[builtins.str]:
4234
+ def role(self) -> Optional[_builtins.str]:
4236
4235
  """
4237
4236
  SELinux role label
4238
4237
  """
4239
4238
  return pulumi.get(self, "role")
4240
4239
 
4241
- @property
4240
+ @_builtins.property
4242
4241
  @pulumi.getter
4243
- def type(self) -> Optional[builtins.str]:
4242
+ def type(self) -> Optional[_builtins.str]:
4244
4243
  """
4245
4244
  SELinux type label
4246
4245
  """
4247
4246
  return pulumi.get(self, "type")
4248
4247
 
4249
- @property
4248
+ @_builtins.property
4250
4249
  @pulumi.getter
4251
- def user(self) -> Optional[builtins.str]:
4250
+ def user(self) -> Optional[_builtins.str]:
4252
4251
  """
4253
4252
  SELinux user label
4254
4253
  """
@@ -4285,19 +4284,19 @@ class ServiceTaskSpecContainerSpecSecret(dict):
4285
4284
  return super().get(key, default)
4286
4285
 
4287
4286
  def __init__(__self__, *,
4288
- file_name: builtins.str,
4289
- secret_id: builtins.str,
4290
- file_gid: Optional[builtins.str] = None,
4291
- file_mode: Optional[builtins.int] = None,
4292
- file_uid: Optional[builtins.str] = None,
4293
- secret_name: Optional[builtins.str] = None):
4294
- """
4295
- :param builtins.str file_name: Represents the final filename in the filesystem
4296
- :param builtins.str secret_id: ID of the specific secret that we're referencing
4297
- :param builtins.str file_gid: Represents the file GID. Defaults to `0`
4298
- :param builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`
4299
- :param builtins.str file_uid: Represents the file UID. Defaults to `0`
4300
- :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
4287
+ file_name: _builtins.str,
4288
+ secret_id: _builtins.str,
4289
+ file_gid: Optional[_builtins.str] = None,
4290
+ file_mode: Optional[_builtins.int] = None,
4291
+ file_uid: Optional[_builtins.str] = None,
4292
+ secret_name: Optional[_builtins.str] = None):
4293
+ """
4294
+ :param _builtins.str file_name: Represents the final filename in the filesystem
4295
+ :param _builtins.str secret_id: ID of the specific secret that we're referencing
4296
+ :param _builtins.str file_gid: Represents the file GID. Defaults to `0`
4297
+ :param _builtins.int file_mode: Represents represents the FileMode of the file. Defaults to `0o444`
4298
+ :param _builtins.str file_uid: Represents the file UID. Defaults to `0`
4299
+ :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
4301
4300
  """
4302
4301
  pulumi.set(__self__, "file_name", file_name)
4303
4302
  pulumi.set(__self__, "secret_id", secret_id)
@@ -4310,49 +4309,49 @@ class ServiceTaskSpecContainerSpecSecret(dict):
4310
4309
  if secret_name is not None:
4311
4310
  pulumi.set(__self__, "secret_name", secret_name)
4312
4311
 
4313
- @property
4312
+ @_builtins.property
4314
4313
  @pulumi.getter(name="fileName")
4315
- def file_name(self) -> builtins.str:
4314
+ def file_name(self) -> _builtins.str:
4316
4315
  """
4317
4316
  Represents the final filename in the filesystem
4318
4317
  """
4319
4318
  return pulumi.get(self, "file_name")
4320
4319
 
4321
- @property
4320
+ @_builtins.property
4322
4321
  @pulumi.getter(name="secretId")
4323
- def secret_id(self) -> builtins.str:
4322
+ def secret_id(self) -> _builtins.str:
4324
4323
  """
4325
4324
  ID of the specific secret that we're referencing
4326
4325
  """
4327
4326
  return pulumi.get(self, "secret_id")
4328
4327
 
4329
- @property
4328
+ @_builtins.property
4330
4329
  @pulumi.getter(name="fileGid")
4331
- def file_gid(self) -> Optional[builtins.str]:
4330
+ def file_gid(self) -> Optional[_builtins.str]:
4332
4331
  """
4333
4332
  Represents the file GID. Defaults to `0`
4334
4333
  """
4335
4334
  return pulumi.get(self, "file_gid")
4336
4335
 
4337
- @property
4336
+ @_builtins.property
4338
4337
  @pulumi.getter(name="fileMode")
4339
- def file_mode(self) -> Optional[builtins.int]:
4338
+ def file_mode(self) -> Optional[_builtins.int]:
4340
4339
  """
4341
4340
  Represents represents the FileMode of the file. Defaults to `0o444`
4342
4341
  """
4343
4342
  return pulumi.get(self, "file_mode")
4344
4343
 
4345
- @property
4344
+ @_builtins.property
4346
4345
  @pulumi.getter(name="fileUid")
4347
- def file_uid(self) -> Optional[builtins.str]:
4346
+ def file_uid(self) -> Optional[_builtins.str]:
4348
4347
  """
4349
4348
  Represents the file UID. Defaults to `0`
4350
4349
  """
4351
4350
  return pulumi.get(self, "file_uid")
4352
4351
 
4353
- @property
4352
+ @_builtins.property
4354
4353
  @pulumi.getter(name="secretName")
4355
- def secret_name(self) -> Optional[builtins.str]:
4354
+ def secret_name(self) -> Optional[_builtins.str]:
4356
4355
  """
4357
4356
  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
4358
4357
  """
@@ -4362,27 +4361,27 @@ class ServiceTaskSpecContainerSpecSecret(dict):
4362
4361
  @pulumi.output_type
4363
4362
  class ServiceTaskSpecLogDriver(dict):
4364
4363
  def __init__(__self__, *,
4365
- name: builtins.str,
4366
- options: Optional[Mapping[str, builtins.str]] = None):
4364
+ name: _builtins.str,
4365
+ options: Optional[Mapping[str, _builtins.str]] = None):
4367
4366
  """
4368
- :param builtins.str name: The logging driver to use
4369
- :param Mapping[str, builtins.str] options: The options for the logging driver
4367
+ :param _builtins.str name: The logging driver to use
4368
+ :param Mapping[str, _builtins.str] options: The options for the logging driver
4370
4369
  """
4371
4370
  pulumi.set(__self__, "name", name)
4372
4371
  if options is not None:
4373
4372
  pulumi.set(__self__, "options", options)
4374
4373
 
4375
- @property
4374
+ @_builtins.property
4376
4375
  @pulumi.getter
4377
- def name(self) -> builtins.str:
4376
+ def name(self) -> _builtins.str:
4378
4377
  """
4379
4378
  The logging driver to use
4380
4379
  """
4381
4380
  return pulumi.get(self, "name")
4382
4381
 
4383
- @property
4382
+ @_builtins.property
4384
4383
  @pulumi.getter
4385
- def options(self) -> Optional[Mapping[str, builtins.str]]:
4384
+ def options(self) -> Optional[Mapping[str, _builtins.str]]:
4386
4385
  """
4387
4386
  The options for the logging driver
4388
4387
  """
@@ -4409,13 +4408,13 @@ class ServiceTaskSpecNetworksAdvanced(dict):
4409
4408
  return super().get(key, default)
4410
4409
 
4411
4410
  def __init__(__self__, *,
4412
- name: builtins.str,
4413
- aliases: Optional[Sequence[builtins.str]] = None,
4414
- driver_opts: Optional[Sequence[builtins.str]] = None):
4411
+ name: _builtins.str,
4412
+ aliases: Optional[Sequence[_builtins.str]] = None,
4413
+ driver_opts: Optional[Sequence[_builtins.str]] = None):
4415
4414
  """
4416
- :param builtins.str name: The name/id of the network.
4417
- :param Sequence[builtins.str] aliases: The network aliases of the container in the specific network.
4418
- :param Sequence[builtins.str] driver_opts: An array of driver options for the network, e.g. `opts1=value`
4415
+ :param _builtins.str name: The name/id of the network.
4416
+ :param Sequence[_builtins.str] aliases: The network aliases of the container in the specific network.
4417
+ :param Sequence[_builtins.str] driver_opts: An array of driver options for the network, e.g. `opts1=value`
4419
4418
  """
4420
4419
  pulumi.set(__self__, "name", name)
4421
4420
  if aliases is not None:
@@ -4423,25 +4422,25 @@ class ServiceTaskSpecNetworksAdvanced(dict):
4423
4422
  if driver_opts is not None:
4424
4423
  pulumi.set(__self__, "driver_opts", driver_opts)
4425
4424
 
4426
- @property
4425
+ @_builtins.property
4427
4426
  @pulumi.getter
4428
- def name(self) -> builtins.str:
4427
+ def name(self) -> _builtins.str:
4429
4428
  """
4430
4429
  The name/id of the network.
4431
4430
  """
4432
4431
  return pulumi.get(self, "name")
4433
4432
 
4434
- @property
4433
+ @_builtins.property
4435
4434
  @pulumi.getter
4436
- def aliases(self) -> Optional[Sequence[builtins.str]]:
4435
+ def aliases(self) -> Optional[Sequence[_builtins.str]]:
4437
4436
  """
4438
4437
  The network aliases of the container in the specific network.
4439
4438
  """
4440
4439
  return pulumi.get(self, "aliases")
4441
4440
 
4442
- @property
4441
+ @_builtins.property
4443
4442
  @pulumi.getter(name="driverOpts")
4444
- def driver_opts(self) -> Optional[Sequence[builtins.str]]:
4443
+ def driver_opts(self) -> Optional[Sequence[_builtins.str]]:
4445
4444
  """
4446
4445
  An array of driver options for the network, e.g. `opts1=value`
4447
4446
  """
@@ -4468,15 +4467,15 @@ class ServiceTaskSpecPlacement(dict):
4468
4467
  return super().get(key, default)
4469
4468
 
4470
4469
  def __init__(__self__, *,
4471
- constraints: Optional[Sequence[builtins.str]] = None,
4472
- max_replicas: Optional[builtins.int] = None,
4470
+ constraints: Optional[Sequence[_builtins.str]] = None,
4471
+ max_replicas: Optional[_builtins.int] = None,
4473
4472
  platforms: Optional[Sequence['outputs.ServiceTaskSpecPlacementPlatform']] = None,
4474
- prefs: Optional[Sequence[builtins.str]] = None):
4473
+ prefs: Optional[Sequence[_builtins.str]] = None):
4475
4474
  """
4476
- :param Sequence[builtins.str] constraints: An array of constraints. e.g.: `node.role==manager`
4477
- :param builtins.int max_replicas: Maximum number of replicas for per node (default value is `0`, which is unlimited)
4475
+ :param Sequence[_builtins.str] constraints: An array of constraints. e.g.: `node.role==manager`
4476
+ :param _builtins.int max_replicas: Maximum number of replicas for per node (default value is `0`, which is unlimited)
4478
4477
  :param Sequence['ServiceTaskSpecPlacementPlatformArgs'] platforms: Platforms stores all the platforms that the service's image can run on
4479
- :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`
4478
+ :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`
4480
4479
  """
4481
4480
  if constraints is not None:
4482
4481
  pulumi.set(__self__, "constraints", constraints)
@@ -4487,23 +4486,23 @@ class ServiceTaskSpecPlacement(dict):
4487
4486
  if prefs is not None:
4488
4487
  pulumi.set(__self__, "prefs", prefs)
4489
4488
 
4490
- @property
4489
+ @_builtins.property
4491
4490
  @pulumi.getter
4492
- def constraints(self) -> Optional[Sequence[builtins.str]]:
4491
+ def constraints(self) -> Optional[Sequence[_builtins.str]]:
4493
4492
  """
4494
4493
  An array of constraints. e.g.: `node.role==manager`
4495
4494
  """
4496
4495
  return pulumi.get(self, "constraints")
4497
4496
 
4498
- @property
4497
+ @_builtins.property
4499
4498
  @pulumi.getter(name="maxReplicas")
4500
- def max_replicas(self) -> Optional[builtins.int]:
4499
+ def max_replicas(self) -> Optional[_builtins.int]:
4501
4500
  """
4502
4501
  Maximum number of replicas for per node (default value is `0`, which is unlimited)
4503
4502
  """
4504
4503
  return pulumi.get(self, "max_replicas")
4505
4504
 
4506
- @property
4505
+ @_builtins.property
4507
4506
  @pulumi.getter
4508
4507
  def platforms(self) -> Optional[Sequence['outputs.ServiceTaskSpecPlacementPlatform']]:
4509
4508
  """
@@ -4511,9 +4510,9 @@ class ServiceTaskSpecPlacement(dict):
4511
4510
  """
4512
4511
  return pulumi.get(self, "platforms")
4513
4512
 
4514
- @property
4513
+ @_builtins.property
4515
4514
  @pulumi.getter
4516
- def prefs(self) -> Optional[Sequence[builtins.str]]:
4515
+ def prefs(self) -> Optional[Sequence[_builtins.str]]:
4517
4516
  """
4518
4517
  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`
4519
4518
  """
@@ -4523,26 +4522,26 @@ class ServiceTaskSpecPlacement(dict):
4523
4522
  @pulumi.output_type
4524
4523
  class ServiceTaskSpecPlacementPlatform(dict):
4525
4524
  def __init__(__self__, *,
4526
- architecture: builtins.str,
4527
- os: builtins.str):
4525
+ architecture: _builtins.str,
4526
+ os: _builtins.str):
4528
4527
  """
4529
- :param builtins.str architecture: The architecture, e.g. `amd64`
4530
- :param builtins.str os: The operation system, e.g. `linux`
4528
+ :param _builtins.str architecture: The architecture, e.g. `amd64`
4529
+ :param _builtins.str os: The operation system, e.g. `linux`
4531
4530
  """
4532
4531
  pulumi.set(__self__, "architecture", architecture)
4533
4532
  pulumi.set(__self__, "os", os)
4534
4533
 
4535
- @property
4534
+ @_builtins.property
4536
4535
  @pulumi.getter
4537
- def architecture(self) -> builtins.str:
4536
+ def architecture(self) -> _builtins.str:
4538
4537
  """
4539
4538
  The architecture, e.g. `amd64`
4540
4539
  """
4541
4540
  return pulumi.get(self, "architecture")
4542
4541
 
4543
- @property
4542
+ @_builtins.property
4544
4543
  @pulumi.getter
4545
- def os(self) -> builtins.str:
4544
+ def os(self) -> _builtins.str:
4546
4545
  """
4547
4546
  The operation system, e.g. `linux`
4548
4547
  """
@@ -4563,7 +4562,7 @@ class ServiceTaskSpecResources(dict):
4563
4562
  if reservation is not None:
4564
4563
  pulumi.set(__self__, "reservation", reservation)
4565
4564
 
4566
- @property
4565
+ @_builtins.property
4567
4566
  @pulumi.getter
4568
4567
  def limits(self) -> Optional['outputs.ServiceTaskSpecResourcesLimits']:
4569
4568
  """
@@ -4571,7 +4570,7 @@ class ServiceTaskSpecResources(dict):
4571
4570
  """
4572
4571
  return pulumi.get(self, "limits")
4573
4572
 
4574
- @property
4573
+ @_builtins.property
4575
4574
  @pulumi.getter
4576
4575
  def reservation(self) -> Optional['outputs.ServiceTaskSpecResourcesReservation']:
4577
4576
  """
@@ -4602,28 +4601,28 @@ class ServiceTaskSpecResourcesLimits(dict):
4602
4601
  return super().get(key, default)
4603
4602
 
4604
4603
  def __init__(__self__, *,
4605
- memory_bytes: Optional[builtins.int] = None,
4606
- nano_cpus: Optional[builtins.int] = None):
4604
+ memory_bytes: Optional[_builtins.int] = None,
4605
+ nano_cpus: Optional[_builtins.int] = None):
4607
4606
  """
4608
- :param builtins.int memory_bytes: The amounf of memory in bytes the container allocates
4609
- :param builtins.int nano_cpus: CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
4607
+ :param _builtins.int memory_bytes: The amounf of memory in bytes the container allocates
4608
+ :param _builtins.int nano_cpus: CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
4610
4609
  """
4611
4610
  if memory_bytes is not None:
4612
4611
  pulumi.set(__self__, "memory_bytes", memory_bytes)
4613
4612
  if nano_cpus is not None:
4614
4613
  pulumi.set(__self__, "nano_cpus", nano_cpus)
4615
4614
 
4616
- @property
4615
+ @_builtins.property
4617
4616
  @pulumi.getter(name="memoryBytes")
4618
- def memory_bytes(self) -> Optional[builtins.int]:
4617
+ def memory_bytes(self) -> Optional[_builtins.int]:
4619
4618
  """
4620
4619
  The amounf of memory in bytes the container allocates
4621
4620
  """
4622
4621
  return pulumi.get(self, "memory_bytes")
4623
4622
 
4624
- @property
4623
+ @_builtins.property
4625
4624
  @pulumi.getter(name="nanoCpus")
4626
- def nano_cpus(self) -> Optional[builtins.int]:
4625
+ def nano_cpus(self) -> Optional[_builtins.int]:
4627
4626
  """
4628
4627
  CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
4629
4628
  """
@@ -4655,12 +4654,12 @@ class ServiceTaskSpecResourcesReservation(dict):
4655
4654
 
4656
4655
  def __init__(__self__, *,
4657
4656
  generic_resources: Optional['outputs.ServiceTaskSpecResourcesReservationGenericResources'] = None,
4658
- memory_bytes: Optional[builtins.int] = None,
4659
- nano_cpus: Optional[builtins.int] = None):
4657
+ memory_bytes: Optional[_builtins.int] = None,
4658
+ nano_cpus: Optional[_builtins.int] = None):
4660
4659
  """
4661
4660
  :param 'ServiceTaskSpecResourcesReservationGenericResourcesArgs' generic_resources: User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1)
4662
- :param builtins.int memory_bytes: The amounf of memory in bytes the container allocates
4663
- :param builtins.int nano_cpus: CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
4661
+ :param _builtins.int memory_bytes: The amounf of memory in bytes the container allocates
4662
+ :param _builtins.int nano_cpus: CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
4664
4663
  """
4665
4664
  if generic_resources is not None:
4666
4665
  pulumi.set(__self__, "generic_resources", generic_resources)
@@ -4669,7 +4668,7 @@ class ServiceTaskSpecResourcesReservation(dict):
4669
4668
  if nano_cpus is not None:
4670
4669
  pulumi.set(__self__, "nano_cpus", nano_cpus)
4671
4670
 
4672
- @property
4671
+ @_builtins.property
4673
4672
  @pulumi.getter(name="genericResources")
4674
4673
  def generic_resources(self) -> Optional['outputs.ServiceTaskSpecResourcesReservationGenericResources']:
4675
4674
  """
@@ -4677,17 +4676,17 @@ class ServiceTaskSpecResourcesReservation(dict):
4677
4676
  """
4678
4677
  return pulumi.get(self, "generic_resources")
4679
4678
 
4680
- @property
4679
+ @_builtins.property
4681
4680
  @pulumi.getter(name="memoryBytes")
4682
- def memory_bytes(self) -> Optional[builtins.int]:
4681
+ def memory_bytes(self) -> Optional[_builtins.int]:
4683
4682
  """
4684
4683
  The amounf of memory in bytes the container allocates
4685
4684
  """
4686
4685
  return pulumi.get(self, "memory_bytes")
4687
4686
 
4688
- @property
4687
+ @_builtins.property
4689
4688
  @pulumi.getter(name="nanoCpus")
4690
- def nano_cpus(self) -> Optional[builtins.int]:
4689
+ def nano_cpus(self) -> Optional[_builtins.int]:
4691
4690
  """
4692
4691
  CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
4693
4692
  """
@@ -4716,28 +4715,28 @@ class ServiceTaskSpecResourcesReservationGenericResources(dict):
4716
4715
  return super().get(key, default)
4717
4716
 
4718
4717
  def __init__(__self__, *,
4719
- discrete_resources_specs: Optional[Sequence[builtins.str]] = None,
4720
- named_resources_specs: Optional[Sequence[builtins.str]] = None):
4718
+ discrete_resources_specs: Optional[Sequence[_builtins.str]] = None,
4719
+ named_resources_specs: Optional[Sequence[_builtins.str]] = None):
4721
4720
  """
4722
- :param Sequence[builtins.str] discrete_resources_specs: The Integer resources
4723
- :param Sequence[builtins.str] named_resources_specs: The String resources
4721
+ :param Sequence[_builtins.str] discrete_resources_specs: The Integer resources
4722
+ :param Sequence[_builtins.str] named_resources_specs: The String resources
4724
4723
  """
4725
4724
  if discrete_resources_specs is not None:
4726
4725
  pulumi.set(__self__, "discrete_resources_specs", discrete_resources_specs)
4727
4726
  if named_resources_specs is not None:
4728
4727
  pulumi.set(__self__, "named_resources_specs", named_resources_specs)
4729
4728
 
4730
- @property
4729
+ @_builtins.property
4731
4730
  @pulumi.getter(name="discreteResourcesSpecs")
4732
- def discrete_resources_specs(self) -> Optional[Sequence[builtins.str]]:
4731
+ def discrete_resources_specs(self) -> Optional[Sequence[_builtins.str]]:
4733
4732
  """
4734
4733
  The Integer resources
4735
4734
  """
4736
4735
  return pulumi.get(self, "discrete_resources_specs")
4737
4736
 
4738
- @property
4737
+ @_builtins.property
4739
4738
  @pulumi.getter(name="namedResourcesSpecs")
4740
- def named_resources_specs(self) -> Optional[Sequence[builtins.str]]:
4739
+ def named_resources_specs(self) -> Optional[Sequence[_builtins.str]]:
4741
4740
  """
4742
4741
  The String resources
4743
4742
  """
@@ -4764,15 +4763,15 @@ class ServiceTaskSpecRestartPolicy(dict):
4764
4763
  return super().get(key, default)
4765
4764
 
4766
4765
  def __init__(__self__, *,
4767
- condition: Optional[builtins.str] = None,
4768
- delay: Optional[builtins.str] = None,
4769
- max_attempts: Optional[builtins.int] = None,
4770
- window: Optional[builtins.str] = None):
4766
+ condition: Optional[_builtins.str] = None,
4767
+ delay: Optional[_builtins.str] = None,
4768
+ max_attempts: Optional[_builtins.int] = None,
4769
+ window: Optional[_builtins.str] = None):
4771
4770
  """
4772
- :param builtins.str condition: Condition for restart
4773
- :param builtins.str delay: Delay between restart attempts (ms|s|m|h)
4774
- :param builtins.int max_attempts: Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
4775
- :param builtins.str window: The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
4771
+ :param _builtins.str condition: Condition for restart
4772
+ :param _builtins.str delay: Delay between restart attempts (ms|s|m|h)
4773
+ :param _builtins.int max_attempts: Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
4774
+ :param _builtins.str window: The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
4776
4775
  """
4777
4776
  if condition is not None:
4778
4777
  pulumi.set(__self__, "condition", condition)
@@ -4783,33 +4782,33 @@ class ServiceTaskSpecRestartPolicy(dict):
4783
4782
  if window is not None:
4784
4783
  pulumi.set(__self__, "window", window)
4785
4784
 
4786
- @property
4785
+ @_builtins.property
4787
4786
  @pulumi.getter
4788
- def condition(self) -> Optional[builtins.str]:
4787
+ def condition(self) -> Optional[_builtins.str]:
4789
4788
  """
4790
4789
  Condition for restart
4791
4790
  """
4792
4791
  return pulumi.get(self, "condition")
4793
4792
 
4794
- @property
4793
+ @_builtins.property
4795
4794
  @pulumi.getter
4796
- def delay(self) -> Optional[builtins.str]:
4795
+ def delay(self) -> Optional[_builtins.str]:
4797
4796
  """
4798
4797
  Delay between restart attempts (ms|s|m|h)
4799
4798
  """
4800
4799
  return pulumi.get(self, "delay")
4801
4800
 
4802
- @property
4801
+ @_builtins.property
4803
4802
  @pulumi.getter(name="maxAttempts")
4804
- def max_attempts(self) -> Optional[builtins.int]:
4803
+ def max_attempts(self) -> Optional[_builtins.int]:
4805
4804
  """
4806
4805
  Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
4807
4806
  """
4808
4807
  return pulumi.get(self, "max_attempts")
4809
4808
 
4810
- @property
4809
+ @_builtins.property
4811
4810
  @pulumi.getter
4812
- def window(self) -> Optional[builtins.str]:
4811
+ def window(self) -> Optional[_builtins.str]:
4813
4812
  """
4814
4813
  The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
4815
4814
  """
@@ -4838,19 +4837,19 @@ class ServiceUpdateConfig(dict):
4838
4837
  return super().get(key, default)
4839
4838
 
4840
4839
  def __init__(__self__, *,
4841
- delay: Optional[builtins.str] = None,
4842
- failure_action: Optional[builtins.str] = None,
4843
- max_failure_ratio: Optional[builtins.str] = None,
4844
- monitor: Optional[builtins.str] = None,
4845
- order: Optional[builtins.str] = None,
4846
- parallelism: Optional[builtins.int] = None):
4847
- """
4848
- :param builtins.str delay: Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4849
- :param builtins.str failure_action: Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4850
- :param builtins.str max_failure_ratio: Failure rate to tolerate during an update. Defaults to `0.0`.
4851
- :param builtins.str monitor: Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4852
- :param builtins.str order: Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4853
- :param builtins.int parallelism: Maximum number of tasks to be updated in one iteration. Defaults to `1`
4840
+ delay: Optional[_builtins.str] = None,
4841
+ failure_action: Optional[_builtins.str] = None,
4842
+ max_failure_ratio: Optional[_builtins.str] = None,
4843
+ monitor: Optional[_builtins.str] = None,
4844
+ order: Optional[_builtins.str] = None,
4845
+ parallelism: Optional[_builtins.int] = None):
4846
+ """
4847
+ :param _builtins.str delay: Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4848
+ :param _builtins.str failure_action: Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4849
+ :param _builtins.str max_failure_ratio: Failure rate to tolerate during an update. Defaults to `0.0`.
4850
+ :param _builtins.str monitor: Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4851
+ :param _builtins.str order: Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4852
+ :param _builtins.int parallelism: Maximum number of tasks to be updated in one iteration. Defaults to `1`
4854
4853
  """
4855
4854
  if delay is not None:
4856
4855
  pulumi.set(__self__, "delay", delay)
@@ -4865,49 +4864,49 @@ class ServiceUpdateConfig(dict):
4865
4864
  if parallelism is not None:
4866
4865
  pulumi.set(__self__, "parallelism", parallelism)
4867
4866
 
4868
- @property
4867
+ @_builtins.property
4869
4868
  @pulumi.getter
4870
- def delay(self) -> Optional[builtins.str]:
4869
+ def delay(self) -> Optional[_builtins.str]:
4871
4870
  """
4872
4871
  Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
4873
4872
  """
4874
4873
  return pulumi.get(self, "delay")
4875
4874
 
4876
- @property
4875
+ @_builtins.property
4877
4876
  @pulumi.getter(name="failureAction")
4878
- def failure_action(self) -> Optional[builtins.str]:
4877
+ def failure_action(self) -> Optional[_builtins.str]:
4879
4878
  """
4880
4879
  Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
4881
4880
  """
4882
4881
  return pulumi.get(self, "failure_action")
4883
4882
 
4884
- @property
4883
+ @_builtins.property
4885
4884
  @pulumi.getter(name="maxFailureRatio")
4886
- def max_failure_ratio(self) -> Optional[builtins.str]:
4885
+ def max_failure_ratio(self) -> Optional[_builtins.str]:
4887
4886
  """
4888
4887
  Failure rate to tolerate during an update. Defaults to `0.0`.
4889
4888
  """
4890
4889
  return pulumi.get(self, "max_failure_ratio")
4891
4890
 
4892
- @property
4891
+ @_builtins.property
4893
4892
  @pulumi.getter
4894
- def monitor(self) -> Optional[builtins.str]:
4893
+ def monitor(self) -> Optional[_builtins.str]:
4895
4894
  """
4896
4895
  Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
4897
4896
  """
4898
4897
  return pulumi.get(self, "monitor")
4899
4898
 
4900
- @property
4899
+ @_builtins.property
4901
4900
  @pulumi.getter
4902
- def order(self) -> Optional[builtins.str]:
4901
+ def order(self) -> Optional[_builtins.str]:
4903
4902
  """
4904
4903
  Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
4905
4904
  """
4906
4905
  return pulumi.get(self, "order")
4907
4906
 
4908
- @property
4907
+ @_builtins.property
4909
4908
  @pulumi.getter
4910
- def parallelism(self) -> Optional[builtins.int]:
4909
+ def parallelism(self) -> Optional[_builtins.int]:
4911
4910
  """
4912
4911
  Maximum number of tasks to be updated in one iteration. Defaults to `1`
4913
4912
  """
@@ -4917,26 +4916,26 @@ class ServiceUpdateConfig(dict):
4917
4916
  @pulumi.output_type
4918
4917
  class VolumeLabel(dict):
4919
4918
  def __init__(__self__, *,
4920
- label: builtins.str,
4921
- value: builtins.str):
4919
+ label: _builtins.str,
4920
+ value: _builtins.str):
4922
4921
  """
4923
- :param builtins.str label: Name of the label
4924
- :param builtins.str value: Value of the label
4922
+ :param _builtins.str label: Name of the label
4923
+ :param _builtins.str value: Value of the label
4925
4924
  """
4926
4925
  pulumi.set(__self__, "label", label)
4927
4926
  pulumi.set(__self__, "value", value)
4928
4927
 
4929
- @property
4928
+ @_builtins.property
4930
4929
  @pulumi.getter
4931
- def label(self) -> builtins.str:
4930
+ def label(self) -> _builtins.str:
4932
4931
  """
4933
4932
  Name of the label
4934
4933
  """
4935
4934
  return pulumi.get(self, "label")
4936
4935
 
4937
- @property
4936
+ @_builtins.property
4938
4937
  @pulumi.getter
4939
- def value(self) -> builtins.str:
4938
+ def value(self) -> _builtins.str:
4940
4939
  """
4941
4940
  Value of the label
4942
4941
  """
@@ -4946,15 +4945,15 @@ class VolumeLabel(dict):
4946
4945
  @pulumi.output_type
4947
4946
  class GetNetworkIpamConfigResult(dict):
4948
4947
  def __init__(__self__, *,
4949
- aux_address: Optional[Mapping[str, builtins.str]] = None,
4950
- gateway: Optional[builtins.str] = None,
4951
- ip_range: Optional[builtins.str] = None,
4952
- subnet: Optional[builtins.str] = None):
4948
+ aux_address: Optional[Mapping[str, _builtins.str]] = None,
4949
+ gateway: Optional[_builtins.str] = None,
4950
+ ip_range: Optional[_builtins.str] = None,
4951
+ subnet: Optional[_builtins.str] = None):
4953
4952
  """
4954
- :param Mapping[str, builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
4955
- :param builtins.str gateway: The IP address of the gateway
4956
- :param builtins.str ip_range: The ip range in CIDR form
4957
- :param builtins.str subnet: The subnet in CIDR form
4953
+ :param Mapping[str, _builtins.str] aux_address: Auxiliary IPv4 or IPv6 addresses used by Network driver
4954
+ :param _builtins.str gateway: The IP address of the gateway
4955
+ :param _builtins.str ip_range: The ip range in CIDR form
4956
+ :param _builtins.str subnet: The subnet in CIDR form
4958
4957
  """
4959
4958
  if aux_address is not None:
4960
4959
  pulumi.set(__self__, "aux_address", aux_address)
@@ -4965,33 +4964,33 @@ class GetNetworkIpamConfigResult(dict):
4965
4964
  if subnet is not None:
4966
4965
  pulumi.set(__self__, "subnet", subnet)
4967
4966
 
4968
- @property
4967
+ @_builtins.property
4969
4968
  @pulumi.getter(name="auxAddress")
4970
- def aux_address(self) -> Optional[Mapping[str, builtins.str]]:
4969
+ def aux_address(self) -> Optional[Mapping[str, _builtins.str]]:
4971
4970
  """
4972
4971
  Auxiliary IPv4 or IPv6 addresses used by Network driver
4973
4972
  """
4974
4973
  return pulumi.get(self, "aux_address")
4975
4974
 
4976
- @property
4975
+ @_builtins.property
4977
4976
  @pulumi.getter
4978
- def gateway(self) -> Optional[builtins.str]:
4977
+ def gateway(self) -> Optional[_builtins.str]:
4979
4978
  """
4980
4979
  The IP address of the gateway
4981
4980
  """
4982
4981
  return pulumi.get(self, "gateway")
4983
4982
 
4984
- @property
4983
+ @_builtins.property
4985
4984
  @pulumi.getter(name="ipRange")
4986
- def ip_range(self) -> Optional[builtins.str]:
4985
+ def ip_range(self) -> Optional[_builtins.str]:
4987
4986
  """
4988
4987
  The ip range in CIDR form
4989
4988
  """
4990
4989
  return pulumi.get(self, "ip_range")
4991
4990
 
4992
- @property
4991
+ @_builtins.property
4993
4992
  @pulumi.getter
4994
- def subnet(self) -> Optional[builtins.str]:
4993
+ def subnet(self) -> Optional[_builtins.str]:
4995
4994
  """
4996
4995
  The subnet in CIDR form
4997
4996
  """
@@ -5001,37 +5000,37 @@ class GetNetworkIpamConfigResult(dict):
5001
5000
  @pulumi.output_type
5002
5001
  class GetRegistryImageManifestsAuthConfigResult(dict):
5003
5002
  def __init__(__self__, *,
5004
- address: builtins.str,
5005
- password: builtins.str,
5006
- username: builtins.str):
5003
+ address: _builtins.str,
5004
+ password: _builtins.str,
5005
+ username: _builtins.str):
5007
5006
  """
5008
- :param builtins.str address: The address of the Docker registry.
5009
- :param builtins.str password: The password for the Docker registry.
5010
- :param builtins.str username: The username for the Docker registry.
5007
+ :param _builtins.str address: The address of the Docker registry.
5008
+ :param _builtins.str password: The password for the Docker registry.
5009
+ :param _builtins.str username: The username for the Docker registry.
5011
5010
  """
5012
5011
  pulumi.set(__self__, "address", address)
5013
5012
  pulumi.set(__self__, "password", password)
5014
5013
  pulumi.set(__self__, "username", username)
5015
5014
 
5016
- @property
5015
+ @_builtins.property
5017
5016
  @pulumi.getter
5018
- def address(self) -> builtins.str:
5017
+ def address(self) -> _builtins.str:
5019
5018
  """
5020
5019
  The address of the Docker registry.
5021
5020
  """
5022
5021
  return pulumi.get(self, "address")
5023
5022
 
5024
- @property
5023
+ @_builtins.property
5025
5024
  @pulumi.getter
5026
- def password(self) -> builtins.str:
5025
+ def password(self) -> _builtins.str:
5027
5026
  """
5028
5027
  The password for the Docker registry.
5029
5028
  """
5030
5029
  return pulumi.get(self, "password")
5031
5030
 
5032
- @property
5031
+ @_builtins.property
5033
5032
  @pulumi.getter
5034
- def username(self) -> builtins.str:
5033
+ def username(self) -> _builtins.str:
5035
5034
  """
5036
5035
  The username for the Docker registry.
5037
5036
  """
@@ -5041,48 +5040,48 @@ class GetRegistryImageManifestsAuthConfigResult(dict):
5041
5040
  @pulumi.output_type
5042
5041
  class GetRegistryImageManifestsManifestResult(dict):
5043
5042
  def __init__(__self__, *,
5044
- architecture: builtins.str,
5045
- media_type: builtins.str,
5046
- os: builtins.str,
5047
- sha256_digest: builtins.str):
5043
+ architecture: _builtins.str,
5044
+ media_type: _builtins.str,
5045
+ os: _builtins.str,
5046
+ sha256_digest: _builtins.str):
5048
5047
  """
5049
- :param builtins.str architecture: The platform architecture supported by the manifest.
5050
- :param builtins.str media_type: The media type of the manifest.
5051
- :param builtins.str os: The operating system supported by the manifest.
5052
- :param builtins.str sha256_digest: The content digest of the manifest, as stored in the registry.
5048
+ :param _builtins.str architecture: The platform architecture supported by the manifest.
5049
+ :param _builtins.str media_type: The media type of the manifest.
5050
+ :param _builtins.str os: The operating system supported by the manifest.
5051
+ :param _builtins.str sha256_digest: The content digest of the manifest, as stored in the registry.
5053
5052
  """
5054
5053
  pulumi.set(__self__, "architecture", architecture)
5055
5054
  pulumi.set(__self__, "media_type", media_type)
5056
5055
  pulumi.set(__self__, "os", os)
5057
5056
  pulumi.set(__self__, "sha256_digest", sha256_digest)
5058
5057
 
5059
- @property
5058
+ @_builtins.property
5060
5059
  @pulumi.getter
5061
- def architecture(self) -> builtins.str:
5060
+ def architecture(self) -> _builtins.str:
5062
5061
  """
5063
5062
  The platform architecture supported by the manifest.
5064
5063
  """
5065
5064
  return pulumi.get(self, "architecture")
5066
5065
 
5067
- @property
5066
+ @_builtins.property
5068
5067
  @pulumi.getter(name="mediaType")
5069
- def media_type(self) -> builtins.str:
5068
+ def media_type(self) -> _builtins.str:
5070
5069
  """
5071
5070
  The media type of the manifest.
5072
5071
  """
5073
5072
  return pulumi.get(self, "media_type")
5074
5073
 
5075
- @property
5074
+ @_builtins.property
5076
5075
  @pulumi.getter
5077
- def os(self) -> builtins.str:
5076
+ def os(self) -> _builtins.str:
5078
5077
  """
5079
5078
  The operating system supported by the manifest.
5080
5079
  """
5081
5080
  return pulumi.get(self, "os")
5082
5081
 
5083
- @property
5082
+ @_builtins.property
5084
5083
  @pulumi.getter(name="sha256Digest")
5085
- def sha256_digest(self) -> builtins.str:
5084
+ def sha256_digest(self) -> _builtins.str:
5086
5085
  """
5087
5086
  The content digest of the manifest, as stored in the registry.
5088
5087
  """