pulumi-nomad 2.6.0a1753337858__py3-none-any.whl → 2.6.0a1753510487__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_nomad/__init__.py +1 -1
- pulumi_nomad/_inputs.py +608 -609
- pulumi_nomad/acl_auth_method.py +106 -107
- pulumi_nomad/acl_binding_rule.py +86 -87
- pulumi_nomad/acl_policy.py +55 -56
- pulumi_nomad/acl_role.py +38 -39
- pulumi_nomad/acl_token.py +125 -126
- pulumi_nomad/config/__init__.py +1 -1
- pulumi_nomad/config/__init__.pyi +1 -2
- pulumi_nomad/config/outputs.py +9 -10
- pulumi_nomad/config/vars.py +14 -15
- pulumi_nomad/csi_volume.py +277 -278
- pulumi_nomad/csi_volume_registration.py +276 -277
- pulumi_nomad/dynamic_host_volume.py +191 -192
- pulumi_nomad/dynamic_host_volume_registration.py +156 -157
- pulumi_nomad/external_volume.py +255 -256
- pulumi_nomad/get_acl_policies.py +10 -11
- pulumi_nomad/get_acl_policy.py +13 -14
- pulumi_nomad/get_acl_role.py +12 -13
- pulumi_nomad/get_acl_roles.py +10 -11
- pulumi_nomad/get_acl_token.py +26 -27
- pulumi_nomad/get_acl_tokens.py +10 -11
- pulumi_nomad/get_allocations.py +22 -23
- pulumi_nomad/get_datacenters.py +17 -18
- pulumi_nomad/get_deployments.py +5 -6
- pulumi_nomad/get_dynamic_host_volume.py +41 -42
- pulumi_nomad/get_job.py +50 -51
- pulumi_nomad/get_job_parser.py +17 -18
- pulumi_nomad/get_jwks.py +6 -7
- pulumi_nomad/get_namespace.py +17 -18
- pulumi_nomad/get_namespaces.py +5 -6
- pulumi_nomad/get_node_pool.py +14 -15
- pulumi_nomad/get_node_pools.py +16 -17
- pulumi_nomad/get_plugin.py +36 -37
- pulumi_nomad/get_plugins.py +9 -10
- pulumi_nomad/get_regions.py +5 -6
- pulumi_nomad/get_scaling_policies.py +16 -17
- pulumi_nomad/get_scaling_policy.py +19 -20
- pulumi_nomad/get_scheduler_policy.py +9 -10
- pulumi_nomad/get_variable.py +17 -18
- pulumi_nomad/get_volumes.py +29 -30
- pulumi_nomad/job.py +245 -246
- pulumi_nomad/namespace.py +75 -76
- pulumi_nomad/node_pool.py +55 -56
- pulumi_nomad/outputs.py +743 -744
- pulumi_nomad/provider.py +119 -120
- pulumi_nomad/pulumi-plugin.json +1 -1
- pulumi_nomad/quote_specification.py +38 -39
- pulumi_nomad/scheduler_config.py +52 -53
- pulumi_nomad/sentinel_policy.py +86 -87
- pulumi_nomad/variable.py +52 -53
- pulumi_nomad/volume.py +272 -273
- {pulumi_nomad-2.6.0a1753337858.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/METADATA +1 -1
- pulumi_nomad-2.6.0a1753510487.dist-info/RECORD +58 -0
- pulumi_nomad-2.6.0a1753337858.dist-info/RECORD +0 -58
- {pulumi_nomad-2.6.0a1753337858.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.6.0a1753337858.dist-info → pulumi_nomad-2.6.0a1753510487.dist-info}/top_level.txt +0 -0
pulumi_nomad/get_job_parser.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,33 +40,33 @@ class GetJobParserResult:
|
|
41
40
|
raise TypeError("Expected argument 'json' to be a str")
|
42
41
|
pulumi.set(__self__, "json", json)
|
43
42
|
|
44
|
-
@property
|
43
|
+
@_builtins.property
|
45
44
|
@pulumi.getter
|
46
|
-
def canonicalize(self) -> Optional[
|
45
|
+
def canonicalize(self) -> Optional[_builtins.bool]:
|
47
46
|
"""
|
48
47
|
`(boolean: true)` - flag to enable setting any unset fields to their default values.
|
49
48
|
"""
|
50
49
|
return pulumi.get(self, "canonicalize")
|
51
50
|
|
52
|
-
@property
|
51
|
+
@_builtins.property
|
53
52
|
@pulumi.getter
|
54
|
-
def hcl(self) ->
|
53
|
+
def hcl(self) -> _builtins.str:
|
55
54
|
"""
|
56
55
|
`(string)` - the HCL definition of the job.
|
57
56
|
"""
|
58
57
|
return pulumi.get(self, "hcl")
|
59
58
|
|
60
|
-
@property
|
59
|
+
@_builtins.property
|
61
60
|
@pulumi.getter
|
62
|
-
def id(self) ->
|
61
|
+
def id(self) -> _builtins.str:
|
63
62
|
"""
|
64
63
|
The provider-assigned unique ID for this managed resource.
|
65
64
|
"""
|
66
65
|
return pulumi.get(self, "id")
|
67
66
|
|
68
|
-
@property
|
67
|
+
@_builtins.property
|
69
68
|
@pulumi.getter
|
70
|
-
def json(self) ->
|
69
|
+
def json(self) -> _builtins.str:
|
71
70
|
"""
|
72
71
|
`(string)` - the parsed job as JSON string.
|
73
72
|
"""
|
@@ -86,15 +85,15 @@ class AwaitableGetJobParserResult(GetJobParserResult):
|
|
86
85
|
json=self.json)
|
87
86
|
|
88
87
|
|
89
|
-
def get_job_parser(canonicalize: Optional[
|
90
|
-
hcl: Optional[
|
88
|
+
def get_job_parser(canonicalize: Optional[_builtins.bool] = None,
|
89
|
+
hcl: Optional[_builtins.str] = None,
|
91
90
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetJobParserResult:
|
92
91
|
"""
|
93
92
|
Parse a HCL jobspec and produce the equivalent JSON encoded job.
|
94
93
|
|
95
94
|
|
96
|
-
:param
|
97
|
-
:param
|
95
|
+
:param _builtins.bool canonicalize: `(boolean: true)` - flag to enable setting any unset fields to their default values.
|
96
|
+
:param _builtins.str hcl: `(string)` - the HCL definition of the job.
|
98
97
|
"""
|
99
98
|
__args__ = dict()
|
100
99
|
__args__['canonicalize'] = canonicalize
|
@@ -107,15 +106,15 @@ def get_job_parser(canonicalize: Optional[builtins.bool] = None,
|
|
107
106
|
hcl=pulumi.get(__ret__, 'hcl'),
|
108
107
|
id=pulumi.get(__ret__, 'id'),
|
109
108
|
json=pulumi.get(__ret__, 'json'))
|
110
|
-
def get_job_parser_output(canonicalize: Optional[pulumi.Input[Optional[
|
111
|
-
hcl: Optional[pulumi.Input[
|
109
|
+
def get_job_parser_output(canonicalize: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
110
|
+
hcl: Optional[pulumi.Input[_builtins.str]] = None,
|
112
111
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetJobParserResult]:
|
113
112
|
"""
|
114
113
|
Parse a HCL jobspec and produce the equivalent JSON encoded job.
|
115
114
|
|
116
115
|
|
117
|
-
:param
|
118
|
-
:param
|
116
|
+
:param _builtins.bool canonicalize: `(boolean: true)` - flag to enable setting any unset fields to their default values.
|
117
|
+
:param _builtins.str hcl: `(string)` - the HCL definition of the job.
|
119
118
|
"""
|
120
119
|
__args__ = dict()
|
121
120
|
__args__['canonicalize'] = canonicalize
|
pulumi_nomad/get_jwks.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
|
@@ -39,15 +38,15 @@ class GetJwksResult:
|
|
39
38
|
raise TypeError("Expected argument 'pem_keys' to be a list")
|
40
39
|
pulumi.set(__self__, "pem_keys", pem_keys)
|
41
40
|
|
42
|
-
@property
|
41
|
+
@_builtins.property
|
43
42
|
@pulumi.getter
|
44
|
-
def id(self) ->
|
43
|
+
def id(self) -> _builtins.str:
|
45
44
|
"""
|
46
45
|
The provider-assigned unique ID for this managed resource.
|
47
46
|
"""
|
48
47
|
return pulumi.get(self, "id")
|
49
48
|
|
50
|
-
@property
|
49
|
+
@_builtins.property
|
51
50
|
@pulumi.getter
|
52
51
|
def keys(self) -> Sequence['outputs.GetJwksKeyResult']:
|
53
52
|
"""
|
@@ -56,9 +55,9 @@ class GetJwksResult:
|
|
56
55
|
"""
|
57
56
|
return pulumi.get(self, "keys")
|
58
57
|
|
59
|
-
@property
|
58
|
+
@_builtins.property
|
60
59
|
@pulumi.getter(name="pemKeys")
|
61
|
-
def pem_keys(self) -> Sequence[
|
60
|
+
def pem_keys(self) -> Sequence[_builtins.str]:
|
62
61
|
"""
|
63
62
|
`list of strings` a list JWK keys rendered as PEM-encoded X.509 keys
|
64
63
|
"""
|
pulumi_nomad/get_namespace.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
|
@@ -51,7 +50,7 @@ class GetNamespaceResult:
|
|
51
50
|
raise TypeError("Expected argument 'quota' to be a str")
|
52
51
|
pulumi.set(__self__, "quota", quota)
|
53
52
|
|
54
|
-
@property
|
53
|
+
@_builtins.property
|
55
54
|
@pulumi.getter
|
56
55
|
def capabilities(self) -> Sequence['outputs.GetNamespaceCapabilityResult']:
|
57
56
|
"""
|
@@ -59,43 +58,43 @@ class GetNamespaceResult:
|
|
59
58
|
"""
|
60
59
|
return pulumi.get(self, "capabilities")
|
61
60
|
|
62
|
-
@property
|
61
|
+
@_builtins.property
|
63
62
|
@pulumi.getter
|
64
|
-
def description(self) ->
|
63
|
+
def description(self) -> _builtins.str:
|
65
64
|
"""
|
66
65
|
`(string)` - The description of the namespace.
|
67
66
|
"""
|
68
67
|
return pulumi.get(self, "description")
|
69
68
|
|
70
|
-
@property
|
69
|
+
@_builtins.property
|
71
70
|
@pulumi.getter
|
72
|
-
def id(self) ->
|
71
|
+
def id(self) -> _builtins.str:
|
73
72
|
"""
|
74
73
|
The provider-assigned unique ID for this managed resource.
|
75
74
|
"""
|
76
75
|
return pulumi.get(self, "id")
|
77
76
|
|
78
|
-
@property
|
77
|
+
@_builtins.property
|
79
78
|
@pulumi.getter
|
80
|
-
def meta(self) -> Mapping[str,
|
79
|
+
def meta(self) -> Mapping[str, _builtins.str]:
|
81
80
|
"""
|
82
81
|
`(map[string]string)` - Arbitrary KV metadata associated with the namespace.
|
83
82
|
"""
|
84
83
|
return pulumi.get(self, "meta")
|
85
84
|
|
86
|
-
@property
|
85
|
+
@_builtins.property
|
87
86
|
@pulumi.getter
|
88
|
-
def name(self) ->
|
87
|
+
def name(self) -> _builtins.str:
|
89
88
|
return pulumi.get(self, "name")
|
90
89
|
|
91
|
-
@property
|
90
|
+
@_builtins.property
|
92
91
|
@pulumi.getter(name="nodePoolConfigs")
|
93
92
|
def node_pool_configs(self) -> Sequence['outputs.GetNamespaceNodePoolConfigResult']:
|
94
93
|
return pulumi.get(self, "node_pool_configs")
|
95
94
|
|
96
|
-
@property
|
95
|
+
@_builtins.property
|
97
96
|
@pulumi.getter
|
98
|
-
def quota(self) ->
|
97
|
+
def quota(self) -> _builtins.str:
|
99
98
|
"""
|
100
99
|
`(string)` - The quota associated with the namespace.
|
101
100
|
"""
|
@@ -117,7 +116,7 @@ class AwaitableGetNamespaceResult(GetNamespaceResult):
|
|
117
116
|
quota=self.quota)
|
118
117
|
|
119
118
|
|
120
|
-
def get_namespace(name: Optional[
|
119
|
+
def get_namespace(name: Optional[_builtins.str] = None,
|
121
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceResult:
|
122
121
|
"""
|
123
122
|
Get information about a namespace in Nomad.
|
@@ -132,7 +131,7 @@ def get_namespace(name: Optional[builtins.str] = None,
|
|
132
131
|
```
|
133
132
|
|
134
133
|
|
135
|
-
:param
|
134
|
+
:param _builtins.str name: `(string)` - The name of the namespace.
|
136
135
|
"""
|
137
136
|
__args__ = dict()
|
138
137
|
__args__['name'] = name
|
@@ -147,7 +146,7 @@ def get_namespace(name: Optional[builtins.str] = None,
|
|
147
146
|
name=pulumi.get(__ret__, 'name'),
|
148
147
|
node_pool_configs=pulumi.get(__ret__, 'node_pool_configs'),
|
149
148
|
quota=pulumi.get(__ret__, 'quota'))
|
150
|
-
def get_namespace_output(name: Optional[pulumi.Input[
|
149
|
+
def get_namespace_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
151
150
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNamespaceResult]:
|
152
151
|
"""
|
153
152
|
Get information about a namespace in Nomad.
|
@@ -162,7 +161,7 @@ def get_namespace_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
162
161
|
```
|
163
162
|
|
164
163
|
|
165
|
-
:param
|
164
|
+
:param _builtins.str name: `(string)` - The name of the namespace.
|
166
165
|
"""
|
167
166
|
__args__ = dict()
|
168
167
|
__args__['name'] = name
|
pulumi_nomad/get_namespaces.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,17 +34,17 @@ class GetNamespacesResult:
|
|
35
34
|
raise TypeError("Expected argument 'namespaces' to be a list")
|
36
35
|
pulumi.set(__self__, "namespaces", namespaces)
|
37
36
|
|
38
|
-
@property
|
37
|
+
@_builtins.property
|
39
38
|
@pulumi.getter
|
40
|
-
def id(self) ->
|
39
|
+
def id(self) -> _builtins.str:
|
41
40
|
"""
|
42
41
|
The provider-assigned unique ID for this managed resource.
|
43
42
|
"""
|
44
43
|
return pulumi.get(self, "id")
|
45
44
|
|
46
|
-
@property
|
45
|
+
@_builtins.property
|
47
46
|
@pulumi.getter
|
48
|
-
def namespaces(self) -> Sequence[
|
47
|
+
def namespaces(self) -> Sequence[_builtins.str]:
|
49
48
|
"""
|
50
49
|
`(list of strings)` - a list of namespaces available in the cluster.
|
51
50
|
"""
|
pulumi_nomad/get_node_pool.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
|
@@ -45,37 +44,37 @@ class GetNodePoolResult:
|
|
45
44
|
raise TypeError("Expected argument 'scheduler_configs' to be a list")
|
46
45
|
pulumi.set(__self__, "scheduler_configs", scheduler_configs)
|
47
46
|
|
48
|
-
@property
|
47
|
+
@_builtins.property
|
49
48
|
@pulumi.getter
|
50
|
-
def description(self) ->
|
49
|
+
def description(self) -> _builtins.str:
|
51
50
|
"""
|
52
51
|
`(string)` - The description of the node pool.
|
53
52
|
"""
|
54
53
|
return pulumi.get(self, "description")
|
55
54
|
|
56
|
-
@property
|
55
|
+
@_builtins.property
|
57
56
|
@pulumi.getter
|
58
|
-
def id(self) ->
|
57
|
+
def id(self) -> _builtins.str:
|
59
58
|
"""
|
60
59
|
The provider-assigned unique ID for this managed resource.
|
61
60
|
"""
|
62
61
|
return pulumi.get(self, "id")
|
63
62
|
|
64
|
-
@property
|
63
|
+
@_builtins.property
|
65
64
|
@pulumi.getter
|
66
|
-
def meta(self) -> Mapping[str,
|
65
|
+
def meta(self) -> Mapping[str, _builtins.str]:
|
67
66
|
"""
|
68
67
|
`(map[string]string)` - Arbitrary KV metadata associated with the
|
69
68
|
node pool.
|
70
69
|
"""
|
71
70
|
return pulumi.get(self, "meta")
|
72
71
|
|
73
|
-
@property
|
72
|
+
@_builtins.property
|
74
73
|
@pulumi.getter
|
75
|
-
def name(self) ->
|
74
|
+
def name(self) -> _builtins.str:
|
76
75
|
return pulumi.get(self, "name")
|
77
76
|
|
78
|
-
@property
|
77
|
+
@_builtins.property
|
79
78
|
@pulumi.getter(name="schedulerConfigs")
|
80
79
|
def scheduler_configs(self) -> Sequence['outputs.GetNodePoolSchedulerConfigResult']:
|
81
80
|
"""
|
@@ -97,7 +96,7 @@ class AwaitableGetNodePoolResult(GetNodePoolResult):
|
|
97
96
|
scheduler_configs=self.scheduler_configs)
|
98
97
|
|
99
98
|
|
100
|
-
def get_node_pool(name: Optional[
|
99
|
+
def get_node_pool(name: Optional[_builtins.str] = None,
|
101
100
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodePoolResult:
|
102
101
|
"""
|
103
102
|
Get information about a node pool in Nomad.
|
@@ -112,7 +111,7 @@ def get_node_pool(name: Optional[builtins.str] = None,
|
|
112
111
|
```
|
113
112
|
|
114
113
|
|
115
|
-
:param
|
114
|
+
:param _builtins.str name: `(string)` - The name of the node pool to fetch.
|
116
115
|
"""
|
117
116
|
__args__ = dict()
|
118
117
|
__args__['name'] = name
|
@@ -125,7 +124,7 @@ def get_node_pool(name: Optional[builtins.str] = None,
|
|
125
124
|
meta=pulumi.get(__ret__, 'meta'),
|
126
125
|
name=pulumi.get(__ret__, 'name'),
|
127
126
|
scheduler_configs=pulumi.get(__ret__, 'scheduler_configs'))
|
128
|
-
def get_node_pool_output(name: Optional[pulumi.Input[
|
127
|
+
def get_node_pool_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
129
128
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodePoolResult]:
|
130
129
|
"""
|
131
130
|
Get information about a node pool in Nomad.
|
@@ -140,7 +139,7 @@ def get_node_pool_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
140
139
|
```
|
141
140
|
|
142
141
|
|
143
|
-
:param
|
142
|
+
:param _builtins.str name: `(string)` - The name of the node pool to fetch.
|
144
143
|
"""
|
145
144
|
__args__ = dict()
|
146
145
|
__args__['name'] = name
|
pulumi_nomad/get_node_pools.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
|
@@ -42,20 +41,20 @@ class GetNodePoolsResult:
|
|
42
41
|
raise TypeError("Expected argument 'prefix' to be a str")
|
43
42
|
pulumi.set(__self__, "prefix", prefix)
|
44
43
|
|
45
|
-
@property
|
44
|
+
@_builtins.property
|
46
45
|
@pulumi.getter
|
47
|
-
def filter(self) -> Optional[
|
46
|
+
def filter(self) -> Optional[_builtins.str]:
|
48
47
|
return pulumi.get(self, "filter")
|
49
48
|
|
50
|
-
@property
|
49
|
+
@_builtins.property
|
51
50
|
@pulumi.getter
|
52
|
-
def id(self) ->
|
51
|
+
def id(self) -> _builtins.str:
|
53
52
|
"""
|
54
53
|
The provider-assigned unique ID for this managed resource.
|
55
54
|
"""
|
56
55
|
return pulumi.get(self, "id")
|
57
56
|
|
58
|
-
@property
|
57
|
+
@_builtins.property
|
59
58
|
@pulumi.getter(name="nodePools")
|
60
59
|
def node_pools(self) -> Sequence['outputs.GetNodePoolsNodePoolResult']:
|
61
60
|
"""
|
@@ -64,9 +63,9 @@ class GetNodePoolsResult:
|
|
64
63
|
"""
|
65
64
|
return pulumi.get(self, "node_pools")
|
66
65
|
|
67
|
-
@property
|
66
|
+
@_builtins.property
|
68
67
|
@pulumi.getter
|
69
|
-
def prefix(self) -> Optional[
|
68
|
+
def prefix(self) -> Optional[_builtins.str]:
|
70
69
|
return pulumi.get(self, "prefix")
|
71
70
|
|
72
71
|
|
@@ -82,8 +81,8 @@ class AwaitableGetNodePoolsResult(GetNodePoolsResult):
|
|
82
81
|
prefix=self.prefix)
|
83
82
|
|
84
83
|
|
85
|
-
def get_node_pools(filter: Optional[
|
86
|
-
prefix: Optional[
|
84
|
+
def get_node_pools(filter: Optional[_builtins.str] = None,
|
85
|
+
prefix: Optional[_builtins.str] = None,
|
87
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodePoolsResult:
|
88
87
|
"""
|
89
88
|
Retrieve a list of node pools available in Nomad.
|
@@ -98,9 +97,9 @@ def get_node_pools(filter: Optional[builtins.str] = None,
|
|
98
97
|
```
|
99
98
|
|
100
99
|
|
101
|
-
:param
|
100
|
+
:param _builtins.str filter: `(string)` - Specifies the [expression][nomad_api_filter] used to
|
102
101
|
filter the results.
|
103
|
-
:param
|
102
|
+
:param _builtins.str prefix: `(string)` - Specifies a string to filter node pools based on a name
|
104
103
|
prefix.
|
105
104
|
"""
|
106
105
|
__args__ = dict()
|
@@ -114,8 +113,8 @@ def get_node_pools(filter: Optional[builtins.str] = None,
|
|
114
113
|
id=pulumi.get(__ret__, 'id'),
|
115
114
|
node_pools=pulumi.get(__ret__, 'node_pools'),
|
116
115
|
prefix=pulumi.get(__ret__, 'prefix'))
|
117
|
-
def get_node_pools_output(filter: Optional[pulumi.Input[Optional[
|
118
|
-
prefix: Optional[pulumi.Input[Optional[
|
116
|
+
def get_node_pools_output(filter: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
117
|
+
prefix: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
119
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodePoolsResult]:
|
120
119
|
"""
|
121
120
|
Retrieve a list of node pools available in Nomad.
|
@@ -130,9 +129,9 @@ def get_node_pools_output(filter: Optional[pulumi.Input[Optional[builtins.str]]]
|
|
130
129
|
```
|
131
130
|
|
132
131
|
|
133
|
-
:param
|
132
|
+
:param _builtins.str filter: `(string)` - Specifies the [expression][nomad_api_filter] used to
|
134
133
|
filter the results.
|
135
|
-
:param
|
134
|
+
:param _builtins.str prefix: `(string)` - Specifies a string to filter node pools based on a name
|
136
135
|
prefix.
|
137
136
|
"""
|
138
137
|
__args__ = dict()
|
pulumi_nomad/get_plugin.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
|
@@ -66,91 +65,91 @@ class GetPluginResult:
|
|
66
65
|
raise TypeError("Expected argument 'wait_for_registration' to be a bool")
|
67
66
|
pulumi.set(__self__, "wait_for_registration", wait_for_registration)
|
68
67
|
|
69
|
-
@property
|
68
|
+
@_builtins.property
|
70
69
|
@pulumi.getter(name="controllerRequired")
|
71
|
-
def controller_required(self) ->
|
70
|
+
def controller_required(self) -> _builtins.bool:
|
72
71
|
"""
|
73
72
|
`(boolean)` Whether a controller is required.
|
74
73
|
"""
|
75
74
|
return pulumi.get(self, "controller_required")
|
76
75
|
|
77
|
-
@property
|
76
|
+
@_builtins.property
|
78
77
|
@pulumi.getter(name="controllersExpected")
|
79
|
-
def controllers_expected(self) ->
|
78
|
+
def controllers_expected(self) -> _builtins.int:
|
80
79
|
"""
|
81
80
|
`(integer)` The number of registered controllers.
|
82
81
|
"""
|
83
82
|
return pulumi.get(self, "controllers_expected")
|
84
83
|
|
85
|
-
@property
|
84
|
+
@_builtins.property
|
86
85
|
@pulumi.getter(name="controllersHealthy")
|
87
|
-
def controllers_healthy(self) ->
|
86
|
+
def controllers_healthy(self) -> _builtins.int:
|
88
87
|
"""
|
89
88
|
`(integer)` The number of healthy controllers.
|
90
89
|
"""
|
91
90
|
return pulumi.get(self, "controllers_healthy")
|
92
91
|
|
93
|
-
@property
|
92
|
+
@_builtins.property
|
94
93
|
@pulumi.getter
|
95
|
-
def id(self) ->
|
94
|
+
def id(self) -> _builtins.str:
|
96
95
|
"""
|
97
96
|
The provider-assigned unique ID for this managed resource.
|
98
97
|
"""
|
99
98
|
return pulumi.get(self, "id")
|
100
99
|
|
101
|
-
@property
|
100
|
+
@_builtins.property
|
102
101
|
@pulumi.getter
|
103
102
|
def nodes(self) -> Sequence['outputs.GetPluginNodeResult']:
|
104
103
|
return pulumi.get(self, "nodes")
|
105
104
|
|
106
|
-
@property
|
105
|
+
@_builtins.property
|
107
106
|
@pulumi.getter(name="nodesExpected")
|
108
|
-
def nodes_expected(self) ->
|
107
|
+
def nodes_expected(self) -> _builtins.int:
|
109
108
|
"""
|
110
109
|
`(integer)` The number of registered nodes.
|
111
110
|
"""
|
112
111
|
return pulumi.get(self, "nodes_expected")
|
113
112
|
|
114
|
-
@property
|
113
|
+
@_builtins.property
|
115
114
|
@pulumi.getter(name="nodesHealthy")
|
116
|
-
def nodes_healthy(self) ->
|
115
|
+
def nodes_healthy(self) -> _builtins.int:
|
117
116
|
"""
|
118
117
|
`(integer)` The number of healthy nodes.
|
119
118
|
"""
|
120
119
|
return pulumi.get(self, "nodes_healthy")
|
121
120
|
|
122
|
-
@property
|
121
|
+
@_builtins.property
|
123
122
|
@pulumi.getter(name="pluginId")
|
124
|
-
def plugin_id(self) ->
|
123
|
+
def plugin_id(self) -> _builtins.str:
|
125
124
|
"""
|
126
125
|
`(string)` ID of the plugin
|
127
126
|
"""
|
128
127
|
return pulumi.get(self, "plugin_id")
|
129
128
|
|
130
|
-
@property
|
129
|
+
@_builtins.property
|
131
130
|
@pulumi.getter(name="pluginProvider")
|
132
|
-
def plugin_provider(self) ->
|
131
|
+
def plugin_provider(self) -> _builtins.str:
|
133
132
|
"""
|
134
133
|
`(string)` Plugin provider name
|
135
134
|
"""
|
136
135
|
return pulumi.get(self, "plugin_provider")
|
137
136
|
|
138
|
-
@property
|
137
|
+
@_builtins.property
|
139
138
|
@pulumi.getter(name="pluginProviderVersion")
|
140
|
-
def plugin_provider_version(self) ->
|
139
|
+
def plugin_provider_version(self) -> _builtins.str:
|
141
140
|
"""
|
142
141
|
`(string)` Plugin provider version
|
143
142
|
"""
|
144
143
|
return pulumi.get(self, "plugin_provider_version")
|
145
144
|
|
146
|
-
@property
|
145
|
+
@_builtins.property
|
147
146
|
@pulumi.getter(name="waitForHealthy")
|
148
|
-
def wait_for_healthy(self) -> Optional[
|
147
|
+
def wait_for_healthy(self) -> Optional[_builtins.bool]:
|
149
148
|
return pulumi.get(self, "wait_for_healthy")
|
150
149
|
|
151
|
-
@property
|
150
|
+
@_builtins.property
|
152
151
|
@pulumi.getter(name="waitForRegistration")
|
153
|
-
def wait_for_registration(self) -> Optional[
|
152
|
+
def wait_for_registration(self) -> Optional[_builtins.bool]:
|
154
153
|
return pulumi.get(self, "wait_for_registration")
|
155
154
|
|
156
155
|
|
@@ -174,9 +173,9 @@ class AwaitableGetPluginResult(GetPluginResult):
|
|
174
173
|
wait_for_registration=self.wait_for_registration)
|
175
174
|
|
176
175
|
|
177
|
-
def get_plugin(plugin_id: Optional[
|
178
|
-
wait_for_healthy: Optional[
|
179
|
-
wait_for_registration: Optional[
|
176
|
+
def get_plugin(plugin_id: Optional[_builtins.str] = None,
|
177
|
+
wait_for_healthy: Optional[_builtins.bool] = None,
|
178
|
+
wait_for_registration: Optional[_builtins.bool] = None,
|
180
179
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginResult:
|
181
180
|
"""
|
182
181
|
Lookup a plugin by ID. The aim of this datasource is to determine whether
|
@@ -204,9 +203,9 @@ def get_plugin(plugin_id: Optional[builtins.str] = None,
|
|
204
203
|
is healthy before returning.
|
205
204
|
|
206
205
|
|
207
|
-
:param
|
208
|
-
:param
|
209
|
-
:param
|
206
|
+
:param _builtins.str plugin_id: `(string)` ID of the plugin.
|
207
|
+
:param _builtins.bool wait_for_healthy: `(boolean)` retry until the plugin exists and all controllers are healthy
|
208
|
+
:param _builtins.bool wait_for_registration: `(boolean)` if the plugin doesn't exist, retry until it does
|
210
209
|
"""
|
211
210
|
__args__ = dict()
|
212
211
|
__args__['pluginId'] = plugin_id
|
@@ -228,9 +227,9 @@ def get_plugin(plugin_id: Optional[builtins.str] = None,
|
|
228
227
|
plugin_provider_version=pulumi.get(__ret__, 'plugin_provider_version'),
|
229
228
|
wait_for_healthy=pulumi.get(__ret__, 'wait_for_healthy'),
|
230
229
|
wait_for_registration=pulumi.get(__ret__, 'wait_for_registration'))
|
231
|
-
def get_plugin_output(plugin_id: Optional[pulumi.Input[
|
232
|
-
wait_for_healthy: Optional[pulumi.Input[Optional[
|
233
|
-
wait_for_registration: Optional[pulumi.Input[Optional[
|
230
|
+
def get_plugin_output(plugin_id: Optional[pulumi.Input[_builtins.str]] = None,
|
231
|
+
wait_for_healthy: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
232
|
+
wait_for_registration: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
234
233
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginResult]:
|
235
234
|
"""
|
236
235
|
Lookup a plugin by ID. The aim of this datasource is to determine whether
|
@@ -258,9 +257,9 @@ def get_plugin_output(plugin_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
258
257
|
is healthy before returning.
|
259
258
|
|
260
259
|
|
261
|
-
:param
|
262
|
-
:param
|
263
|
-
:param
|
260
|
+
:param _builtins.str plugin_id: `(string)` ID of the plugin.
|
261
|
+
:param _builtins.bool wait_for_healthy: `(boolean)` retry until the plugin exists and all controllers are healthy
|
262
|
+
:param _builtins.bool wait_for_registration: `(boolean)` if the plugin doesn't exist, retry until it does
|
264
263
|
"""
|
265
264
|
__args__ = dict()
|
266
265
|
__args__['pluginId'] = plugin_id
|