pulumi-docker 4.8.0a1750226298__py3-none-any.whl → 4.8.1__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,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
@@ -22,21 +21,21 @@ __all__ = ['RemoteImageArgs', 'RemoteImage']
22
21
  @pulumi.input_type
23
22
  class RemoteImageArgs:
24
23
  def __init__(__self__, *,
25
- name: pulumi.Input[builtins.str],
24
+ name: pulumi.Input[_builtins.str],
26
25
  build: Optional[pulumi.Input['RemoteImageBuildArgs']] = 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):
26
+ force_remove: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ keep_locally: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ platform: Optional[pulumi.Input[_builtins.str]] = None,
29
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
30
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
32
31
  """
33
32
  The set of arguments for constructing a RemoteImage resource.
34
- :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
35
- :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
36
- :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.
37
- :param pulumi.Input[builtins.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[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.
39
- :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
33
+ :param pulumi.Input[_builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
34
+ :param pulumi.Input[_builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
35
+ :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.
36
+ :param pulumi.Input[_builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
37
+ :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.
38
+ :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
39
  """
41
40
  pulumi.set(__self__, "name", name)
42
41
  if build is not None:
@@ -52,19 +51,19 @@ class RemoteImageArgs:
52
51
  if triggers is not None:
53
52
  pulumi.set(__self__, "triggers", triggers)
54
53
 
55
- @property
54
+ @_builtins.property
56
55
  @pulumi.getter
57
- def name(self) -> pulumi.Input[builtins.str]:
56
+ def name(self) -> pulumi.Input[_builtins.str]:
58
57
  """
59
58
  The name of the Docker image, including any tags or SHA256 repo digests.
60
59
  """
61
60
  return pulumi.get(self, "name")
62
61
 
63
62
  @name.setter
64
- def name(self, value: pulumi.Input[builtins.str]):
63
+ def name(self, value: pulumi.Input[_builtins.str]):
65
64
  pulumi.set(self, "name", value)
66
65
 
67
- @property
66
+ @_builtins.property
68
67
  @pulumi.getter
69
68
  def build(self) -> Optional[pulumi.Input['RemoteImageBuildArgs']]:
70
69
  return pulumi.get(self, "build")
@@ -73,64 +72,64 @@ class RemoteImageArgs:
73
72
  def build(self, value: Optional[pulumi.Input['RemoteImageBuildArgs']]):
74
73
  pulumi.set(self, "build", value)
75
74
 
76
- @property
75
+ @_builtins.property
77
76
  @pulumi.getter(name="forceRemove")
78
- def force_remove(self) -> Optional[pulumi.Input[builtins.bool]]:
77
+ def force_remove(self) -> Optional[pulumi.Input[_builtins.bool]]:
79
78
  """
80
79
  If true, then the image is removed forcibly when the resource is destroyed.
81
80
  """
82
81
  return pulumi.get(self, "force_remove")
83
82
 
84
83
  @force_remove.setter
85
- def force_remove(self, value: Optional[pulumi.Input[builtins.bool]]):
84
+ def force_remove(self, value: Optional[pulumi.Input[_builtins.bool]]):
86
85
  pulumi.set(self, "force_remove", value)
87
86
 
88
- @property
87
+ @_builtins.property
89
88
  @pulumi.getter(name="keepLocally")
90
- def keep_locally(self) -> Optional[pulumi.Input[builtins.bool]]:
89
+ def keep_locally(self) -> Optional[pulumi.Input[_builtins.bool]]:
91
90
  """
92
91
  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.
93
92
  """
94
93
  return pulumi.get(self, "keep_locally")
95
94
 
96
95
  @keep_locally.setter
97
- def keep_locally(self, value: Optional[pulumi.Input[builtins.bool]]):
96
+ def keep_locally(self, value: Optional[pulumi.Input[_builtins.bool]]):
98
97
  pulumi.set(self, "keep_locally", value)
99
98
 
100
- @property
99
+ @_builtins.property
101
100
  @pulumi.getter
102
- def platform(self) -> Optional[pulumi.Input[builtins.str]]:
101
+ def platform(self) -> Optional[pulumi.Input[_builtins.str]]:
103
102
  """
104
103
  The platform to use when pulling the image. Defaults to the platform of the current machine.
105
104
  """
106
105
  return pulumi.get(self, "platform")
107
106
 
108
107
  @platform.setter
109
- def platform(self, value: Optional[pulumi.Input[builtins.str]]):
108
+ def platform(self, value: Optional[pulumi.Input[_builtins.str]]):
110
109
  pulumi.set(self, "platform", value)
111
110
 
112
- @property
111
+ @_builtins.property
113
112
  @pulumi.getter(name="pullTriggers")
114
- def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
113
+ def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
115
114
  """
116
115
  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.
117
116
  """
118
117
  return pulumi.get(self, "pull_triggers")
119
118
 
120
119
  @pull_triggers.setter
121
- def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
120
+ def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
122
121
  pulumi.set(self, "pull_triggers", value)
123
122
 
124
- @property
123
+ @_builtins.property
125
124
  @pulumi.getter
126
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
125
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
127
126
  """
128
127
  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
129
128
  """
130
129
  return pulumi.get(self, "triggers")
131
130
 
132
131
  @triggers.setter
133
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
132
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
134
133
  pulumi.set(self, "triggers", value)
135
134
 
136
135
 
@@ -138,24 +137,24 @@ class RemoteImageArgs:
138
137
  class _RemoteImageState:
139
138
  def __init__(__self__, *,
140
139
  build: Optional[pulumi.Input['RemoteImageBuildArgs']] = None,
141
- force_remove: Optional[pulumi.Input[builtins.bool]] = None,
142
- image_id: Optional[pulumi.Input[builtins.str]] = None,
143
- keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
144
- name: Optional[pulumi.Input[builtins.str]] = None,
145
- platform: Optional[pulumi.Input[builtins.str]] = None,
146
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
147
- repo_digest: Optional[pulumi.Input[builtins.str]] = None,
148
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
140
+ force_remove: Optional[pulumi.Input[_builtins.bool]] = None,
141
+ image_id: Optional[pulumi.Input[_builtins.str]] = None,
142
+ keep_locally: Optional[pulumi.Input[_builtins.bool]] = None,
143
+ name: Optional[pulumi.Input[_builtins.str]] = None,
144
+ platform: Optional[pulumi.Input[_builtins.str]] = None,
145
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
146
+ repo_digest: Optional[pulumi.Input[_builtins.str]] = None,
147
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
149
148
  """
150
149
  Input properties used for looking up and filtering RemoteImage resources.
151
- :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
152
- :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.
153
- :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.
154
- :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
155
- :param pulumi.Input[builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
156
- :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.
157
- :param pulumi.Input[builtins.str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. This may not be populated when building an image, because it is read from the local Docker client and so may be available only when the image was either pulled from the repo or pushed to the repo (perhaps using `RegistryImage`) in a previous run.
158
- :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
150
+ :param pulumi.Input[_builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
151
+ :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.
152
+ :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.
153
+ :param pulumi.Input[_builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
154
+ :param pulumi.Input[_builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
155
+ :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.
156
+ :param pulumi.Input[_builtins.str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. This may not be populated when building an image, because it is read from the local Docker client and so may be available only when the image was either pulled from the repo or pushed to the repo (perhaps using `RegistryImage`) in a previous run.
157
+ :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
159
158
  """
160
159
  if build is not None:
161
160
  pulumi.set(__self__, "build", build)
@@ -176,7 +175,7 @@ class _RemoteImageState:
176
175
  if triggers is not None:
177
176
  pulumi.set(__self__, "triggers", triggers)
178
177
 
179
- @property
178
+ @_builtins.property
180
179
  @pulumi.getter
181
180
  def build(self) -> Optional[pulumi.Input['RemoteImageBuildArgs']]:
182
181
  return pulumi.get(self, "build")
@@ -185,100 +184,100 @@ class _RemoteImageState:
185
184
  def build(self, value: Optional[pulumi.Input['RemoteImageBuildArgs']]):
186
185
  pulumi.set(self, "build", value)
187
186
 
188
- @property
187
+ @_builtins.property
189
188
  @pulumi.getter(name="forceRemove")
190
- def force_remove(self) -> Optional[pulumi.Input[builtins.bool]]:
189
+ def force_remove(self) -> Optional[pulumi.Input[_builtins.bool]]:
191
190
  """
192
191
  If true, then the image is removed forcibly when the resource is destroyed.
193
192
  """
194
193
  return pulumi.get(self, "force_remove")
195
194
 
196
195
  @force_remove.setter
197
- def force_remove(self, value: Optional[pulumi.Input[builtins.bool]]):
196
+ def force_remove(self, value: Optional[pulumi.Input[_builtins.bool]]):
198
197
  pulumi.set(self, "force_remove", value)
199
198
 
200
- @property
199
+ @_builtins.property
201
200
  @pulumi.getter(name="imageId")
202
- def image_id(self) -> Optional[pulumi.Input[builtins.str]]:
201
+ def image_id(self) -> Optional[pulumi.Input[_builtins.str]]:
203
202
  """
204
203
  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.
205
204
  """
206
205
  return pulumi.get(self, "image_id")
207
206
 
208
207
  @image_id.setter
209
- def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
208
+ def image_id(self, value: Optional[pulumi.Input[_builtins.str]]):
210
209
  pulumi.set(self, "image_id", value)
211
210
 
212
- @property
211
+ @_builtins.property
213
212
  @pulumi.getter(name="keepLocally")
214
- def keep_locally(self) -> Optional[pulumi.Input[builtins.bool]]:
213
+ def keep_locally(self) -> Optional[pulumi.Input[_builtins.bool]]:
215
214
  """
216
215
  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.
217
216
  """
218
217
  return pulumi.get(self, "keep_locally")
219
218
 
220
219
  @keep_locally.setter
221
- def keep_locally(self, value: Optional[pulumi.Input[builtins.bool]]):
220
+ def keep_locally(self, value: Optional[pulumi.Input[_builtins.bool]]):
222
221
  pulumi.set(self, "keep_locally", value)
223
222
 
224
- @property
223
+ @_builtins.property
225
224
  @pulumi.getter
226
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
225
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
227
226
  """
228
227
  The name of the Docker image, including any tags or SHA256 repo digests.
229
228
  """
230
229
  return pulumi.get(self, "name")
231
230
 
232
231
  @name.setter
233
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
232
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
234
233
  pulumi.set(self, "name", value)
235
234
 
236
- @property
235
+ @_builtins.property
237
236
  @pulumi.getter
238
- def platform(self) -> Optional[pulumi.Input[builtins.str]]:
237
+ def platform(self) -> Optional[pulumi.Input[_builtins.str]]:
239
238
  """
240
239
  The platform to use when pulling the image. Defaults to the platform of the current machine.
241
240
  """
242
241
  return pulumi.get(self, "platform")
243
242
 
244
243
  @platform.setter
245
- def platform(self, value: Optional[pulumi.Input[builtins.str]]):
244
+ def platform(self, value: Optional[pulumi.Input[_builtins.str]]):
246
245
  pulumi.set(self, "platform", value)
247
246
 
248
- @property
247
+ @_builtins.property
249
248
  @pulumi.getter(name="pullTriggers")
250
- def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
249
+ def pull_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
251
250
  """
252
251
  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.
253
252
  """
254
253
  return pulumi.get(self, "pull_triggers")
255
254
 
256
255
  @pull_triggers.setter
257
- def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
256
+ def pull_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
258
257
  pulumi.set(self, "pull_triggers", value)
259
258
 
260
- @property
259
+ @_builtins.property
261
260
  @pulumi.getter(name="repoDigest")
262
- def repo_digest(self) -> Optional[pulumi.Input[builtins.str]]:
261
+ def repo_digest(self) -> Optional[pulumi.Input[_builtins.str]]:
263
262
  """
264
263
  The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. This may not be populated when building an image, because it is read from the local Docker client and so may be available only when the image was either pulled from the repo or pushed to the repo (perhaps using `RegistryImage`) in a previous run.
265
264
  """
266
265
  return pulumi.get(self, "repo_digest")
267
266
 
268
267
  @repo_digest.setter
269
- def repo_digest(self, value: Optional[pulumi.Input[builtins.str]]):
268
+ def repo_digest(self, value: Optional[pulumi.Input[_builtins.str]]):
270
269
  pulumi.set(self, "repo_digest", value)
271
270
 
272
- @property
271
+ @_builtins.property
273
272
  @pulumi.getter
274
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
273
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
275
274
  """
276
275
  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
277
276
  """
278
277
  return pulumi.get(self, "triggers")
279
278
 
280
279
  @triggers.setter
281
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
280
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
282
281
  pulumi.set(self, "triggers", value)
283
282
 
284
283
 
@@ -289,23 +288,23 @@ class RemoteImage(pulumi.CustomResource):
289
288
  resource_name: str,
290
289
  opts: Optional[pulumi.ResourceOptions] = None,
291
290
  build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
292
- force_remove: Optional[pulumi.Input[builtins.bool]] = None,
293
- keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
294
- name: Optional[pulumi.Input[builtins.str]] = None,
295
- platform: Optional[pulumi.Input[builtins.str]] = None,
296
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
297
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
291
+ force_remove: Optional[pulumi.Input[_builtins.bool]] = None,
292
+ keep_locally: Optional[pulumi.Input[_builtins.bool]] = None,
293
+ name: Optional[pulumi.Input[_builtins.str]] = None,
294
+ platform: Optional[pulumi.Input[_builtins.str]] = None,
295
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
296
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
298
297
  __props__=None):
299
298
  """
300
299
  Create a RemoteImage resource with the given unique name, props, and options.
301
300
  :param str resource_name: The name of the resource.
302
301
  :param pulumi.ResourceOptions opts: Options for the resource.
303
- :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
304
- :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.
305
- :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
306
- :param pulumi.Input[builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
307
- :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.
308
- :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
302
+ :param pulumi.Input[_builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
303
+ :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.
304
+ :param pulumi.Input[_builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
305
+ :param pulumi.Input[_builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
306
+ :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.
307
+ :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
309
308
  """
310
309
  ...
311
310
  @overload
@@ -331,12 +330,12 @@ class RemoteImage(pulumi.CustomResource):
331
330
  resource_name: str,
332
331
  opts: Optional[pulumi.ResourceOptions] = None,
333
332
  build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
334
- force_remove: Optional[pulumi.Input[builtins.bool]] = None,
335
- keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
336
- name: Optional[pulumi.Input[builtins.str]] = None,
337
- platform: Optional[pulumi.Input[builtins.str]] = None,
338
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
339
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
333
+ force_remove: Optional[pulumi.Input[_builtins.bool]] = None,
334
+ keep_locally: Optional[pulumi.Input[_builtins.bool]] = None,
335
+ name: Optional[pulumi.Input[_builtins.str]] = None,
336
+ platform: Optional[pulumi.Input[_builtins.str]] = None,
337
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
338
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
340
339
  __props__=None):
341
340
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
342
341
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -368,14 +367,14 @@ class RemoteImage(pulumi.CustomResource):
368
367
  id: pulumi.Input[str],
369
368
  opts: Optional[pulumi.ResourceOptions] = None,
370
369
  build: Optional[pulumi.Input[Union['RemoteImageBuildArgs', 'RemoteImageBuildArgsDict']]] = None,
371
- force_remove: Optional[pulumi.Input[builtins.bool]] = None,
372
- image_id: Optional[pulumi.Input[builtins.str]] = None,
373
- keep_locally: Optional[pulumi.Input[builtins.bool]] = None,
374
- name: Optional[pulumi.Input[builtins.str]] = None,
375
- platform: Optional[pulumi.Input[builtins.str]] = None,
376
- pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
377
- repo_digest: Optional[pulumi.Input[builtins.str]] = None,
378
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None) -> 'RemoteImage':
370
+ force_remove: Optional[pulumi.Input[_builtins.bool]] = None,
371
+ image_id: Optional[pulumi.Input[_builtins.str]] = None,
372
+ keep_locally: Optional[pulumi.Input[_builtins.bool]] = None,
373
+ name: Optional[pulumi.Input[_builtins.str]] = None,
374
+ platform: Optional[pulumi.Input[_builtins.str]] = None,
375
+ pull_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
376
+ repo_digest: Optional[pulumi.Input[_builtins.str]] = None,
377
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'RemoteImage':
379
378
  """
380
379
  Get an existing RemoteImage resource's state with the given name, id, and optional extra
381
380
  properties used to qualify the lookup.
@@ -383,14 +382,14 @@ class RemoteImage(pulumi.CustomResource):
383
382
  :param str resource_name: The unique name of the resulting resource.
384
383
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
385
384
  :param pulumi.ResourceOptions opts: Options for the resource.
386
- :param pulumi.Input[builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
387
- :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.
388
- :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.
389
- :param pulumi.Input[builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
390
- :param pulumi.Input[builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
391
- :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.
392
- :param pulumi.Input[builtins.str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. This may not be populated when building an image, because it is read from the local Docker client and so may be available only when the image was either pulled from the repo or pushed to the repo (perhaps using `RegistryImage`) in a previous run.
393
- :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
385
+ :param pulumi.Input[_builtins.bool] force_remove: If true, then the image is removed forcibly when the resource is destroyed.
386
+ :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.
387
+ :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.
388
+ :param pulumi.Input[_builtins.str] name: The name of the Docker image, including any tags or SHA256 repo digests.
389
+ :param pulumi.Input[_builtins.str] platform: The platform to use when pulling the image. Defaults to the platform of the current machine.
390
+ :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.
391
+ :param pulumi.Input[_builtins.str] repo_digest: The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. This may not be populated when building an image, because it is read from the local Docker client and so may be available only when the image was either pulled from the repo or pushed to the repo (perhaps using `RegistryImage`) in a previous run.
392
+ :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
394
393
  """
395
394
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
396
395
 
@@ -407,70 +406,70 @@ class RemoteImage(pulumi.CustomResource):
407
406
  __props__.__dict__["triggers"] = triggers
408
407
  return RemoteImage(resource_name, opts=opts, __props__=__props__)
409
408
 
410
- @property
409
+ @_builtins.property
411
410
  @pulumi.getter
412
411
  def build(self) -> pulumi.Output[Optional['outputs.RemoteImageBuild']]:
413
412
  return pulumi.get(self, "build")
414
413
 
415
- @property
414
+ @_builtins.property
416
415
  @pulumi.getter(name="forceRemove")
417
- def force_remove(self) -> pulumi.Output[Optional[builtins.bool]]:
416
+ def force_remove(self) -> pulumi.Output[Optional[_builtins.bool]]:
418
417
  """
419
418
  If true, then the image is removed forcibly when the resource is destroyed.
420
419
  """
421
420
  return pulumi.get(self, "force_remove")
422
421
 
423
- @property
422
+ @_builtins.property
424
423
  @pulumi.getter(name="imageId")
425
- def image_id(self) -> pulumi.Output[builtins.str]:
424
+ def image_id(self) -> pulumi.Output[_builtins.str]:
426
425
  """
427
426
  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.
428
427
  """
429
428
  return pulumi.get(self, "image_id")
430
429
 
431
- @property
430
+ @_builtins.property
432
431
  @pulumi.getter(name="keepLocally")
433
- def keep_locally(self) -> pulumi.Output[Optional[builtins.bool]]:
432
+ def keep_locally(self) -> pulumi.Output[Optional[_builtins.bool]]:
434
433
  """
435
434
  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.
436
435
  """
437
436
  return pulumi.get(self, "keep_locally")
438
437
 
439
- @property
438
+ @_builtins.property
440
439
  @pulumi.getter
441
- def name(self) -> pulumi.Output[builtins.str]:
440
+ def name(self) -> pulumi.Output[_builtins.str]:
442
441
  """
443
442
  The name of the Docker image, including any tags or SHA256 repo digests.
444
443
  """
445
444
  return pulumi.get(self, "name")
446
445
 
447
- @property
446
+ @_builtins.property
448
447
  @pulumi.getter
449
- def platform(self) -> pulumi.Output[Optional[builtins.str]]:
448
+ def platform(self) -> pulumi.Output[Optional[_builtins.str]]:
450
449
  """
451
450
  The platform to use when pulling the image. Defaults to the platform of the current machine.
452
451
  """
453
452
  return pulumi.get(self, "platform")
454
453
 
455
- @property
454
+ @_builtins.property
456
455
  @pulumi.getter(name="pullTriggers")
457
- def pull_triggers(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
456
+ def pull_triggers(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
458
457
  """
459
458
  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.
460
459
  """
461
460
  return pulumi.get(self, "pull_triggers")
462
461
 
463
- @property
462
+ @_builtins.property
464
463
  @pulumi.getter(name="repoDigest")
465
- def repo_digest(self) -> pulumi.Output[builtins.str]:
464
+ def repo_digest(self) -> pulumi.Output[_builtins.str]:
466
465
  """
467
466
  The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. This may not be populated when building an image, because it is read from the local Docker client and so may be available only when the image was either pulled from the repo or pushed to the repo (perhaps using `RegistryImage`) in a previous run.
468
467
  """
469
468
  return pulumi.get(self, "repo_digest")
470
469
 
471
- @property
470
+ @_builtins.property
472
471
  @pulumi.getter
473
- def triggers(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
472
+ def triggers(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
474
473
  """
475
474
  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
476
475
  """