pulumi-nomad 2.5.0a1743574125__py3-none-any.whl → 2.5.0a1744265310__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 -0
- pulumi_nomad/_inputs.py +379 -378
- pulumi_nomad/acl_auth_method.py +85 -84
- pulumi_nomad/acl_binding_rule.py +71 -70
- pulumi_nomad/acl_policy.py +43 -42
- 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 -0
- pulumi_nomad/config/outputs.py +7 -6
- pulumi_nomad/config/vars.py +1 -0
- pulumi_nomad/csi_volume.py +203 -202
- pulumi_nomad/csi_volume_registration.py +210 -209
- 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_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 +221 -220
- pulumi_nomad/namespace.py +57 -56
- pulumi_nomad/node_pool.py +43 -42
- pulumi_nomad/outputs.py +452 -451
- pulumi_nomad/provider.py +111 -110
- 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.5.0a1743574125.dist-info → pulumi_nomad-2.5.0a1744265310.dist-info}/METADATA +1 -1
- pulumi_nomad-2.5.0a1744265310.dist-info/RECORD +55 -0
- pulumi_nomad-2.5.0a1743574125.dist-info/RECORD +0 -55
- {pulumi_nomad-2.5.0a1743574125.dist-info → pulumi_nomad-2.5.0a1744265310.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.5.0a1743574125.dist-info → pulumi_nomad-2.5.0a1744265310.dist-info}/top_level.txt +0 -0
pulumi_nomad/acl_auth_method.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
|
@@ -22,27 +23,27 @@ __all__ = ['AclAuthMethodArgs', 'AclAuthMethod']
|
|
22
23
|
class AclAuthMethodArgs:
|
23
24
|
def __init__(__self__, *,
|
24
25
|
config: pulumi.Input['AclAuthMethodConfigArgs'],
|
25
|
-
max_token_ttl: pulumi.Input[str],
|
26
|
-
token_locality: pulumi.Input[str],
|
27
|
-
type: pulumi.Input[str],
|
28
|
-
default: Optional[pulumi.Input[bool]] = None,
|
29
|
-
name: Optional[pulumi.Input[str]] = None,
|
30
|
-
token_name_format: Optional[pulumi.Input[str]] = None):
|
26
|
+
max_token_ttl: pulumi.Input[builtins.str],
|
27
|
+
token_locality: pulumi.Input[builtins.str],
|
28
|
+
type: pulumi.Input[builtins.str],
|
29
|
+
default: Optional[pulumi.Input[builtins.bool]] = None,
|
30
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
token_name_format: Optional[pulumi.Input[builtins.str]] = None):
|
31
32
|
"""
|
32
33
|
The set of arguments for constructing a AclAuthMethod resource.
|
33
34
|
:param pulumi.Input['AclAuthMethodConfigArgs'] config: `(block: <required>)` - Configuration specific to the auth method
|
34
35
|
provider.
|
35
|
-
:param pulumi.Input[str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
36
|
+
:param pulumi.Input[builtins.str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
36
37
|
created by this method and is specified as a time duration such as "15h".
|
37
|
-
:param pulumi.Input[str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
38
|
+
:param pulumi.Input[builtins.str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
38
39
|
creates a local or global token when performing SSO login. This field must be
|
39
40
|
set to either `local` or `global`.
|
40
|
-
:param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
41
|
+
:param pulumi.Input[builtins.str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
41
42
|
are `OIDC` and `JWT`.
|
42
|
-
:param pulumi.Input[bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
43
|
+
:param pulumi.Input[builtins.bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
43
44
|
as default.
|
44
|
-
:param pulumi.Input[str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
45
|
-
:param pulumi.Input[str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
45
|
+
:param pulumi.Input[builtins.str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
46
|
+
:param pulumi.Input[builtins.str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
46
47
|
Defines the token name format for the generated tokens This can be lightly
|
47
48
|
templated using HIL '${foo}' syntax.
|
48
49
|
"""
|
@@ -72,7 +73,7 @@ class AclAuthMethodArgs:
|
|
72
73
|
|
73
74
|
@property
|
74
75
|
@pulumi.getter(name="maxTokenTtl")
|
75
|
-
def max_token_ttl(self) -> pulumi.Input[str]:
|
76
|
+
def max_token_ttl(self) -> pulumi.Input[builtins.str]:
|
76
77
|
"""
|
77
78
|
`(string: <required>)` - Defines the maximum life of a token
|
78
79
|
created by this method and is specified as a time duration such as "15h".
|
@@ -80,12 +81,12 @@ class AclAuthMethodArgs:
|
|
80
81
|
return pulumi.get(self, "max_token_ttl")
|
81
82
|
|
82
83
|
@max_token_ttl.setter
|
83
|
-
def max_token_ttl(self, value: pulumi.Input[str]):
|
84
|
+
def max_token_ttl(self, value: pulumi.Input[builtins.str]):
|
84
85
|
pulumi.set(self, "max_token_ttl", value)
|
85
86
|
|
86
87
|
@property
|
87
88
|
@pulumi.getter(name="tokenLocality")
|
88
|
-
def token_locality(self) -> pulumi.Input[str]:
|
89
|
+
def token_locality(self) -> pulumi.Input[builtins.str]:
|
89
90
|
"""
|
90
91
|
`(string: <required>)` - Defines whether the ACL Auth Method
|
91
92
|
creates a local or global token when performing SSO login. This field must be
|
@@ -94,12 +95,12 @@ class AclAuthMethodArgs:
|
|
94
95
|
return pulumi.get(self, "token_locality")
|
95
96
|
|
96
97
|
@token_locality.setter
|
97
|
-
def token_locality(self, value: pulumi.Input[str]):
|
98
|
+
def token_locality(self, value: pulumi.Input[builtins.str]):
|
98
99
|
pulumi.set(self, "token_locality", value)
|
99
100
|
|
100
101
|
@property
|
101
102
|
@pulumi.getter
|
102
|
-
def type(self) -> pulumi.Input[str]:
|
103
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
103
104
|
"""
|
104
105
|
`(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
105
106
|
are `OIDC` and `JWT`.
|
@@ -107,12 +108,12 @@ class AclAuthMethodArgs:
|
|
107
108
|
return pulumi.get(self, "type")
|
108
109
|
|
109
110
|
@type.setter
|
110
|
-
def type(self, value: pulumi.Input[str]):
|
111
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
111
112
|
pulumi.set(self, "type", value)
|
112
113
|
|
113
114
|
@property
|
114
115
|
@pulumi.getter
|
115
|
-
def default(self) -> Optional[pulumi.Input[bool]]:
|
116
|
+
def default(self) -> Optional[pulumi.Input[builtins.bool]]:
|
116
117
|
"""
|
117
118
|
`(bool: false)` - Defines whether this ACL Auth Method is to be set
|
118
119
|
as default.
|
@@ -120,24 +121,24 @@ class AclAuthMethodArgs:
|
|
120
121
|
return pulumi.get(self, "default")
|
121
122
|
|
122
123
|
@default.setter
|
123
|
-
def default(self, value: Optional[pulumi.Input[bool]]):
|
124
|
+
def default(self, value: Optional[pulumi.Input[builtins.bool]]):
|
124
125
|
pulumi.set(self, "default", value)
|
125
126
|
|
126
127
|
@property
|
127
128
|
@pulumi.getter
|
128
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
129
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
129
130
|
"""
|
130
131
|
`(string: <required>)` - The identifier of the ACL Auth Method.
|
131
132
|
"""
|
132
133
|
return pulumi.get(self, "name")
|
133
134
|
|
134
135
|
@name.setter
|
135
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
136
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
136
137
|
pulumi.set(self, "name", value)
|
137
138
|
|
138
139
|
@property
|
139
140
|
@pulumi.getter(name="tokenNameFormat")
|
140
|
-
def token_name_format(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
def token_name_format(self) -> Optional[pulumi.Input[builtins.str]]:
|
141
142
|
"""
|
142
143
|
`(string: "${auth_method_type}-${auth_method_name}")` -
|
143
144
|
Defines the token name format for the generated tokens This can be lightly
|
@@ -146,7 +147,7 @@ class AclAuthMethodArgs:
|
|
146
147
|
return pulumi.get(self, "token_name_format")
|
147
148
|
|
148
149
|
@token_name_format.setter
|
149
|
-
def token_name_format(self, value: Optional[pulumi.Input[str]]):
|
150
|
+
def token_name_format(self, value: Optional[pulumi.Input[builtins.str]]):
|
150
151
|
pulumi.set(self, "token_name_format", value)
|
151
152
|
|
152
153
|
|
@@ -154,28 +155,28 @@ class AclAuthMethodArgs:
|
|
154
155
|
class _AclAuthMethodState:
|
155
156
|
def __init__(__self__, *,
|
156
157
|
config: Optional[pulumi.Input['AclAuthMethodConfigArgs']] = None,
|
157
|
-
default: Optional[pulumi.Input[bool]] = None,
|
158
|
-
max_token_ttl: Optional[pulumi.Input[str]] = None,
|
159
|
-
name: Optional[pulumi.Input[str]] = None,
|
160
|
-
token_locality: Optional[pulumi.Input[str]] = None,
|
161
|
-
token_name_format: Optional[pulumi.Input[str]] = None,
|
162
|
-
type: Optional[pulumi.Input[str]] = None):
|
158
|
+
default: Optional[pulumi.Input[builtins.bool]] = None,
|
159
|
+
max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
|
160
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
161
|
+
token_locality: Optional[pulumi.Input[builtins.str]] = None,
|
162
|
+
token_name_format: Optional[pulumi.Input[builtins.str]] = None,
|
163
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
163
164
|
"""
|
164
165
|
Input properties used for looking up and filtering AclAuthMethod resources.
|
165
166
|
:param pulumi.Input['AclAuthMethodConfigArgs'] config: `(block: <required>)` - Configuration specific to the auth method
|
166
167
|
provider.
|
167
|
-
:param pulumi.Input[bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
168
|
+
:param pulumi.Input[builtins.bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
168
169
|
as default.
|
169
|
-
:param pulumi.Input[str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
170
|
+
:param pulumi.Input[builtins.str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
170
171
|
created by this method and is specified as a time duration such as "15h".
|
171
|
-
:param pulumi.Input[str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
172
|
-
:param pulumi.Input[str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
172
|
+
:param pulumi.Input[builtins.str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
173
|
+
:param pulumi.Input[builtins.str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
173
174
|
creates a local or global token when performing SSO login. This field must be
|
174
175
|
set to either `local` or `global`.
|
175
|
-
:param pulumi.Input[str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
176
|
+
:param pulumi.Input[builtins.str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
176
177
|
Defines the token name format for the generated tokens This can be lightly
|
177
178
|
templated using HIL '${foo}' syntax.
|
178
|
-
:param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
179
|
+
:param pulumi.Input[builtins.str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
179
180
|
are `OIDC` and `JWT`.
|
180
181
|
"""
|
181
182
|
if config is not None:
|
@@ -208,7 +209,7 @@ class _AclAuthMethodState:
|
|
208
209
|
|
209
210
|
@property
|
210
211
|
@pulumi.getter
|
211
|
-
def default(self) -> Optional[pulumi.Input[bool]]:
|
212
|
+
def default(self) -> Optional[pulumi.Input[builtins.bool]]:
|
212
213
|
"""
|
213
214
|
`(bool: false)` - Defines whether this ACL Auth Method is to be set
|
214
215
|
as default.
|
@@ -216,12 +217,12 @@ class _AclAuthMethodState:
|
|
216
217
|
return pulumi.get(self, "default")
|
217
218
|
|
218
219
|
@default.setter
|
219
|
-
def default(self, value: Optional[pulumi.Input[bool]]):
|
220
|
+
def default(self, value: Optional[pulumi.Input[builtins.bool]]):
|
220
221
|
pulumi.set(self, "default", value)
|
221
222
|
|
222
223
|
@property
|
223
224
|
@pulumi.getter(name="maxTokenTtl")
|
224
|
-
def max_token_ttl(self) -> Optional[pulumi.Input[str]]:
|
225
|
+
def max_token_ttl(self) -> Optional[pulumi.Input[builtins.str]]:
|
225
226
|
"""
|
226
227
|
`(string: <required>)` - Defines the maximum life of a token
|
227
228
|
created by this method and is specified as a time duration such as "15h".
|
@@ -229,24 +230,24 @@ class _AclAuthMethodState:
|
|
229
230
|
return pulumi.get(self, "max_token_ttl")
|
230
231
|
|
231
232
|
@max_token_ttl.setter
|
232
|
-
def max_token_ttl(self, value: Optional[pulumi.Input[str]]):
|
233
|
+
def max_token_ttl(self, value: Optional[pulumi.Input[builtins.str]]):
|
233
234
|
pulumi.set(self, "max_token_ttl", value)
|
234
235
|
|
235
236
|
@property
|
236
237
|
@pulumi.getter
|
237
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
238
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
238
239
|
"""
|
239
240
|
`(string: <required>)` - The identifier of the ACL Auth Method.
|
240
241
|
"""
|
241
242
|
return pulumi.get(self, "name")
|
242
243
|
|
243
244
|
@name.setter
|
244
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
245
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
245
246
|
pulumi.set(self, "name", value)
|
246
247
|
|
247
248
|
@property
|
248
249
|
@pulumi.getter(name="tokenLocality")
|
249
|
-
def token_locality(self) -> Optional[pulumi.Input[str]]:
|
250
|
+
def token_locality(self) -> Optional[pulumi.Input[builtins.str]]:
|
250
251
|
"""
|
251
252
|
`(string: <required>)` - Defines whether the ACL Auth Method
|
252
253
|
creates a local or global token when performing SSO login. This field must be
|
@@ -255,12 +256,12 @@ class _AclAuthMethodState:
|
|
255
256
|
return pulumi.get(self, "token_locality")
|
256
257
|
|
257
258
|
@token_locality.setter
|
258
|
-
def token_locality(self, value: Optional[pulumi.Input[str]]):
|
259
|
+
def token_locality(self, value: Optional[pulumi.Input[builtins.str]]):
|
259
260
|
pulumi.set(self, "token_locality", value)
|
260
261
|
|
261
262
|
@property
|
262
263
|
@pulumi.getter(name="tokenNameFormat")
|
263
|
-
def token_name_format(self) -> Optional[pulumi.Input[str]]:
|
264
|
+
def token_name_format(self) -> Optional[pulumi.Input[builtins.str]]:
|
264
265
|
"""
|
265
266
|
`(string: "${auth_method_type}-${auth_method_name}")` -
|
266
267
|
Defines the token name format for the generated tokens This can be lightly
|
@@ -269,12 +270,12 @@ class _AclAuthMethodState:
|
|
269
270
|
return pulumi.get(self, "token_name_format")
|
270
271
|
|
271
272
|
@token_name_format.setter
|
272
|
-
def token_name_format(self, value: Optional[pulumi.Input[str]]):
|
273
|
+
def token_name_format(self, value: Optional[pulumi.Input[builtins.str]]):
|
273
274
|
pulumi.set(self, "token_name_format", value)
|
274
275
|
|
275
276
|
@property
|
276
277
|
@pulumi.getter
|
277
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
278
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
278
279
|
"""
|
279
280
|
`(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
280
281
|
are `OIDC` and `JWT`.
|
@@ -282,7 +283,7 @@ class _AclAuthMethodState:
|
|
282
283
|
return pulumi.get(self, "type")
|
283
284
|
|
284
285
|
@type.setter
|
285
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
286
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
286
287
|
pulumi.set(self, "type", value)
|
287
288
|
|
288
289
|
|
@@ -292,12 +293,12 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
292
293
|
resource_name: str,
|
293
294
|
opts: Optional[pulumi.ResourceOptions] = None,
|
294
295
|
config: Optional[pulumi.Input[Union['AclAuthMethodConfigArgs', 'AclAuthMethodConfigArgsDict']]] = None,
|
295
|
-
default: Optional[pulumi.Input[bool]] = None,
|
296
|
-
max_token_ttl: Optional[pulumi.Input[str]] = None,
|
297
|
-
name: Optional[pulumi.Input[str]] = None,
|
298
|
-
token_locality: Optional[pulumi.Input[str]] = None,
|
299
|
-
token_name_format: Optional[pulumi.Input[str]] = None,
|
300
|
-
type: Optional[pulumi.Input[str]] = None,
|
296
|
+
default: Optional[pulumi.Input[builtins.bool]] = None,
|
297
|
+
max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
|
298
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
299
|
+
token_locality: Optional[pulumi.Input[builtins.str]] = None,
|
300
|
+
token_name_format: Optional[pulumi.Input[builtins.str]] = None,
|
301
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
301
302
|
__props__=None):
|
302
303
|
"""
|
303
304
|
Manages an ACL Auth Method in Nomad.
|
@@ -336,18 +337,18 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
336
337
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
337
338
|
:param pulumi.Input[Union['AclAuthMethodConfigArgs', 'AclAuthMethodConfigArgsDict']] config: `(block: <required>)` - Configuration specific to the auth method
|
338
339
|
provider.
|
339
|
-
:param pulumi.Input[bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
340
|
+
:param pulumi.Input[builtins.bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
340
341
|
as default.
|
341
|
-
:param pulumi.Input[str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
342
|
+
:param pulumi.Input[builtins.str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
342
343
|
created by this method and is specified as a time duration such as "15h".
|
343
|
-
:param pulumi.Input[str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
344
|
-
:param pulumi.Input[str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
344
|
+
:param pulumi.Input[builtins.str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
345
|
+
:param pulumi.Input[builtins.str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
345
346
|
creates a local or global token when performing SSO login. This field must be
|
346
347
|
set to either `local` or `global`.
|
347
|
-
:param pulumi.Input[str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
348
|
+
:param pulumi.Input[builtins.str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
348
349
|
Defines the token name format for the generated tokens This can be lightly
|
349
350
|
templated using HIL '${foo}' syntax.
|
350
|
-
:param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
351
|
+
:param pulumi.Input[builtins.str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
351
352
|
are `OIDC` and `JWT`.
|
352
353
|
"""
|
353
354
|
...
|
@@ -405,12 +406,12 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
405
406
|
resource_name: str,
|
406
407
|
opts: Optional[pulumi.ResourceOptions] = None,
|
407
408
|
config: Optional[pulumi.Input[Union['AclAuthMethodConfigArgs', 'AclAuthMethodConfigArgsDict']]] = None,
|
408
|
-
default: Optional[pulumi.Input[bool]] = None,
|
409
|
-
max_token_ttl: Optional[pulumi.Input[str]] = None,
|
410
|
-
name: Optional[pulumi.Input[str]] = None,
|
411
|
-
token_locality: Optional[pulumi.Input[str]] = None,
|
412
|
-
token_name_format: Optional[pulumi.Input[str]] = None,
|
413
|
-
type: Optional[pulumi.Input[str]] = None,
|
409
|
+
default: Optional[pulumi.Input[builtins.bool]] = None,
|
410
|
+
max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
|
411
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
412
|
+
token_locality: Optional[pulumi.Input[builtins.str]] = None,
|
413
|
+
token_name_format: Optional[pulumi.Input[builtins.str]] = None,
|
414
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
414
415
|
__props__=None):
|
415
416
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
416
417
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -446,12 +447,12 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
446
447
|
id: pulumi.Input[str],
|
447
448
|
opts: Optional[pulumi.ResourceOptions] = None,
|
448
449
|
config: Optional[pulumi.Input[Union['AclAuthMethodConfigArgs', 'AclAuthMethodConfigArgsDict']]] = None,
|
449
|
-
default: Optional[pulumi.Input[bool]] = None,
|
450
|
-
max_token_ttl: Optional[pulumi.Input[str]] = None,
|
451
|
-
name: Optional[pulumi.Input[str]] = None,
|
452
|
-
token_locality: Optional[pulumi.Input[str]] = None,
|
453
|
-
token_name_format: Optional[pulumi.Input[str]] = None,
|
454
|
-
type: Optional[pulumi.Input[str]] = None) -> 'AclAuthMethod':
|
450
|
+
default: Optional[pulumi.Input[builtins.bool]] = None,
|
451
|
+
max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
|
452
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
453
|
+
token_locality: Optional[pulumi.Input[builtins.str]] = None,
|
454
|
+
token_name_format: Optional[pulumi.Input[builtins.str]] = None,
|
455
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'AclAuthMethod':
|
455
456
|
"""
|
456
457
|
Get an existing AclAuthMethod resource's state with the given name, id, and optional extra
|
457
458
|
properties used to qualify the lookup.
|
@@ -461,18 +462,18 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
461
462
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
462
463
|
:param pulumi.Input[Union['AclAuthMethodConfigArgs', 'AclAuthMethodConfigArgsDict']] config: `(block: <required>)` - Configuration specific to the auth method
|
463
464
|
provider.
|
464
|
-
:param pulumi.Input[bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
465
|
+
:param pulumi.Input[builtins.bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
|
465
466
|
as default.
|
466
|
-
:param pulumi.Input[str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
467
|
+
:param pulumi.Input[builtins.str] max_token_ttl: `(string: <required>)` - Defines the maximum life of a token
|
467
468
|
created by this method and is specified as a time duration such as "15h".
|
468
|
-
:param pulumi.Input[str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
469
|
-
:param pulumi.Input[str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
469
|
+
:param pulumi.Input[builtins.str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
|
470
|
+
:param pulumi.Input[builtins.str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
|
470
471
|
creates a local or global token when performing SSO login. This field must be
|
471
472
|
set to either `local` or `global`.
|
472
|
-
:param pulumi.Input[str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
473
|
+
:param pulumi.Input[builtins.str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
|
473
474
|
Defines the token name format for the generated tokens This can be lightly
|
474
475
|
templated using HIL '${foo}' syntax.
|
475
|
-
:param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
476
|
+
:param pulumi.Input[builtins.str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
476
477
|
are `OIDC` and `JWT`.
|
477
478
|
"""
|
478
479
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -499,7 +500,7 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
499
500
|
|
500
501
|
@property
|
501
502
|
@pulumi.getter
|
502
|
-
def default(self) -> pulumi.Output[Optional[bool]]:
|
503
|
+
def default(self) -> pulumi.Output[Optional[builtins.bool]]:
|
503
504
|
"""
|
504
505
|
`(bool: false)` - Defines whether this ACL Auth Method is to be set
|
505
506
|
as default.
|
@@ -508,7 +509,7 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
508
509
|
|
509
510
|
@property
|
510
511
|
@pulumi.getter(name="maxTokenTtl")
|
511
|
-
def max_token_ttl(self) -> pulumi.Output[str]:
|
512
|
+
def max_token_ttl(self) -> pulumi.Output[builtins.str]:
|
512
513
|
"""
|
513
514
|
`(string: <required>)` - Defines the maximum life of a token
|
514
515
|
created by this method and is specified as a time duration such as "15h".
|
@@ -517,7 +518,7 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
517
518
|
|
518
519
|
@property
|
519
520
|
@pulumi.getter
|
520
|
-
def name(self) -> pulumi.Output[str]:
|
521
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
521
522
|
"""
|
522
523
|
`(string: <required>)` - The identifier of the ACL Auth Method.
|
523
524
|
"""
|
@@ -525,7 +526,7 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
525
526
|
|
526
527
|
@property
|
527
528
|
@pulumi.getter(name="tokenLocality")
|
528
|
-
def token_locality(self) -> pulumi.Output[str]:
|
529
|
+
def token_locality(self) -> pulumi.Output[builtins.str]:
|
529
530
|
"""
|
530
531
|
`(string: <required>)` - Defines whether the ACL Auth Method
|
531
532
|
creates a local or global token when performing SSO login. This field must be
|
@@ -535,7 +536,7 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
535
536
|
|
536
537
|
@property
|
537
538
|
@pulumi.getter(name="tokenNameFormat")
|
538
|
-
def token_name_format(self) -> pulumi.Output[Optional[str]]:
|
539
|
+
def token_name_format(self) -> pulumi.Output[Optional[builtins.str]]:
|
539
540
|
"""
|
540
541
|
`(string: "${auth_method_type}-${auth_method_name}")` -
|
541
542
|
Defines the token name format for the generated tokens This can be lightly
|
@@ -545,7 +546,7 @@ class AclAuthMethod(pulumi.CustomResource):
|
|
545
546
|
|
546
547
|
@property
|
547
548
|
@pulumi.getter
|
548
|
-
def type(self) -> pulumi.Output[str]:
|
549
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
549
550
|
"""
|
550
551
|
`(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
|
551
552
|
are `OIDC` and `JWT`.
|