pulumi-docker 4.7.0a1742795063__py3-none-any.whl → 4.7.0a1744786482__py3-none-any.whl

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

Potentially problematic release.


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

@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,22 +22,22 @@ __all__ = ['RemoteImageArgs', 'RemoteImage']
21
22
  @pulumi.input_type
22
23
  class RemoteImageArgs:
23
24
  def __init__(__self__, *,
24
- name: pulumi.Input[str],
25
+ name: pulumi.Input[builtins.str],
25
26
  build: Optional[pulumi.Input['RemoteImageBuildArgs']] = None,
26
- force_remove: Optional[pulumi.Input[bool]] = None,
27
- keep_locally: Optional[pulumi.Input[bool]] = None,
28
- platform: Optional[pulumi.Input[str]] = None,
29
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
30
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
27
+ force_remove: Optional[pulumi.Input[builtins.bool]] = None,
28
+ keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
29
+ platform: Optional[pulumi.Input[builtins.str]] = None,
30
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
31
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
31
32
  """
32
33
  The set of arguments for constructing a RemoteImage resource.
33
- :param pulumi.Input[str] name: The name of the Docker image, including any tags or SHA256 repo digests.
34
+ :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
34
35
  :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.
35
- :param pulumi.Input[bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
36
- :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.
37
- :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
38
- :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.
39
- :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
36
+ :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
37
+ :param pulumi.Input[builtins.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.
38
+ :param pulumi.Input[builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
39
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.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.
40
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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
40
41
  """
41
42
  pulumi.set(__self__, "name", name)
42
43
  if build is not None:
@@ -54,14 +55,14 @@ class RemoteImageArgs:
54
55
 
55
56
  @property
56
57
  @pulumi.getter
57
- def name(self) -> pulumi.Input[str]:
58
+ def name(self) -> pulumi.Input[builtins.str]:
58
59
  """
59
60
  The name of the Docker image, including any tags or SHA256 repo digests.
60
61
  """
61
62
  return pulumi.get(self, "name")
62
63
 
63
64
  @name.setter
64
- def name(self, value: pulumi.Input[str]):
65
+ def name(self, value: pulumi.Input[builtins.str]):
65
66
  pulumi.set(self, "name", value)
66
67
 
67
68
  @property
@@ -78,62 +79,62 @@ class RemoteImageArgs:
78
79
 
79
80
  @property
80
81
  @pulumi.getter(name="forceRemove")
81
- def force_remove(self) -> Optional[pulumi.Input[bool]]:
82
+ def force_remove(self) -> Optional[pulumi.Input[builtins.bool]]:
82
83
  """
83
84
  If true, then the image is removed forcibly when the resource is destroyed.
84
85
  """
85
86
  return pulumi.get(self, "force_remove")
86
87
 
87
88
  @force_remove.setter
88
- def force_remove(self, value: Optional[pulumi.Input[bool]]):
89
+ def force_remove(self, value: Optional[pulumi.Input[builtins.bool]]):
89
90
  pulumi.set(self, "force_remove", value)
90
91
 
91
92
  @property
92
93
  @pulumi.getter(name="keepLocally")
93
- def keep_locally(self) -> Optional[pulumi.Input[bool]]:
94
+ def keep_locally(self) -> Optional[pulumi.Input[builtins.bool]]:
94
95
  """
95
96
  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.
96
97
  """
97
98
  return pulumi.get(self, "keep_locally")
98
99
 
99
100
  @keep_locally.setter
100
- def keep_locally(self, value: Optional[pulumi.Input[bool]]):
101
+ def keep_locally(self, value: Optional[pulumi.Input[builtins.bool]]):
101
102
  pulumi.set(self, "keep_locally", value)
102
103
 
103
104
  @property
104
105
  @pulumi.getter
105
- def platform(self) -> Optional[pulumi.Input[str]]:
106
+ def platform(self) -> Optional[pulumi.Input[builtins.str]]:
106
107
  """
107
108
  The platform to use when pulling the image. Defaults to the platform of the current machine.
108
109
  """
109
110
  return pulumi.get(self, "platform")
110
111
 
111
112
  @platform.setter
112
- def platform(self, value: Optional[pulumi.Input[str]]):
113
+ def platform(self, value: Optional[pulumi.Input[builtins.str]]):
113
114
  pulumi.set(self, "platform", value)
114
115
 
115
116
  @property
116
117
  @pulumi.getter(name="pullTriggers")
117
- def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
118
+ def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
118
119
  """
119
120
  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.
120
121
  """
121
122
  return pulumi.get(self, "pull_triggers")
122
123
 
123
124
  @pull_triggers.setter
124
- def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
125
+ def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
125
126
  pulumi.set(self, "pull_triggers", value)
126
127
 
127
128
  @property
128
129
  @pulumi.getter
129
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
130
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
130
131
  """
131
132
  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
132
133
  """
133
134
  return pulumi.get(self, "triggers")
134
135
 
135
136
  @triggers.setter
136
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
137
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
137
138
  pulumi.set(self, "triggers", value)
138
139
 
139
140
 
@@ -141,25 +142,25 @@ class RemoteImageArgs:
141
142
  class _RemoteImageState:
142
143
  def __init__(__self__, *,
143
144
  build: Optional[pulumi.Input['RemoteImageBuildArgs']] = None,
144
- force_remove: Optional[pulumi.Input[bool]] = None,
145
- image_id: Optional[pulumi.Input[str]] = None,
146
- keep_locally: Optional[pulumi.Input[bool]] = None,
147
- name: Optional[pulumi.Input[str]] = None,
148
- platform: Optional[pulumi.Input[str]] = None,
149
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
150
- repo_digest: Optional[pulumi.Input[str]] = None,
151
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
145
+ force_remove: Optional[pulumi.Input[builtins.bool]] = None,
146
+ image_id: Optional[pulumi.Input[builtins.str]] = None,
147
+ keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
148
+ name: Optional[pulumi.Input[builtins.str]] = None,
149
+ platform: Optional[pulumi.Input[builtins.str]] = None,
150
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
151
+ repo_digest: Optional[pulumi.Input[builtins.str]] = None,
152
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
152
153
  """
153
154
  Input properties used for looking up and filtering RemoteImage resources.
154
155
  :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.
155
- :param pulumi.Input[bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
156
- :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.
157
- :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.
158
- :param pulumi.Input[str] name: The name of the Docker image, including any tags or SHA256 repo digests.
159
- :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
160
- :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.
161
- :param pulumi.Input[str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
162
- :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
156
+ :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
157
+ :param pulumi.Input[builtins.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.
158
+ :param pulumi.Input[builtins.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.
159
+ :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
160
+ :param pulumi.Input[builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
161
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.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.
162
+ :param pulumi.Input[builtins.str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
163
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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
163
164
  """
164
165
  if build is not None:
165
166
  pulumi.set(__self__, "build", build)
@@ -194,98 +195,98 @@ class _RemoteImageState:
194
195
 
195
196
  @property
196
197
  @pulumi.getter(name="forceRemove")
197
- def force_remove(self) -> Optional[pulumi.Input[bool]]:
198
+ def force_remove(self) -> Optional[pulumi.Input[builtins.bool]]:
198
199
  """
199
200
  If true, then the image is removed forcibly when the resource is destroyed.
200
201
  """
201
202
  return pulumi.get(self, "force_remove")
202
203
 
203
204
  @force_remove.setter
204
- def force_remove(self, value: Optional[pulumi.Input[bool]]):
205
+ def force_remove(self, value: Optional[pulumi.Input[builtins.bool]]):
205
206
  pulumi.set(self, "force_remove", value)
206
207
 
207
208
  @property
208
209
  @pulumi.getter(name="imageId")
209
- def image_id(self) -> Optional[pulumi.Input[str]]:
210
+ def image_id(self) -> Optional[pulumi.Input[builtins.str]]:
210
211
  """
211
212
  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.
212
213
  """
213
214
  return pulumi.get(self, "image_id")
214
215
 
215
216
  @image_id.setter
216
- def image_id(self, value: Optional[pulumi.Input[str]]):
217
+ def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
217
218
  pulumi.set(self, "image_id", value)
218
219
 
219
220
  @property
220
221
  @pulumi.getter(name="keepLocally")
221
- def keep_locally(self) -> Optional[pulumi.Input[bool]]:
222
+ def keep_locally(self) -> Optional[pulumi.Input[builtins.bool]]:
222
223
  """
223
224
  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.
224
225
  """
225
226
  return pulumi.get(self, "keep_locally")
226
227
 
227
228
  @keep_locally.setter
228
- def keep_locally(self, value: Optional[pulumi.Input[bool]]):
229
+ def keep_locally(self, value: Optional[pulumi.Input[builtins.bool]]):
229
230
  pulumi.set(self, "keep_locally", value)
230
231
 
231
232
  @property
232
233
  @pulumi.getter
233
- def name(self) -> Optional[pulumi.Input[str]]:
234
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
234
235
  """
235
236
  The name of the Docker image, including any tags or SHA256 repo digests.
236
237
  """
237
238
  return pulumi.get(self, "name")
238
239
 
239
240
  @name.setter
240
- def name(self, value: Optional[pulumi.Input[str]]):
241
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
241
242
  pulumi.set(self, "name", value)
242
243
 
243
244
  @property
244
245
  @pulumi.getter
245
- def platform(self) -> Optional[pulumi.Input[str]]:
246
+ def platform(self) -> Optional[pulumi.Input[builtins.str]]:
246
247
  """
247
248
  The platform to use when pulling the image. Defaults to the platform of the current machine.
248
249
  """
249
250
  return pulumi.get(self, "platform")
250
251
 
251
252
  @platform.setter
252
- def platform(self, value: Optional[pulumi.Input[str]]):
253
+ def platform(self, value: Optional[pulumi.Input[builtins.str]]):
253
254
  pulumi.set(self, "platform", value)
254
255
 
255
256
  @property
256
257
  @pulumi.getter(name="pullTriggers")
257
- def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
258
+ def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
258
259
  """
259
260
  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.
260
261
  """
261
262
  return pulumi.get(self, "pull_triggers")
262
263
 
263
264
  @pull_triggers.setter
264
- def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
265
+ def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
265
266
  pulumi.set(self, "pull_triggers", value)
266
267
 
267
268
  @property
268
269
  @pulumi.getter(name="repoDigest")
269
- def repo_digest(self) -> Optional[pulumi.Input[str]]:
270
+ def repo_digest(self) -> Optional[pulumi.Input[builtins.str]]:
270
271
  """
271
272
  The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
272
273
  """
273
274
  return pulumi.get(self, "repo_digest")
274
275
 
275
276
  @repo_digest.setter
276
- def repo_digest(self, value: Optional[pulumi.Input[str]]):
277
+ def repo_digest(self, value: Optional[pulumi.Input[builtins.str]]):
277
278
  pulumi.set(self, "repo_digest", value)
278
279
 
279
280
  @property
280
281
  @pulumi.getter
281
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
282
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
282
283
  """
283
284
  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
284
285
  """
285
286
  return pulumi.get(self, "triggers")
286
287
 
287
288
  @triggers.setter
288
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
289
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
289
290
  pulumi.set(self, "triggers", value)
290
291
 
291
292
 
@@ -295,12 +296,12 @@ class RemoteImage(pulumi.CustomResource):
295
296
  resource_name: str,
296
297
  opts: Optional[pulumi.ResourceOptions] = None,
297
298
  build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
298
- force_remove: Optional[pulumi.Input[bool]] = None,
299
- keep_locally: Optional[pulumi.Input[bool]] = None,
300
- name: Optional[pulumi.Input[str]] = None,
301
- platform: Optional[pulumi.Input[str]] = None,
302
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
303
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
299
+ force_remove: Optional[pulumi.Input[builtins.bool]] = None,
300
+ keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
301
+ name: Optional[pulumi.Input[builtins.str]] = None,
302
+ platform: Optional[pulumi.Input[builtins.str]] = None,
303
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
304
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
304
305
  __props__=None):
305
306
  """
306
307
  <!-- Bug: Type and Name are switched -->
@@ -364,12 +365,12 @@ class RemoteImage(pulumi.CustomResource):
364
365
  :param str resource_name: The name of the resource.
365
366
  :param pulumi.ResourceOptions opts: Options for the resource.
366
367
  :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.
367
- :param pulumi.Input[bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
368
- :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.
369
- :param pulumi.Input[str] name: The name of the Docker image, including any tags or SHA256 repo digests.
370
- :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
371
- :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.
372
- :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
+ :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
369
+ :param pulumi.Input[builtins.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.
370
+ :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
371
+ :param pulumi.Input[builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
372
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.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.
373
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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
373
374
  """
374
375
  ...
375
376
  @overload
@@ -452,12 +453,12 @@ class RemoteImage(pulumi.CustomResource):
452
453
  resource_name: str,
453
454
  opts: Optional[pulumi.ResourceOptions] = None,
454
455
  build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
455
- force_remove: Optional[pulumi.Input[bool]] = None,
456
- keep_locally: Optional[pulumi.Input[bool]] = None,
457
- name: Optional[pulumi.Input[str]] = None,
458
- platform: Optional[pulumi.Input[str]] = None,
459
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
460
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
456
+ force_remove: Optional[pulumi.Input[builtins.bool]] = None,
457
+ keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
458
+ name: Optional[pulumi.Input[builtins.str]] = None,
459
+ platform: Optional[pulumi.Input[builtins.str]] = None,
460
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
461
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
461
462
  __props__=None):
462
463
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
463
464
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -489,14 +490,14 @@ class RemoteImage(pulumi.CustomResource):
489
490
  id: pulumi.Input[str],
490
491
  opts: Optional[pulumi.ResourceOptions] = None,
491
492
  build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
492
- force_remove: Optional[pulumi.Input[bool]] = None,
493
- image_id: Optional[pulumi.Input[str]] = None,
494
- keep_locally: Optional[pulumi.Input[bool]] = None,
495
- name: Optional[pulumi.Input[str]] = None,
496
- platform: Optional[pulumi.Input[str]] = None,
497
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
498
- repo_digest: Optional[pulumi.Input[str]] = None,
499
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'RemoteImage':
493
+ force_remove: Optional[pulumi.Input[builtins.bool]] = None,
494
+ image_id: Optional[pulumi.Input[builtins.str]] = None,
495
+ keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
496
+ name: Optional[pulumi.Input[builtins.str]] = None,
497
+ platform: Optional[pulumi.Input[builtins.str]] = None,
498
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
499
+ repo_digest: Optional[pulumi.Input[builtins.str]] = None,
500
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None) -> 'RemoteImage':
500
501
  """
501
502
  Get an existing RemoteImage resource's state with the given name, id, and optional extra
502
503
  properties used to qualify the lookup.
@@ -505,14 +506,14 @@ class RemoteImage(pulumi.CustomResource):
505
506
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
506
507
  :param pulumi.ResourceOptions opts: Options for the resource.
507
508
  :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.
508
- :param pulumi.Input[bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
509
- :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.
510
- :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.
511
- :param pulumi.Input[str] name: The name of the Docker image, including any tags or SHA256 repo digests.
512
- :param pulumi.Input[str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
513
- :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.
514
- :param pulumi.Input[str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
515
- :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
509
+ :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
510
+ :param pulumi.Input[builtins.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.
511
+ :param pulumi.Input[builtins.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.
512
+ :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
513
+ :param pulumi.Input[builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
514
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.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.
515
+ :param pulumi.Input[builtins.str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
516
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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
516
517
  """
517
518
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
518
519
 
@@ -539,7 +540,7 @@ class RemoteImage(pulumi.CustomResource):
539
540
 
540
541
  @property
541
542
  @pulumi.getter(name="forceRemove")
542
- def force_remove(self) -> pulumi.Output[Optional[bool]]:
543
+ def force_remove(self) -> pulumi.Output[Optional[builtins.bool]]:
543
544
  """
544
545
  If true, then the image is removed forcibly when the resource is destroyed.
545
546
  """
@@ -547,7 +548,7 @@ class RemoteImage(pulumi.CustomResource):
547
548
 
548
549
  @property
549
550
  @pulumi.getter(name="imageId")
550
- def image_id(self) -> pulumi.Output[str]:
551
+ def image_id(self) -> pulumi.Output[builtins.str]:
551
552
  """
552
553
  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.
553
554
  """
@@ -555,7 +556,7 @@ class RemoteImage(pulumi.CustomResource):
555
556
 
556
557
  @property
557
558
  @pulumi.getter(name="keepLocally")
558
- def keep_locally(self) -> pulumi.Output[Optional[bool]]:
559
+ def keep_locally(self) -> pulumi.Output[Optional[builtins.bool]]:
559
560
  """
560
561
  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.
561
562
  """
@@ -563,7 +564,7 @@ class RemoteImage(pulumi.CustomResource):
563
564
 
564
565
  @property
565
566
  @pulumi.getter
566
- def name(self) -> pulumi.Output[str]:
567
+ def name(self) -> pulumi.Output[builtins.str]:
567
568
  """
568
569
  The name of the Docker image, including any tags or SHA256 repo digests.
569
570
  """
@@ -571,7 +572,7 @@ class RemoteImage(pulumi.CustomResource):
571
572
 
572
573
  @property
573
574
  @pulumi.getter
574
- def platform(self) -> pulumi.Output[Optional[str]]:
575
+ def platform(self) -> pulumi.Output[Optional[builtins.str]]:
575
576
  """
576
577
  The platform to use when pulling the image. Defaults to the platform of the current machine.
577
578
  """
@@ -579,7 +580,7 @@ class RemoteImage(pulumi.CustomResource):
579
580
 
580
581
  @property
581
582
  @pulumi.getter(name="pullTriggers")
582
- def pull_triggers(self) -> pulumi.Output[Optional[Sequence[str]]]:
583
+ def pull_triggers(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
583
584
  """
584
585
  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.
585
586
  """
@@ -587,7 +588,7 @@ class RemoteImage(pulumi.CustomResource):
587
588
 
588
589
  @property
589
590
  @pulumi.getter(name="repoDigest")
590
- def repo_digest(self) -> pulumi.Output[str]:
591
+ def repo_digest(self) -> pulumi.Output[builtins.str]:
591
592
  """
592
593
  The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
593
594
  """
@@ -595,7 +596,7 @@ class RemoteImage(pulumi.CustomResource):
595
596
 
596
597
  @property
597
598
  @pulumi.getter
598
- def triggers(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
599
+ def triggers(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
599
600
  """
600
601
  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
601
602
  """
pulumi_docker/secret.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,14 +22,14 @@ __all__ = ['SecretArgs', 'Secret']
21
22
  @pulumi.input_type
22
23
  class SecretArgs:
23
24
  def __init__(__self__, *,
24
- data: pulumi.Input[str],
25
+ data: pulumi.Input[builtins.str],
25
26
  labels: Optional[pulumi.Input[Sequence[pulumi.Input['SecretLabelArgs']]]] = None,
26
- name: Optional[pulumi.Input[str]] = None):
27
+ name: Optional[pulumi.Input[builtins.str]] = None):
27
28
  """
28
29
  The set of arguments for constructing a Secret resource.
29
- :param pulumi.Input[str] data: Base64-url-safe-encoded secret data
30
+ :param pulumi.Input[builtins.str] data: Base64-url-safe-encoded secret data
30
31
  :param pulumi.Input[Sequence[pulumi.Input['SecretLabelArgs']]] labels: User-defined key/value metadata
31
- :param pulumi.Input[str] name: User-defined name of the secret
32
+ :param pulumi.Input[builtins.str] name: User-defined name of the secret
32
33
  """
33
34
  pulumi.set(__self__, "data", data)
34
35
  if labels is not None:
@@ -38,14 +39,14 @@ class SecretArgs:
38
39
 
39
40
  @property
40
41
  @pulumi.getter
41
- def data(self) -> pulumi.Input[str]:
42
+ def data(self) -> pulumi.Input[builtins.str]:
42
43
  """
43
44
  Base64-url-safe-encoded secret data
44
45
  """
45
46
  return pulumi.get(self, "data")
46
47
 
47
48
  @data.setter
48
- def data(self, value: pulumi.Input[str]):
49
+ def data(self, value: pulumi.Input[builtins.str]):
49
50
  pulumi.set(self, "data", value)
50
51
 
51
52
  @property
@@ -62,28 +63,28 @@ class SecretArgs:
62
63
 
63
64
  @property
64
65
  @pulumi.getter
65
- def name(self) -> Optional[pulumi.Input[str]]:
66
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
66
67
  """
67
68
  User-defined name of the secret
68
69
  """
69
70
  return pulumi.get(self, "name")
70
71
 
71
72
  @name.setter
72
- def name(self, value: Optional[pulumi.Input[str]]):
73
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
73
74
  pulumi.set(self, "name", value)
74
75
 
75
76
 
76
77
  @pulumi.input_type
77
78
  class _SecretState:
78
79
  def __init__(__self__, *,
79
- data: Optional[pulumi.Input[str]] = None,
80
+ data: Optional[pulumi.Input[builtins.str]] = None,
80
81
  labels: Optional[pulumi.Input[Sequence[pulumi.Input['SecretLabelArgs']]]] = None,
81
- name: Optional[pulumi.Input[str]] = None):
82
+ name: Optional[pulumi.Input[builtins.str]] = None):
82
83
  """
83
84
  Input properties used for looking up and filtering Secret resources.
84
- :param pulumi.Input[str] data: Base64-url-safe-encoded secret data
85
+ :param pulumi.Input[builtins.str] data: Base64-url-safe-encoded secret data
85
86
  :param pulumi.Input[Sequence[pulumi.Input['SecretLabelArgs']]] labels: User-defined key/value metadata
86
- :param pulumi.Input[str] name: User-defined name of the secret
87
+ :param pulumi.Input[builtins.str] name: User-defined name of the secret
87
88
  """
88
89
  if data is not None:
89
90
  pulumi.set(__self__, "data", data)
@@ -94,14 +95,14 @@ class _SecretState:
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def data(self) -> Optional[pulumi.Input[str]]:
98
+ def data(self) -> Optional[pulumi.Input[builtins.str]]:
98
99
  """
99
100
  Base64-url-safe-encoded secret data
100
101
  """
101
102
  return pulumi.get(self, "data")
102
103
 
103
104
  @data.setter
104
- def data(self, value: Optional[pulumi.Input[str]]):
105
+ def data(self, value: Optional[pulumi.Input[builtins.str]]):
105
106
  pulumi.set(self, "data", value)
106
107
 
107
108
  @property
@@ -118,14 +119,14 @@ class _SecretState:
118
119
 
119
120
  @property
120
121
  @pulumi.getter
121
- def name(self) -> Optional[pulumi.Input[str]]:
122
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
122
123
  """
123
124
  User-defined name of the secret
124
125
  """
125
126
  return pulumi.get(self, "name")
126
127
 
127
128
  @name.setter
128
- def name(self, value: Optional[pulumi.Input[str]]):
129
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
129
130
  pulumi.set(self, "name", value)
130
131
 
131
132
 
@@ -134,9 +135,9 @@ class Secret(pulumi.CustomResource):
134
135
  def __init__(__self__,
135
136
  resource_name: str,
136
137
  opts: Optional[pulumi.ResourceOptions] = None,
137
- data: Optional[pulumi.Input[str]] = None,
138
+ data: Optional[pulumi.Input[builtins.str]] = None,
138
139
  labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]]] = None,
139
- name: Optional[pulumi.Input[str]] = None,
140
+ name: Optional[pulumi.Input[builtins.str]] = None,
140
141
  __props__=None):
141
142
  """
142
143
  ## Import
@@ -147,9 +148,9 @@ class Secret(pulumi.CustomResource):
147
148
 
148
149
  :param str resource_name: The name of the resource.
149
150
  :param pulumi.ResourceOptions opts: Options for the resource.
150
- :param pulumi.Input[str] data: Base64-url-safe-encoded secret data
151
+ :param pulumi.Input[builtins.str] data: Base64-url-safe-encoded secret data
151
152
  :param pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]] labels: User-defined key/value metadata
152
- :param pulumi.Input[str] name: User-defined name of the secret
153
+ :param pulumi.Input[builtins.str] name: User-defined name of the secret
153
154
  """
154
155
  ...
155
156
  @overload
@@ -179,9 +180,9 @@ class Secret(pulumi.CustomResource):
179
180
  def _internal_init(__self__,
180
181
  resource_name: str,
181
182
  opts: Optional[pulumi.ResourceOptions] = None,
182
- data: Optional[pulumi.Input[str]] = None,
183
+ data: Optional[pulumi.Input[builtins.str]] = None,
183
184
  labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]]] = None,
184
- name: Optional[pulumi.Input[str]] = None,
185
+ name: Optional[pulumi.Input[builtins.str]] = None,
185
186
  __props__=None):
186
187
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
187
188
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -208,9 +209,9 @@ class Secret(pulumi.CustomResource):
208
209
  def get(resource_name: str,
209
210
  id: pulumi.Input[str],
210
211
  opts: Optional[pulumi.ResourceOptions] = None,
211
- data: Optional[pulumi.Input[str]] = None,
212
+ data: Optional[pulumi.Input[builtins.str]] = None,
212
213
  labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]]] = None,
213
- name: Optional[pulumi.Input[str]] = None) -> 'Secret':
214
+ name: Optional[pulumi.Input[builtins.str]] = None) -> 'Secret':
214
215
  """
215
216
  Get an existing Secret resource's state with the given name, id, and optional extra
216
217
  properties used to qualify the lookup.
@@ -218,9 +219,9 @@ class Secret(pulumi.CustomResource):
218
219
  :param str resource_name: The unique name of the resulting resource.
219
220
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
220
221
  :param pulumi.ResourceOptions opts: Options for the resource.
221
- :param pulumi.Input[str] data: Base64-url-safe-encoded secret data
222
+ :param pulumi.Input[builtins.str] data: Base64-url-safe-encoded secret data
222
223
  :param pulumi.Input[Sequence[pulumi.Input[Union['SecretLabelArgs', 'SecretLabelArgsDict']]]] labels: User-defined key/value metadata
223
- :param pulumi.Input[str] name: User-defined name of the secret
224
+ :param pulumi.Input[builtins.str] name: User-defined name of the secret
224
225
  """
225
226
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
226
227
 
@@ -233,7 +234,7 @@ class Secret(pulumi.CustomResource):
233
234
 
234
235
  @property
235
236
  @pulumi.getter
236
- def data(self) -> pulumi.Output[str]:
237
+ def data(self) -> pulumi.Output[builtins.str]:
237
238
  """
238
239
  Base64-url-safe-encoded secret data
239
240
  """
@@ -249,7 +250,7 @@ class Secret(pulumi.CustomResource):
249
250
 
250
251
  @property
251
252
  @pulumi.getter
252
- def name(self) -> pulumi.Output[str]:
253
+ def name(self) -> pulumi.Output[builtins.str]:
253
254
  """
254
255
  User-defined name of the secret
255
256
  """