pulumi-docker 4.6.2a1741997713__py3-none-any.whl → 4.7.0__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 +2 -0
- pulumi_docker/_enums.py +4 -1
- pulumi_docker/_inputs.py +1519 -1203
- pulumi_docker/config/__init__.py +1 -0
- pulumi_docker/config/__init__.pyi +13 -0
- pulumi_docker/config/outputs.py +18 -17
- pulumi_docker/config/vars.py +17 -0
- pulumi_docker/container.py +795 -746
- pulumi_docker/get_logs.py +42 -41
- pulumi_docker/get_network.py +11 -10
- pulumi_docker/get_plugin.py +16 -15
- pulumi_docker/get_registry_image.py +13 -12
- pulumi_docker/get_registry_image_manifests.py +151 -0
- pulumi_docker/get_remote_image.py +8 -7
- pulumi_docker/image.py +30 -28
- pulumi_docker/network.py +158 -147
- pulumi_docker/outputs.py +931 -691
- pulumi_docker/plugin.py +121 -119
- pulumi_docker/provider.py +124 -47
- pulumi_docker/pulumi-plugin.json +1 -1
- pulumi_docker/registry_image.py +116 -65
- pulumi_docker/remote_image.py +104 -229
- pulumi_docker/secret.py +30 -28
- pulumi_docker/service.py +16 -14
- pulumi_docker/service_config.py +30 -28
- pulumi_docker/tag.py +84 -35
- pulumi_docker/volume.py +51 -49
- {pulumi_docker-4.6.2a1741997713.dist-info → pulumi_docker-4.7.0.dist-info}/METADATA +4 -4
- pulumi_docker-4.7.0.dist-info/RECORD +33 -0
- {pulumi_docker-4.6.2a1741997713.dist-info → pulumi_docker-4.7.0.dist-info}/WHEEL +1 -1
- pulumi_docker-4.6.2a1741997713.dist-info/RECORD +0 -32
- {pulumi_docker-4.6.2a1741997713.dist-info → pulumi_docker-4.7.0.dist-info}/top_level.txt +0 -0
pulumi_docker/registry_image.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
|
|
@@ -13,23 +14,29 @@ if sys.version_info >= (3, 11):
|
|
|
13
14
|
else:
|
|
14
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
16
|
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
16
19
|
|
|
17
20
|
__all__ = ['RegistryImageArgs', 'RegistryImage']
|
|
18
21
|
|
|
19
22
|
@pulumi.input_type
|
|
20
23
|
class RegistryImageArgs:
|
|
21
24
|
def __init__(__self__, *,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
auth_config: Optional[pulumi.Input['RegistryImageAuthConfigArgs']] = None,
|
|
26
|
+
insecure_skip_verify: Optional[pulumi.Input[builtins.bool]] = None,
|
|
27
|
+
keep_remotely: Optional[pulumi.Input[builtins.bool]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
|
|
26
30
|
"""
|
|
27
31
|
The set of arguments for constructing a RegistryImage resource.
|
|
28
|
-
:param pulumi.Input[
|
|
29
|
-
:param pulumi.Input[bool]
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
|
|
32
|
+
:param pulumi.Input['RegistryImageAuthConfigArgs'] auth_config: Authentication configuration for the Docker registry. It is only used for this resource.
|
|
33
|
+
:param pulumi.Input[builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
34
|
+
: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`
|
|
35
|
+
:param pulumi.Input[builtins.str] name: The name of the Docker image.
|
|
36
|
+
: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
|
+
"""
|
|
38
|
+
if auth_config is not None:
|
|
39
|
+
pulumi.set(__self__, "auth_config", auth_config)
|
|
33
40
|
if insecure_skip_verify is not None:
|
|
34
41
|
pulumi.set(__self__, "insecure_skip_verify", insecure_skip_verify)
|
|
35
42
|
if keep_remotely is not None:
|
|
@@ -39,71 +46,87 @@ class RegistryImageArgs:
|
|
|
39
46
|
if triggers is not None:
|
|
40
47
|
pulumi.set(__self__, "triggers", triggers)
|
|
41
48
|
|
|
49
|
+
@property
|
|
50
|
+
@pulumi.getter(name="authConfig")
|
|
51
|
+
def auth_config(self) -> Optional[pulumi.Input['RegistryImageAuthConfigArgs']]:
|
|
52
|
+
"""
|
|
53
|
+
Authentication configuration for the Docker registry. It is only used for this resource.
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "auth_config")
|
|
56
|
+
|
|
57
|
+
@auth_config.setter
|
|
58
|
+
def auth_config(self, value: Optional[pulumi.Input['RegistryImageAuthConfigArgs']]):
|
|
59
|
+
pulumi.set(self, "auth_config", value)
|
|
60
|
+
|
|
42
61
|
@property
|
|
43
62
|
@pulumi.getter(name="insecureSkipVerify")
|
|
44
|
-
def insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]:
|
|
63
|
+
def insecure_skip_verify(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
45
64
|
"""
|
|
46
65
|
If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
47
66
|
"""
|
|
48
67
|
return pulumi.get(self, "insecure_skip_verify")
|
|
49
68
|
|
|
50
69
|
@insecure_skip_verify.setter
|
|
51
|
-
def insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]):
|
|
70
|
+
def insecure_skip_verify(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
52
71
|
pulumi.set(self, "insecure_skip_verify", value)
|
|
53
72
|
|
|
54
73
|
@property
|
|
55
74
|
@pulumi.getter(name="keepRemotely")
|
|
56
|
-
def keep_remotely(self) -> Optional[pulumi.Input[bool]]:
|
|
75
|
+
def keep_remotely(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
57
76
|
"""
|
|
58
77
|
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`
|
|
59
78
|
"""
|
|
60
79
|
return pulumi.get(self, "keep_remotely")
|
|
61
80
|
|
|
62
81
|
@keep_remotely.setter
|
|
63
|
-
def keep_remotely(self, value: Optional[pulumi.Input[bool]]):
|
|
82
|
+
def keep_remotely(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
64
83
|
pulumi.set(self, "keep_remotely", value)
|
|
65
84
|
|
|
66
85
|
@property
|
|
67
86
|
@pulumi.getter
|
|
68
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
87
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
69
88
|
"""
|
|
70
89
|
The name of the Docker image.
|
|
71
90
|
"""
|
|
72
91
|
return pulumi.get(self, "name")
|
|
73
92
|
|
|
74
93
|
@name.setter
|
|
75
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
94
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
76
95
|
pulumi.set(self, "name", value)
|
|
77
96
|
|
|
78
97
|
@property
|
|
79
98
|
@pulumi.getter
|
|
80
|
-
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
99
|
+
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
81
100
|
"""
|
|
82
101
|
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
|
|
83
102
|
"""
|
|
84
103
|
return pulumi.get(self, "triggers")
|
|
85
104
|
|
|
86
105
|
@triggers.setter
|
|
87
|
-
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
106
|
+
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
88
107
|
pulumi.set(self, "triggers", value)
|
|
89
108
|
|
|
90
109
|
|
|
91
110
|
@pulumi.input_type
|
|
92
111
|
class _RegistryImageState:
|
|
93
112
|
def __init__(__self__, *,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
113
|
+
auth_config: Optional[pulumi.Input['RegistryImageAuthConfigArgs']] = None,
|
|
114
|
+
insecure_skip_verify: Optional[pulumi.Input[builtins.bool]] = None,
|
|
115
|
+
keep_remotely: Optional[pulumi.Input[builtins.bool]] = None,
|
|
116
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
117
|
+
sha256_digest: Optional[pulumi.Input[builtins.str]] = None,
|
|
118
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
|
|
99
119
|
"""
|
|
100
120
|
Input properties used for looking up and filtering RegistryImage resources.
|
|
101
|
-
:param pulumi.Input[
|
|
102
|
-
:param pulumi.Input[bool]
|
|
103
|
-
:param pulumi.Input[
|
|
104
|
-
:param pulumi.Input[str]
|
|
105
|
-
:param pulumi.Input[
|
|
106
|
-
|
|
121
|
+
:param pulumi.Input['RegistryImageAuthConfigArgs'] auth_config: Authentication configuration for the Docker registry. It is only used for this resource.
|
|
122
|
+
:param pulumi.Input[builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
123
|
+
: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`
|
|
124
|
+
:param pulumi.Input[builtins.str] name: The name of the Docker image.
|
|
125
|
+
:param pulumi.Input[builtins.str] sha256_digest: The sha256 digest of the image.
|
|
126
|
+
: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
|
+
"""
|
|
128
|
+
if auth_config is not None:
|
|
129
|
+
pulumi.set(__self__, "auth_config", auth_config)
|
|
107
130
|
if insecure_skip_verify is not None:
|
|
108
131
|
pulumi.set(__self__, "insecure_skip_verify", insecure_skip_verify)
|
|
109
132
|
if keep_remotely is not None:
|
|
@@ -115,76 +138,90 @@ class _RegistryImageState:
|
|
|
115
138
|
if triggers is not None:
|
|
116
139
|
pulumi.set(__self__, "triggers", triggers)
|
|
117
140
|
|
|
141
|
+
@property
|
|
142
|
+
@pulumi.getter(name="authConfig")
|
|
143
|
+
def auth_config(self) -> Optional[pulumi.Input['RegistryImageAuthConfigArgs']]:
|
|
144
|
+
"""
|
|
145
|
+
Authentication configuration for the Docker registry. It is only used for this resource.
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "auth_config")
|
|
148
|
+
|
|
149
|
+
@auth_config.setter
|
|
150
|
+
def auth_config(self, value: Optional[pulumi.Input['RegistryImageAuthConfigArgs']]):
|
|
151
|
+
pulumi.set(self, "auth_config", value)
|
|
152
|
+
|
|
118
153
|
@property
|
|
119
154
|
@pulumi.getter(name="insecureSkipVerify")
|
|
120
|
-
def insecure_skip_verify(self) -> Optional[pulumi.Input[bool]]:
|
|
155
|
+
def insecure_skip_verify(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
121
156
|
"""
|
|
122
157
|
If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
123
158
|
"""
|
|
124
159
|
return pulumi.get(self, "insecure_skip_verify")
|
|
125
160
|
|
|
126
161
|
@insecure_skip_verify.setter
|
|
127
|
-
def insecure_skip_verify(self, value: Optional[pulumi.Input[bool]]):
|
|
162
|
+
def insecure_skip_verify(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
128
163
|
pulumi.set(self, "insecure_skip_verify", value)
|
|
129
164
|
|
|
130
165
|
@property
|
|
131
166
|
@pulumi.getter(name="keepRemotely")
|
|
132
|
-
def keep_remotely(self) -> Optional[pulumi.Input[bool]]:
|
|
167
|
+
def keep_remotely(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
133
168
|
"""
|
|
134
169
|
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`
|
|
135
170
|
"""
|
|
136
171
|
return pulumi.get(self, "keep_remotely")
|
|
137
172
|
|
|
138
173
|
@keep_remotely.setter
|
|
139
|
-
def keep_remotely(self, value: Optional[pulumi.Input[bool]]):
|
|
174
|
+
def keep_remotely(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
140
175
|
pulumi.set(self, "keep_remotely", value)
|
|
141
176
|
|
|
142
177
|
@property
|
|
143
178
|
@pulumi.getter
|
|
144
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
179
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
145
180
|
"""
|
|
146
181
|
The name of the Docker image.
|
|
147
182
|
"""
|
|
148
183
|
return pulumi.get(self, "name")
|
|
149
184
|
|
|
150
185
|
@name.setter
|
|
151
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
186
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
152
187
|
pulumi.set(self, "name", value)
|
|
153
188
|
|
|
154
189
|
@property
|
|
155
190
|
@pulumi.getter(name="sha256Digest")
|
|
156
|
-
def sha256_digest(self) -> Optional[pulumi.Input[str]]:
|
|
191
|
+
def sha256_digest(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
157
192
|
"""
|
|
158
193
|
The sha256 digest of the image.
|
|
159
194
|
"""
|
|
160
195
|
return pulumi.get(self, "sha256_digest")
|
|
161
196
|
|
|
162
197
|
@sha256_digest.setter
|
|
163
|
-
def sha256_digest(self, value: Optional[pulumi.Input[str]]):
|
|
198
|
+
def sha256_digest(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
164
199
|
pulumi.set(self, "sha256_digest", value)
|
|
165
200
|
|
|
166
201
|
@property
|
|
167
202
|
@pulumi.getter
|
|
168
|
-
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
203
|
+
def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
169
204
|
"""
|
|
170
205
|
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
|
|
171
206
|
"""
|
|
172
207
|
return pulumi.get(self, "triggers")
|
|
173
208
|
|
|
174
209
|
@triggers.setter
|
|
175
|
-
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
210
|
+
def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
176
211
|
pulumi.set(self, "triggers", value)
|
|
177
212
|
|
|
178
213
|
|
|
214
|
+
@pulumi.type_token("docker:index/registryImage:RegistryImage")
|
|
179
215
|
class RegistryImage(pulumi.CustomResource):
|
|
180
216
|
@overload
|
|
181
217
|
def __init__(__self__,
|
|
182
218
|
resource_name: str,
|
|
183
219
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
220
|
+
auth_config: Optional[pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']]] = None,
|
|
221
|
+
insecure_skip_verify: Optional[pulumi.Input[builtins.bool]] = None,
|
|
222
|
+
keep_remotely: Optional[pulumi.Input[builtins.bool]] = None,
|
|
223
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
224
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
188
225
|
__props__=None):
|
|
189
226
|
"""
|
|
190
227
|
<!-- Bug: Type and Name are switched -->
|
|
@@ -192,10 +229,11 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
192
229
|
|
|
193
230
|
:param str resource_name: The name of the resource.
|
|
194
231
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
195
|
-
:param pulumi.Input[
|
|
196
|
-
:param pulumi.Input[bool]
|
|
197
|
-
:param pulumi.Input[
|
|
198
|
-
:param pulumi.Input[
|
|
232
|
+
: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[builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
234
|
+
: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`
|
|
235
|
+
:param pulumi.Input[builtins.str] name: The name of the Docker image.
|
|
236
|
+
: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
|
|
199
237
|
"""
|
|
200
238
|
...
|
|
201
239
|
@overload
|
|
@@ -222,10 +260,11 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
222
260
|
def _internal_init(__self__,
|
|
223
261
|
resource_name: str,
|
|
224
262
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
263
|
+
auth_config: Optional[pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']]] = None,
|
|
264
|
+
insecure_skip_verify: Optional[pulumi.Input[builtins.bool]] = None,
|
|
265
|
+
keep_remotely: Optional[pulumi.Input[builtins.bool]] = None,
|
|
266
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
267
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
229
268
|
__props__=None):
|
|
230
269
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
231
270
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -235,6 +274,7 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
235
274
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
236
275
|
__props__ = RegistryImageArgs.__new__(RegistryImageArgs)
|
|
237
276
|
|
|
277
|
+
__props__.__dict__["auth_config"] = auth_config
|
|
238
278
|
__props__.__dict__["insecure_skip_verify"] = insecure_skip_verify
|
|
239
279
|
__props__.__dict__["keep_remotely"] = keep_remotely
|
|
240
280
|
__props__.__dict__["name"] = name
|
|
@@ -250,11 +290,12 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
250
290
|
def get(resource_name: str,
|
|
251
291
|
id: pulumi.Input[str],
|
|
252
292
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
293
|
+
auth_config: Optional[pulumi.Input[Union['RegistryImageAuthConfigArgs', 'RegistryImageAuthConfigArgsDict']]] = None,
|
|
294
|
+
insecure_skip_verify: Optional[pulumi.Input[builtins.bool]] = None,
|
|
295
|
+
keep_remotely: Optional[pulumi.Input[builtins.bool]] = None,
|
|
296
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
|
+
sha256_digest: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None) -> 'RegistryImage':
|
|
258
299
|
"""
|
|
259
300
|
Get an existing RegistryImage resource's state with the given name, id, and optional extra
|
|
260
301
|
properties used to qualify the lookup.
|
|
@@ -262,16 +303,18 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
262
303
|
:param str resource_name: The unique name of the resulting resource.
|
|
263
304
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
264
305
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
265
|
-
:param pulumi.Input[
|
|
266
|
-
:param pulumi.Input[bool]
|
|
267
|
-
:param pulumi.Input[
|
|
268
|
-
:param pulumi.Input[str]
|
|
269
|
-
:param pulumi.Input[
|
|
306
|
+
: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[builtins.bool] insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
308
|
+
: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`
|
|
309
|
+
:param pulumi.Input[builtins.str] name: The name of the Docker image.
|
|
310
|
+
:param pulumi.Input[builtins.str] sha256_digest: The sha256 digest of the image.
|
|
311
|
+
: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
|
|
270
312
|
"""
|
|
271
313
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
272
314
|
|
|
273
315
|
__props__ = _RegistryImageState.__new__(_RegistryImageState)
|
|
274
316
|
|
|
317
|
+
__props__.__dict__["auth_config"] = auth_config
|
|
275
318
|
__props__.__dict__["insecure_skip_verify"] = insecure_skip_verify
|
|
276
319
|
__props__.__dict__["keep_remotely"] = keep_remotely
|
|
277
320
|
__props__.__dict__["name"] = name
|
|
@@ -279,9 +322,17 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
279
322
|
__props__.__dict__["triggers"] = triggers
|
|
280
323
|
return RegistryImage(resource_name, opts=opts, __props__=__props__)
|
|
281
324
|
|
|
325
|
+
@property
|
|
326
|
+
@pulumi.getter(name="authConfig")
|
|
327
|
+
def auth_config(self) -> pulumi.Output[Optional['outputs.RegistryImageAuthConfig']]:
|
|
328
|
+
"""
|
|
329
|
+
Authentication configuration for the Docker registry. It is only used for this resource.
|
|
330
|
+
"""
|
|
331
|
+
return pulumi.get(self, "auth_config")
|
|
332
|
+
|
|
282
333
|
@property
|
|
283
334
|
@pulumi.getter(name="insecureSkipVerify")
|
|
284
|
-
def insecure_skip_verify(self) -> pulumi.Output[Optional[bool]]:
|
|
335
|
+
def insecure_skip_verify(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
285
336
|
"""
|
|
286
337
|
If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
287
338
|
"""
|
|
@@ -289,7 +340,7 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
289
340
|
|
|
290
341
|
@property
|
|
291
342
|
@pulumi.getter(name="keepRemotely")
|
|
292
|
-
def keep_remotely(self) -> pulumi.Output[Optional[bool]]:
|
|
343
|
+
def keep_remotely(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
293
344
|
"""
|
|
294
345
|
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`
|
|
295
346
|
"""
|
|
@@ -297,7 +348,7 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
297
348
|
|
|
298
349
|
@property
|
|
299
350
|
@pulumi.getter
|
|
300
|
-
def name(self) -> pulumi.Output[str]:
|
|
351
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
301
352
|
"""
|
|
302
353
|
The name of the Docker image.
|
|
303
354
|
"""
|
|
@@ -305,7 +356,7 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
305
356
|
|
|
306
357
|
@property
|
|
307
358
|
@pulumi.getter(name="sha256Digest")
|
|
308
|
-
def sha256_digest(self) -> pulumi.Output[str]:
|
|
359
|
+
def sha256_digest(self) -> pulumi.Output[builtins.str]:
|
|
309
360
|
"""
|
|
310
361
|
The sha256 digest of the image.
|
|
311
362
|
"""
|
|
@@ -313,7 +364,7 @@ class RegistryImage(pulumi.CustomResource):
|
|
|
313
364
|
|
|
314
365
|
@property
|
|
315
366
|
@pulumi.getter
|
|
316
|
-
def triggers(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
367
|
+
def triggers(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
317
368
|
"""
|
|
318
369
|
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
|
|
319
370
|
"""
|