pulumi-nomad 2.4.3__py3-none-any.whl → 2.5.0__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 +20 -0
- pulumi_nomad/_inputs.py +1056 -378
- pulumi_nomad/acl_auth_method.py +85 -84
- pulumi_nomad/acl_binding_rule.py +71 -70
- pulumi_nomad/acl_policy.py +57 -49
- pulumi_nomad/acl_role.py +29 -28
- pulumi_nomad/acl_token.py +99 -98
- pulumi_nomad/config/__init__.py +1 -0
- pulumi_nomad/config/__init__.pyi +1 -10
- pulumi_nomad/config/outputs.py +7 -6
- pulumi_nomad/config/vars.py +1 -14
- pulumi_nomad/csi_volume.py +231 -202
- pulumi_nomad/csi_volume_registration.py +210 -209
- pulumi_nomad/dynamic_host_volume.py +1005 -0
- pulumi_nomad/dynamic_host_volume_registration.py +740 -0
- pulumi_nomad/external_volume.py +195 -194
- pulumi_nomad/get_acl_policies.py +7 -6
- pulumi_nomad/get_acl_policy.py +9 -8
- pulumi_nomad/get_acl_role.py +8 -7
- pulumi_nomad/get_acl_roles.py +7 -6
- pulumi_nomad/get_acl_token.py +15 -14
- pulumi_nomad/get_acl_tokens.py +7 -6
- pulumi_nomad/get_allocations.py +17 -16
- pulumi_nomad/get_datacenters.py +13 -12
- pulumi_nomad/get_deployments.py +3 -2
- pulumi_nomad/get_dynamic_host_volume.py +353 -0
- pulumi_nomad/get_job.py +28 -27
- pulumi_nomad/get_job_parser.py +13 -12
- pulumi_nomad/get_jwks.py +3 -2
- pulumi_nomad/get_namespace.py +10 -9
- pulumi_nomad/get_namespaces.py +3 -2
- pulumi_nomad/get_node_pool.py +9 -8
- pulumi_nomad/get_node_pools.py +12 -11
- pulumi_nomad/get_plugin.py +24 -23
- pulumi_nomad/get_plugins.py +6 -5
- pulumi_nomad/get_regions.py +3 -2
- pulumi_nomad/get_scaling_policies.py +12 -11
- pulumi_nomad/get_scaling_policy.py +12 -11
- pulumi_nomad/get_scheduler_policy.py +5 -4
- pulumi_nomad/get_variable.py +13 -12
- pulumi_nomad/get_volumes.py +23 -22
- pulumi_nomad/job.py +193 -302
- pulumi_nomad/namespace.py +57 -56
- pulumi_nomad/node_pool.py +43 -42
- pulumi_nomad/outputs.py +1030 -451
- pulumi_nomad/provider.py +95 -152
- pulumi_nomad/pulumi-plugin.json +1 -1
- pulumi_nomad/quote_specification.py +29 -28
- pulumi_nomad/scheduler_config.py +43 -42
- pulumi_nomad/sentinel_policy.py +71 -70
- pulumi_nomad/variable.py +43 -42
- pulumi_nomad/volume.py +209 -208
- {pulumi_nomad-2.4.3.dist-info → pulumi_nomad-2.5.0.dist-info}/METADATA +2 -2
- pulumi_nomad-2.5.0.dist-info/RECORD +58 -0
- {pulumi_nomad-2.4.3.dist-info → pulumi_nomad-2.5.0.dist-info}/WHEEL +1 -1
- pulumi_nomad-2.4.3.dist-info/RECORD +0 -55
- {pulumi_nomad-2.4.3.dist-info → pulumi_nomad-2.5.0.dist-info}/top_level.txt +0 -0
pulumi_nomad/get_namespace.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
|
@@ -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
|
pulumi_nomad/get_namespaces.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
|
@@ -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
|
"""
|
pulumi_nomad/get_node_pool.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
|
@@ -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
|
pulumi_nomad/get_node_pools.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
|
@@ -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()
|
pulumi_nomad/get_plugin.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
|
@@ -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
|
pulumi_nomad/get_plugins.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
|
@@ -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.
|
pulumi_nomad/get_regions.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
|
@@ -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
|