pulumi-docker 4.6.0a1723009002__py3-none-any.whl → 4.6.0a1726704154__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.

@@ -17,13 +17,13 @@ class RegistryImageArgs:
17
17
  insecure_skip_verify: Optional[pulumi.Input[bool]] = None,
18
18
  keep_remotely: Optional[pulumi.Input[bool]] = None,
19
19
  name: Optional[pulumi.Input[str]] = None,
20
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None):
20
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
21
21
  """
22
22
  The set of arguments for constructing a RegistryImage resource.
23
23
  :param pulumi.Input[bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
24
24
  :param pulumi.Input[bool] keep_remotely: If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
25
25
  :param pulumi.Input[str] name: The name of the Docker image.
26
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
26
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
27
27
  """
28
28
  if insecure_skip_verify is not None:
29
29
  pulumi.set(__self__, "insecure_skip_verify", insecure_skip_verify)
@@ -72,14 +72,14 @@ class RegistryImageArgs:
72
72
 
73
73
  @property
74
74
  @pulumi.getter
75
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
75
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
76
76
  """
77
77
  A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
78
78
  """
79
79
  return pulumi.get(self, "triggers")
80
80
 
81
81
  @triggers.setter
82
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
82
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
83
83
  pulumi.set(self, "triggers", value)
84
84
 
85
85
 
@@ -90,14 +90,14 @@ class _RegistryImageState:
90
90
  keep_remotely: Optional[pulumi.Input[bool]] = None,
91
91
  name: Optional[pulumi.Input[str]] = None,
92
92
  sha256_digest: Optional[pulumi.Input[str]] = None,
93
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None):
93
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
94
94
  """
95
95
  Input properties used for looking up and filtering RegistryImage resources.
96
96
  :param pulumi.Input[bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
97
97
  :param pulumi.Input[bool] keep_remotely: If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
98
98
  :param pulumi.Input[str] name: The name of the Docker image.
99
99
  :param pulumi.Input[str] sha256_digest: The sha256 digest of the image.
100
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
100
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
101
101
  """
102
102
  if insecure_skip_verify is not None:
103
103
  pulumi.set(__self__, "insecure_skip_verify", insecure_skip_verify)
@@ -160,14 +160,14 @@ class _RegistryImageState:
160
160
 
161
161
  @property
162
162
  @pulumi.getter
163
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
163
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
164
164
  """
165
165
  A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
166
166
  """
167
167
  return pulumi.get(self, "triggers")
168
168
 
169
169
  @triggers.setter
170
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
170
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
171
171
  pulumi.set(self, "triggers", value)
172
172
 
173
173
 
@@ -179,7 +179,7 @@ class RegistryImage(pulumi.CustomResource):
179
179
  insecure_skip_verify: Optional[pulumi.Input[bool]] = None,
180
180
  keep_remotely: Optional[pulumi.Input[bool]] = None,
181
181
  name: Optional[pulumi.Input[str]] = None,
182
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None,
182
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
183
183
  __props__=None):
184
184
  """
185
185
  <!-- Bug: Type and Name are switched -->
@@ -190,7 +190,7 @@ class RegistryImage(pulumi.CustomResource):
190
190
  :param pulumi.Input[bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
191
191
  :param pulumi.Input[bool] keep_remotely: If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
192
192
  :param pulumi.Input[str] name: The name of the Docker image.
193
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
193
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
194
194
  """
195
195
  ...
196
196
  @overload
@@ -220,7 +220,7 @@ class RegistryImage(pulumi.CustomResource):
220
220
  insecure_skip_verify: Optional[pulumi.Input[bool]] = None,
221
221
  keep_remotely: Optional[pulumi.Input[bool]] = None,
222
222
  name: Optional[pulumi.Input[str]] = None,
223
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None,
223
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
224
224
  __props__=None):
225
225
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
226
226
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -249,7 +249,7 @@ class RegistryImage(pulumi.CustomResource):
249
249
  keep_remotely: Optional[pulumi.Input[bool]] = None,
250
250
  name: Optional[pulumi.Input[str]] = None,
251
251
  sha256_digest: Optional[pulumi.Input[str]] = None,
252
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'RegistryImage':
252
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'RegistryImage':
253
253
  """
254
254
  Get an existing RegistryImage resource's state with the given name, id, and optional extra
255
255
  properties used to qualify the lookup.
@@ -261,7 +261,7 @@ class RegistryImage(pulumi.CustomResource):
261
261
  :param pulumi.Input[bool] keep_remotely: If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
262
262
  :param pulumi.Input[str] name: The name of the Docker image.
263
263
  :param pulumi.Input[str] sha256_digest: The sha256 digest of the image.
264
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
264
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
265
265
  """
266
266
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
267
267
 
@@ -308,7 +308,7 @@ class RegistryImage(pulumi.CustomResource):
308
308
 
309
309
  @property
310
310
  @pulumi.getter
311
- def triggers(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
311
+ def triggers(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
312
312
  """
313
313
  A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
314
314
  """
@@ -22,7 +22,7 @@ class RemoteImageArgs:
22
22
  keep_locally: Optional[pulumi.Input[bool]] = None,
23
23
  platform: Optional[pulumi.Input[str]] = None,
24
24
  pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None):
25
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
26
26
  """
27
27
  The set of arguments for constructing a RemoteImage resource.
28
28
  :param pulumi.Input[str] name: The name of the Docker image, including any tags or SHA256 repo digests.
@@ -31,7 +31,7 @@ class RemoteImageArgs:
31
31
  :param pulumi.Input[bool] keep_locally: If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
32
32
  :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
33
33
  :param pulumi.Input[Sequence[pulumi.Input[str]]] pull_triggers: List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
34
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
34
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
35
35
  """
36
36
  pulumi.set(__self__, "name", name)
37
37
  if build is not None:
@@ -121,14 +121,14 @@ class RemoteImageArgs:
121
121
 
122
122
  @property
123
123
  @pulumi.getter
124
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
124
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
125
125
  """
126
126
  A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
127
127
  """
128
128
  return pulumi.get(self, "triggers")
129
129
 
130
130
  @triggers.setter
131
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
131
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
132
132
  pulumi.set(self, "triggers", value)
133
133
 
134
134
 
@@ -143,7 +143,7 @@ class _RemoteImageState:
143
143
  platform: Optional[pulumi.Input[str]] = None,
144
144
  pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
145
145
  repo_digest: Optional[pulumi.Input[str]] = None,
146
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None):
146
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
147
147
  """
148
148
  Input properties used for looking up and filtering RemoteImage resources.
149
149
  :param pulumi.Input['RemoteImageBuildArgs'] build: Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
@@ -154,7 +154,7 @@ class _RemoteImageState:
154
154
  :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
155
155
  :param pulumi.Input[Sequence[pulumi.Input[str]]] pull_triggers: List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
156
156
  :param pulumi.Input[str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
157
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
157
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
158
158
  """
159
159
  if build is not None:
160
160
  pulumi.set(__self__, "build", build)
@@ -273,14 +273,14 @@ class _RemoteImageState:
273
273
 
274
274
  @property
275
275
  @pulumi.getter
276
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
276
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
277
277
  """
278
278
  A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
279
279
  """
280
280
  return pulumi.get(self, "triggers")
281
281
 
282
282
  @triggers.setter
283
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
283
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
284
284
  pulumi.set(self, "triggers", value)
285
285
 
286
286
 
@@ -289,13 +289,13 @@ class RemoteImage(pulumi.CustomResource):
289
289
  def __init__(__self__,
290
290
  resource_name: str,
291
291
  opts: Optional[pulumi.ResourceOptions] = None,
292
- build: Optional[pulumi.Input[pulumi.InputType['RemoteImageBuildArgs']]] = None,
292
+ build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
293
293
  force_remove: Optional[pulumi.Input[bool]] = None,
294
294
  keep_locally: Optional[pulumi.Input[bool]] = None,
295
295
  name: Optional[pulumi.Input[str]] = None,
296
296
  platform: Optional[pulumi.Input[str]] = None,
297
297
  pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
298
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None,
298
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
299
299
  __props__=None):
300
300
  """
301
301
  <!-- Bug: Type and Name are switched -->
@@ -342,29 +342,29 @@ class RemoteImage(pulumi.CustomResource):
342
342
 
343
343
  zoo = docker.RemoteImage("zoo",
344
344
  name="zoo",
345
- build=docker.RemoteImageBuildArgs(
346
- context=".",
347
- tags=["zoo:develop"],
348
- build_arg={
345
+ build={
346
+ "context": ".",
347
+ "tags": ["zoo:develop"],
348
+ "build_arg": {
349
349
  "foo": "zoo",
350
350
  },
351
- label={
351
+ "label": {
352
352
  "author": "zoo",
353
353
  },
354
- ))
354
+ })
355
355
  ```
356
356
 
357
357
  You can use the `triggers` argument to specify when the image should be rebuild. This is for example helpful when you want to rebuild the docker image whenever the source code changes.
358
358
 
359
359
  :param str resource_name: The name of the resource.
360
360
  :param pulumi.ResourceOptions opts: Options for the resource.
361
- :param pulumi.Input[pulumi.InputType['RemoteImageBuildArgs']] build: Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
361
+ :param pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']] build: Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
362
362
  :param pulumi.Input[bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
363
363
  :param pulumi.Input[bool] keep_locally: If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
364
364
  :param pulumi.Input[str] name: The name of the Docker image, including any tags or SHA256 repo digests.
365
365
  :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
366
366
  :param pulumi.Input[Sequence[pulumi.Input[str]]] pull_triggers: List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
367
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
367
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
368
368
  """
369
369
  ...
370
370
  @overload
@@ -417,16 +417,16 @@ class RemoteImage(pulumi.CustomResource):
417
417
 
418
418
  zoo = docker.RemoteImage("zoo",
419
419
  name="zoo",
420
- build=docker.RemoteImageBuildArgs(
421
- context=".",
422
- tags=["zoo:develop"],
423
- build_arg={
420
+ build={
421
+ "context": ".",
422
+ "tags": ["zoo:develop"],
423
+ "build_arg": {
424
424
  "foo": "zoo",
425
425
  },
426
- label={
426
+ "label": {
427
427
  "author": "zoo",
428
428
  },
429
- ))
429
+ })
430
430
  ```
431
431
 
432
432
  You can use the `triggers` argument to specify when the image should be rebuild. This is for example helpful when you want to rebuild the docker image whenever the source code changes.
@@ -446,13 +446,13 @@ class RemoteImage(pulumi.CustomResource):
446
446
  def _internal_init(__self__,
447
447
  resource_name: str,
448
448
  opts: Optional[pulumi.ResourceOptions] = None,
449
- build: Optional[pulumi.Input[pulumi.InputType['RemoteImageBuildArgs']]] = None,
449
+ build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
450
450
  force_remove: Optional[pulumi.Input[bool]] = None,
451
451
  keep_locally: Optional[pulumi.Input[bool]] = None,
452
452
  name: Optional[pulumi.Input[str]] = None,
453
453
  platform: Optional[pulumi.Input[str]] = None,
454
454
  pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
455
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None,
455
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
456
456
  __props__=None):
457
457
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
458
458
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -483,7 +483,7 @@ class RemoteImage(pulumi.CustomResource):
483
483
  def get(resource_name: str,
484
484
  id: pulumi.Input[str],
485
485
  opts: Optional[pulumi.ResourceOptions] = None,
486
- build: Optional[pulumi.Input[pulumi.InputType['RemoteImageBuildArgs']]] = None,
486
+ build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
487
487
  force_remove: Optional[pulumi.Input[bool]] = None,
488
488
  image_id: Optional[pulumi.Input[str]] = None,
489
489
  keep_locally: Optional[pulumi.Input[bool]] = None,
@@ -491,7 +491,7 @@ class RemoteImage(pulumi.CustomResource):
491
491
  platform: Optional[pulumi.Input[str]] = None,
492
492
  pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
493
493
  repo_digest: Optional[pulumi.Input[str]] = None,
494
- triggers: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'RemoteImage':
494
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'RemoteImage':
495
495
  """
496
496
  Get an existing RemoteImage resource's state with the given name, id, and optional extra
497
497
  properties used to qualify the lookup.
@@ -499,7 +499,7 @@ class RemoteImage(pulumi.CustomResource):
499
499
  :param str resource_name: The unique name of the resulting resource.
500
500
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
501
501
  :param pulumi.ResourceOptions opts: Options for the resource.
502
- :param pulumi.Input[pulumi.InputType['RemoteImageBuildArgs']] build: Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
502
+ :param pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']] build: Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
503
503
  :param pulumi.Input[bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
504
504
  :param pulumi.Input[str] image_id: The ID of the image (as seen when executing `docker inspect` on the image). Can be used to reference the image via its ID in other resources.
505
505
  :param pulumi.Input[bool] keep_locally: If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
@@ -507,7 +507,7 @@ class RemoteImage(pulumi.CustomResource):
507
507
  :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
508
508
  :param pulumi.Input[Sequence[pulumi.Input[str]]] pull_triggers: List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
509
509
  :param pulumi.Input[str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
510
- :param pulumi.Input[Mapping[str, Any]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
510
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
511
511
  """
512
512
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
513
513
 
@@ -590,7 +590,7 @@ class RemoteImage(pulumi.CustomResource):
590
590
 
591
591
  @property
592
592
  @pulumi.getter
593
- def triggers(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
593
+ def triggers(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
594
594
  """
595
595
  A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
596
596
  """
pulumi_docker/secret.py CHANGED
@@ -130,7 +130,7 @@ class Secret(pulumi.CustomResource):
130
130
  resource_name: str,
131
131
  opts: Optional[pulumi.ResourceOptions] = None,
132
132
  data: Optional[pulumi.Input[str]] = None,
133
- labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecretLabelArgs']]]]] = None,
133
+ labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]]] = None,
134
134
  name: Optional[pulumi.Input[str]] = None,
135
135
  __props__=None):
136
136
  """
@@ -143,7 +143,7 @@ class Secret(pulumi.CustomResource):
143
143
  :param str resource_name: The name of the resource.
144
144
  :param pulumi.ResourceOptions opts: Options for the resource.
145
145
  :param pulumi.Input[str] data: Base64-url-safe-encoded secret data
146
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecretLabelArgs']]]] labels: User-defined key/value metadata
146
+ :param pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]] labels: User-defined key/value metadata
147
147
  :param pulumi.Input[str] name: User-defined name of the secret
148
148
  """
149
149
  ...
@@ -175,7 +175,7 @@ class Secret(pulumi.CustomResource):
175
175
  resource_name: str,
176
176
  opts: Optional[pulumi.ResourceOptions] = None,
177
177
  data: Optional[pulumi.Input[str]] = None,
178
- labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecretLabelArgs']]]]] = None,
178
+ labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]]] = None,
179
179
  name: Optional[pulumi.Input[str]] = None,
180
180
  __props__=None):
181
181
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -204,7 +204,7 @@ class Secret(pulumi.CustomResource):
204
204
  id: pulumi.Input[str],
205
205
  opts: Optional[pulumi.ResourceOptions] = None,
206
206
  data: Optional[pulumi.Input[str]] = None,
207
- labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecretLabelArgs']]]]] = None,
207
+ labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]]] = None,
208
208
  name: Optional[pulumi.Input[str]] = None) -> 'Secret':
209
209
  """
210
210
  Get an existing Secret resource's state with the given name, id, and optional extra
@@ -214,7 +214,7 @@ class Secret(pulumi.CustomResource):
214
214
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
215
215
  :param pulumi.ResourceOptions opts: Options for the resource.
216
216
  :param pulumi.Input[str] data: Base64-url-safe-encoded secret data
217
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecretLabelArgs']]]] labels: User-defined key/value metadata
217
+ :param pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]] labels: User-defined key/value metadata
218
218
  :param pulumi.Input[str] name: User-defined name of the secret
219
219
  """
220
220
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
pulumi_docker/service.py CHANGED
@@ -321,15 +321,15 @@ class Service(pulumi.CustomResource):
321
321
  def __init__(__self__,
322
322
  resource_name: str,
323
323
  opts: Optional[pulumi.ResourceOptions] = None,
324
- auth: Optional[pulumi.Input[pulumi.InputType['ServiceAuthArgs']]] = None,
325
- converge_config: Optional[pulumi.Input[pulumi.InputType['ServiceConvergeConfigArgs']]] = None,
326
- endpoint_spec: Optional[pulumi.Input[pulumi.InputType['ServiceEndpointSpecArgs']]] = None,
327
- labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceLabelArgs']]]]] = None,
328
- mode: Optional[pulumi.Input[pulumi.InputType['ServiceModeArgs']]] = None,
324
+ auth: Optional[pulumi.Input[Union['ServiceAuthArgs', 'ServiceAuthArgsDict']]] = None,
325
+ converge_config: Optional[pulumi.Input[Union['ServiceConvergeConfigArgs', 'ServiceConvergeConfigArgsDict']]] = None,
326
+ endpoint_spec: Optional[pulumi.Input[Union['ServiceEndpointSpecArgs', 'ServiceEndpointSpecArgsDict']]] = None,
327
+ labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServiceLabelArgs', 'ServiceLabelArgsDict']]]]] = None,
328
+ mode: Optional[pulumi.Input[Union['ServiceModeArgs', 'ServiceModeArgsDict']]] = None,
329
329
  name: Optional[pulumi.Input[str]] = None,
330
- rollback_config: Optional[pulumi.Input[pulumi.InputType['ServiceRollbackConfigArgs']]] = None,
331
- task_spec: Optional[pulumi.Input[pulumi.InputType['ServiceTaskSpecArgs']]] = None,
332
- update_config: Optional[pulumi.Input[pulumi.InputType['ServiceUpdateConfigArgs']]] = None,
330
+ rollback_config: Optional[pulumi.Input[Union['ServiceRollbackConfigArgs', 'ServiceRollbackConfigArgsDict']]] = None,
331
+ task_spec: Optional[pulumi.Input[Union['ServiceTaskSpecArgs', 'ServiceTaskSpecArgsDict']]] = None,
332
+ update_config: Optional[pulumi.Input[Union['ServiceUpdateConfigArgs', 'ServiceUpdateConfigArgsDict']]] = None,
333
333
  __props__=None):
334
334
  """
335
335
  <!-- Bug: Type and Name are switched -->
@@ -393,15 +393,15 @@ class Service(pulumi.CustomResource):
393
393
 
394
394
  :param str resource_name: The name of the resource.
395
395
  :param pulumi.ResourceOptions opts: Options for the resource.
396
- :param pulumi.Input[pulumi.InputType['ServiceAuthArgs']] auth: Configuration for the authentication for pulling the images of the service
397
- :param pulumi.Input[pulumi.InputType['ServiceConvergeConfigArgs']] converge_config: A configuration to ensure that a service converges aka reaches the desired that of all task up and running
398
- :param pulumi.Input[pulumi.InputType['ServiceEndpointSpecArgs']] endpoint_spec: Properties that can be configured to access and load balance a service
399
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceLabelArgs']]]] labels: User-defined key/value metadata
400
- :param pulumi.Input[pulumi.InputType['ServiceModeArgs']] mode: Scheduling mode for the service
396
+ :param pulumi.Input[Union['ServiceAuthArgs', 'ServiceAuthArgsDict']] auth: Configuration for the authentication for pulling the images of the service
397
+ :param pulumi.Input[Union['ServiceConvergeConfigArgs', 'ServiceConvergeConfigArgsDict']] converge_config: A configuration to ensure that a service converges aka reaches the desired that of all task up and running
398
+ :param pulumi.Input[Union['ServiceEndpointSpecArgs', 'ServiceEndpointSpecArgsDict']] endpoint_spec: Properties that can be configured to access and load balance a service
399
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceLabelArgs', 'ServiceLabelArgsDict']]]] labels: User-defined key/value metadata
400
+ :param pulumi.Input[Union['ServiceModeArgs', 'ServiceModeArgsDict']] mode: Scheduling mode for the service
401
401
  :param pulumi.Input[str] name: Name of the service
402
- :param pulumi.Input[pulumi.InputType['ServiceRollbackConfigArgs']] rollback_config: Specification for the rollback strategy of the service
403
- :param pulumi.Input[pulumi.InputType['ServiceTaskSpecArgs']] task_spec: User modifiable task configuration
404
- :param pulumi.Input[pulumi.InputType['ServiceUpdateConfigArgs']] update_config: Specification for the update strategy of the service
402
+ :param pulumi.Input[Union['ServiceRollbackConfigArgs', 'ServiceRollbackConfigArgsDict']] rollback_config: Specification for the rollback strategy of the service
403
+ :param pulumi.Input[Union['ServiceTaskSpecArgs', 'ServiceTaskSpecArgsDict']] task_spec: User modifiable task configuration
404
+ :param pulumi.Input[Union['ServiceUpdateConfigArgs', 'ServiceUpdateConfigArgsDict']] update_config: Specification for the update strategy of the service
405
405
  """
406
406
  ...
407
407
  @overload
@@ -484,15 +484,15 @@ class Service(pulumi.CustomResource):
484
484
  def _internal_init(__self__,
485
485
  resource_name: str,
486
486
  opts: Optional[pulumi.ResourceOptions] = None,
487
- auth: Optional[pulumi.Input[pulumi.InputType['ServiceAuthArgs']]] = None,
488
- converge_config: Optional[pulumi.Input[pulumi.InputType['ServiceConvergeConfigArgs']]] = None,
489
- endpoint_spec: Optional[pulumi.Input[pulumi.InputType['ServiceEndpointSpecArgs']]] = None,
490
- labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceLabelArgs']]]]] = None,
491
- mode: Optional[pulumi.Input[pulumi.InputType['ServiceModeArgs']]] = None,
487
+ auth: Optional[pulumi.Input[Union['ServiceAuthArgs', 'ServiceAuthArgsDict']]] = None,
488
+ converge_config: Optional[pulumi.Input[Union['ServiceConvergeConfigArgs', 'ServiceConvergeConfigArgsDict']]] = None,
489
+ endpoint_spec: Optional[pulumi.Input[Union['ServiceEndpointSpecArgs', 'ServiceEndpointSpecArgsDict']]] = None,
490
+ labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServiceLabelArgs', 'ServiceLabelArgsDict']]]]] = None,
491
+ mode: Optional[pulumi.Input[Union['ServiceModeArgs', 'ServiceModeArgsDict']]] = None,
492
492
  name: Optional[pulumi.Input[str]] = None,
493
- rollback_config: Optional[pulumi.Input[pulumi.InputType['ServiceRollbackConfigArgs']]] = None,
494
- task_spec: Optional[pulumi.Input[pulumi.InputType['ServiceTaskSpecArgs']]] = None,
495
- update_config: Optional[pulumi.Input[pulumi.InputType['ServiceUpdateConfigArgs']]] = None,
493
+ rollback_config: Optional[pulumi.Input[Union['ServiceRollbackConfigArgs', 'ServiceRollbackConfigArgsDict']]] = None,
494
+ task_spec: Optional[pulumi.Input[Union['ServiceTaskSpecArgs', 'ServiceTaskSpecArgsDict']]] = None,
495
+ update_config: Optional[pulumi.Input[Union['ServiceUpdateConfigArgs', 'ServiceUpdateConfigArgsDict']]] = None,
496
496
  __props__=None):
497
497
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
498
498
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -523,15 +523,15 @@ class Service(pulumi.CustomResource):
523
523
  def get(resource_name: str,
524
524
  id: pulumi.Input[str],
525
525
  opts: Optional[pulumi.ResourceOptions] = None,
526
- auth: Optional[pulumi.Input[pulumi.InputType['ServiceAuthArgs']]] = None,
527
- converge_config: Optional[pulumi.Input[pulumi.InputType['ServiceConvergeConfigArgs']]] = None,
528
- endpoint_spec: Optional[pulumi.Input[pulumi.InputType['ServiceEndpointSpecArgs']]] = None,
529
- labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceLabelArgs']]]]] = None,
530
- mode: Optional[pulumi.Input[pulumi.InputType['ServiceModeArgs']]] = None,
526
+ auth: Optional[pulumi.Input[Union['ServiceAuthArgs', 'ServiceAuthArgsDict']]] = None,
527
+ converge_config: Optional[pulumi.Input[Union['ServiceConvergeConfigArgs', 'ServiceConvergeConfigArgsDict']]] = None,
528
+ endpoint_spec: Optional[pulumi.Input[Union['ServiceEndpointSpecArgs', 'ServiceEndpointSpecArgsDict']]] = None,
529
+ labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServiceLabelArgs', 'ServiceLabelArgsDict']]]]] = None,
530
+ mode: Optional[pulumi.Input[Union['ServiceModeArgs', 'ServiceModeArgsDict']]] = None,
531
531
  name: Optional[pulumi.Input[str]] = None,
532
- rollback_config: Optional[pulumi.Input[pulumi.InputType['ServiceRollbackConfigArgs']]] = None,
533
- task_spec: Optional[pulumi.Input[pulumi.InputType['ServiceTaskSpecArgs']]] = None,
534
- update_config: Optional[pulumi.Input[pulumi.InputType['ServiceUpdateConfigArgs']]] = None) -> 'Service':
532
+ rollback_config: Optional[pulumi.Input[Union['ServiceRollbackConfigArgs', 'ServiceRollbackConfigArgsDict']]] = None,
533
+ task_spec: Optional[pulumi.Input[Union['ServiceTaskSpecArgs', 'ServiceTaskSpecArgsDict']]] = None,
534
+ update_config: Optional[pulumi.Input[Union['ServiceUpdateConfigArgs', 'ServiceUpdateConfigArgsDict']]] = None) -> 'Service':
535
535
  """
536
536
  Get an existing Service resource's state with the given name, id, and optional extra
537
537
  properties used to qualify the lookup.
@@ -539,15 +539,15 @@ class Service(pulumi.CustomResource):
539
539
  :param str resource_name: The unique name of the resulting resource.
540
540
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
541
541
  :param pulumi.ResourceOptions opts: Options for the resource.
542
- :param pulumi.Input[pulumi.InputType['ServiceAuthArgs']] auth: Configuration for the authentication for pulling the images of the service
543
- :param pulumi.Input[pulumi.InputType['ServiceConvergeConfigArgs']] converge_config: A configuration to ensure that a service converges aka reaches the desired that of all task up and running
544
- :param pulumi.Input[pulumi.InputType['ServiceEndpointSpecArgs']] endpoint_spec: Properties that can be configured to access and load balance a service
545
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceLabelArgs']]]] labels: User-defined key/value metadata
546
- :param pulumi.Input[pulumi.InputType['ServiceModeArgs']] mode: Scheduling mode for the service
542
+ :param pulumi.Input[Union['ServiceAuthArgs', 'ServiceAuthArgsDict']] auth: Configuration for the authentication for pulling the images of the service
543
+ :param pulumi.Input[Union['ServiceConvergeConfigArgs', 'ServiceConvergeConfigArgsDict']] converge_config: A configuration to ensure that a service converges aka reaches the desired that of all task up and running
544
+ :param pulumi.Input[Union['ServiceEndpointSpecArgs', 'ServiceEndpointSpecArgsDict']] endpoint_spec: Properties that can be configured to access and load balance a service
545
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceLabelArgs', 'ServiceLabelArgsDict']]]] labels: User-defined key/value metadata
546
+ :param pulumi.Input[Union['ServiceModeArgs', 'ServiceModeArgsDict']] mode: Scheduling mode for the service
547
547
  :param pulumi.Input[str] name: Name of the service
548
- :param pulumi.Input[pulumi.InputType['ServiceRollbackConfigArgs']] rollback_config: Specification for the rollback strategy of the service
549
- :param pulumi.Input[pulumi.InputType['ServiceTaskSpecArgs']] task_spec: User modifiable task configuration
550
- :param pulumi.Input[pulumi.InputType['ServiceUpdateConfigArgs']] update_config: Specification for the update strategy of the service
548
+ :param pulumi.Input[Union['ServiceRollbackConfigArgs', 'ServiceRollbackConfigArgsDict']] rollback_config: Specification for the rollback strategy of the service
549
+ :param pulumi.Input[Union['ServiceTaskSpecArgs', 'ServiceTaskSpecArgsDict']] task_spec: User modifiable task configuration
550
+ :param pulumi.Input[Union['ServiceUpdateConfigArgs', 'ServiceUpdateConfigArgsDict']] update_config: Specification for the update strategy of the service
551
551
  """
552
552
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
553
553