pulumi-nomad 2.6.0a1753337858__py3-none-any.whl → 2.6.0a1753510487__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.
- pulumi_nomad/__init__.py +1 -1
- pulumi_nomad/_inputs.py +608 -609
- pulumi_nomad/acl_auth_method.py +106 -107
- pulumi_nomad/acl_binding_rule.py +86 -87
- pulumi_nomad/acl_policy.py +55 -56
- pulumi_nomad/acl_role.py +38 -39
- pulumi_nomad/acl_token.py +125 -126
- pulumi_nomad/config/__init__.py +1 -1
- pulumi_nomad/config/__init__.pyi +1 -2
- pulumi_nomad/config/outputs.py +9 -10
- pulumi_nomad/config/vars.py +14 -15
- pulumi_nomad/csi_volume.py +277 -278
- pulumi_nomad/csi_volume_registration.py +276 -277
- pulumi_nomad/dynamic_host_volume.py +191 -192
- pulumi_nomad/dynamic_host_volume_registration.py +156 -157
- pulumi_nomad/external_volume.py +255 -256
- pulumi_nomad/get_acl_policies.py +10 -11
- pulumi_nomad/get_acl_policy.py +13 -14
- pulumi_nomad/get_acl_role.py +12 -13
- pulumi_nomad/get_acl_roles.py +10 -11
- pulumi_nomad/get_acl_token.py +26 -27
- pulumi_nomad/get_acl_tokens.py +10 -11
- pulumi_nomad/get_allocations.py +22 -23
- pulumi_nomad/get_datacenters.py +17 -18
- pulumi_nomad/get_deployments.py +5 -6
- pulumi_nomad/get_dynamic_host_volume.py +41 -42
- pulumi_nomad/get_job.py +50 -51
- pulumi_nomad/get_job_parser.py +17 -18
- pulumi_nomad/get_jwks.py +6 -7
- pulumi_nomad/get_namespace.py +17 -18
- pulumi_nomad/get_namespaces.py +5 -6
- pulumi_nomad/get_node_pool.py +14 -15
- pulumi_nomad/get_node_pools.py +16 -17
- pulumi_nomad/get_plugin.py +36 -37
- pulumi_nomad/get_plugins.py +9 -10
- pulumi_nomad/get_regions.py +5 -6
- pulumi_nomad/get_scaling_policies.py +16 -17
- pulumi_nomad/get_scaling_policy.py +19 -20
- pulumi_nomad/get_scheduler_policy.py +9 -10
- pulumi_nomad/get_variable.py +17 -18
- pulumi_nomad/get_volumes.py +29 -30
- pulumi_nomad/job.py +245 -246
- pulumi_nomad/namespace.py +75 -76
- pulumi_nomad/node_pool.py +55 -56
- pulumi_nomad/outputs.py +743 -744
- pulumi_nomad/provider.py +119 -120
- pulumi_nomad/pulumi-plugin.json +1 -1
- pulumi_nomad/quote_specification.py +38 -39
- pulumi_nomad/scheduler_config.py +52 -53
- pulumi_nomad/sentinel_policy.py +86 -87
- pulumi_nomad/variable.py +52 -53
- pulumi_nomad/volume.py +272 -273
- {pulumi_nomad-2.6.0a1753337858.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/METADATA +1 -1
- pulumi_nomad-2.6.0a1753510487.dist-info/RECORD +58 -0
- pulumi_nomad-2.6.0a1753337858.dist-info/RECORD +0 -58
- {pulumi_nomad-2.6.0a1753337858.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.6.0a1753337858.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/top_level.txt +0 -0
@@ -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,32 +22,32 @@ __all__ = ['DynamicHostVolumeRegistrationArgs', 'DynamicHostVolumeRegistration']
|
|
23
22
|
class DynamicHostVolumeRegistrationArgs:
|
24
23
|
def __init__(__self__, *,
|
25
24
|
capabilities: pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]],
|
26
|
-
host_path: pulumi.Input[
|
27
|
-
node_id: pulumi.Input[
|
28
|
-
capacity: Optional[pulumi.Input[
|
29
|
-
name: Optional[pulumi.Input[
|
30
|
-
namespace: Optional[pulumi.Input[
|
31
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
25
|
+
host_path: pulumi.Input[_builtins.str],
|
26
|
+
node_id: pulumi.Input[_builtins.str],
|
27
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
28
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
29
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
30
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
32
31
|
"""
|
33
32
|
The set of arguments for constructing a DynamicHostVolumeRegistration resource.
|
34
33
|
:param pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]] capabilities: `(block: <optional>)` - Option for validating the capability of a
|
35
34
|
volume. Each capability block has the following attributes:
|
36
|
-
:param pulumi.Input[
|
37
|
-
:param pulumi.Input[
|
35
|
+
:param pulumi.Input[_builtins.str] host_path: `(string)` - The path on disk where the volume exists.
|
36
|
+
:param pulumi.Input[_builtins.str] node_id: `(string: <required>)` - A specific node where the volume is
|
38
37
|
mounted.
|
39
|
-
:param pulumi.Input[
|
38
|
+
:param pulumi.Input[_builtins.str] capacity: `(string: <optional>)` - The size of a volume in bytes. Either the
|
40
39
|
physical size of a disk or a quota, depending on the plugin. This field must
|
41
40
|
be between the `capacity_min` and `capacity_max` values unless they are
|
42
41
|
omitted. Accepts human-friendly suffixes such as `"100GiB"`.
|
43
|
-
:param pulumi.Input[
|
42
|
+
:param pulumi.Input[_builtins.str] name: `(string: <required>)` - The name of the volume, which is used as the
|
44
43
|
[`volume.source`][volume_source] field in job specifications that claim this
|
45
44
|
volume. Host volume names must be unique per node. Names are visible to any
|
46
45
|
user with `node:read` ACL, even across namespaces, so they should not be
|
47
46
|
treated as sensitive values.
|
48
|
-
:param pulumi.Input[
|
47
|
+
:param pulumi.Input[_builtins.str] namespace: `(string: <optional>)` - The namespace of the volume. This field
|
49
48
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
50
49
|
environment variable. Defaults to `"default"` if unset.
|
51
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: `(map<string|string>: <optional>)` - A key-value map of strings
|
52
51
|
passed directly to the plugin to configure the volume. The details of these
|
53
52
|
parameters are specific to the plugin.
|
54
53
|
|
@@ -69,7 +68,7 @@ class DynamicHostVolumeRegistrationArgs:
|
|
69
68
|
if parameters is not None:
|
70
69
|
pulumi.set(__self__, "parameters", parameters)
|
71
70
|
|
72
|
-
@property
|
71
|
+
@_builtins.property
|
73
72
|
@pulumi.getter
|
74
73
|
def capabilities(self) -> pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]]:
|
75
74
|
"""
|
@@ -82,21 +81,21 @@ class DynamicHostVolumeRegistrationArgs:
|
|
82
81
|
def capabilities(self, value: pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]]):
|
83
82
|
pulumi.set(self, "capabilities", value)
|
84
83
|
|
85
|
-
@property
|
84
|
+
@_builtins.property
|
86
85
|
@pulumi.getter(name="hostPath")
|
87
|
-
def host_path(self) -> pulumi.Input[
|
86
|
+
def host_path(self) -> pulumi.Input[_builtins.str]:
|
88
87
|
"""
|
89
88
|
`(string)` - The path on disk where the volume exists.
|
90
89
|
"""
|
91
90
|
return pulumi.get(self, "host_path")
|
92
91
|
|
93
92
|
@host_path.setter
|
94
|
-
def host_path(self, value: pulumi.Input[
|
93
|
+
def host_path(self, value: pulumi.Input[_builtins.str]):
|
95
94
|
pulumi.set(self, "host_path", value)
|
96
95
|
|
97
|
-
@property
|
96
|
+
@_builtins.property
|
98
97
|
@pulumi.getter(name="nodeId")
|
99
|
-
def node_id(self) -> pulumi.Input[
|
98
|
+
def node_id(self) -> pulumi.Input[_builtins.str]:
|
100
99
|
"""
|
101
100
|
`(string: <required>)` - A specific node where the volume is
|
102
101
|
mounted.
|
@@ -104,12 +103,12 @@ class DynamicHostVolumeRegistrationArgs:
|
|
104
103
|
return pulumi.get(self, "node_id")
|
105
104
|
|
106
105
|
@node_id.setter
|
107
|
-
def node_id(self, value: pulumi.Input[
|
106
|
+
def node_id(self, value: pulumi.Input[_builtins.str]):
|
108
107
|
pulumi.set(self, "node_id", value)
|
109
108
|
|
110
|
-
@property
|
109
|
+
@_builtins.property
|
111
110
|
@pulumi.getter
|
112
|
-
def capacity(self) -> Optional[pulumi.Input[
|
111
|
+
def capacity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
113
112
|
"""
|
114
113
|
`(string: <optional>)` - The size of a volume in bytes. Either the
|
115
114
|
physical size of a disk or a quota, depending on the plugin. This field must
|
@@ -119,12 +118,12 @@ class DynamicHostVolumeRegistrationArgs:
|
|
119
118
|
return pulumi.get(self, "capacity")
|
120
119
|
|
121
120
|
@capacity.setter
|
122
|
-
def capacity(self, value: Optional[pulumi.Input[
|
121
|
+
def capacity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
123
122
|
pulumi.set(self, "capacity", value)
|
124
123
|
|
125
|
-
@property
|
124
|
+
@_builtins.property
|
126
125
|
@pulumi.getter
|
127
|
-
def name(self) -> Optional[pulumi.Input[
|
126
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
128
127
|
"""
|
129
128
|
`(string: <required>)` - The name of the volume, which is used as the
|
130
129
|
[`volume.source`][volume_source] field in job specifications that claim this
|
@@ -135,12 +134,12 @@ class DynamicHostVolumeRegistrationArgs:
|
|
135
134
|
return pulumi.get(self, "name")
|
136
135
|
|
137
136
|
@name.setter
|
138
|
-
def name(self, value: Optional[pulumi.Input[
|
137
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
139
138
|
pulumi.set(self, "name", value)
|
140
139
|
|
141
|
-
@property
|
140
|
+
@_builtins.property
|
142
141
|
@pulumi.getter
|
143
|
-
def namespace(self) -> Optional[pulumi.Input[
|
142
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
144
143
|
"""
|
145
144
|
`(string: <optional>)` - The namespace of the volume. This field
|
146
145
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
@@ -149,12 +148,12 @@ class DynamicHostVolumeRegistrationArgs:
|
|
149
148
|
return pulumi.get(self, "namespace")
|
150
149
|
|
151
150
|
@namespace.setter
|
152
|
-
def namespace(self, value: Optional[pulumi.Input[
|
151
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
153
152
|
pulumi.set(self, "namespace", value)
|
154
153
|
|
155
|
-
@property
|
154
|
+
@_builtins.property
|
156
155
|
@pulumi.getter
|
157
|
-
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
156
|
+
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
158
157
|
"""
|
159
158
|
`(map<string|string>: <optional>)` - A key-value map of strings
|
160
159
|
passed directly to the plugin to configure the volume. The details of these
|
@@ -168,7 +167,7 @@ class DynamicHostVolumeRegistrationArgs:
|
|
168
167
|
return pulumi.get(self, "parameters")
|
169
168
|
|
170
169
|
@parameters.setter
|
171
|
-
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
170
|
+
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
172
171
|
pulumi.set(self, "parameters", value)
|
173
172
|
|
174
173
|
|
@@ -176,41 +175,41 @@ class DynamicHostVolumeRegistrationArgs:
|
|
176
175
|
class _DynamicHostVolumeRegistrationState:
|
177
176
|
def __init__(__self__, *,
|
178
177
|
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]]] = None,
|
179
|
-
capacity: Optional[pulumi.Input[
|
180
|
-
capacity_bytes: Optional[pulumi.Input[
|
181
|
-
capacity_max_bytes: Optional[pulumi.Input[
|
182
|
-
capacity_min_bytes: Optional[pulumi.Input[
|
178
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
179
|
+
capacity_bytes: Optional[pulumi.Input[_builtins.int]] = None,
|
180
|
+
capacity_max_bytes: Optional[pulumi.Input[_builtins.int]] = None,
|
181
|
+
capacity_min_bytes: Optional[pulumi.Input[_builtins.int]] = None,
|
183
182
|
constraints: Optional[pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationConstraintArgs']]]] = None,
|
184
|
-
host_path: Optional[pulumi.Input[
|
185
|
-
name: Optional[pulumi.Input[
|
186
|
-
namespace: Optional[pulumi.Input[
|
187
|
-
node_id: Optional[pulumi.Input[
|
188
|
-
node_pool: Optional[pulumi.Input[
|
189
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
190
|
-
plugin_id: Optional[pulumi.Input[
|
191
|
-
state: Optional[pulumi.Input[
|
183
|
+
host_path: Optional[pulumi.Input[_builtins.str]] = None,
|
184
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
185
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
186
|
+
node_id: Optional[pulumi.Input[_builtins.str]] = None,
|
187
|
+
node_pool: Optional[pulumi.Input[_builtins.str]] = None,
|
188
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
189
|
+
plugin_id: Optional[pulumi.Input[_builtins.str]] = None,
|
190
|
+
state: Optional[pulumi.Input[_builtins.str]] = None):
|
192
191
|
"""
|
193
192
|
Input properties used for looking up and filtering DynamicHostVolumeRegistration resources.
|
194
193
|
:param pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]] capabilities: `(block: <optional>)` - Option for validating the capability of a
|
195
194
|
volume. Each capability block has the following attributes:
|
196
|
-
:param pulumi.Input[
|
195
|
+
:param pulumi.Input[_builtins.str] capacity: `(string: <optional>)` - The size of a volume in bytes. Either the
|
197
196
|
physical size of a disk or a quota, depending on the plugin. This field must
|
198
197
|
be between the `capacity_min` and `capacity_max` values unless they are
|
199
198
|
omitted. Accepts human-friendly suffixes such as `"100GiB"`.
|
200
199
|
:param pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationConstraintArgs']]] constraints: Constraints
|
201
|
-
:param pulumi.Input[
|
202
|
-
:param pulumi.Input[
|
200
|
+
:param pulumi.Input[_builtins.str] host_path: `(string)` - The path on disk where the volume exists.
|
201
|
+
:param pulumi.Input[_builtins.str] name: `(string: <required>)` - The name of the volume, which is used as the
|
203
202
|
[`volume.source`][volume_source] field in job specifications that claim this
|
204
203
|
volume. Host volume names must be unique per node. Names are visible to any
|
205
204
|
user with `node:read` ACL, even across namespaces, so they should not be
|
206
205
|
treated as sensitive values.
|
207
|
-
:param pulumi.Input[
|
206
|
+
:param pulumi.Input[_builtins.str] namespace: `(string: <optional>)` - The namespace of the volume. This field
|
208
207
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
209
208
|
environment variable. Defaults to `"default"` if unset.
|
210
|
-
:param pulumi.Input[
|
209
|
+
:param pulumi.Input[_builtins.str] node_id: `(string: <required>)` - A specific node where the volume is
|
211
210
|
mounted.
|
212
|
-
:param pulumi.Input[
|
213
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
211
|
+
:param pulumi.Input[_builtins.str] node_pool: Node pool
|
212
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: `(map<string|string>: <optional>)` - A key-value map of strings
|
214
213
|
passed directly to the plugin to configure the volume. The details of these
|
215
214
|
parameters are specific to the plugin.
|
216
215
|
|
@@ -218,8 +217,8 @@ class _DynamicHostVolumeRegistrationState:
|
|
218
217
|
[`access_mode`]: /nomad/docs/other-specifications/volume/capability#access_mode
|
219
218
|
[`attachment_mode`]: /nomad/docs/other-specifications/volume/capability#attachment_mode
|
220
219
|
[volume_source]: /nomad/docs/job-specification/volume#source
|
221
|
-
:param pulumi.Input[
|
222
|
-
:param pulumi.Input[
|
220
|
+
:param pulumi.Input[_builtins.str] plugin_id: Plugin ID
|
221
|
+
:param pulumi.Input[_builtins.str] state: State
|
223
222
|
"""
|
224
223
|
if capabilities is not None:
|
225
224
|
pulumi.set(__self__, "capabilities", capabilities)
|
@@ -250,7 +249,7 @@ class _DynamicHostVolumeRegistrationState:
|
|
250
249
|
if state is not None:
|
251
250
|
pulumi.set(__self__, "state", state)
|
252
251
|
|
253
|
-
@property
|
252
|
+
@_builtins.property
|
254
253
|
@pulumi.getter
|
255
254
|
def capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]]]:
|
256
255
|
"""
|
@@ -263,9 +262,9 @@ class _DynamicHostVolumeRegistrationState:
|
|
263
262
|
def capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationCapabilityArgs']]]]):
|
264
263
|
pulumi.set(self, "capabilities", value)
|
265
264
|
|
266
|
-
@property
|
265
|
+
@_builtins.property
|
267
266
|
@pulumi.getter
|
268
|
-
def capacity(self) -> Optional[pulumi.Input[
|
267
|
+
def capacity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
269
268
|
"""
|
270
269
|
`(string: <optional>)` - The size of a volume in bytes. Either the
|
271
270
|
physical size of a disk or a quota, depending on the plugin. This field must
|
@@ -275,37 +274,37 @@ class _DynamicHostVolumeRegistrationState:
|
|
275
274
|
return pulumi.get(self, "capacity")
|
276
275
|
|
277
276
|
@capacity.setter
|
278
|
-
def capacity(self, value: Optional[pulumi.Input[
|
277
|
+
def capacity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
279
278
|
pulumi.set(self, "capacity", value)
|
280
279
|
|
281
|
-
@property
|
280
|
+
@_builtins.property
|
282
281
|
@pulumi.getter(name="capacityBytes")
|
283
|
-
def capacity_bytes(self) -> Optional[pulumi.Input[
|
282
|
+
def capacity_bytes(self) -> Optional[pulumi.Input[_builtins.int]]:
|
284
283
|
return pulumi.get(self, "capacity_bytes")
|
285
284
|
|
286
285
|
@capacity_bytes.setter
|
287
|
-
def capacity_bytes(self, value: Optional[pulumi.Input[
|
286
|
+
def capacity_bytes(self, value: Optional[pulumi.Input[_builtins.int]]):
|
288
287
|
pulumi.set(self, "capacity_bytes", value)
|
289
288
|
|
290
|
-
@property
|
289
|
+
@_builtins.property
|
291
290
|
@pulumi.getter(name="capacityMaxBytes")
|
292
|
-
def capacity_max_bytes(self) -> Optional[pulumi.Input[
|
291
|
+
def capacity_max_bytes(self) -> Optional[pulumi.Input[_builtins.int]]:
|
293
292
|
return pulumi.get(self, "capacity_max_bytes")
|
294
293
|
|
295
294
|
@capacity_max_bytes.setter
|
296
|
-
def capacity_max_bytes(self, value: Optional[pulumi.Input[
|
295
|
+
def capacity_max_bytes(self, value: Optional[pulumi.Input[_builtins.int]]):
|
297
296
|
pulumi.set(self, "capacity_max_bytes", value)
|
298
297
|
|
299
|
-
@property
|
298
|
+
@_builtins.property
|
300
299
|
@pulumi.getter(name="capacityMinBytes")
|
301
|
-
def capacity_min_bytes(self) -> Optional[pulumi.Input[
|
300
|
+
def capacity_min_bytes(self) -> Optional[pulumi.Input[_builtins.int]]:
|
302
301
|
return pulumi.get(self, "capacity_min_bytes")
|
303
302
|
|
304
303
|
@capacity_min_bytes.setter
|
305
|
-
def capacity_min_bytes(self, value: Optional[pulumi.Input[
|
304
|
+
def capacity_min_bytes(self, value: Optional[pulumi.Input[_builtins.int]]):
|
306
305
|
pulumi.set(self, "capacity_min_bytes", value)
|
307
306
|
|
308
|
-
@property
|
307
|
+
@_builtins.property
|
309
308
|
@pulumi.getter
|
310
309
|
def constraints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationConstraintArgs']]]]:
|
311
310
|
"""
|
@@ -317,21 +316,21 @@ class _DynamicHostVolumeRegistrationState:
|
|
317
316
|
def constraints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DynamicHostVolumeRegistrationConstraintArgs']]]]):
|
318
317
|
pulumi.set(self, "constraints", value)
|
319
318
|
|
320
|
-
@property
|
319
|
+
@_builtins.property
|
321
320
|
@pulumi.getter(name="hostPath")
|
322
|
-
def host_path(self) -> Optional[pulumi.Input[
|
321
|
+
def host_path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
323
322
|
"""
|
324
323
|
`(string)` - The path on disk where the volume exists.
|
325
324
|
"""
|
326
325
|
return pulumi.get(self, "host_path")
|
327
326
|
|
328
327
|
@host_path.setter
|
329
|
-
def host_path(self, value: Optional[pulumi.Input[
|
328
|
+
def host_path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
330
329
|
pulumi.set(self, "host_path", value)
|
331
330
|
|
332
|
-
@property
|
331
|
+
@_builtins.property
|
333
332
|
@pulumi.getter
|
334
|
-
def name(self) -> Optional[pulumi.Input[
|
333
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
335
334
|
"""
|
336
335
|
`(string: <required>)` - The name of the volume, which is used as the
|
337
336
|
[`volume.source`][volume_source] field in job specifications that claim this
|
@@ -342,12 +341,12 @@ class _DynamicHostVolumeRegistrationState:
|
|
342
341
|
return pulumi.get(self, "name")
|
343
342
|
|
344
343
|
@name.setter
|
345
|
-
def name(self, value: Optional[pulumi.Input[
|
344
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
346
345
|
pulumi.set(self, "name", value)
|
347
346
|
|
348
|
-
@property
|
347
|
+
@_builtins.property
|
349
348
|
@pulumi.getter
|
350
|
-
def namespace(self) -> Optional[pulumi.Input[
|
349
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
351
350
|
"""
|
352
351
|
`(string: <optional>)` - The namespace of the volume. This field
|
353
352
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
@@ -356,12 +355,12 @@ class _DynamicHostVolumeRegistrationState:
|
|
356
355
|
return pulumi.get(self, "namespace")
|
357
356
|
|
358
357
|
@namespace.setter
|
359
|
-
def namespace(self, value: Optional[pulumi.Input[
|
358
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
360
359
|
pulumi.set(self, "namespace", value)
|
361
360
|
|
362
|
-
@property
|
361
|
+
@_builtins.property
|
363
362
|
@pulumi.getter(name="nodeId")
|
364
|
-
def node_id(self) -> Optional[pulumi.Input[
|
363
|
+
def node_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
365
364
|
"""
|
366
365
|
`(string: <required>)` - A specific node where the volume is
|
367
366
|
mounted.
|
@@ -369,24 +368,24 @@ class _DynamicHostVolumeRegistrationState:
|
|
369
368
|
return pulumi.get(self, "node_id")
|
370
369
|
|
371
370
|
@node_id.setter
|
372
|
-
def node_id(self, value: Optional[pulumi.Input[
|
371
|
+
def node_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
373
372
|
pulumi.set(self, "node_id", value)
|
374
373
|
|
375
|
-
@property
|
374
|
+
@_builtins.property
|
376
375
|
@pulumi.getter(name="nodePool")
|
377
|
-
def node_pool(self) -> Optional[pulumi.Input[
|
376
|
+
def node_pool(self) -> Optional[pulumi.Input[_builtins.str]]:
|
378
377
|
"""
|
379
378
|
Node pool
|
380
379
|
"""
|
381
380
|
return pulumi.get(self, "node_pool")
|
382
381
|
|
383
382
|
@node_pool.setter
|
384
|
-
def node_pool(self, value: Optional[pulumi.Input[
|
383
|
+
def node_pool(self, value: Optional[pulumi.Input[_builtins.str]]):
|
385
384
|
pulumi.set(self, "node_pool", value)
|
386
385
|
|
387
|
-
@property
|
386
|
+
@_builtins.property
|
388
387
|
@pulumi.getter
|
389
|
-
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
388
|
+
def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
390
389
|
"""
|
391
390
|
`(map<string|string>: <optional>)` - A key-value map of strings
|
392
391
|
passed directly to the plugin to configure the volume. The details of these
|
@@ -400,31 +399,31 @@ class _DynamicHostVolumeRegistrationState:
|
|
400
399
|
return pulumi.get(self, "parameters")
|
401
400
|
|
402
401
|
@parameters.setter
|
403
|
-
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
402
|
+
def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
404
403
|
pulumi.set(self, "parameters", value)
|
405
404
|
|
406
|
-
@property
|
405
|
+
@_builtins.property
|
407
406
|
@pulumi.getter(name="pluginId")
|
408
|
-
def plugin_id(self) -> Optional[pulumi.Input[
|
407
|
+
def plugin_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
409
408
|
"""
|
410
409
|
Plugin ID
|
411
410
|
"""
|
412
411
|
return pulumi.get(self, "plugin_id")
|
413
412
|
|
414
413
|
@plugin_id.setter
|
415
|
-
def plugin_id(self, value: Optional[pulumi.Input[
|
414
|
+
def plugin_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
416
415
|
pulumi.set(self, "plugin_id", value)
|
417
416
|
|
418
|
-
@property
|
417
|
+
@_builtins.property
|
419
418
|
@pulumi.getter
|
420
|
-
def state(self) -> Optional[pulumi.Input[
|
419
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
421
420
|
"""
|
422
421
|
State
|
423
422
|
"""
|
424
423
|
return pulumi.get(self, "state")
|
425
424
|
|
426
425
|
@state.setter
|
427
|
-
def state(self, value: Optional[pulumi.Input[
|
426
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
428
427
|
pulumi.set(self, "state", value)
|
429
428
|
|
430
429
|
|
@@ -435,12 +434,12 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
435
434
|
resource_name: str,
|
436
435
|
opts: Optional[pulumi.ResourceOptions] = None,
|
437
436
|
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]]] = None,
|
438
|
-
capacity: Optional[pulumi.Input[
|
439
|
-
host_path: Optional[pulumi.Input[
|
440
|
-
name: Optional[pulumi.Input[
|
441
|
-
namespace: Optional[pulumi.Input[
|
442
|
-
node_id: Optional[pulumi.Input[
|
443
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
437
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
438
|
+
host_path: Optional[pulumi.Input[_builtins.str]] = None,
|
439
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
440
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
441
|
+
node_id: Optional[pulumi.Input[_builtins.str]] = None,
|
442
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
444
443
|
__props__=None):
|
445
444
|
"""
|
446
445
|
Registers a dynamic host volume in Nomad that has already been created. Note
|
@@ -451,22 +450,22 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
451
450
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
452
451
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]] capabilities: `(block: <optional>)` - Option for validating the capability of a
|
453
452
|
volume. Each capability block has the following attributes:
|
454
|
-
:param pulumi.Input[
|
453
|
+
:param pulumi.Input[_builtins.str] capacity: `(string: <optional>)` - The size of a volume in bytes. Either the
|
455
454
|
physical size of a disk or a quota, depending on the plugin. This field must
|
456
455
|
be between the `capacity_min` and `capacity_max` values unless they are
|
457
456
|
omitted. Accepts human-friendly suffixes such as `"100GiB"`.
|
458
|
-
:param pulumi.Input[
|
459
|
-
:param pulumi.Input[
|
457
|
+
:param pulumi.Input[_builtins.str] host_path: `(string)` - The path on disk where the volume exists.
|
458
|
+
:param pulumi.Input[_builtins.str] name: `(string: <required>)` - The name of the volume, which is used as the
|
460
459
|
[`volume.source`][volume_source] field in job specifications that claim this
|
461
460
|
volume. Host volume names must be unique per node. Names are visible to any
|
462
461
|
user with `node:read` ACL, even across namespaces, so they should not be
|
463
462
|
treated as sensitive values.
|
464
|
-
:param pulumi.Input[
|
463
|
+
:param pulumi.Input[_builtins.str] namespace: `(string: <optional>)` - The namespace of the volume. This field
|
465
464
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
466
465
|
environment variable. Defaults to `"default"` if unset.
|
467
|
-
:param pulumi.Input[
|
466
|
+
:param pulumi.Input[_builtins.str] node_id: `(string: <required>)` - A specific node where the volume is
|
468
467
|
mounted.
|
469
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
468
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: `(map<string|string>: <optional>)` - A key-value map of strings
|
470
469
|
passed directly to the plugin to configure the volume. The details of these
|
471
470
|
parameters are specific to the plugin.
|
472
471
|
|
@@ -502,12 +501,12 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
502
501
|
resource_name: str,
|
503
502
|
opts: Optional[pulumi.ResourceOptions] = None,
|
504
503
|
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]]] = None,
|
505
|
-
capacity: Optional[pulumi.Input[
|
506
|
-
host_path: Optional[pulumi.Input[
|
507
|
-
name: Optional[pulumi.Input[
|
508
|
-
namespace: Optional[pulumi.Input[
|
509
|
-
node_id: Optional[pulumi.Input[
|
510
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
504
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
505
|
+
host_path: Optional[pulumi.Input[_builtins.str]] = None,
|
506
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
507
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
508
|
+
node_id: Optional[pulumi.Input[_builtins.str]] = None,
|
509
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
511
510
|
__props__=None):
|
512
511
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
513
512
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -548,19 +547,19 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
548
547
|
id: pulumi.Input[str],
|
549
548
|
opts: Optional[pulumi.ResourceOptions] = None,
|
550
549
|
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]]] = None,
|
551
|
-
capacity: Optional[pulumi.Input[
|
552
|
-
capacity_bytes: Optional[pulumi.Input[
|
553
|
-
capacity_max_bytes: Optional[pulumi.Input[
|
554
|
-
capacity_min_bytes: Optional[pulumi.Input[
|
550
|
+
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
551
|
+
capacity_bytes: Optional[pulumi.Input[_builtins.int]] = None,
|
552
|
+
capacity_max_bytes: Optional[pulumi.Input[_builtins.int]] = None,
|
553
|
+
capacity_min_bytes: Optional[pulumi.Input[_builtins.int]] = None,
|
555
554
|
constraints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationConstraintArgs', 'DynamicHostVolumeRegistrationConstraintArgsDict']]]]] = None,
|
556
|
-
host_path: Optional[pulumi.Input[
|
557
|
-
name: Optional[pulumi.Input[
|
558
|
-
namespace: Optional[pulumi.Input[
|
559
|
-
node_id: Optional[pulumi.Input[
|
560
|
-
node_pool: Optional[pulumi.Input[
|
561
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
562
|
-
plugin_id: Optional[pulumi.Input[
|
563
|
-
state: Optional[pulumi.Input[
|
555
|
+
host_path: Optional[pulumi.Input[_builtins.str]] = None,
|
556
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
557
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
558
|
+
node_id: Optional[pulumi.Input[_builtins.str]] = None,
|
559
|
+
node_pool: Optional[pulumi.Input[_builtins.str]] = None,
|
560
|
+
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
561
|
+
plugin_id: Optional[pulumi.Input[_builtins.str]] = None,
|
562
|
+
state: Optional[pulumi.Input[_builtins.str]] = None) -> 'DynamicHostVolumeRegistration':
|
564
563
|
"""
|
565
564
|
Get an existing DynamicHostVolumeRegistration resource's state with the given name, id, and optional extra
|
566
565
|
properties used to qualify the lookup.
|
@@ -570,24 +569,24 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
570
569
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
571
570
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]] capabilities: `(block: <optional>)` - Option for validating the capability of a
|
572
571
|
volume. Each capability block has the following attributes:
|
573
|
-
:param pulumi.Input[
|
572
|
+
:param pulumi.Input[_builtins.str] capacity: `(string: <optional>)` - The size of a volume in bytes. Either the
|
574
573
|
physical size of a disk or a quota, depending on the plugin. This field must
|
575
574
|
be between the `capacity_min` and `capacity_max` values unless they are
|
576
575
|
omitted. Accepts human-friendly suffixes such as `"100GiB"`.
|
577
576
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationConstraintArgs', 'DynamicHostVolumeRegistrationConstraintArgsDict']]]] constraints: Constraints
|
578
|
-
:param pulumi.Input[
|
579
|
-
:param pulumi.Input[
|
577
|
+
:param pulumi.Input[_builtins.str] host_path: `(string)` - The path on disk where the volume exists.
|
578
|
+
:param pulumi.Input[_builtins.str] name: `(string: <required>)` - The name of the volume, which is used as the
|
580
579
|
[`volume.source`][volume_source] field in job specifications that claim this
|
581
580
|
volume. Host volume names must be unique per node. Names are visible to any
|
582
581
|
user with `node:read` ACL, even across namespaces, so they should not be
|
583
582
|
treated as sensitive values.
|
584
|
-
:param pulumi.Input[
|
583
|
+
:param pulumi.Input[_builtins.str] namespace: `(string: <optional>)` - The namespace of the volume. This field
|
585
584
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
586
585
|
environment variable. Defaults to `"default"` if unset.
|
587
|
-
:param pulumi.Input[
|
586
|
+
:param pulumi.Input[_builtins.str] node_id: `(string: <required>)` - A specific node where the volume is
|
588
587
|
mounted.
|
589
|
-
:param pulumi.Input[
|
590
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
588
|
+
:param pulumi.Input[_builtins.str] node_pool: Node pool
|
589
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: `(map<string|string>: <optional>)` - A key-value map of strings
|
591
590
|
passed directly to the plugin to configure the volume. The details of these
|
592
591
|
parameters are specific to the plugin.
|
593
592
|
|
@@ -595,8 +594,8 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
595
594
|
[`access_mode`]: /nomad/docs/other-specifications/volume/capability#access_mode
|
596
595
|
[`attachment_mode`]: /nomad/docs/other-specifications/volume/capability#attachment_mode
|
597
596
|
[volume_source]: /nomad/docs/job-specification/volume#source
|
598
|
-
:param pulumi.Input[
|
599
|
-
:param pulumi.Input[
|
597
|
+
:param pulumi.Input[_builtins.str] plugin_id: Plugin ID
|
598
|
+
:param pulumi.Input[_builtins.str] state: State
|
600
599
|
"""
|
601
600
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
602
601
|
|
@@ -618,7 +617,7 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
618
617
|
__props__.__dict__["state"] = state
|
619
618
|
return DynamicHostVolumeRegistration(resource_name, opts=opts, __props__=__props__)
|
620
619
|
|
621
|
-
@property
|
620
|
+
@_builtins.property
|
622
621
|
@pulumi.getter
|
623
622
|
def capabilities(self) -> pulumi.Output[Sequence['outputs.DynamicHostVolumeRegistrationCapability']]:
|
624
623
|
"""
|
@@ -627,9 +626,9 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
627
626
|
"""
|
628
627
|
return pulumi.get(self, "capabilities")
|
629
628
|
|
630
|
-
@property
|
629
|
+
@_builtins.property
|
631
630
|
@pulumi.getter
|
632
|
-
def capacity(self) -> pulumi.Output[Optional[
|
631
|
+
def capacity(self) -> pulumi.Output[Optional[_builtins.str]]:
|
633
632
|
"""
|
634
633
|
`(string: <optional>)` - The size of a volume in bytes. Either the
|
635
634
|
physical size of a disk or a quota, depending on the plugin. This field must
|
@@ -638,22 +637,22 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
638
637
|
"""
|
639
638
|
return pulumi.get(self, "capacity")
|
640
639
|
|
641
|
-
@property
|
640
|
+
@_builtins.property
|
642
641
|
@pulumi.getter(name="capacityBytes")
|
643
|
-
def capacity_bytes(self) -> pulumi.Output[
|
642
|
+
def capacity_bytes(self) -> pulumi.Output[_builtins.int]:
|
644
643
|
return pulumi.get(self, "capacity_bytes")
|
645
644
|
|
646
|
-
@property
|
645
|
+
@_builtins.property
|
647
646
|
@pulumi.getter(name="capacityMaxBytes")
|
648
|
-
def capacity_max_bytes(self) -> pulumi.Output[
|
647
|
+
def capacity_max_bytes(self) -> pulumi.Output[_builtins.int]:
|
649
648
|
return pulumi.get(self, "capacity_max_bytes")
|
650
649
|
|
651
|
-
@property
|
650
|
+
@_builtins.property
|
652
651
|
@pulumi.getter(name="capacityMinBytes")
|
653
|
-
def capacity_min_bytes(self) -> pulumi.Output[
|
652
|
+
def capacity_min_bytes(self) -> pulumi.Output[_builtins.int]:
|
654
653
|
return pulumi.get(self, "capacity_min_bytes")
|
655
654
|
|
656
|
-
@property
|
655
|
+
@_builtins.property
|
657
656
|
@pulumi.getter
|
658
657
|
def constraints(self) -> pulumi.Output[Sequence['outputs.DynamicHostVolumeRegistrationConstraint']]:
|
659
658
|
"""
|
@@ -661,17 +660,17 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
661
660
|
"""
|
662
661
|
return pulumi.get(self, "constraints")
|
663
662
|
|
664
|
-
@property
|
663
|
+
@_builtins.property
|
665
664
|
@pulumi.getter(name="hostPath")
|
666
|
-
def host_path(self) -> pulumi.Output[
|
665
|
+
def host_path(self) -> pulumi.Output[_builtins.str]:
|
667
666
|
"""
|
668
667
|
`(string)` - The path on disk where the volume exists.
|
669
668
|
"""
|
670
669
|
return pulumi.get(self, "host_path")
|
671
670
|
|
672
|
-
@property
|
671
|
+
@_builtins.property
|
673
672
|
@pulumi.getter
|
674
|
-
def name(self) -> pulumi.Output[
|
673
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
675
674
|
"""
|
676
675
|
`(string: <required>)` - The name of the volume, which is used as the
|
677
676
|
[`volume.source`][volume_source] field in job specifications that claim this
|
@@ -681,9 +680,9 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
681
680
|
"""
|
682
681
|
return pulumi.get(self, "name")
|
683
682
|
|
684
|
-
@property
|
683
|
+
@_builtins.property
|
685
684
|
@pulumi.getter
|
686
|
-
def namespace(self) -> pulumi.Output[Optional[
|
685
|
+
def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
|
687
686
|
"""
|
688
687
|
`(string: <optional>)` - The namespace of the volume. This field
|
689
688
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
@@ -691,26 +690,26 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
691
690
|
"""
|
692
691
|
return pulumi.get(self, "namespace")
|
693
692
|
|
694
|
-
@property
|
693
|
+
@_builtins.property
|
695
694
|
@pulumi.getter(name="nodeId")
|
696
|
-
def node_id(self) -> pulumi.Output[
|
695
|
+
def node_id(self) -> pulumi.Output[_builtins.str]:
|
697
696
|
"""
|
698
697
|
`(string: <required>)` - A specific node where the volume is
|
699
698
|
mounted.
|
700
699
|
"""
|
701
700
|
return pulumi.get(self, "node_id")
|
702
701
|
|
703
|
-
@property
|
702
|
+
@_builtins.property
|
704
703
|
@pulumi.getter(name="nodePool")
|
705
|
-
def node_pool(self) -> pulumi.Output[
|
704
|
+
def node_pool(self) -> pulumi.Output[_builtins.str]:
|
706
705
|
"""
|
707
706
|
Node pool
|
708
707
|
"""
|
709
708
|
return pulumi.get(self, "node_pool")
|
710
709
|
|
711
|
-
@property
|
710
|
+
@_builtins.property
|
712
711
|
@pulumi.getter
|
713
|
-
def parameters(self) -> pulumi.Output[Optional[Mapping[str,
|
712
|
+
def parameters(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
714
713
|
"""
|
715
714
|
`(map<string|string>: <optional>)` - A key-value map of strings
|
716
715
|
passed directly to the plugin to configure the volume. The details of these
|
@@ -723,17 +722,17 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
723
722
|
"""
|
724
723
|
return pulumi.get(self, "parameters")
|
725
724
|
|
726
|
-
@property
|
725
|
+
@_builtins.property
|
727
726
|
@pulumi.getter(name="pluginId")
|
728
|
-
def plugin_id(self) -> pulumi.Output[
|
727
|
+
def plugin_id(self) -> pulumi.Output[_builtins.str]:
|
729
728
|
"""
|
730
729
|
Plugin ID
|
731
730
|
"""
|
732
731
|
return pulumi.get(self, "plugin_id")
|
733
732
|
|
734
|
-
@property
|
733
|
+
@_builtins.property
|
735
734
|
@pulumi.getter
|
736
|
-
def state(self) -> pulumi.Output[
|
735
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
737
736
|
"""
|
738
737
|
State
|
739
738
|
"""
|