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
@@ -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
@@ -67,7 +68,7 @@ class GetPluginResult:
67
68
 
68
69
  @property
69
70
  @pulumi.getter(name="controllerRequired")
70
- def controller_required(self) -> bool:
71
+ def controller_required(self) -> builtins.bool:
71
72
  """
72
73
  `(boolean)` Whether a controller is required.
73
74
  """
@@ -75,7 +76,7 @@ class GetPluginResult:
75
76
 
76
77
  @property
77
78
  @pulumi.getter(name="controllersExpected")
78
- def controllers_expected(self) -> int:
79
+ def controllers_expected(self) -> builtins.int:
79
80
  """
80
81
  `(integer)` The number of registered controllers.
81
82
  """
@@ -83,7 +84,7 @@ class GetPluginResult:
83
84
 
84
85
  @property
85
86
  @pulumi.getter(name="controllersHealthy")
86
- def controllers_healthy(self) -> int:
87
+ def controllers_healthy(self) -> builtins.int:
87
88
  """
88
89
  `(integer)` The number of healthy controllers.
89
90
  """
@@ -91,7 +92,7 @@ class GetPluginResult:
91
92
 
92
93
  @property
93
94
  @pulumi.getter
94
- def id(self) -> str:
95
+ def id(self) -> builtins.str:
95
96
  """
96
97
  The provider-assigned unique ID for this managed resource.
97
98
  """
@@ -104,7 +105,7 @@ class GetPluginResult:
104
105
 
105
106
  @property
106
107
  @pulumi.getter(name="nodesExpected")
107
- def nodes_expected(self) -> int:
108
+ def nodes_expected(self) -> builtins.int:
108
109
  """
109
110
  `(integer)` The number of registered nodes.
110
111
  """
@@ -112,7 +113,7 @@ class GetPluginResult:
112
113
 
113
114
  @property
114
115
  @pulumi.getter(name="nodesHealthy")
115
- def nodes_healthy(self) -> int:
116
+ def nodes_healthy(self) -> builtins.int:
116
117
  """
117
118
  `(integer)` The number of healthy nodes.
118
119
  """
@@ -120,7 +121,7 @@ class GetPluginResult:
120
121
 
121
122
  @property
122
123
  @pulumi.getter(name="pluginId")
123
- def plugin_id(self) -> str:
124
+ def plugin_id(self) -> builtins.str:
124
125
  """
125
126
  `(string)` ID of the plugin
126
127
  """
@@ -128,7 +129,7 @@ class GetPluginResult:
128
129
 
129
130
  @property
130
131
  @pulumi.getter(name="pluginProvider")
131
- def plugin_provider(self) -> str:
132
+ def plugin_provider(self) -> builtins.str:
132
133
  """
133
134
  `(string)` Plugin provider name
134
135
  """
@@ -136,7 +137,7 @@ class GetPluginResult:
136
137
 
137
138
  @property
138
139
  @pulumi.getter(name="pluginProviderVersion")
139
- def plugin_provider_version(self) -> str:
140
+ def plugin_provider_version(self) -> builtins.str:
140
141
  """
141
142
  `(string)` Plugin provider version
142
143
  """
@@ -144,12 +145,12 @@ class GetPluginResult:
144
145
 
145
146
  @property
146
147
  @pulumi.getter(name="waitForHealthy")
147
- def wait_for_healthy(self) -> Optional[bool]:
148
+ def wait_for_healthy(self) -> Optional[builtins.bool]:
148
149
  return pulumi.get(self, "wait_for_healthy")
149
150
 
150
151
  @property
151
152
  @pulumi.getter(name="waitForRegistration")
152
- def wait_for_registration(self) -> Optional[bool]:
153
+ def wait_for_registration(self) -> Optional[builtins.bool]:
153
154
  return pulumi.get(self, "wait_for_registration")
154
155
 
155
156
 
@@ -173,9 +174,9 @@ class AwaitableGetPluginResult(GetPluginResult):
173
174
  wait_for_registration=self.wait_for_registration)
174
175
 
175
176
 
176
- def get_plugin(plugin_id: Optional[str] = None,
177
- wait_for_healthy: Optional[bool] = None,
178
- wait_for_registration: Optional[bool] = None,
177
+ def get_plugin(plugin_id: Optional[builtins.str] = None,
178
+ wait_for_healthy: Optional[builtins.bool] = None,
179
+ wait_for_registration: Optional[builtins.bool] = None,
179
180
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginResult:
180
181
  """
181
182
  Lookup a plugin by ID. The aim of this datasource is to determine whether
@@ -203,9 +204,9 @@ def get_plugin(plugin_id: Optional[str] = None,
203
204
  is healthy before returning.
204
205
 
205
206
 
206
- :param str plugin_id: `(string)` ID of the plugin.
207
- :param bool wait_for_healthy: `(boolean)` retry until the plugin exists and all controllers are healthy
208
- :param bool wait_for_registration: `(boolean)` if the plugin doesn't exist, retry until it does
207
+ :param builtins.str plugin_id: `(string)` ID of the plugin.
208
+ :param builtins.bool wait_for_healthy: `(boolean)` retry until the plugin exists and all controllers are healthy
209
+ :param builtins.bool wait_for_registration: `(boolean)` if the plugin doesn't exist, retry until it does
209
210
  """
210
211
  __args__ = dict()
211
212
  __args__['pluginId'] = plugin_id
@@ -227,9 +228,9 @@ def get_plugin(plugin_id: Optional[str] = None,
227
228
  plugin_provider_version=pulumi.get(__ret__, 'plugin_provider_version'),
228
229
  wait_for_healthy=pulumi.get(__ret__, 'wait_for_healthy'),
229
230
  wait_for_registration=pulumi.get(__ret__, 'wait_for_registration'))
230
- def get_plugin_output(plugin_id: Optional[pulumi.Input[str]] = None,
231
- wait_for_healthy: Optional[pulumi.Input[Optional[bool]]] = None,
232
- wait_for_registration: Optional[pulumi.Input[Optional[bool]]] = None,
231
+ def get_plugin_output(plugin_id: Optional[pulumi.Input[builtins.str]] = None,
232
+ wait_for_healthy: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
233
+ wait_for_registration: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
233
234
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginResult]:
234
235
  """
235
236
  Lookup a plugin by ID. The aim of this datasource is to determine whether
@@ -257,9 +258,9 @@ def get_plugin_output(plugin_id: Optional[pulumi.Input[str]] = None,
257
258
  is healthy before returning.
258
259
 
259
260
 
260
- :param str plugin_id: `(string)` ID of the plugin.
261
- :param bool wait_for_healthy: `(boolean)` retry until the plugin exists and all controllers are healthy
262
- :param bool wait_for_registration: `(boolean)` if the plugin doesn't exist, retry until it does
261
+ :param builtins.str plugin_id: `(string)` ID of the plugin.
262
+ :param builtins.bool wait_for_healthy: `(boolean)` retry until the plugin exists and all controllers are healthy
263
+ :param builtins.bool wait_for_registration: `(boolean)` if the plugin doesn't exist, retry until it does
263
264
  """
264
265
  __args__ = dict()
265
266
  __args__['pluginId'] = plugin_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
@@ -39,7 +40,7 @@ class GetPluginsResult:
39
40
 
40
41
  @property
41
42
  @pulumi.getter
42
- def id(self) -> str:
43
+ def id(self) -> builtins.str:
43
44
  """
44
45
  The provider-assigned unique ID for this managed resource.
45
46
  """
@@ -47,7 +48,7 @@ class GetPluginsResult:
47
48
 
48
49
  @property
49
50
  @pulumi.getter
50
- def plugins(self) -> Sequence[Mapping[str, str]]:
51
+ def plugins(self) -> Sequence[Mapping[str, builtins.str]]:
51
52
  """
52
53
  `(list of maps)` a list of dynamic plugins registered in the cluster.
53
54
  """
@@ -55,7 +56,7 @@ class GetPluginsResult:
55
56
 
56
57
  @property
57
58
  @pulumi.getter
58
- def type(self) -> Optional[str]:
59
+ def type(self) -> Optional[builtins.str]:
59
60
  return pulumi.get(self, "type")
60
61
 
61
62
 
@@ -70,7 +71,7 @@ class AwaitableGetPluginsResult(GetPluginsResult):
70
71
  type=self.type)
71
72
 
72
73
 
73
- def get_plugins(type: Optional[str] = None,
74
+ def get_plugins(type: Optional[builtins.str] = None,
74
75
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginsResult:
75
76
  """
76
77
  Retrieve a list of dynamic plugins in Nomad.
@@ -93,7 +94,7 @@ def get_plugins(type: Optional[str] = None,
93
94
  id=pulumi.get(__ret__, 'id'),
94
95
  plugins=pulumi.get(__ret__, 'plugins'),
95
96
  type=pulumi.get(__ret__, 'type'))
96
- def get_plugins_output(type: Optional[pulumi.Input[Optional[str]]] = None,
97
+ def get_plugins_output(type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
97
98
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginsResult]:
98
99
  """
99
100
  Retrieve a list of dynamic plugins in Nomad.
@@ -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 GetRegionsResult:
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 GetRegionsResult:
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def regions(self) -> Sequence[str]:
48
+ def regions(self) -> Sequence[builtins.str]:
48
49
  """
49
50
  `(list of strings)` - a list of regions 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
@@ -43,7 +44,7 @@ class GetScalingPoliciesResult:
43
44
 
44
45
  @property
45
46
  @pulumi.getter
46
- def id(self) -> str:
47
+ def id(self) -> builtins.str:
47
48
  """
48
49
  The provider-assigned unique ID for this managed resource.
49
50
  """
@@ -51,7 +52,7 @@ class GetScalingPoliciesResult:
51
52
 
52
53
  @property
53
54
  @pulumi.getter(name="jobId")
54
- def job_id(self) -> Optional[str]:
55
+ def job_id(self) -> Optional[builtins.str]:
55
56
  return pulumi.get(self, "job_id")
56
57
 
57
58
  @property
@@ -64,7 +65,7 @@ class GetScalingPoliciesResult:
64
65
 
65
66
  @property
66
67
  @pulumi.getter
67
- def type(self) -> Optional[str]:
68
+ def type(self) -> Optional[builtins.str]:
68
69
  """
69
70
  `(string)` - The scaling policy type.
70
71
  """
@@ -83,8 +84,8 @@ class AwaitableGetScalingPoliciesResult(GetScalingPoliciesResult):
83
84
  type=self.type)
84
85
 
85
86
 
86
- def get_scaling_policies(job_id: Optional[str] = None,
87
- type: Optional[str] = None,
87
+ def get_scaling_policies(job_id: Optional[builtins.str] = None,
88
+ type: Optional[builtins.str] = None,
88
89
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScalingPoliciesResult:
89
90
  """
90
91
  Retrieve a list of Scaling Policies.
@@ -100,8 +101,8 @@ def get_scaling_policies(job_id: Optional[str] = None,
100
101
  ```
101
102
 
102
103
 
103
- :param str job_id: `(string)` - An optional string to filter scaling policies based on the target job. If not provided, policies for all jobs are returned.
104
- :param str type: `(string)` - An optional string to filter scaling policies based on policy type. If not provided, policies of all types are returned.
104
+ :param builtins.str job_id: `(string)` - An optional string to filter scaling policies based on the target job. If not provided, policies for all jobs are returned.
105
+ :param builtins.str type: `(string)` - An optional string to filter scaling policies based on policy type. If not provided, policies of all types are returned.
105
106
  """
106
107
  __args__ = dict()
107
108
  __args__['jobId'] = job_id
@@ -114,8 +115,8 @@ def get_scaling_policies(job_id: Optional[str] = None,
114
115
  job_id=pulumi.get(__ret__, 'job_id'),
115
116
  policies=pulumi.get(__ret__, 'policies'),
116
117
  type=pulumi.get(__ret__, 'type'))
117
- def get_scaling_policies_output(job_id: Optional[pulumi.Input[Optional[str]]] = None,
118
- type: Optional[pulumi.Input[Optional[str]]] = None,
118
+ def get_scaling_policies_output(job_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
119
+ type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
119
120
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScalingPoliciesResult]:
120
121
  """
121
122
  Retrieve a list of Scaling Policies.
@@ -131,8 +132,8 @@ def get_scaling_policies_output(job_id: Optional[pulumi.Input[Optional[str]]] =
131
132
  ```
132
133
 
133
134
 
134
- :param str job_id: `(string)` - An optional string to filter scaling policies based on the target job. If not provided, policies for all jobs are returned.
135
- :param str type: `(string)` - An optional string to filter scaling policies based on policy type. If not provided, policies of all types are returned.
135
+ :param builtins.str job_id: `(string)` - An optional string to filter scaling policies based on the target job. If not provided, policies for all jobs are returned.
136
+ :param builtins.str type: `(string)` - An optional string to filter scaling policies based on policy type. If not provided, policies of all types are returned.
136
137
  """
137
138
  __args__ = dict()
138
139
  __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
@@ -51,7 +52,7 @@ class GetScalingPolicyResult:
51
52
 
52
53
  @property
53
54
  @pulumi.getter
54
- def enabled(self) -> bool:
55
+ def enabled(self) -> builtins.bool:
55
56
  """
56
57
  `(boolean)` - Whether or not the scaling policy is enabled.
57
58
  """
@@ -59,12 +60,12 @@ class GetScalingPolicyResult:
59
60
 
60
61
  @property
61
62
  @pulumi.getter
62
- def id(self) -> str:
63
+ def id(self) -> builtins.str:
63
64
  return pulumi.get(self, "id")
64
65
 
65
66
  @property
66
67
  @pulumi.getter
67
- def max(self) -> int:
68
+ def max(self) -> builtins.int:
68
69
  """
69
70
  `(integer)` - The maximum value set in the scaling policy.
70
71
  """
@@ -72,7 +73,7 @@ class GetScalingPolicyResult:
72
73
 
73
74
  @property
74
75
  @pulumi.getter
75
- def min(self) -> int:
76
+ def min(self) -> builtins.int:
76
77
  """
77
78
  `(integer)` - The minimum value set in the scaling policy.
78
79
  """
@@ -80,7 +81,7 @@ class GetScalingPolicyResult:
80
81
 
81
82
  @property
82
83
  @pulumi.getter
83
- def policy(self) -> str:
84
+ def policy(self) -> builtins.str:
84
85
  """
85
86
  `(string)` - The policy inside the scaling policy.
86
87
  """
@@ -88,7 +89,7 @@ class GetScalingPolicyResult:
88
89
 
89
90
  @property
90
91
  @pulumi.getter
91
- def target(self) -> Mapping[str, str]:
92
+ def target(self) -> Mapping[str, builtins.str]:
92
93
  """
93
94
  `(map[string]string)` - The scaling policy target.
94
95
  """
@@ -96,7 +97,7 @@ class GetScalingPolicyResult:
96
97
 
97
98
  @property
98
99
  @pulumi.getter
99
- def type(self) -> str:
100
+ def type(self) -> builtins.str:
100
101
  """
101
102
  `(string)` - The scaling policy type.
102
103
  """
@@ -118,7 +119,7 @@ class AwaitableGetScalingPolicyResult(GetScalingPolicyResult):
118
119
  type=self.type)
119
120
 
120
121
 
121
- def get_scaling_policy(id: Optional[str] = None,
122
+ def get_scaling_policy(id: Optional[builtins.str] = None,
122
123
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScalingPolicyResult:
123
124
  """
124
125
  Retrieve a Scaling Policy.
@@ -133,7 +134,7 @@ def get_scaling_policy(id: Optional[str] = None,
133
134
  ```
134
135
 
135
136
 
136
- :param str id: `(string: <required>)` - The ID of the scaling policy.
137
+ :param builtins.str id: `(string: <required>)` - The ID of the scaling policy.
137
138
  """
138
139
  __args__ = dict()
139
140
  __args__['id'] = id
@@ -148,7 +149,7 @@ def get_scaling_policy(id: Optional[str] = None,
148
149
  policy=pulumi.get(__ret__, 'policy'),
149
150
  target=pulumi.get(__ret__, 'target'),
150
151
  type=pulumi.get(__ret__, 'type'))
151
- def get_scaling_policy_output(id: Optional[pulumi.Input[str]] = None,
152
+ def get_scaling_policy_output(id: Optional[pulumi.Input[builtins.str]] = None,
152
153
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScalingPolicyResult]:
153
154
  """
154
155
  Retrieve a Scaling Policy.
@@ -163,7 +164,7 @@ def get_scaling_policy_output(id: Optional[pulumi.Input[str]] = None,
163
164
  ```
164
165
 
165
166
 
166
- :param str id: `(string: <required>)` - The ID of the scaling policy.
167
+ :param builtins.str id: `(string: <required>)` - The ID of the scaling policy.
167
168
  """
168
169
  __args__ = dict()
169
170
  __args__['id'] = 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 GetSchedulerPolicyResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter
45
- def id(self) -> str:
46
+ def id(self) -> builtins.str:
46
47
  """
47
48
  The provider-assigned unique ID for this managed resource.
48
49
  """
@@ -50,7 +51,7 @@ class GetSchedulerPolicyResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter(name="memoryOversubscriptionEnabled")
53
- def memory_oversubscription_enabled(self) -> bool:
54
+ def memory_oversubscription_enabled(self) -> builtins.bool:
54
55
  """
55
56
  `(bool: false)` - When `true`, tasks may exceed their reserved memory limit.
56
57
  """
@@ -58,7 +59,7 @@ class GetSchedulerPolicyResult:
58
59
 
59
60
  @property
60
61
  @pulumi.getter(name="preemptionConfig")
61
- def preemption_config(self) -> Mapping[str, bool]:
62
+ def preemption_config(self) -> Mapping[str, builtins.bool]:
62
63
  """
63
64
  `(map[string]bool)` - Options to enable preemption for various schedulers.
64
65
  """
@@ -66,7 +67,7 @@ class GetSchedulerPolicyResult:
66
67
 
67
68
  @property
68
69
  @pulumi.getter(name="schedulerAlgorithm")
69
- def scheduler_algorithm(self) -> str:
70
+ def scheduler_algorithm(self) -> builtins.str:
70
71
  """
71
72
  `(string)` - Specifies whether scheduler binpacks or spreads allocations on available nodes.
72
73
  """
@@ -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 GetVariableResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter
45
- def id(self) -> str:
46
+ def id(self) -> builtins.str:
46
47
  """
47
48
  The provider-assigned unique ID for this managed resource.
48
49
  """
@@ -50,7 +51,7 @@ class GetVariableResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter
53
- def items(self) -> Mapping[str, str]:
54
+ def items(self) -> Mapping[str, builtins.str]:
54
55
  """
55
56
  `(map[string]string)` - Map of items in the variable.
56
57
  """
@@ -58,7 +59,7 @@ class GetVariableResult:
58
59
 
59
60
  @property
60
61
  @pulumi.getter
61
- def namespace(self) -> Optional[str]:
62
+ def namespace(self) -> Optional[builtins.str]:
62
63
  """
63
64
  `(string)` - The namespace in which the variable exists.
64
65
  """
@@ -66,7 +67,7 @@ class GetVariableResult:
66
67
 
67
68
  @property
68
69
  @pulumi.getter
69
- def path(self) -> str:
70
+ def path(self) -> builtins.str:
70
71
  """
71
72
  `(string)` - The path at which the variable exists.
72
73
  """
@@ -85,8 +86,8 @@ class AwaitableGetVariableResult(GetVariableResult):
85
86
  path=self.path)
86
87
 
87
88
 
88
- def get_variable(namespace: Optional[str] = None,
89
- path: Optional[str] = None,
89
+ def get_variable(namespace: Optional[builtins.str] = None,
90
+ path: Optional[builtins.str] = None,
90
91
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVariableResult:
91
92
  """
92
93
  ## Example Usage
@@ -99,8 +100,8 @@ def get_variable(namespace: Optional[str] = None,
99
100
  ```
100
101
 
101
102
 
102
- :param str namespace: `(string: "default")` - The namepsace in which the variable exists.
103
- :param str path: `(string)` - Path to the existing variable.
103
+ :param builtins.str namespace: `(string: "default")` - The namepsace in which the variable exists.
104
+ :param builtins.str path: `(string)` - Path to the existing variable.
104
105
  """
105
106
  __args__ = dict()
106
107
  __args__['namespace'] = namespace
@@ -113,8 +114,8 @@ def get_variable(namespace: Optional[str] = None,
113
114
  items=pulumi.get(__ret__, 'items'),
114
115
  namespace=pulumi.get(__ret__, 'namespace'),
115
116
  path=pulumi.get(__ret__, 'path'))
116
- def get_variable_output(namespace: Optional[pulumi.Input[Optional[str]]] = None,
117
- path: Optional[pulumi.Input[str]] = None,
117
+ def get_variable_output(namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
118
+ path: Optional[pulumi.Input[builtins.str]] = None,
118
119
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVariableResult]:
119
120
  """
120
121
  ## Example Usage
@@ -127,8 +128,8 @@ def get_variable_output(namespace: Optional[pulumi.Input[Optional[str]]] = None,
127
128
  ```
128
129
 
129
130
 
130
- :param str namespace: `(string: "default")` - The namepsace in which the variable exists.
131
- :param str path: `(string)` - Path to the existing variable.
131
+ :param builtins.str namespace: `(string: "default")` - The namepsace in which the variable exists.
132
+ :param builtins.str path: `(string)` - Path to the existing variable.
132
133
  """
133
134
  __args__ = dict()
134
135
  __args__['namespace'] = namespace
@@ -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
@@ -48,7 +49,7 @@ class GetVolumesResult:
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
  """
@@ -56,7 +57,7 @@ class GetVolumesResult:
56
57
 
57
58
  @property
58
59
  @pulumi.getter
59
- def namespace(self) -> Optional[str]:
60
+ def namespace(self) -> Optional[builtins.str]:
60
61
  """
61
62
  `string` Volume namespace.
62
63
  """
@@ -64,22 +65,22 @@ class GetVolumesResult:
64
65
 
65
66
  @property
66
67
  @pulumi.getter(name="nodeId")
67
- def node_id(self) -> Optional[str]:
68
+ def node_id(self) -> Optional[builtins.str]:
68
69
  return pulumi.get(self, "node_id")
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="pluginId")
72
- def plugin_id(self) -> Optional[str]:
73
+ def plugin_id(self) -> Optional[builtins.str]:
73
74
  return pulumi.get(self, "plugin_id")
74
75
 
75
76
  @property
76
77
  @pulumi.getter
77
- def type(self) -> Optional[str]:
78
+ def type(self) -> Optional[builtins.str]:
78
79
  return pulumi.get(self, "type")
79
80
 
80
81
  @property
81
82
  @pulumi.getter
82
- def volumes(self) -> Sequence[Mapping[str, str]]:
83
+ def volumes(self) -> Sequence[Mapping[str, builtins.str]]:
83
84
  """
84
85
  `list of maps` a list of volumes in the cluster.
85
86
  """
@@ -100,10 +101,10 @@ class AwaitableGetVolumesResult(GetVolumesResult):
100
101
  volumes=self.volumes)
101
102
 
102
103
 
103
- def get_volumes(namespace: Optional[str] = None,
104
- node_id: Optional[str] = None,
105
- plugin_id: Optional[str] = None,
106
- type: Optional[str] = None,
104
+ def get_volumes(namespace: Optional[builtins.str] = None,
105
+ node_id: Optional[builtins.str] = None,
106
+ plugin_id: Optional[builtins.str] = None,
107
+ type: Optional[builtins.str] = None,
107
108
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumesResult:
108
109
  """
109
110
  Retrieve a list of volumes in Nomad.
@@ -118,10 +119,10 @@ def get_volumes(namespace: Optional[str] = None,
118
119
  ```
119
120
 
120
121
 
121
- :param str namespace: `(string: "default")` Nomad namespace.
122
- :param str node_id: `(string: optional)` Volume node filter.
123
- :param str plugin_id: `(string: optional)` Plugin ID filter.
124
- :param str type: `(string: "csi")` Volume type (currently only supports `csi`)
122
+ :param builtins.str namespace: `(string: "default")` Nomad namespace.
123
+ :param builtins.str node_id: `(string: optional)` Volume node filter.
124
+ :param builtins.str plugin_id: `(string: optional)` Plugin ID filter.
125
+ :param builtins.str type: `(string: "csi")` Volume type (currently only supports `csi`)
125
126
  """
126
127
  __args__ = dict()
127
128
  __args__['namespace'] = namespace
@@ -138,10 +139,10 @@ def get_volumes(namespace: Optional[str] = None,
138
139
  plugin_id=pulumi.get(__ret__, 'plugin_id'),
139
140
  type=pulumi.get(__ret__, 'type'),
140
141
  volumes=pulumi.get(__ret__, 'volumes'))
141
- def get_volumes_output(namespace: Optional[pulumi.Input[Optional[str]]] = None,
142
- node_id: Optional[pulumi.Input[Optional[str]]] = None,
143
- plugin_id: Optional[pulumi.Input[Optional[str]]] = None,
144
- type: Optional[pulumi.Input[Optional[str]]] = None,
142
+ def get_volumes_output(namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
143
+ node_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
144
+ plugin_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
145
+ type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
145
146
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumesResult]:
146
147
  """
147
148
  Retrieve a list of volumes in Nomad.
@@ -156,10 +157,10 @@ def get_volumes_output(namespace: Optional[pulumi.Input[Optional[str]]] = None,
156
157
  ```
157
158
 
158
159
 
159
- :param str namespace: `(string: "default")` Nomad namespace.
160
- :param str node_id: `(string: optional)` Volume node filter.
161
- :param str plugin_id: `(string: optional)` Plugin ID filter.
162
- :param str type: `(string: "csi")` Volume type (currently only supports `csi`)
160
+ :param builtins.str namespace: `(string: "default")` Nomad namespace.
161
+ :param builtins.str node_id: `(string: optional)` Volume node filter.
162
+ :param builtins.str plugin_id: `(string: optional)` Plugin ID filter.
163
+ :param builtins.str type: `(string: "csi")` Volume type (currently only supports `csi`)
163
164
  """
164
165
  __args__ = dict()
165
166
  __args__['namespace'] = namespace