pulumi-nomad 2.5.0a1744860632__py3-none-any.whl → 2.5.1a1753398000__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 +2 -2
- pulumi_nomad/_inputs.py +609 -610
- pulumi_nomad/_utilities.py +1 -1
- pulumi_nomad/acl_auth_method.py +108 -108
- pulumi_nomad/acl_binding_rule.py +88 -88
- pulumi_nomad/acl_policy.py +57 -57
- pulumi_nomad/acl_role.py +40 -40
- pulumi_nomad/acl_token.py +127 -127
- pulumi_nomad/config/__init__.py +2 -2
- pulumi_nomad/config/__init__.pyi +2 -3
- pulumi_nomad/config/outputs.py +10 -11
- pulumi_nomad/config/vars.py +15 -16
- pulumi_nomad/csi_volume.py +279 -279
- pulumi_nomad/csi_volume_registration.py +278 -278
- pulumi_nomad/dynamic_host_volume.py +193 -193
- pulumi_nomad/dynamic_host_volume_registration.py +158 -158
- pulumi_nomad/external_volume.py +257 -257
- pulumi_nomad/get_acl_policies.py +11 -12
- pulumi_nomad/get_acl_policy.py +14 -15
- pulumi_nomad/get_acl_role.py +13 -14
- pulumi_nomad/get_acl_roles.py +11 -12
- pulumi_nomad/get_acl_token.py +27 -28
- pulumi_nomad/get_acl_tokens.py +11 -12
- pulumi_nomad/get_allocations.py +23 -24
- pulumi_nomad/get_datacenters.py +18 -19
- pulumi_nomad/get_deployments.py +6 -7
- pulumi_nomad/get_dynamic_host_volume.py +42 -43
- pulumi_nomad/get_job.py +51 -52
- pulumi_nomad/get_job_parser.py +18 -19
- pulumi_nomad/get_jwks.py +7 -8
- pulumi_nomad/get_namespace.py +18 -19
- pulumi_nomad/get_namespaces.py +22 -17
- pulumi_nomad/get_node_pool.py +15 -16
- pulumi_nomad/get_node_pools.py +17 -18
- pulumi_nomad/get_plugin.py +37 -38
- pulumi_nomad/get_plugins.py +10 -11
- pulumi_nomad/get_regions.py +16 -11
- pulumi_nomad/get_scaling_policies.py +17 -18
- pulumi_nomad/get_scaling_policy.py +20 -21
- pulumi_nomad/get_scheduler_policy.py +10 -11
- pulumi_nomad/get_variable.py +18 -19
- pulumi_nomad/get_volumes.py +30 -31
- pulumi_nomad/job.py +247 -247
- pulumi_nomad/namespace.py +77 -77
- pulumi_nomad/node_pool.py +57 -57
- pulumi_nomad/outputs.py +744 -745
- pulumi_nomad/provider.py +144 -125
- pulumi_nomad/pulumi-plugin.json +1 -1
- pulumi_nomad/quote_specification.py +40 -40
- pulumi_nomad/scheduler_config.py +54 -54
- pulumi_nomad/sentinel_policy.py +88 -88
- pulumi_nomad/variable.py +54 -54
- pulumi_nomad/volume.py +274 -274
- {pulumi_nomad-2.5.0a1744860632.dist-info → pulumi_nomad-2.5.1a1753398000.dist-info}/METADATA +3 -3
- pulumi_nomad-2.5.1a1753398000.dist-info/RECORD +58 -0
- {pulumi_nomad-2.5.0a1744860632.dist-info → pulumi_nomad-2.5.1a1753398000.dist-info}/WHEEL +1 -1
- pulumi_nomad-2.5.0a1744860632.dist-info/RECORD +0 -58
- {pulumi_nomad-2.5.0a1744860632.dist-info → pulumi_nomad-2.5.1a1753398000.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,8 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
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,46 +399,47 @@ 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
|
|
430
|
+
@pulumi.type_token("nomad:index/dynamicHostVolumeRegistration:DynamicHostVolumeRegistration")
|
431
431
|
class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
432
432
|
@overload
|
433
433
|
def __init__(__self__,
|
434
434
|
resource_name: str,
|
435
435
|
opts: Optional[pulumi.ResourceOptions] = None,
|
436
436
|
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]]] = None,
|
437
|
-
capacity: Optional[pulumi.Input[
|
438
|
-
host_path: Optional[pulumi.Input[
|
439
|
-
name: Optional[pulumi.Input[
|
440
|
-
namespace: Optional[pulumi.Input[
|
441
|
-
node_id: Optional[pulumi.Input[
|
442
|
-
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,
|
443
443
|
__props__=None):
|
444
444
|
"""
|
445
445
|
Registers a dynamic host volume in Nomad that has already been created. Note
|
@@ -450,22 +450,22 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
450
450
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
451
451
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]] capabilities: `(block: <optional>)` - Option for validating the capability of a
|
452
452
|
volume. Each capability block has the following attributes:
|
453
|
-
:param pulumi.Input[
|
453
|
+
:param pulumi.Input[_builtins.str] capacity: `(string: <optional>)` - The size of a volume in bytes. Either the
|
454
454
|
physical size of a disk or a quota, depending on the plugin. This field must
|
455
455
|
be between the `capacity_min` and `capacity_max` values unless they are
|
456
456
|
omitted. Accepts human-friendly suffixes such as `"100GiB"`.
|
457
|
-
:param pulumi.Input[
|
458
|
-
: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
|
459
459
|
[`volume.source`][volume_source] field in job specifications that claim this
|
460
460
|
volume. Host volume names must be unique per node. Names are visible to any
|
461
461
|
user with `node:read` ACL, even across namespaces, so they should not be
|
462
462
|
treated as sensitive values.
|
463
|
-
:param pulumi.Input[
|
463
|
+
:param pulumi.Input[_builtins.str] namespace: `(string: <optional>)` - The namespace of the volume. This field
|
464
464
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
465
465
|
environment variable. Defaults to `"default"` if unset.
|
466
|
-
:param pulumi.Input[
|
466
|
+
:param pulumi.Input[_builtins.str] node_id: `(string: <required>)` - A specific node where the volume is
|
467
467
|
mounted.
|
468
|
-
: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
|
469
469
|
passed directly to the plugin to configure the volume. The details of these
|
470
470
|
parameters are specific to the plugin.
|
471
471
|
|
@@ -501,12 +501,12 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
501
501
|
resource_name: str,
|
502
502
|
opts: Optional[pulumi.ResourceOptions] = None,
|
503
503
|
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]]] = None,
|
504
|
-
capacity: Optional[pulumi.Input[
|
505
|
-
host_path: Optional[pulumi.Input[
|
506
|
-
name: Optional[pulumi.Input[
|
507
|
-
namespace: Optional[pulumi.Input[
|
508
|
-
node_id: Optional[pulumi.Input[
|
509
|
-
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,
|
510
510
|
__props__=None):
|
511
511
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
512
512
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -547,19 +547,19 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
547
547
|
id: pulumi.Input[str],
|
548
548
|
opts: Optional[pulumi.ResourceOptions] = None,
|
549
549
|
capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]]] = None,
|
550
|
-
capacity: Optional[pulumi.Input[
|
551
|
-
capacity_bytes: Optional[pulumi.Input[
|
552
|
-
capacity_max_bytes: Optional[pulumi.Input[
|
553
|
-
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,
|
554
554
|
constraints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationConstraintArgs', 'DynamicHostVolumeRegistrationConstraintArgsDict']]]]] = None,
|
555
|
-
host_path: Optional[pulumi.Input[
|
556
|
-
name: Optional[pulumi.Input[
|
557
|
-
namespace: Optional[pulumi.Input[
|
558
|
-
node_id: Optional[pulumi.Input[
|
559
|
-
node_pool: Optional[pulumi.Input[
|
560
|
-
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
561
|
-
plugin_id: Optional[pulumi.Input[
|
562
|
-
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':
|
563
563
|
"""
|
564
564
|
Get an existing DynamicHostVolumeRegistration resource's state with the given name, id, and optional extra
|
565
565
|
properties used to qualify the lookup.
|
@@ -569,24 +569,24 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
569
569
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
570
570
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationCapabilityArgs', 'DynamicHostVolumeRegistrationCapabilityArgsDict']]]] capabilities: `(block: <optional>)` - Option for validating the capability of a
|
571
571
|
volume. Each capability block has the following attributes:
|
572
|
-
:param pulumi.Input[
|
572
|
+
:param pulumi.Input[_builtins.str] capacity: `(string: <optional>)` - The size of a volume in bytes. Either the
|
573
573
|
physical size of a disk or a quota, depending on the plugin. This field must
|
574
574
|
be between the `capacity_min` and `capacity_max` values unless they are
|
575
575
|
omitted. Accepts human-friendly suffixes such as `"100GiB"`.
|
576
576
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DynamicHostVolumeRegistrationConstraintArgs', 'DynamicHostVolumeRegistrationConstraintArgsDict']]]] constraints: Constraints
|
577
|
-
:param pulumi.Input[
|
578
|
-
: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
|
579
579
|
[`volume.source`][volume_source] field in job specifications that claim this
|
580
580
|
volume. Host volume names must be unique per node. Names are visible to any
|
581
581
|
user with `node:read` ACL, even across namespaces, so they should not be
|
582
582
|
treated as sensitive values.
|
583
|
-
:param pulumi.Input[
|
583
|
+
:param pulumi.Input[_builtins.str] namespace: `(string: <optional>)` - The namespace of the volume. This field
|
584
584
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
585
585
|
environment variable. Defaults to `"default"` if unset.
|
586
|
-
:param pulumi.Input[
|
586
|
+
:param pulumi.Input[_builtins.str] node_id: `(string: <required>)` - A specific node where the volume is
|
587
587
|
mounted.
|
588
|
-
:param pulumi.Input[
|
589
|
-
: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
|
590
590
|
passed directly to the plugin to configure the volume. The details of these
|
591
591
|
parameters are specific to the plugin.
|
592
592
|
|
@@ -594,8 +594,8 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
594
594
|
[`access_mode`]: /nomad/docs/other-specifications/volume/capability#access_mode
|
595
595
|
[`attachment_mode`]: /nomad/docs/other-specifications/volume/capability#attachment_mode
|
596
596
|
[volume_source]: /nomad/docs/job-specification/volume#source
|
597
|
-
:param pulumi.Input[
|
598
|
-
:param pulumi.Input[
|
597
|
+
:param pulumi.Input[_builtins.str] plugin_id: Plugin ID
|
598
|
+
:param pulumi.Input[_builtins.str] state: State
|
599
599
|
"""
|
600
600
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
601
601
|
|
@@ -617,7 +617,7 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
617
617
|
__props__.__dict__["state"] = state
|
618
618
|
return DynamicHostVolumeRegistration(resource_name, opts=opts, __props__=__props__)
|
619
619
|
|
620
|
-
@property
|
620
|
+
@_builtins.property
|
621
621
|
@pulumi.getter
|
622
622
|
def capabilities(self) -> pulumi.Output[Sequence['outputs.DynamicHostVolumeRegistrationCapability']]:
|
623
623
|
"""
|
@@ -626,9 +626,9 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
626
626
|
"""
|
627
627
|
return pulumi.get(self, "capabilities")
|
628
628
|
|
629
|
-
@property
|
629
|
+
@_builtins.property
|
630
630
|
@pulumi.getter
|
631
|
-
def capacity(self) -> pulumi.Output[Optional[
|
631
|
+
def capacity(self) -> pulumi.Output[Optional[_builtins.str]]:
|
632
632
|
"""
|
633
633
|
`(string: <optional>)` - The size of a volume in bytes. Either the
|
634
634
|
physical size of a disk or a quota, depending on the plugin. This field must
|
@@ -637,22 +637,22 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
637
637
|
"""
|
638
638
|
return pulumi.get(self, "capacity")
|
639
639
|
|
640
|
-
@property
|
640
|
+
@_builtins.property
|
641
641
|
@pulumi.getter(name="capacityBytes")
|
642
|
-
def capacity_bytes(self) -> pulumi.Output[
|
642
|
+
def capacity_bytes(self) -> pulumi.Output[_builtins.int]:
|
643
643
|
return pulumi.get(self, "capacity_bytes")
|
644
644
|
|
645
|
-
@property
|
645
|
+
@_builtins.property
|
646
646
|
@pulumi.getter(name="capacityMaxBytes")
|
647
|
-
def capacity_max_bytes(self) -> pulumi.Output[
|
647
|
+
def capacity_max_bytes(self) -> pulumi.Output[_builtins.int]:
|
648
648
|
return pulumi.get(self, "capacity_max_bytes")
|
649
649
|
|
650
|
-
@property
|
650
|
+
@_builtins.property
|
651
651
|
@pulumi.getter(name="capacityMinBytes")
|
652
|
-
def capacity_min_bytes(self) -> pulumi.Output[
|
652
|
+
def capacity_min_bytes(self) -> pulumi.Output[_builtins.int]:
|
653
653
|
return pulumi.get(self, "capacity_min_bytes")
|
654
654
|
|
655
|
-
@property
|
655
|
+
@_builtins.property
|
656
656
|
@pulumi.getter
|
657
657
|
def constraints(self) -> pulumi.Output[Sequence['outputs.DynamicHostVolumeRegistrationConstraint']]:
|
658
658
|
"""
|
@@ -660,17 +660,17 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
660
660
|
"""
|
661
661
|
return pulumi.get(self, "constraints")
|
662
662
|
|
663
|
-
@property
|
663
|
+
@_builtins.property
|
664
664
|
@pulumi.getter(name="hostPath")
|
665
|
-
def host_path(self) -> pulumi.Output[
|
665
|
+
def host_path(self) -> pulumi.Output[_builtins.str]:
|
666
666
|
"""
|
667
667
|
`(string)` - The path on disk where the volume exists.
|
668
668
|
"""
|
669
669
|
return pulumi.get(self, "host_path")
|
670
670
|
|
671
|
-
@property
|
671
|
+
@_builtins.property
|
672
672
|
@pulumi.getter
|
673
|
-
def name(self) -> pulumi.Output[
|
673
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
674
674
|
"""
|
675
675
|
`(string: <required>)` - The name of the volume, which is used as the
|
676
676
|
[`volume.source`][volume_source] field in job specifications that claim this
|
@@ -680,9 +680,9 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
680
680
|
"""
|
681
681
|
return pulumi.get(self, "name")
|
682
682
|
|
683
|
-
@property
|
683
|
+
@_builtins.property
|
684
684
|
@pulumi.getter
|
685
|
-
def namespace(self) -> pulumi.Output[Optional[
|
685
|
+
def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
|
686
686
|
"""
|
687
687
|
`(string: <optional>)` - The namespace of the volume. This field
|
688
688
|
overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
|
@@ -690,26 +690,26 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
690
690
|
"""
|
691
691
|
return pulumi.get(self, "namespace")
|
692
692
|
|
693
|
-
@property
|
693
|
+
@_builtins.property
|
694
694
|
@pulumi.getter(name="nodeId")
|
695
|
-
def node_id(self) -> pulumi.Output[
|
695
|
+
def node_id(self) -> pulumi.Output[_builtins.str]:
|
696
696
|
"""
|
697
697
|
`(string: <required>)` - A specific node where the volume is
|
698
698
|
mounted.
|
699
699
|
"""
|
700
700
|
return pulumi.get(self, "node_id")
|
701
701
|
|
702
|
-
@property
|
702
|
+
@_builtins.property
|
703
703
|
@pulumi.getter(name="nodePool")
|
704
|
-
def node_pool(self) -> pulumi.Output[
|
704
|
+
def node_pool(self) -> pulumi.Output[_builtins.str]:
|
705
705
|
"""
|
706
706
|
Node pool
|
707
707
|
"""
|
708
708
|
return pulumi.get(self, "node_pool")
|
709
709
|
|
710
|
-
@property
|
710
|
+
@_builtins.property
|
711
711
|
@pulumi.getter
|
712
|
-
def parameters(self) -> pulumi.Output[Optional[Mapping[str,
|
712
|
+
def parameters(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
713
713
|
"""
|
714
714
|
`(map<string|string>: <optional>)` - A key-value map of strings
|
715
715
|
passed directly to the plugin to configure the volume. The details of these
|
@@ -722,17 +722,17 @@ class DynamicHostVolumeRegistration(pulumi.CustomResource):
|
|
722
722
|
"""
|
723
723
|
return pulumi.get(self, "parameters")
|
724
724
|
|
725
|
-
@property
|
725
|
+
@_builtins.property
|
726
726
|
@pulumi.getter(name="pluginId")
|
727
|
-
def plugin_id(self) -> pulumi.Output[
|
727
|
+
def plugin_id(self) -> pulumi.Output[_builtins.str]:
|
728
728
|
"""
|
729
729
|
Plugin ID
|
730
730
|
"""
|
731
731
|
return pulumi.get(self, "plugin_id")
|
732
732
|
|
733
|
-
@property
|
733
|
+
@_builtins.property
|
734
734
|
@pulumi.getter
|
735
|
-
def state(self) -> pulumi.Output[
|
735
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
736
736
|
"""
|
737
737
|
State
|
738
738
|
"""
|