pulumi-docker 4.8.0a1750280940__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.
- pulumi_docker/__init__.py +1 -1
- pulumi_docker/_enums.py +2 -2
- pulumi_docker/_inputs.py +1783 -1784
- pulumi_docker/buildx_builder.py +197 -198
- pulumi_docker/config/__init__.py +1 -1
- pulumi_docker/config/__init__.pyi +1 -2
- pulumi_docker/config/outputs.py +24 -25
- pulumi_docker/config/vars.py +10 -11
- pulumi_docker/container.py +994 -995
- pulumi_docker/get_logs.py +55 -56
- pulumi_docker/get_network.py +18 -19
- pulumi_docker/get_plugin.py +23 -24
- pulumi_docker/get_registry_image.py +17 -18
- pulumi_docker/get_registry_image_manifests.py +17 -18
- pulumi_docker/get_remote_image.py +11 -12
- pulumi_docker/image.py +41 -42
- pulumi_docker/network.py +186 -187
- pulumi_docker/outputs.py +1169 -1170
- pulumi_docker/plugin.py +149 -150
- pulumi_docker/provider.py +79 -80
- pulumi_docker/pulumi-plugin.json +1 -1
- pulumi_docker/registry_image.py +81 -82
- pulumi_docker/remote_image.py +124 -125
- pulumi_docker/secret.py +38 -39
- pulumi_docker/service.py +42 -43
- pulumi_docker/service_config.py +35 -36
- pulumi_docker/tag.py +61 -62
- pulumi_docker/volume.py +64 -65
- {pulumi_docker-4.8.0a1750280940.dist-info → pulumi_docker-4.8.1.dist-info}/METADATA +1 -1
- pulumi_docker-4.8.1.dist-info/RECORD +34 -0
- pulumi_docker-4.8.0a1750280940.dist-info/RECORD +0 -34
- {pulumi_docker-4.8.0a1750280940.dist-info → pulumi_docker-4.8.1.dist-info}/WHEEL +0 -0
- {pulumi_docker-4.8.0a1750280940.dist-info → pulumi_docker-4.8.1.dist-info}/top_level.txt +0 -0
pulumi_docker/registry_image.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -23,17 +22,17 @@ __all__ = ['RegistryImageArgs', 'RegistryImage']
|
|
|
23
22
|
class RegistryImageArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
24
|
auth_config: Optional[pulumi.Input['RegistryImageAuthConfigArgs']] = None,
|
|
26
|
-
insecure_skip_verify: Optional[pulumi.Input[
|
|
27
|
-
keep_remotely: Optional[pulumi.Input[
|
|
28
|
-
name: Optional[pulumi.Input[
|
|
29
|
-
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
25
|
+
insecure_skip_verify: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
|
+
keep_remotely: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
30
29
|
"""
|
|
31
30
|
The set of arguments for constructing a RegistryImage resource.
|
|
32
31
|
:param pulumi.Input['RegistryImageAuthConfigArgs'] auth_config: Authentication configuration for the Docker registry. It is only used for this resource.
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
32
|
+
:param pulumi.Input[_builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
33
|
+
:param pulumi.Input[_builtins.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`
|
|
34
|
+
:param pulumi.Input[_builtins.str] name: The name of the Docker image.
|
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.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
|
|
37
36
|
"""
|
|
38
37
|
if auth_config is not None:
|
|
39
38
|
pulumi.set(__self__, "auth_config", auth_config)
|
|
@@ -46,7 +45,7 @@ class RegistryImageArgs:
|
|
|
46
45
|
if triggers is not None:
|
|
47
46
|
pulumi.set(__self__, "triggers", triggers)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter(name="authConfig")
|
|
51
50
|
def auth_config(self) -> Optional[pulumi.Input['RegistryImageAuthConfigArgs']]:
|
|
52
51
|
"""
|
|
@@ -58,52 +57,52 @@ class RegistryImageArgs:
|
|
|
58
57
|
def auth_config(self, value: Optional[pulumi.Input['RegistryImageAuthConfigArgs']]):
|
|
59
58
|
pulumi.set(self, "auth_config", value)
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter(name="insecureSkipVerify")
|
|
63
|
-
def insecure_skip_verify(self) -> Optional[pulumi.Input[
|
|
62
|
+
def insecure_skip_verify(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
64
63
|
"""
|
|
65
64
|
If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "insecure_skip_verify")
|
|
68
67
|
|
|
69
68
|
@insecure_skip_verify.setter
|
|
70
|
-
def insecure_skip_verify(self, value: Optional[pulumi.Input[
|
|
69
|
+
def insecure_skip_verify(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
71
70
|
pulumi.set(self, "insecure_skip_verify", value)
|
|
72
71
|
|
|
73
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
74
73
|
@pulumi.getter(name="keepRemotely")
|
|
75
|
-
def keep_remotely(self) -> Optional[pulumi.Input[
|
|
74
|
+
def keep_remotely(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
76
75
|
"""
|
|
77
76
|
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`
|
|
78
77
|
"""
|
|
79
78
|
return pulumi.get(self, "keep_remotely")
|
|
80
79
|
|
|
81
80
|
@keep_remotely.setter
|
|
82
|
-
def keep_remotely(self, value: Optional[pulumi.Input[
|
|
81
|
+
def keep_remotely(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
83
82
|
pulumi.set(self, "keep_remotely", value)
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter
|
|
87
|
-
def name(self) -> Optional[pulumi.Input[
|
|
86
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
88
87
|
"""
|
|
89
88
|
The name of the Docker image.
|
|
90
89
|
"""
|
|
91
90
|
return pulumi.get(self, "name")
|
|
92
91
|
|
|
93
92
|
@name.setter
|
|
94
|
-
def name(self, value: Optional[pulumi.Input[
|
|
93
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
95
94
|
pulumi.set(self, "name", value)
|
|
96
95
|
|
|
97
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
98
97
|
@pulumi.getter
|
|
99
|
-
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
98
|
+
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
100
99
|
"""
|
|
101
100
|
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
|
|
102
101
|
"""
|
|
103
102
|
return pulumi.get(self, "triggers")
|
|
104
103
|
|
|
105
104
|
@triggers.setter
|
|
106
|
-
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
105
|
+
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
107
106
|
pulumi.set(self, "triggers", value)
|
|
108
107
|
|
|
109
108
|
|
|
@@ -111,19 +110,19 @@ class RegistryImageArgs:
|
|
|
111
110
|
class _RegistryImageState:
|
|
112
111
|
def __init__(__self__, *,
|
|
113
112
|
auth_config: Optional[pulumi.Input['RegistryImageAuthConfigArgs']] = None,
|
|
114
|
-
insecure_skip_verify: Optional[pulumi.Input[
|
|
115
|
-
keep_remotely: Optional[pulumi.Input[
|
|
116
|
-
name: Optional[pulumi.Input[
|
|
117
|
-
sha256_digest: Optional[pulumi.Input[
|
|
118
|
-
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
113
|
+
insecure_skip_verify: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
114
|
+
keep_remotely: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
115
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
|
+
sha256_digest: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
119
118
|
"""
|
|
120
119
|
Input properties used for looking up and filtering RegistryImage resources.
|
|
121
120
|
:param pulumi.Input['RegistryImageAuthConfigArgs'] auth_config: Authentication configuration for the Docker registry. It is only used for this resource.
|
|
122
|
-
:param pulumi.Input[
|
|
123
|
-
:param pulumi.Input[
|
|
124
|
-
:param pulumi.Input[
|
|
125
|
-
:param pulumi.Input[
|
|
126
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
121
|
+
:param pulumi.Input[_builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
122
|
+
:param pulumi.Input[_builtins.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`
|
|
123
|
+
:param pulumi.Input[_builtins.str] name: The name of the Docker image.
|
|
124
|
+
:param pulumi.Input[_builtins.str] sha256_digest: The sha256 digest of the image.
|
|
125
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.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
|
|
127
126
|
"""
|
|
128
127
|
if auth_config is not None:
|
|
129
128
|
pulumi.set(__self__, "auth_config", auth_config)
|
|
@@ -138,7 +137,7 @@ class _RegistryImageState:
|
|
|
138
137
|
if triggers is not None:
|
|
139
138
|
pulumi.set(__self__, "triggers", triggers)
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter(name="authConfig")
|
|
143
142
|
def auth_config(self) -> Optional[pulumi.Input['RegistryImageAuthConfigArgs']]:
|
|
144
143
|
"""
|
|
@@ -150,64 +149,64 @@ class _RegistryImageState:
|
|
|
150
149
|
def auth_config(self, value: Optional[pulumi.Input['RegistryImageAuthConfigArgs']]):
|
|
151
150
|
pulumi.set(self, "auth_config", value)
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter(name="insecureSkipVerify")
|
|
155
|
-
def insecure_skip_verify(self) -> Optional[pulumi.Input[
|
|
154
|
+
def insecure_skip_verify(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
156
155
|
"""
|
|
157
156
|
If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
158
157
|
"""
|
|
159
158
|
return pulumi.get(self, "insecure_skip_verify")
|
|
160
159
|
|
|
161
160
|
@insecure_skip_verify.setter
|
|
162
|
-
def insecure_skip_verify(self, value: Optional[pulumi.Input[
|
|
161
|
+
def insecure_skip_verify(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
163
162
|
pulumi.set(self, "insecure_skip_verify", value)
|
|
164
163
|
|
|
165
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
166
165
|
@pulumi.getter(name="keepRemotely")
|
|
167
|
-
def keep_remotely(self) -> Optional[pulumi.Input[
|
|
166
|
+
def keep_remotely(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
168
167
|
"""
|
|
169
168
|
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`
|
|
170
169
|
"""
|
|
171
170
|
return pulumi.get(self, "keep_remotely")
|
|
172
171
|
|
|
173
172
|
@keep_remotely.setter
|
|
174
|
-
def keep_remotely(self, value: Optional[pulumi.Input[
|
|
173
|
+
def keep_remotely(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
175
174
|
pulumi.set(self, "keep_remotely", value)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter
|
|
179
|
-
def name(self) -> Optional[pulumi.Input[
|
|
178
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
179
|
"""
|
|
181
180
|
The name of the Docker image.
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "name")
|
|
184
183
|
|
|
185
184
|
@name.setter
|
|
186
|
-
def name(self, value: Optional[pulumi.Input[
|
|
185
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
187
186
|
pulumi.set(self, "name", value)
|
|
188
187
|
|
|
189
|
-
@property
|
|
188
|
+
@_builtins.property
|
|
190
189
|
@pulumi.getter(name="sha256Digest")
|
|
191
|
-
def sha256_digest(self) -> Optional[pulumi.Input[
|
|
190
|
+
def sha256_digest(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
192
191
|
"""
|
|
193
192
|
The sha256 digest of the image.
|
|
194
193
|
"""
|
|
195
194
|
return pulumi.get(self, "sha256_digest")
|
|
196
195
|
|
|
197
196
|
@sha256_digest.setter
|
|
198
|
-
def sha256_digest(self, value: Optional[pulumi.Input[
|
|
197
|
+
def sha256_digest(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
199
198
|
pulumi.set(self, "sha256_digest", value)
|
|
200
199
|
|
|
201
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
202
201
|
@pulumi.getter
|
|
203
|
-
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
202
|
+
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
204
203
|
"""
|
|
205
204
|
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
|
|
206
205
|
"""
|
|
207
206
|
return pulumi.get(self, "triggers")
|
|
208
207
|
|
|
209
208
|
@triggers.setter
|
|
210
|
-
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
209
|
+
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
211
210
|
pulumi.set(self, "triggers", value)
|
|
212
211
|
|
|
213
212
|
|
|
@@ -218,10 +217,10 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
218
217
|
resource_name: str,
|
|
219
218
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
220
219
|
auth_config: Optional[pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']]] = None,
|
|
221
|
-
insecure_skip_verify: Optional[pulumi.Input[
|
|
222
|
-
keep_remotely: Optional[pulumi.Input[
|
|
223
|
-
name: Optional[pulumi.Input[
|
|
224
|
-
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
220
|
+
insecure_skip_verify: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
221
|
+
keep_remotely: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
222
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
223
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
225
224
|
__props__=None):
|
|
226
225
|
"""
|
|
227
226
|
<!-- Bug: Type and Name are switched -->
|
|
@@ -230,10 +229,10 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
230
229
|
:param str resource_name: The name of the resource.
|
|
231
230
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
232
231
|
:param pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']] auth_config: Authentication configuration for the Docker registry. It is only used for this resource.
|
|
233
|
-
:param pulumi.Input[
|
|
234
|
-
:param pulumi.Input[
|
|
235
|
-
:param pulumi.Input[
|
|
236
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
232
|
+
:param pulumi.Input[_builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
233
|
+
:param pulumi.Input[_builtins.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`
|
|
234
|
+
:param pulumi.Input[_builtins.str] name: The name of the Docker image.
|
|
235
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.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
|
|
237
236
|
"""
|
|
238
237
|
...
|
|
239
238
|
@overload
|
|
@@ -261,10 +260,10 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
261
260
|
resource_name: str,
|
|
262
261
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
263
262
|
auth_config: Optional[pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']]] = None,
|
|
264
|
-
insecure_skip_verify: Optional[pulumi.Input[
|
|
265
|
-
keep_remotely: Optional[pulumi.Input[
|
|
266
|
-
name: Optional[pulumi.Input[
|
|
267
|
-
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
263
|
+
insecure_skip_verify: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
264
|
+
keep_remotely: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
265
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
266
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
268
267
|
__props__=None):
|
|
269
268
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
270
269
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -291,11 +290,11 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
291
290
|
id: pulumi.Input[str],
|
|
292
291
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
293
292
|
auth_config: Optional[pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']]] = None,
|
|
294
|
-
insecure_skip_verify: Optional[pulumi.Input[
|
|
295
|
-
keep_remotely: Optional[pulumi.Input[
|
|
296
|
-
name: Optional[pulumi.Input[
|
|
297
|
-
sha256_digest: Optional[pulumi.Input[
|
|
298
|
-
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
293
|
+
insecure_skip_verify: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
294
|
+
keep_remotely: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
295
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
sha256_digest: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'RegistryImage':
|
|
299
298
|
"""
|
|
300
299
|
Get an existing RegistryImage resource's state with the given name, id, and optional extra
|
|
301
300
|
properties used to qualify the lookup.
|
|
@@ -304,11 +303,11 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
304
303
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
305
304
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
306
305
|
:param pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']] auth_config: Authentication configuration for the Docker registry. It is only used for this resource.
|
|
307
|
-
:param pulumi.Input[
|
|
308
|
-
:param pulumi.Input[
|
|
309
|
-
:param pulumi.Input[
|
|
310
|
-
:param pulumi.Input[
|
|
311
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
306
|
+
:param pulumi.Input[_builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
307
|
+
:param pulumi.Input[_builtins.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`
|
|
308
|
+
:param pulumi.Input[_builtins.str] name: The name of the Docker image.
|
|
309
|
+
:param pulumi.Input[_builtins.str] sha256_digest: The sha256 digest of the image.
|
|
310
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.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
|
|
312
311
|
"""
|
|
313
312
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
314
313
|
|
|
@@ -322,7 +321,7 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
322
321
|
__props__.__dict__["triggers"] = triggers
|
|
323
322
|
return RegistryImage(resource_name, opts=opts, __props__=__props__)
|
|
324
323
|
|
|
325
|
-
@property
|
|
324
|
+
@_builtins.property
|
|
326
325
|
@pulumi.getter(name="authConfig")
|
|
327
326
|
def auth_config(self) -> pulumi.Output[Optional['outputs.RegistryImageAuthConfig']]:
|
|
328
327
|
"""
|
|
@@ -330,41 +329,41 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
330
329
|
"""
|
|
331
330
|
return pulumi.get(self, "auth_config")
|
|
332
331
|
|
|
333
|
-
@property
|
|
332
|
+
@_builtins.property
|
|
334
333
|
@pulumi.getter(name="insecureSkipVerify")
|
|
335
|
-
def insecure_skip_verify(self) -> pulumi.Output[Optional[
|
|
334
|
+
def insecure_skip_verify(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
336
335
|
"""
|
|
337
336
|
If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
338
337
|
"""
|
|
339
338
|
return pulumi.get(self, "insecure_skip_verify")
|
|
340
339
|
|
|
341
|
-
@property
|
|
340
|
+
@_builtins.property
|
|
342
341
|
@pulumi.getter(name="keepRemotely")
|
|
343
|
-
def keep_remotely(self) -> pulumi.Output[Optional[
|
|
342
|
+
def keep_remotely(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
344
343
|
"""
|
|
345
344
|
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`
|
|
346
345
|
"""
|
|
347
346
|
return pulumi.get(self, "keep_remotely")
|
|
348
347
|
|
|
349
|
-
@property
|
|
348
|
+
@_builtins.property
|
|
350
349
|
@pulumi.getter
|
|
351
|
-
def name(self) -> pulumi.Output[
|
|
350
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
352
351
|
"""
|
|
353
352
|
The name of the Docker image.
|
|
354
353
|
"""
|
|
355
354
|
return pulumi.get(self, "name")
|
|
356
355
|
|
|
357
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
358
357
|
@pulumi.getter(name="sha256Digest")
|
|
359
|
-
def sha256_digest(self) -> pulumi.Output[
|
|
358
|
+
def sha256_digest(self) -> pulumi.Output[_builtins.str]:
|
|
360
359
|
"""
|
|
361
360
|
The sha256 digest of the image.
|
|
362
361
|
"""
|
|
363
362
|
return pulumi.get(self, "sha256_digest")
|
|
364
363
|
|
|
365
|
-
@property
|
|
364
|
+
@_builtins.property
|
|
366
365
|
@pulumi.getter
|
|
367
|
-
def triggers(self) -> pulumi.Output[Optional[Mapping[str,
|
|
366
|
+
def triggers(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
368
367
|
"""
|
|
369
368
|
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
|
|
370
369
|
"""
|