pulumi-nomad 2.6.0a1752905825__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.0a1752905825.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.0a1752905825.dist-info/RECORD +0 -58
- {pulumi_nomad-2.6.0a1752905825.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.6.0a1752905825.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/top_level.txt +0 -0
pulumi_nomad/get_datacenters.py
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -41,30 +40,30 @@ class GetDatacentersResult:
|
|
41
40
|
raise TypeError("Expected argument 'prefix' to be a str")
|
42
41
|
pulumi.set(__self__, "prefix", prefix)
|
43
42
|
|
44
|
-
@property
|
43
|
+
@_builtins.property
|
45
44
|
@pulumi.getter
|
46
|
-
def datacenters(self) -> Sequence[
|
45
|
+
def datacenters(self) -> Sequence[_builtins.str]:
|
47
46
|
"""
|
48
47
|
`list(string)` a list of datacenters.
|
49
48
|
"""
|
50
49
|
return pulumi.get(self, "datacenters")
|
51
50
|
|
52
|
-
@property
|
51
|
+
@_builtins.property
|
53
52
|
@pulumi.getter
|
54
|
-
def id(self) ->
|
53
|
+
def id(self) -> _builtins.str:
|
55
54
|
"""
|
56
55
|
The provider-assigned unique ID for this managed resource.
|
57
56
|
"""
|
58
57
|
return pulumi.get(self, "id")
|
59
58
|
|
60
|
-
@property
|
59
|
+
@_builtins.property
|
61
60
|
@pulumi.getter(name="ignoreDownNodes")
|
62
|
-
def ignore_down_nodes(self) -> Optional[
|
61
|
+
def ignore_down_nodes(self) -> Optional[_builtins.bool]:
|
63
62
|
return pulumi.get(self, "ignore_down_nodes")
|
64
63
|
|
65
|
-
@property
|
64
|
+
@_builtins.property
|
66
65
|
@pulumi.getter
|
67
|
-
def prefix(self) -> Optional[
|
66
|
+
def prefix(self) -> Optional[_builtins.str]:
|
68
67
|
return pulumi.get(self, "prefix")
|
69
68
|
|
70
69
|
|
@@ -80,8 +79,8 @@ class AwaitableGetDatacentersResult(GetDatacentersResult):
|
|
80
79
|
prefix=self.prefix)
|
81
80
|
|
82
81
|
|
83
|
-
def get_datacenters(ignore_down_nodes: Optional[
|
84
|
-
prefix: Optional[
|
82
|
+
def get_datacenters(ignore_down_nodes: Optional[_builtins.bool] = None,
|
83
|
+
prefix: Optional[_builtins.str] = None,
|
85
84
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatacentersResult:
|
86
85
|
"""
|
87
86
|
Retrieve a list of datacenters.
|
@@ -97,8 +96,8 @@ def get_datacenters(ignore_down_nodes: Optional[builtins.bool] = None,
|
|
97
96
|
```
|
98
97
|
|
99
98
|
|
100
|
-
:param
|
101
|
-
:param
|
99
|
+
:param _builtins.bool ignore_down_nodes: `(bool: false)`: An optional flag that, if set to `true` will ignore down nodes when compiling the list of datacenters.
|
100
|
+
:param _builtins.str prefix: `(string)`: An optional string to filter datacenters based on name prefix. If not provided, all datacenters are returned.
|
102
101
|
"""
|
103
102
|
__args__ = dict()
|
104
103
|
__args__['ignoreDownNodes'] = ignore_down_nodes
|
@@ -111,8 +110,8 @@ def get_datacenters(ignore_down_nodes: Optional[builtins.bool] = None,
|
|
111
110
|
id=pulumi.get(__ret__, 'id'),
|
112
111
|
ignore_down_nodes=pulumi.get(__ret__, 'ignore_down_nodes'),
|
113
112
|
prefix=pulumi.get(__ret__, 'prefix'))
|
114
|
-
def get_datacenters_output(ignore_down_nodes: Optional[pulumi.Input[Optional[
|
115
|
-
prefix: Optional[pulumi.Input[Optional[
|
113
|
+
def get_datacenters_output(ignore_down_nodes: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
114
|
+
prefix: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
116
115
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatacentersResult]:
|
117
116
|
"""
|
118
117
|
Retrieve a list of datacenters.
|
@@ -128,8 +127,8 @@ def get_datacenters_output(ignore_down_nodes: Optional[pulumi.Input[Optional[bui
|
|
128
127
|
```
|
129
128
|
|
130
129
|
|
131
|
-
:param
|
132
|
-
:param
|
130
|
+
:param _builtins.bool ignore_down_nodes: `(bool: false)`: An optional flag that, if set to `true` will ignore down nodes when compiling the list of datacenters.
|
131
|
+
:param _builtins.str prefix: `(string)`: An optional string to filter datacenters based on name prefix. If not provided, all datacenters are returned.
|
133
132
|
"""
|
134
133
|
__args__ = dict()
|
135
134
|
__args__['ignoreDownNodes'] = ignore_down_nodes
|
pulumi_nomad/get_deployments.py
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -35,9 +34,9 @@ class GetDeploymentsResult:
|
|
35
34
|
raise TypeError("Expected argument 'id' to be a str")
|
36
35
|
pulumi.set(__self__, "id", id)
|
37
36
|
|
38
|
-
@property
|
37
|
+
@_builtins.property
|
39
38
|
@pulumi.getter
|
40
|
-
def deployments(self) -> Sequence[Mapping[str,
|
39
|
+
def deployments(self) -> Sequence[Mapping[str, _builtins.str]]:
|
41
40
|
"""
|
42
41
|
`list of maps` a list of deployments in the cluster.
|
43
42
|
* `ID`: `string` Deployment ID.
|
@@ -48,9 +47,9 @@ class GetDeploymentsResult:
|
|
48
47
|
"""
|
49
48
|
return pulumi.get(self, "deployments")
|
50
49
|
|
51
|
-
@property
|
50
|
+
@_builtins.property
|
52
51
|
@pulumi.getter
|
53
|
-
def id(self) ->
|
52
|
+
def id(self) -> _builtins.str:
|
54
53
|
"""
|
55
54
|
The provider-assigned unique ID for this managed resource.
|
56
55
|
"""
|
@@ -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
|
@@ -81,7 +80,7 @@ class GetDynamicHostVolumeResult:
|
|
81
80
|
raise TypeError("Expected argument 'state' to be a str")
|
82
81
|
pulumi.set(__self__, "state", state)
|
83
82
|
|
84
|
-
@property
|
83
|
+
@_builtins.property
|
85
84
|
@pulumi.getter
|
86
85
|
def capabilities(self) -> Sequence['outputs.GetDynamicHostVolumeCapabilityResult']:
|
87
86
|
"""
|
@@ -90,60 +89,60 @@ class GetDynamicHostVolumeResult:
|
|
90
89
|
"""
|
91
90
|
return pulumi.get(self, "capabilities")
|
92
91
|
|
93
|
-
@property
|
92
|
+
@_builtins.property
|
94
93
|
@pulumi.getter
|
95
|
-
def capacity(self) ->
|
94
|
+
def capacity(self) -> _builtins.str:
|
96
95
|
"""
|
97
96
|
`(string)` - The size of the volume, in human-friendly format
|
98
97
|
(ex. 10 GiB)
|
99
98
|
"""
|
100
99
|
return pulumi.get(self, "capacity")
|
101
100
|
|
102
|
-
@property
|
101
|
+
@_builtins.property
|
103
102
|
@pulumi.getter(name="capacityBytes")
|
104
|
-
def capacity_bytes(self) ->
|
103
|
+
def capacity_bytes(self) -> _builtins.int:
|
105
104
|
"""
|
106
105
|
`(int)` - The size of the volume, in bytes.
|
107
106
|
"""
|
108
107
|
return pulumi.get(self, "capacity_bytes")
|
109
108
|
|
110
|
-
@property
|
109
|
+
@_builtins.property
|
111
110
|
@pulumi.getter(name="capacityMax")
|
112
|
-
def capacity_max(self) ->
|
111
|
+
def capacity_max(self) -> _builtins.str:
|
113
112
|
"""
|
114
113
|
`(string)` - The requested maximum capacity of the volume, in
|
115
114
|
human-friendly format (ex. 10 GiB).
|
116
115
|
"""
|
117
116
|
return pulumi.get(self, "capacity_max")
|
118
117
|
|
119
|
-
@property
|
118
|
+
@_builtins.property
|
120
119
|
@pulumi.getter(name="capacityMaxBytes")
|
121
|
-
def capacity_max_bytes(self) ->
|
120
|
+
def capacity_max_bytes(self) -> _builtins.int:
|
122
121
|
"""
|
123
122
|
`(string)` - The requested maximum capacity of the
|
124
123
|
volume, in bytes.
|
125
124
|
"""
|
126
125
|
return pulumi.get(self, "capacity_max_bytes")
|
127
126
|
|
128
|
-
@property
|
127
|
+
@_builtins.property
|
129
128
|
@pulumi.getter(name="capacityMin")
|
130
|
-
def capacity_min(self) ->
|
129
|
+
def capacity_min(self) -> _builtins.str:
|
131
130
|
"""
|
132
131
|
`(string)` - The requested minimum capacity of the volume, in
|
133
132
|
human-friendly format (ex. 10 GiB).
|
134
133
|
"""
|
135
134
|
return pulumi.get(self, "capacity_min")
|
136
135
|
|
137
|
-
@property
|
136
|
+
@_builtins.property
|
138
137
|
@pulumi.getter(name="capacityMinBytes")
|
139
|
-
def capacity_min_bytes(self) ->
|
138
|
+
def capacity_min_bytes(self) -> _builtins.int:
|
140
139
|
"""
|
141
140
|
`(string)` - The requested minimum capacity of the
|
142
141
|
volume, in bytes.
|
143
142
|
"""
|
144
143
|
return pulumi.get(self, "capacity_min_bytes")
|
145
144
|
|
146
|
-
@property
|
145
|
+
@_builtins.property
|
147
146
|
@pulumi.getter
|
148
147
|
def constraints(self) -> Sequence['outputs.GetDynamicHostVolumeConstraintResult']:
|
149
148
|
"""
|
@@ -154,22 +153,22 @@ class GetDynamicHostVolumeResult:
|
|
154
153
|
"""
|
155
154
|
return pulumi.get(self, "constraints")
|
156
155
|
|
157
|
-
@property
|
156
|
+
@_builtins.property
|
158
157
|
@pulumi.getter(name="hostPath")
|
159
|
-
def host_path(self) ->
|
158
|
+
def host_path(self) -> _builtins.str:
|
160
159
|
"""
|
161
160
|
`(string)` - The path on disk where the volume exists.
|
162
161
|
"""
|
163
162
|
return pulumi.get(self, "host_path")
|
164
163
|
|
165
|
-
@property
|
164
|
+
@_builtins.property
|
166
165
|
@pulumi.getter
|
167
|
-
def id(self) ->
|
166
|
+
def id(self) -> _builtins.str:
|
168
167
|
return pulumi.get(self, "id")
|
169
168
|
|
170
|
-
@property
|
169
|
+
@_builtins.property
|
171
170
|
@pulumi.getter
|
172
|
-
def name(self) ->
|
171
|
+
def name(self) -> _builtins.str:
|
173
172
|
"""
|
174
173
|
`(string)` - The name of the volume, which is used as the
|
175
174
|
[`volume.source`][volume_source] field in job specifications that claim this
|
@@ -179,34 +178,34 @@ class GetDynamicHostVolumeResult:
|
|
179
178
|
"""
|
180
179
|
return pulumi.get(self, "name")
|
181
180
|
|
182
|
-
@property
|
181
|
+
@_builtins.property
|
183
182
|
@pulumi.getter
|
184
|
-
def namespace(self) -> Optional[
|
183
|
+
def namespace(self) -> Optional[_builtins.str]:
|
185
184
|
"""
|
186
185
|
`(string)` - The namespace of the volume.
|
187
186
|
"""
|
188
187
|
return pulumi.get(self, "namespace")
|
189
188
|
|
190
|
-
@property
|
189
|
+
@_builtins.property
|
191
190
|
@pulumi.getter(name="nodeId")
|
192
|
-
def node_id(self) ->
|
191
|
+
def node_id(self) -> _builtins.str:
|
193
192
|
"""
|
194
193
|
`(string)` - A specific node where the volume is mounted.
|
195
194
|
"""
|
196
195
|
return pulumi.get(self, "node_id")
|
197
196
|
|
198
|
-
@property
|
197
|
+
@_builtins.property
|
199
198
|
@pulumi.getter(name="nodePool")
|
200
|
-
def node_pool(self) ->
|
199
|
+
def node_pool(self) -> _builtins.str:
|
201
200
|
"""
|
202
201
|
`(string: <optional>)` - The node pool of the node where the
|
203
202
|
volume is mounted.
|
204
203
|
"""
|
205
204
|
return pulumi.get(self, "node_pool")
|
206
205
|
|
207
|
-
@property
|
206
|
+
@_builtins.property
|
208
207
|
@pulumi.getter
|
209
|
-
def parameters(self) -> Mapping[str,
|
208
|
+
def parameters(self) -> Mapping[str, _builtins.str]:
|
210
209
|
"""
|
211
210
|
`(map<string|string>)` - A key-value map of strings
|
212
211
|
passed directly to the plugin to configure the volume. The details of these
|
@@ -214,18 +213,18 @@ class GetDynamicHostVolumeResult:
|
|
214
213
|
"""
|
215
214
|
return pulumi.get(self, "parameters")
|
216
215
|
|
217
|
-
@property
|
216
|
+
@_builtins.property
|
218
217
|
@pulumi.getter(name="pluginId")
|
219
|
-
def plugin_id(self) ->
|
218
|
+
def plugin_id(self) -> _builtins.str:
|
220
219
|
"""
|
221
220
|
`(string: <required>)` - The ID of the [dynamic host volume
|
222
221
|
plugin][dhv_plugin] that manages this volume.
|
223
222
|
"""
|
224
223
|
return pulumi.get(self, "plugin_id")
|
225
224
|
|
226
|
-
@property
|
225
|
+
@_builtins.property
|
227
226
|
@pulumi.getter
|
228
|
-
def state(self) ->
|
227
|
+
def state(self) -> _builtins.str:
|
229
228
|
return pulumi.get(self, "state")
|
230
229
|
|
231
230
|
|
@@ -254,8 +253,8 @@ class AwaitableGetDynamicHostVolumeResult(GetDynamicHostVolumeResult):
|
|
254
253
|
state=self.state)
|
255
254
|
|
256
255
|
|
257
|
-
def get_dynamic_host_volume(id: Optional[
|
258
|
-
namespace: Optional[
|
256
|
+
def get_dynamic_host_volume(id: Optional[_builtins.str] = None,
|
257
|
+
namespace: Optional[_builtins.str] = None,
|
259
258
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDynamicHostVolumeResult:
|
260
259
|
"""
|
261
260
|
Get information on a dynamic host volume from Nomad.
|
@@ -276,8 +275,8 @@ def get_dynamic_host_volume(id: Optional[builtins.str] = None,
|
|
276
275
|
`d688ff7a-d299-11ef-ae3c-6f2400953c18`.
|
277
276
|
|
278
277
|
|
279
|
-
:param
|
280
|
-
:param
|
278
|
+
:param _builtins.str id: `(string)` - the ID of the volume
|
279
|
+
:param _builtins.str namespace: `(string)` - the namespace of the volume. Defaults to `"default"`
|
281
280
|
"""
|
282
281
|
__args__ = dict()
|
283
282
|
__args__['id'] = id
|
@@ -303,8 +302,8 @@ def get_dynamic_host_volume(id: Optional[builtins.str] = None,
|
|
303
302
|
parameters=pulumi.get(__ret__, 'parameters'),
|
304
303
|
plugin_id=pulumi.get(__ret__, 'plugin_id'),
|
305
304
|
state=pulumi.get(__ret__, 'state'))
|
306
|
-
def get_dynamic_host_volume_output(id: Optional[pulumi.Input[
|
307
|
-
namespace: Optional[pulumi.Input[Optional[
|
305
|
+
def get_dynamic_host_volume_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
306
|
+
namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
308
307
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDynamicHostVolumeResult]:
|
309
308
|
"""
|
310
309
|
Get information on a dynamic host volume from Nomad.
|
@@ -325,8 +324,8 @@ def get_dynamic_host_volume_output(id: Optional[pulumi.Input[builtins.str]] = No
|
|
325
324
|
`d688ff7a-d299-11ef-ae3c-6f2400953c18`.
|
326
325
|
|
327
326
|
|
328
|
-
:param
|
329
|
-
:param
|
327
|
+
:param _builtins.str id: `(string)` - the ID of the volume
|
328
|
+
:param _builtins.str namespace: `(string)` - the namespace of the volume. Defaults to `"default"`
|
330
329
|
"""
|
331
330
|
__args__ = dict()
|
332
331
|
__args__['id'] = id
|
pulumi_nomad/get_job.py
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -96,86 +95,86 @@ class GetJobResult:
|
|
96
95
|
raise TypeError("Expected argument 'version' to be a int")
|
97
96
|
pulumi.set(__self__, "version", version)
|
98
97
|
|
99
|
-
@property
|
98
|
+
@_builtins.property
|
100
99
|
@pulumi.getter(name="allAtOnce")
|
101
|
-
def all_at_once(self) ->
|
100
|
+
def all_at_once(self) -> _builtins.bool:
|
102
101
|
"""
|
103
102
|
`(boolean)` If the scheduler can make partial placements on oversubscribed nodes.
|
104
103
|
"""
|
105
104
|
return pulumi.get(self, "all_at_once")
|
106
105
|
|
107
|
-
@property
|
106
|
+
@_builtins.property
|
108
107
|
@pulumi.getter
|
109
108
|
def constraints(self) -> Sequence['outputs.GetJobConstraintResult']:
|
110
109
|
return pulumi.get(self, "constraints")
|
111
110
|
|
112
|
-
@property
|
111
|
+
@_builtins.property
|
113
112
|
@pulumi.getter(name="createIndex")
|
114
|
-
def create_index(self) ->
|
113
|
+
def create_index(self) -> _builtins.int:
|
115
114
|
"""
|
116
115
|
`(integer)` Creation Index.
|
117
116
|
"""
|
118
117
|
return pulumi.get(self, "create_index")
|
119
118
|
|
120
|
-
@property
|
119
|
+
@_builtins.property
|
121
120
|
@pulumi.getter
|
122
|
-
def datacenters(self) -> Sequence[
|
121
|
+
def datacenters(self) -> Sequence[_builtins.str]:
|
123
122
|
"""
|
124
123
|
`(list of strings)` Datacenters allowed to run the specified job.
|
125
124
|
"""
|
126
125
|
return pulumi.get(self, "datacenters")
|
127
126
|
|
128
|
-
@property
|
127
|
+
@_builtins.property
|
129
128
|
@pulumi.getter
|
130
|
-
def id(self) ->
|
129
|
+
def id(self) -> _builtins.str:
|
131
130
|
"""
|
132
131
|
The provider-assigned unique ID for this managed resource.
|
133
132
|
"""
|
134
133
|
return pulumi.get(self, "id")
|
135
134
|
|
136
|
-
@property
|
135
|
+
@_builtins.property
|
137
136
|
@pulumi.getter(name="jobId")
|
138
|
-
def job_id(self) ->
|
137
|
+
def job_id(self) -> _builtins.str:
|
139
138
|
return pulumi.get(self, "job_id")
|
140
139
|
|
141
|
-
@property
|
140
|
+
@_builtins.property
|
142
141
|
@pulumi.getter(name="jobModifyIndex")
|
143
|
-
def job_modify_index(self) ->
|
142
|
+
def job_modify_index(self) -> _builtins.int:
|
144
143
|
"""
|
145
144
|
`(integer)` Job modify index (used for version verification).
|
146
145
|
"""
|
147
146
|
return pulumi.get(self, "job_modify_index")
|
148
147
|
|
149
|
-
@property
|
148
|
+
@_builtins.property
|
150
149
|
@pulumi.getter(name="modifyIndex")
|
151
|
-
def modify_index(self) ->
|
150
|
+
def modify_index(self) -> _builtins.int:
|
152
151
|
"""
|
153
152
|
`(integer)` Modification Index.
|
154
153
|
"""
|
155
154
|
return pulumi.get(self, "modify_index")
|
156
155
|
|
157
|
-
@property
|
156
|
+
@_builtins.property
|
158
157
|
@pulumi.getter
|
159
|
-
def name(self) ->
|
158
|
+
def name(self) -> _builtins.str:
|
160
159
|
"""
|
161
160
|
`(string)` Name of the job.
|
162
161
|
"""
|
163
162
|
return pulumi.get(self, "name")
|
164
163
|
|
165
|
-
@property
|
164
|
+
@_builtins.property
|
166
165
|
@pulumi.getter
|
167
|
-
def namespace(self) -> Optional[
|
166
|
+
def namespace(self) -> Optional[_builtins.str]:
|
168
167
|
return pulumi.get(self, "namespace")
|
169
168
|
|
170
|
-
@property
|
169
|
+
@_builtins.property
|
171
170
|
@pulumi.getter(name="parentId")
|
172
|
-
def parent_id(self) ->
|
171
|
+
def parent_id(self) -> _builtins.str:
|
173
172
|
"""
|
174
173
|
`(string)` Job's parent ID.
|
175
174
|
"""
|
176
175
|
return pulumi.get(self, "parent_id")
|
177
176
|
|
178
|
-
@property
|
177
|
+
@_builtins.property
|
179
178
|
@pulumi.getter(name="periodicConfigs")
|
180
179
|
def periodic_configs(self) -> Sequence['outputs.GetJobPeriodicConfigResult']:
|
181
180
|
"""
|
@@ -183,63 +182,63 @@ class GetJobResult:
|
|
183
182
|
"""
|
184
183
|
return pulumi.get(self, "periodic_configs")
|
185
184
|
|
186
|
-
@property
|
185
|
+
@_builtins.property
|
187
186
|
@pulumi.getter
|
188
|
-
def priority(self) ->
|
187
|
+
def priority(self) -> _builtins.int:
|
189
188
|
"""
|
190
189
|
`(integer)` Used for the prioritization of scheduling and resource access.
|
191
190
|
"""
|
192
191
|
return pulumi.get(self, "priority")
|
193
192
|
|
194
|
-
@property
|
193
|
+
@_builtins.property
|
195
194
|
@pulumi.getter
|
196
|
-
def region(self) ->
|
195
|
+
def region(self) -> _builtins.str:
|
197
196
|
"""
|
198
197
|
`(string)` Region where the Nomad cluster resides.
|
199
198
|
"""
|
200
199
|
return pulumi.get(self, "region")
|
201
200
|
|
202
|
-
@property
|
201
|
+
@_builtins.property
|
203
202
|
@pulumi.getter
|
204
|
-
def stable(self) ->
|
203
|
+
def stable(self) -> _builtins.bool:
|
205
204
|
"""
|
206
205
|
`(boolean)` Job stability status.
|
207
206
|
"""
|
208
207
|
return pulumi.get(self, "stable")
|
209
208
|
|
210
|
-
@property
|
209
|
+
@_builtins.property
|
211
210
|
@pulumi.getter
|
212
|
-
def status(self) ->
|
211
|
+
def status(self) -> _builtins.str:
|
213
212
|
"""
|
214
213
|
`(string)` Execution status of the specified job.
|
215
214
|
"""
|
216
215
|
return pulumi.get(self, "status")
|
217
216
|
|
218
|
-
@property
|
217
|
+
@_builtins.property
|
219
218
|
@pulumi.getter(name="statusDescription")
|
220
|
-
def status_description(self) ->
|
219
|
+
def status_description(self) -> _builtins.str:
|
221
220
|
"""
|
222
221
|
`(string)` Status description of the specified job.
|
223
222
|
"""
|
224
223
|
return pulumi.get(self, "status_description")
|
225
224
|
|
226
|
-
@property
|
225
|
+
@_builtins.property
|
227
226
|
@pulumi.getter
|
228
|
-
def stop(self) ->
|
227
|
+
def stop(self) -> _builtins.bool:
|
229
228
|
"""
|
230
229
|
`(boolean)` Job enabled status.
|
231
230
|
"""
|
232
231
|
return pulumi.get(self, "stop")
|
233
232
|
|
234
|
-
@property
|
233
|
+
@_builtins.property
|
235
234
|
@pulumi.getter(name="submitTime")
|
236
|
-
def submit_time(self) ->
|
235
|
+
def submit_time(self) -> _builtins.int:
|
237
236
|
"""
|
238
237
|
`(integer)` Job submission date.
|
239
238
|
"""
|
240
239
|
return pulumi.get(self, "submit_time")
|
241
240
|
|
242
|
-
@property
|
241
|
+
@_builtins.property
|
243
242
|
@pulumi.getter(name="taskGroups")
|
244
243
|
def task_groups(self) -> Sequence['outputs.GetJobTaskGroupResult']:
|
245
244
|
"""
|
@@ -247,17 +246,17 @@ class GetJobResult:
|
|
247
246
|
"""
|
248
247
|
return pulumi.get(self, "task_groups")
|
249
248
|
|
250
|
-
@property
|
249
|
+
@_builtins.property
|
251
250
|
@pulumi.getter
|
252
|
-
def type(self) ->
|
251
|
+
def type(self) -> _builtins.str:
|
253
252
|
"""
|
254
253
|
`(string)` Scheduler type used during job creation.
|
255
254
|
"""
|
256
255
|
return pulumi.get(self, "type")
|
257
256
|
|
258
|
-
@property
|
257
|
+
@_builtins.property
|
259
258
|
@pulumi.getter
|
260
|
-
def version(self) ->
|
259
|
+
def version(self) -> _builtins.int:
|
261
260
|
"""
|
262
261
|
`(integer)` Version of the specified job.
|
263
262
|
"""
|
@@ -294,8 +293,8 @@ class AwaitableGetJobResult(GetJobResult):
|
|
294
293
|
version=self.version)
|
295
294
|
|
296
295
|
|
297
|
-
def get_job(job_id: Optional[
|
298
|
-
namespace: Optional[
|
296
|
+
def get_job(job_id: Optional[_builtins.str] = None,
|
297
|
+
namespace: Optional[_builtins.str] = None,
|
299
298
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetJobResult:
|
300
299
|
"""
|
301
300
|
Get information on a job ID. The aim of this datasource is to enable
|
@@ -316,8 +315,8 @@ def get_job(job_id: Optional[builtins.str] = None,
|
|
316
315
|
```
|
317
316
|
|
318
317
|
|
319
|
-
:param
|
320
|
-
:param
|
318
|
+
:param _builtins.str job_id: `(string)` ID of the job.
|
319
|
+
:param _builtins.str namespace: `(string)` Namespace of the specified job.
|
321
320
|
"""
|
322
321
|
__args__ = dict()
|
323
322
|
__args__['jobId'] = job_id
|
@@ -348,8 +347,8 @@ def get_job(job_id: Optional[builtins.str] = None,
|
|
348
347
|
task_groups=pulumi.get(__ret__, 'task_groups'),
|
349
348
|
type=pulumi.get(__ret__, 'type'),
|
350
349
|
version=pulumi.get(__ret__, 'version'))
|
351
|
-
def get_job_output(job_id: Optional[pulumi.Input[
|
352
|
-
namespace: Optional[pulumi.Input[Optional[
|
350
|
+
def get_job_output(job_id: Optional[pulumi.Input[_builtins.str]] = None,
|
351
|
+
namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
353
352
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetJobResult]:
|
354
353
|
"""
|
355
354
|
Get information on a job ID. The aim of this datasource is to enable
|
@@ -370,8 +369,8 @@ def get_job_output(job_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
370
369
|
```
|
371
370
|
|
372
371
|
|
373
|
-
:param
|
374
|
-
:param
|
372
|
+
:param _builtins.str job_id: `(string)` ID of the job.
|
373
|
+
:param _builtins.str namespace: `(string)` Namespace of the specified job.
|
375
374
|
"""
|
376
375
|
__args__ = dict()
|
377
376
|
__args__['jobId'] = job_id
|