pulumi-nomad 2.5.0a1743488173__py3-none-any.whl → 2.5.0a1744183236__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.
Files changed (54) hide show
  1. pulumi_nomad/__init__.py +1 -0
  2. pulumi_nomad/_inputs.py +379 -378
  3. pulumi_nomad/acl_auth_method.py +85 -84
  4. pulumi_nomad/acl_binding_rule.py +71 -70
  5. pulumi_nomad/acl_policy.py +43 -42
  6. pulumi_nomad/acl_role.py +29 -28
  7. pulumi_nomad/acl_token.py +99 -98
  8. pulumi_nomad/config/__init__.py +1 -0
  9. pulumi_nomad/config/__init__.pyi +1 -0
  10. pulumi_nomad/config/outputs.py +7 -6
  11. pulumi_nomad/config/vars.py +1 -0
  12. pulumi_nomad/csi_volume.py +203 -202
  13. pulumi_nomad/csi_volume_registration.py +210 -209
  14. pulumi_nomad/external_volume.py +195 -194
  15. pulumi_nomad/get_acl_policies.py +7 -6
  16. pulumi_nomad/get_acl_policy.py +9 -8
  17. pulumi_nomad/get_acl_role.py +8 -7
  18. pulumi_nomad/get_acl_roles.py +7 -6
  19. pulumi_nomad/get_acl_token.py +15 -14
  20. pulumi_nomad/get_acl_tokens.py +7 -6
  21. pulumi_nomad/get_allocations.py +17 -16
  22. pulumi_nomad/get_datacenters.py +13 -12
  23. pulumi_nomad/get_deployments.py +3 -2
  24. pulumi_nomad/get_job.py +28 -27
  25. pulumi_nomad/get_job_parser.py +13 -12
  26. pulumi_nomad/get_jwks.py +3 -2
  27. pulumi_nomad/get_namespace.py +10 -9
  28. pulumi_nomad/get_namespaces.py +3 -2
  29. pulumi_nomad/get_node_pool.py +9 -8
  30. pulumi_nomad/get_node_pools.py +12 -11
  31. pulumi_nomad/get_plugin.py +24 -23
  32. pulumi_nomad/get_plugins.py +6 -5
  33. pulumi_nomad/get_regions.py +3 -2
  34. pulumi_nomad/get_scaling_policies.py +12 -11
  35. pulumi_nomad/get_scaling_policy.py +12 -11
  36. pulumi_nomad/get_scheduler_policy.py +5 -4
  37. pulumi_nomad/get_variable.py +13 -12
  38. pulumi_nomad/get_volumes.py +23 -22
  39. pulumi_nomad/job.py +221 -220
  40. pulumi_nomad/namespace.py +57 -56
  41. pulumi_nomad/node_pool.py +43 -42
  42. pulumi_nomad/outputs.py +452 -451
  43. pulumi_nomad/provider.py +111 -110
  44. pulumi_nomad/pulumi-plugin.json +1 -1
  45. pulumi_nomad/quote_specification.py +29 -28
  46. pulumi_nomad/scheduler_config.py +43 -42
  47. pulumi_nomad/sentinel_policy.py +71 -70
  48. pulumi_nomad/variable.py +43 -42
  49. pulumi_nomad/volume.py +209 -208
  50. {pulumi_nomad-2.5.0a1743488173.dist-info → pulumi_nomad-2.5.0a1744183236.dist-info}/METADATA +1 -1
  51. pulumi_nomad-2.5.0a1744183236.dist-info/RECORD +55 -0
  52. pulumi_nomad-2.5.0a1743488173.dist-info/RECORD +0 -55
  53. {pulumi_nomad-2.5.0a1743488173.dist-info → pulumi_nomad-2.5.0a1744183236.dist-info}/WHEEL +0 -0
  54. {pulumi_nomad-2.5.0a1743488173.dist-info → pulumi_nomad-2.5.0a1744183236.dist-info}/top_level.txt +0 -0
pulumi_nomad/get_job.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -97,7 +98,7 @@ class GetJobResult:
97
98
 
98
99
  @property
99
100
  @pulumi.getter(name="allAtOnce")
100
- def all_at_once(self) -> bool:
101
+ def all_at_once(self) -> builtins.bool:
101
102
  """
102
103
  `(boolean)` If the scheduler can make partial placements on oversubscribed nodes.
103
104
  """
@@ -110,7 +111,7 @@ class GetJobResult:
110
111
 
111
112
  @property
112
113
  @pulumi.getter(name="createIndex")
113
- def create_index(self) -> int:
114
+ def create_index(self) -> builtins.int:
114
115
  """
115
116
  `(integer)` Creation Index.
116
117
  """
@@ -118,7 +119,7 @@ class GetJobResult:
118
119
 
119
120
  @property
120
121
  @pulumi.getter
121
- def datacenters(self) -> Sequence[str]:
122
+ def datacenters(self) -> Sequence[builtins.str]:
122
123
  """
123
124
  `(list of strings)` Datacenters allowed to run the specified job.
124
125
  """
@@ -126,7 +127,7 @@ class GetJobResult:
126
127
 
127
128
  @property
128
129
  @pulumi.getter
129
- def id(self) -> str:
130
+ def id(self) -> builtins.str:
130
131
  """
131
132
  The provider-assigned unique ID for this managed resource.
132
133
  """
@@ -134,12 +135,12 @@ class GetJobResult:
134
135
 
135
136
  @property
136
137
  @pulumi.getter(name="jobId")
137
- def job_id(self) -> str:
138
+ def job_id(self) -> builtins.str:
138
139
  return pulumi.get(self, "job_id")
139
140
 
140
141
  @property
141
142
  @pulumi.getter(name="jobModifyIndex")
142
- def job_modify_index(self) -> int:
143
+ def job_modify_index(self) -> builtins.int:
143
144
  """
144
145
  `(integer)` Job modify index (used for version verification).
145
146
  """
@@ -147,7 +148,7 @@ class GetJobResult:
147
148
 
148
149
  @property
149
150
  @pulumi.getter(name="modifyIndex")
150
- def modify_index(self) -> int:
151
+ def modify_index(self) -> builtins.int:
151
152
  """
152
153
  `(integer)` Modification Index.
153
154
  """
@@ -155,7 +156,7 @@ class GetJobResult:
155
156
 
156
157
  @property
157
158
  @pulumi.getter
158
- def name(self) -> str:
159
+ def name(self) -> builtins.str:
159
160
  """
160
161
  `(string)` Name of the job.
161
162
  """
@@ -163,12 +164,12 @@ class GetJobResult:
163
164
 
164
165
  @property
165
166
  @pulumi.getter
166
- def namespace(self) -> Optional[str]:
167
+ def namespace(self) -> Optional[builtins.str]:
167
168
  return pulumi.get(self, "namespace")
168
169
 
169
170
  @property
170
171
  @pulumi.getter(name="parentId")
171
- def parent_id(self) -> str:
172
+ def parent_id(self) -> builtins.str:
172
173
  """
173
174
  `(string)` Job's parent ID.
174
175
  """
@@ -184,7 +185,7 @@ class GetJobResult:
184
185
 
185
186
  @property
186
187
  @pulumi.getter
187
- def priority(self) -> int:
188
+ def priority(self) -> builtins.int:
188
189
  """
189
190
  `(integer)` Used for the prioritization of scheduling and resource access.
190
191
  """
@@ -192,7 +193,7 @@ class GetJobResult:
192
193
 
193
194
  @property
194
195
  @pulumi.getter
195
- def region(self) -> str:
196
+ def region(self) -> builtins.str:
196
197
  """
197
198
  `(string)` Region where the Nomad cluster resides.
198
199
  """
@@ -200,7 +201,7 @@ class GetJobResult:
200
201
 
201
202
  @property
202
203
  @pulumi.getter
203
- def stable(self) -> bool:
204
+ def stable(self) -> builtins.bool:
204
205
  """
205
206
  `(boolean)` Job stability status.
206
207
  """
@@ -208,7 +209,7 @@ class GetJobResult:
208
209
 
209
210
  @property
210
211
  @pulumi.getter
211
- def status(self) -> str:
212
+ def status(self) -> builtins.str:
212
213
  """
213
214
  `(string)` Execution status of the specified job.
214
215
  """
@@ -216,7 +217,7 @@ class GetJobResult:
216
217
 
217
218
  @property
218
219
  @pulumi.getter(name="statusDescription")
219
- def status_description(self) -> str:
220
+ def status_description(self) -> builtins.str:
220
221
  """
221
222
  `(string)` Status description of the specified job.
222
223
  """
@@ -224,7 +225,7 @@ class GetJobResult:
224
225
 
225
226
  @property
226
227
  @pulumi.getter
227
- def stop(self) -> bool:
228
+ def stop(self) -> builtins.bool:
228
229
  """
229
230
  `(boolean)` Job enabled status.
230
231
  """
@@ -232,7 +233,7 @@ class GetJobResult:
232
233
 
233
234
  @property
234
235
  @pulumi.getter(name="submitTime")
235
- def submit_time(self) -> int:
236
+ def submit_time(self) -> builtins.int:
236
237
  """
237
238
  `(integer)` Job submission date.
238
239
  """
@@ -248,7 +249,7 @@ class GetJobResult:
248
249
 
249
250
  @property
250
251
  @pulumi.getter
251
- def type(self) -> str:
252
+ def type(self) -> builtins.str:
252
253
  """
253
254
  `(string)` Scheduler type used during job creation.
254
255
  """
@@ -256,7 +257,7 @@ class GetJobResult:
256
257
 
257
258
  @property
258
259
  @pulumi.getter
259
- def version(self) -> int:
260
+ def version(self) -> builtins.int:
260
261
  """
261
262
  `(integer)` Version of the specified job.
262
263
  """
@@ -293,8 +294,8 @@ class AwaitableGetJobResult(GetJobResult):
293
294
  version=self.version)
294
295
 
295
296
 
296
- def get_job(job_id: Optional[str] = None,
297
- namespace: Optional[str] = None,
297
+ def get_job(job_id: Optional[builtins.str] = None,
298
+ namespace: Optional[builtins.str] = None,
298
299
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetJobResult:
299
300
  """
300
301
  Get information on a job ID. The aim of this datasource is to enable
@@ -315,8 +316,8 @@ def get_job(job_id: Optional[str] = None,
315
316
  ```
316
317
 
317
318
 
318
- :param str job_id: `(string)` ID of the job.
319
- :param str namespace: `(string)` Namespace of the specified job.
319
+ :param builtins.str job_id: `(string)` ID of the job.
320
+ :param builtins.str namespace: `(string)` Namespace of the specified job.
320
321
  """
321
322
  __args__ = dict()
322
323
  __args__['jobId'] = job_id
@@ -347,8 +348,8 @@ def get_job(job_id: Optional[str] = None,
347
348
  task_groups=pulumi.get(__ret__, 'task_groups'),
348
349
  type=pulumi.get(__ret__, 'type'),
349
350
  version=pulumi.get(__ret__, 'version'))
350
- def get_job_output(job_id: Optional[pulumi.Input[str]] = None,
351
- namespace: Optional[pulumi.Input[Optional[str]]] = None,
351
+ def get_job_output(job_id: Optional[pulumi.Input[builtins.str]] = None,
352
+ namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
352
353
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetJobResult]:
353
354
  """
354
355
  Get information on a job ID. The aim of this datasource is to enable
@@ -369,8 +370,8 @@ def get_job_output(job_id: Optional[pulumi.Input[str]] = None,
369
370
  ```
370
371
 
371
372
 
372
- :param str job_id: `(string)` ID of the job.
373
- :param str namespace: `(string)` Namespace of the specified job.
373
+ :param builtins.str job_id: `(string)` ID of the job.
374
+ :param builtins.str namespace: `(string)` Namespace of the specified job.
374
375
  """
375
376
  __args__ = dict()
376
377
  __args__['jobId'] = job_id
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -42,7 +43,7 @@ class GetJobParserResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter
45
- def canonicalize(self) -> Optional[bool]:
46
+ def canonicalize(self) -> Optional[builtins.bool]:
46
47
  """
47
48
  `(boolean: true)` - flag to enable setting any unset fields to their default values.
48
49
  """
@@ -50,7 +51,7 @@ class GetJobParserResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter
53
- def hcl(self) -> str:
54
+ def hcl(self) -> builtins.str:
54
55
  """
55
56
  `(string)` - the HCL definition of the job.
56
57
  """
@@ -58,7 +59,7 @@ class GetJobParserResult:
58
59
 
59
60
  @property
60
61
  @pulumi.getter
61
- def id(self) -> str:
62
+ def id(self) -> builtins.str:
62
63
  """
63
64
  The provider-assigned unique ID for this managed resource.
64
65
  """
@@ -66,7 +67,7 @@ class GetJobParserResult:
66
67
 
67
68
  @property
68
69
  @pulumi.getter
69
- def json(self) -> str:
70
+ def json(self) -> builtins.str:
70
71
  """
71
72
  `(string)` - the parsed job as JSON string.
72
73
  """
@@ -85,15 +86,15 @@ class AwaitableGetJobParserResult(GetJobParserResult):
85
86
  json=self.json)
86
87
 
87
88
 
88
- def get_job_parser(canonicalize: Optional[bool] = None,
89
- hcl: Optional[str] = None,
89
+ def get_job_parser(canonicalize: Optional[builtins.bool] = None,
90
+ hcl: Optional[builtins.str] = None,
90
91
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetJobParserResult:
91
92
  """
92
93
  Parse a HCL jobspec and produce the equivalent JSON encoded job.
93
94
 
94
95
 
95
- :param bool canonicalize: `(boolean: true)` - flag to enable setting any unset fields to their default values.
96
- :param str hcl: `(string)` - the HCL definition of the job.
96
+ :param builtins.bool canonicalize: `(boolean: true)` - flag to enable setting any unset fields to their default values.
97
+ :param builtins.str hcl: `(string)` - the HCL definition of the job.
97
98
  """
98
99
  __args__ = dict()
99
100
  __args__['canonicalize'] = canonicalize
@@ -106,15 +107,15 @@ def get_job_parser(canonicalize: Optional[bool] = None,
106
107
  hcl=pulumi.get(__ret__, 'hcl'),
107
108
  id=pulumi.get(__ret__, 'id'),
108
109
  json=pulumi.get(__ret__, 'json'))
109
- def get_job_parser_output(canonicalize: Optional[pulumi.Input[Optional[bool]]] = None,
110
- hcl: Optional[pulumi.Input[str]] = None,
110
+ def get_job_parser_output(canonicalize: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
111
+ hcl: Optional[pulumi.Input[builtins.str]] = None,
111
112
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetJobParserResult]:
112
113
  """
113
114
  Parse a HCL jobspec and produce the equivalent JSON encoded job.
114
115
 
115
116
 
116
- :param bool canonicalize: `(boolean: true)` - flag to enable setting any unset fields to their default values.
117
- :param str hcl: `(string)` - the HCL definition of the job.
117
+ :param builtins.bool canonicalize: `(boolean: true)` - flag to enable setting any unset fields to their default values.
118
+ :param builtins.str hcl: `(string)` - the HCL definition of the job.
118
119
  """
119
120
  __args__ = dict()
120
121
  __args__['canonicalize'] = canonicalize
pulumi_nomad/get_jwks.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -40,7 +41,7 @@ class GetJwksResult:
40
41
 
41
42
  @property
42
43
  @pulumi.getter
43
- def id(self) -> str:
44
+ def id(self) -> builtins.str:
44
45
  """
45
46
  The provider-assigned unique ID for this managed resource.
46
47
  """
@@ -57,7 +58,7 @@ class GetJwksResult:
57
58
 
58
59
  @property
59
60
  @pulumi.getter(name="pemKeys")
60
- def pem_keys(self) -> Sequence[str]:
61
+ def pem_keys(self) -> Sequence[builtins.str]:
61
62
  """
62
63
  `list of strings` a list JWK keys rendered as PEM-encoded X.509 keys
63
64
  """
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -60,7 +61,7 @@ class GetNamespaceResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter
63
- def description(self) -> str:
64
+ def description(self) -> builtins.str:
64
65
  """
65
66
  `(string)` - The description of the namespace.
66
67
  """
@@ -68,7 +69,7 @@ class GetNamespaceResult:
68
69
 
69
70
  @property
70
71
  @pulumi.getter
71
- def id(self) -> str:
72
+ def id(self) -> builtins.str:
72
73
  """
73
74
  The provider-assigned unique ID for this managed resource.
74
75
  """
@@ -76,7 +77,7 @@ class GetNamespaceResult:
76
77
 
77
78
  @property
78
79
  @pulumi.getter
79
- def meta(self) -> Mapping[str, str]:
80
+ def meta(self) -> Mapping[str, builtins.str]:
80
81
  """
81
82
  `(map[string]string)` - Arbitrary KV metadata associated with the namespace.
82
83
  """
@@ -84,7 +85,7 @@ class GetNamespaceResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter
87
- def name(self) -> str:
88
+ def name(self) -> builtins.str:
88
89
  return pulumi.get(self, "name")
89
90
 
90
91
  @property
@@ -94,7 +95,7 @@ class GetNamespaceResult:
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def quota(self) -> str:
98
+ def quota(self) -> builtins.str:
98
99
  """
99
100
  `(string)` - The quota associated with the namespace.
100
101
  """
@@ -116,7 +117,7 @@ class AwaitableGetNamespaceResult(GetNamespaceResult):
116
117
  quota=self.quota)
117
118
 
118
119
 
119
- def get_namespace(name: Optional[str] = None,
120
+ def get_namespace(name: Optional[builtins.str] = None,
120
121
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceResult:
121
122
  """
122
123
  Get information about a namespace in Nomad.
@@ -131,7 +132,7 @@ def get_namespace(name: Optional[str] = None,
131
132
  ```
132
133
 
133
134
 
134
- :param str name: `(string)` - The name of the namespace.
135
+ :param builtins.str name: `(string)` - The name of the namespace.
135
136
  """
136
137
  __args__ = dict()
137
138
  __args__['name'] = name
@@ -146,7 +147,7 @@ def get_namespace(name: Optional[str] = None,
146
147
  name=pulumi.get(__ret__, 'name'),
147
148
  node_pool_configs=pulumi.get(__ret__, 'node_pool_configs'),
148
149
  quota=pulumi.get(__ret__, 'quota'))
149
- def get_namespace_output(name: Optional[pulumi.Input[str]] = None,
150
+ def get_namespace_output(name: Optional[pulumi.Input[builtins.str]] = None,
150
151
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNamespaceResult]:
151
152
  """
152
153
  Get information about a namespace in Nomad.
@@ -161,7 +162,7 @@ def get_namespace_output(name: Optional[pulumi.Input[str]] = None,
161
162
  ```
162
163
 
163
164
 
164
- :param str name: `(string)` - The name of the namespace.
165
+ :param builtins.str name: `(string)` - The name of the namespace.
165
166
  """
166
167
  __args__ = dict()
167
168
  __args__['name'] = name
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -36,7 +37,7 @@ class GetNamespacesResult:
36
37
 
37
38
  @property
38
39
  @pulumi.getter
39
- def id(self) -> str:
40
+ def id(self) -> builtins.str:
40
41
  """
41
42
  The provider-assigned unique ID for this managed resource.
42
43
  """
@@ -44,7 +45,7 @@ class GetNamespacesResult:
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def namespaces(self) -> Sequence[str]:
48
+ def namespaces(self) -> Sequence[builtins.str]:
48
49
  """
49
50
  `(list of strings)` - a list of namespaces available in the cluster.
50
51
  """
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -46,7 +47,7 @@ class GetNodePoolResult:
46
47
 
47
48
  @property
48
49
  @pulumi.getter
49
- def description(self) -> str:
50
+ def description(self) -> builtins.str:
50
51
  """
51
52
  `(string)` - The description of the node pool.
52
53
  """
@@ -54,7 +55,7 @@ class GetNodePoolResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter
57
- def id(self) -> str:
58
+ def id(self) -> builtins.str:
58
59
  """
59
60
  The provider-assigned unique ID for this managed resource.
60
61
  """
@@ -62,7 +63,7 @@ class GetNodePoolResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter
65
- def meta(self) -> Mapping[str, str]:
66
+ def meta(self) -> Mapping[str, builtins.str]:
66
67
  """
67
68
  `(map[string]string)` - Arbitrary KV metadata associated with the
68
69
  node pool.
@@ -71,7 +72,7 @@ class GetNodePoolResult:
71
72
 
72
73
  @property
73
74
  @pulumi.getter
74
- def name(self) -> str:
75
+ def name(self) -> builtins.str:
75
76
  return pulumi.get(self, "name")
76
77
 
77
78
  @property
@@ -96,7 +97,7 @@ class AwaitableGetNodePoolResult(GetNodePoolResult):
96
97
  scheduler_configs=self.scheduler_configs)
97
98
 
98
99
 
99
- def get_node_pool(name: Optional[str] = None,
100
+ def get_node_pool(name: Optional[builtins.str] = None,
100
101
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodePoolResult:
101
102
  """
102
103
  Get information about a node pool in Nomad.
@@ -111,7 +112,7 @@ def get_node_pool(name: Optional[str] = None,
111
112
  ```
112
113
 
113
114
 
114
- :param str name: `(string)` - The name of the node pool to fetch.
115
+ :param builtins.str name: `(string)` - The name of the node pool to fetch.
115
116
  """
116
117
  __args__ = dict()
117
118
  __args__['name'] = name
@@ -124,7 +125,7 @@ def get_node_pool(name: Optional[str] = None,
124
125
  meta=pulumi.get(__ret__, 'meta'),
125
126
  name=pulumi.get(__ret__, 'name'),
126
127
  scheduler_configs=pulumi.get(__ret__, 'scheduler_configs'))
127
- def get_node_pool_output(name: Optional[pulumi.Input[str]] = None,
128
+ def get_node_pool_output(name: Optional[pulumi.Input[builtins.str]] = None,
128
129
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodePoolResult]:
129
130
  """
130
131
  Get information about a node pool in Nomad.
@@ -139,7 +140,7 @@ def get_node_pool_output(name: Optional[pulumi.Input[str]] = None,
139
140
  ```
140
141
 
141
142
 
142
- :param str name: `(string)` - The name of the node pool to fetch.
143
+ :param builtins.str name: `(string)` - The name of the node pool to fetch.
143
144
  """
144
145
  __args__ = dict()
145
146
  __args__['name'] = name
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -43,12 +44,12 @@ class GetNodePoolsResult:
43
44
 
44
45
  @property
45
46
  @pulumi.getter
46
- def filter(self) -> Optional[str]:
47
+ def filter(self) -> Optional[builtins.str]:
47
48
  return pulumi.get(self, "filter")
48
49
 
49
50
  @property
50
51
  @pulumi.getter
51
- def id(self) -> str:
52
+ def id(self) -> builtins.str:
52
53
  """
53
54
  The provider-assigned unique ID for this managed resource.
54
55
  """
@@ -65,7 +66,7 @@ class GetNodePoolsResult:
65
66
 
66
67
  @property
67
68
  @pulumi.getter
68
- def prefix(self) -> Optional[str]:
69
+ def prefix(self) -> Optional[builtins.str]:
69
70
  return pulumi.get(self, "prefix")
70
71
 
71
72
 
@@ -81,8 +82,8 @@ class AwaitableGetNodePoolsResult(GetNodePoolsResult):
81
82
  prefix=self.prefix)
82
83
 
83
84
 
84
- def get_node_pools(filter: Optional[str] = None,
85
- prefix: Optional[str] = None,
85
+ def get_node_pools(filter: Optional[builtins.str] = None,
86
+ prefix: Optional[builtins.str] = None,
86
87
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodePoolsResult:
87
88
  """
88
89
  Retrieve a list of node pools available in Nomad.
@@ -97,9 +98,9 @@ def get_node_pools(filter: Optional[str] = None,
97
98
  ```
98
99
 
99
100
 
100
- :param str filter: `(string)` - Specifies the [expression][nomad_api_filter] used to
101
+ :param builtins.str filter: `(string)` - Specifies the [expression][nomad_api_filter] used to
101
102
  filter the results.
102
- :param str prefix: `(string)` - Specifies a string to filter node pools based on a name
103
+ :param builtins.str prefix: `(string)` - Specifies a string to filter node pools based on a name
103
104
  prefix.
104
105
  """
105
106
  __args__ = dict()
@@ -113,8 +114,8 @@ def get_node_pools(filter: Optional[str] = None,
113
114
  id=pulumi.get(__ret__, 'id'),
114
115
  node_pools=pulumi.get(__ret__, 'node_pools'),
115
116
  prefix=pulumi.get(__ret__, 'prefix'))
116
- def get_node_pools_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
117
- prefix: Optional[pulumi.Input[Optional[str]]] = None,
117
+ def get_node_pools_output(filter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
118
+ prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
118
119
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodePoolsResult]:
119
120
  """
120
121
  Retrieve a list of node pools available in Nomad.
@@ -129,9 +130,9 @@ def get_node_pools_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
129
130
  ```
130
131
 
131
132
 
132
- :param str filter: `(string)` - Specifies the [expression][nomad_api_filter] used to
133
+ :param builtins.str filter: `(string)` - Specifies the [expression][nomad_api_filter] used to
133
134
  filter the results.
134
- :param str prefix: `(string)` - Specifies a string to filter node pools based on a name
135
+ :param builtins.str prefix: `(string)` - Specifies a string to filter node pools based on a name
135
136
  prefix.
136
137
  """
137
138
  __args__ = dict()