pulumi-nomad 2.5.0a1744783739__py3-none-any.whl → 2.5.1a1753398000__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 +21 -2
- pulumi_nomad/_inputs.py +1151 -475
- pulumi_nomad/_utilities.py +1 -1
- pulumi_nomad/acl_auth_method.py +108 -108
- pulumi_nomad/acl_binding_rule.py +88 -88
- pulumi_nomad/acl_policy.py +71 -64
- pulumi_nomad/acl_role.py +40 -40
- pulumi_nomad/acl_token.py +127 -127
- pulumi_nomad/config/__init__.py +2 -2
- pulumi_nomad/config/__init__.pyi +2 -13
- pulumi_nomad/config/outputs.py +10 -11
- pulumi_nomad/config/vars.py +15 -30
- pulumi_nomad/csi_volume.py +298 -270
- pulumi_nomad/csi_volume_registration.py +278 -278
- pulumi_nomad/dynamic_host_volume.py +1005 -0
- pulumi_nomad/dynamic_host_volume_registration.py +740 -0
- pulumi_nomad/external_volume.py +257 -257
- pulumi_nomad/get_acl_policies.py +11 -12
- pulumi_nomad/get_acl_policy.py +14 -15
- pulumi_nomad/get_acl_role.py +13 -14
- pulumi_nomad/get_acl_roles.py +11 -12
- pulumi_nomad/get_acl_token.py +27 -28
- pulumi_nomad/get_acl_tokens.py +11 -12
- pulumi_nomad/get_allocations.py +23 -24
- pulumi_nomad/get_datacenters.py +18 -19
- pulumi_nomad/get_deployments.py +6 -7
- pulumi_nomad/get_dynamic_host_volume.py +352 -0
- pulumi_nomad/get_job.py +51 -52
- pulumi_nomad/get_job_parser.py +18 -19
- pulumi_nomad/get_jwks.py +7 -8
- pulumi_nomad/get_namespace.py +18 -19
- pulumi_nomad/get_namespaces.py +22 -17
- pulumi_nomad/get_node_pool.py +15 -16
- pulumi_nomad/get_node_pools.py +17 -18
- pulumi_nomad/get_plugin.py +37 -38
- pulumi_nomad/get_plugins.py +10 -11
- pulumi_nomad/get_regions.py +16 -11
- pulumi_nomad/get_scaling_policies.py +17 -18
- pulumi_nomad/get_scaling_policy.py +20 -21
- pulumi_nomad/get_scheduler_policy.py +10 -11
- pulumi_nomad/get_variable.py +18 -19
- pulumi_nomad/get_volumes.py +30 -31
- pulumi_nomad/job.py +247 -357
- pulumi_nomad/namespace.py +77 -77
- pulumi_nomad/node_pool.py +57 -57
- pulumi_nomad/outputs.py +1212 -635
- pulumi_nomad/provider.py +141 -180
- pulumi_nomad/pulumi-plugin.json +1 -1
- pulumi_nomad/quote_specification.py +40 -40
- pulumi_nomad/scheduler_config.py +54 -54
- pulumi_nomad/sentinel_policy.py +88 -88
- pulumi_nomad/variable.py +54 -54
- pulumi_nomad/volume.py +274 -274
- {pulumi_nomad-2.5.0a1744783739.dist-info → pulumi_nomad-2.5.1a1753398000.dist-info}/METADATA +3 -3
- pulumi_nomad-2.5.1a1753398000.dist-info/RECORD +58 -0
- {pulumi_nomad-2.5.0a1744783739.dist-info → pulumi_nomad-2.5.1a1753398000.dist-info}/WHEEL +1 -1
- pulumi_nomad-2.5.0a1744783739.dist-info/RECORD +0 -55
- {pulumi_nomad-2.5.0a1744783739.dist-info → pulumi_nomad-2.5.1a1753398000.dist-info}/top_level.txt +0 -0
pulumi_nomad/outputs.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
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
|
@@ -18,6 +17,8 @@ from . import outputs
|
|
18
17
|
|
19
18
|
__all__ = [
|
20
19
|
'AclAuthMethodConfig',
|
20
|
+
'AclAuthMethodConfigOidcClientAssertion',
|
21
|
+
'AclAuthMethodConfigOidcClientAssertionPrivateKey',
|
21
22
|
'AclPolicyJobAcl',
|
22
23
|
'AclRolePolicy',
|
23
24
|
'AclTokenRole',
|
@@ -35,6 +36,10 @@ __all__ = [
|
|
35
36
|
'CsiVolumeTopologyRequestPreferredTopology',
|
36
37
|
'CsiVolumeTopologyRequestRequired',
|
37
38
|
'CsiVolumeTopologyRequestRequiredTopology',
|
39
|
+
'DynamicHostVolumeCapability',
|
40
|
+
'DynamicHostVolumeConstraint',
|
41
|
+
'DynamicHostVolumeRegistrationCapability',
|
42
|
+
'DynamicHostVolumeRegistrationConstraint',
|
38
43
|
'ExternalVolumeCapability',
|
39
44
|
'ExternalVolumeMountOptions',
|
40
45
|
'ExternalVolumeTopology',
|
@@ -67,6 +72,8 @@ __all__ = [
|
|
67
72
|
'GetAclTokensAclTokenResult',
|
68
73
|
'GetAclTokensAclTokenRoleResult',
|
69
74
|
'GetAllocationsAllocationResult',
|
75
|
+
'GetDynamicHostVolumeCapabilityResult',
|
76
|
+
'GetDynamicHostVolumeConstraintResult',
|
70
77
|
'GetJobConstraintResult',
|
71
78
|
'GetJobPeriodicConfigResult',
|
72
79
|
'GetJobTaskGroupResult',
|
@@ -112,6 +119,8 @@ class AclAuthMethodConfig(dict):
|
|
112
119
|
suggest = "list_claim_mappings"
|
113
120
|
elif key == "notBeforeLeeway":
|
114
121
|
suggest = "not_before_leeway"
|
122
|
+
elif key == "oidcClientAssertion":
|
123
|
+
suggest = "oidc_client_assertion"
|
115
124
|
elif key == "oidcClientId":
|
116
125
|
suggest = "oidc_client_id"
|
117
126
|
elif key == "oidcClientSecret":
|
@@ -120,10 +129,14 @@ class AclAuthMethodConfig(dict):
|
|
120
129
|
suggest = "oidc_disable_userinfo"
|
121
130
|
elif key == "oidcDiscoveryUrl":
|
122
131
|
suggest = "oidc_discovery_url"
|
132
|
+
elif key == "oidcEnablePkce":
|
133
|
+
suggest = "oidc_enable_pkce"
|
123
134
|
elif key == "oidcScopes":
|
124
135
|
suggest = "oidc_scopes"
|
125
136
|
elif key == "signingAlgs":
|
126
137
|
suggest = "signing_algs"
|
138
|
+
elif key == "verboseLogging":
|
139
|
+
suggest = "verbose_logging"
|
127
140
|
|
128
141
|
if suggest:
|
129
142
|
pulumi.log.warn(f"Key '{key}' not found in AclAuthMethodConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -137,60 +150,71 @@ class AclAuthMethodConfig(dict):
|
|
137
150
|
return super().get(key, default)
|
138
151
|
|
139
152
|
def __init__(__self__, *,
|
140
|
-
allowed_redirect_uris: Optional[Sequence[
|
141
|
-
bound_audiences: Optional[Sequence[
|
142
|
-
bound_issuers: Optional[Sequence[
|
143
|
-
claim_mappings: Optional[Mapping[str,
|
144
|
-
clock_skew_leeway: Optional[
|
145
|
-
discovery_ca_pems: Optional[Sequence[
|
146
|
-
expiration_leeway: Optional[
|
147
|
-
jwks_ca_cert: Optional[
|
148
|
-
jwks_url: Optional[
|
149
|
-
jwt_validation_pub_keys: Optional[Sequence[
|
150
|
-
list_claim_mappings: Optional[Mapping[str,
|
151
|
-
not_before_leeway: Optional[
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
153
|
+
allowed_redirect_uris: Optional[Sequence[_builtins.str]] = None,
|
154
|
+
bound_audiences: Optional[Sequence[_builtins.str]] = None,
|
155
|
+
bound_issuers: Optional[Sequence[_builtins.str]] = None,
|
156
|
+
claim_mappings: Optional[Mapping[str, _builtins.str]] = None,
|
157
|
+
clock_skew_leeway: Optional[_builtins.str] = None,
|
158
|
+
discovery_ca_pems: Optional[Sequence[_builtins.str]] = None,
|
159
|
+
expiration_leeway: Optional[_builtins.str] = None,
|
160
|
+
jwks_ca_cert: Optional[_builtins.str] = None,
|
161
|
+
jwks_url: Optional[_builtins.str] = None,
|
162
|
+
jwt_validation_pub_keys: Optional[Sequence[_builtins.str]] = None,
|
163
|
+
list_claim_mappings: Optional[Mapping[str, _builtins.str]] = None,
|
164
|
+
not_before_leeway: Optional[_builtins.str] = None,
|
165
|
+
oidc_client_assertion: Optional['outputs.AclAuthMethodConfigOidcClientAssertion'] = None,
|
166
|
+
oidc_client_id: Optional[_builtins.str] = None,
|
167
|
+
oidc_client_secret: Optional[_builtins.str] = None,
|
168
|
+
oidc_disable_userinfo: Optional[_builtins.bool] = None,
|
169
|
+
oidc_discovery_url: Optional[_builtins.str] = None,
|
170
|
+
oidc_enable_pkce: Optional[_builtins.bool] = None,
|
171
|
+
oidc_scopes: Optional[Sequence[_builtins.str]] = None,
|
172
|
+
signing_algs: Optional[Sequence[_builtins.str]] = None,
|
173
|
+
verbose_logging: Optional[_builtins.bool] = None):
|
174
|
+
"""
|
175
|
+
:param Sequence[_builtins.str] allowed_redirect_uris: `([]string: <optional>)` - A list of allowed values
|
160
176
|
that can be used for the redirect URI.
|
161
|
-
:param Sequence[
|
177
|
+
:param Sequence[_builtins.str] bound_audiences: `([]string: <optional>)` - List of auth claims that are
|
162
178
|
valid for login.
|
163
|
-
:param Sequence[
|
179
|
+
:param Sequence[_builtins.str] bound_issuers: `([]string: <optional>)` - The value against which to match
|
164
180
|
the iss claim in a JWT.
|
165
|
-
:param Mapping[str,
|
166
|
-
:param
|
181
|
+
:param Mapping[str, _builtins.str] claim_mappings: Mappings of claims (key) that will be copied to a metadata field (value).
|
182
|
+
:param _builtins.str clock_skew_leeway: `(string: <optional>)` - Duration of leeway when validating
|
167
183
|
all claims in the form of a time duration such as "5m" or "1h".
|
168
|
-
:param Sequence[
|
184
|
+
:param Sequence[_builtins.str] discovery_ca_pems: `([]string: <optional>)` - PEM encoded CA certs for use
|
169
185
|
by the TLS client used to talk with the OIDC Discovery URL.
|
170
|
-
:param
|
186
|
+
:param _builtins.str expiration_leeway: `(string: <optional>)` - Duration of leeway when validating
|
171
187
|
expiration of a JWT in the form of a time duration such as "5m" or "1h".
|
172
|
-
:param
|
188
|
+
:param _builtins.str jwks_ca_cert: `(string: <optional>)` - PEM encoded CA cert for use by the
|
173
189
|
TLS client used to talk with the JWKS server.
|
174
|
-
:param
|
190
|
+
:param _builtins.str jwks_url: `(string: <optional>)` - JSON Web Key Sets url for authenticating
|
175
191
|
signatures.
|
176
|
-
:param Sequence[
|
192
|
+
:param Sequence[_builtins.str] jwt_validation_pub_keys: `([]string: <optional>)` - List of PEM-encoded
|
177
193
|
public keys to use to authenticate signatures locally.
|
178
|
-
:param Mapping[str,
|
179
|
-
:param
|
194
|
+
:param Mapping[str, _builtins.str] list_claim_mappings: Mappings of list claims (key) that will be copied to a metadata field (value).
|
195
|
+
:param _builtins.str not_before_leeway: `(string: <optional>)` - Duration of leeway when validating
|
180
196
|
not before values of a token in the form of a time duration such as "5m" or "1h".
|
181
|
-
:param
|
197
|
+
:param 'AclAuthMethodConfigOidcClientAssertionArgs' oidc_client_assertion: `(OIDCClientAssertion: <optional>)` - Optionally
|
198
|
+
send a signed JWT ("[private key jwt][]") as a client assertion to the OIDC
|
199
|
+
provider. Browse to the [OIDC concepts][concepts-assertions] page to learn
|
200
|
+
more.
|
201
|
+
:param _builtins.str oidc_client_id: `(string: <optional>)` - The OAuth Client ID configured
|
182
202
|
with the OIDC provider.
|
183
|
-
:param
|
203
|
+
:param _builtins.str oidc_client_secret: `(string: <optional>)` - The OAuth Client Secret
|
184
204
|
configured with the OIDC provider.
|
185
|
-
:param
|
205
|
+
:param _builtins.bool oidc_disable_userinfo: `(bool: false)` - When set to `true`, Nomad will
|
186
206
|
not make a request to the identity provider to get OIDC `UserInfo`.
|
187
207
|
You may wish to set this if your identity provider doesn't send any
|
188
208
|
additional claims from the `UserInfo` endpoint.
|
189
|
-
:param
|
209
|
+
:param _builtins.str oidc_discovery_url: `(string: <optional>)` - The OIDC Discovery URL,
|
190
210
|
without any .well-known component (base path).
|
191
|
-
:param
|
192
|
-
|
211
|
+
:param _builtins.bool oidc_enable_pkce: `(bool: false)` - When set to `true`, Nomad will include
|
212
|
+
[PKCE][] verification in the auth flow. Even with PKCE enabled in Nomad,
|
213
|
+
you may still need to enable it in your OIDC provider.
|
214
|
+
:param Sequence[_builtins.str] oidc_scopes: `([]string: <optional>)` - List of OIDC scopes.
|
215
|
+
:param Sequence[_builtins.str] signing_algs: `([]string: <optional>)` - A list of supported signing
|
193
216
|
algorithms.
|
217
|
+
:param _builtins.bool verbose_logging: Enable OIDC verbose logging on the Nomad server.
|
194
218
|
"""
|
195
219
|
if allowed_redirect_uris is not None:
|
196
220
|
pulumi.set(__self__, "allowed_redirect_uris", allowed_redirect_uris)
|
@@ -216,6 +240,8 @@ class AclAuthMethodConfig(dict):
|
|
216
240
|
pulumi.set(__self__, "list_claim_mappings", list_claim_mappings)
|
217
241
|
if not_before_leeway is not None:
|
218
242
|
pulumi.set(__self__, "not_before_leeway", not_before_leeway)
|
243
|
+
if oidc_client_assertion is not None:
|
244
|
+
pulumi.set(__self__, "oidc_client_assertion", oidc_client_assertion)
|
219
245
|
if oidc_client_id is not None:
|
220
246
|
pulumi.set(__self__, "oidc_client_id", oidc_client_id)
|
221
247
|
if oidc_client_secret is not None:
|
@@ -224,138 +250,153 @@ class AclAuthMethodConfig(dict):
|
|
224
250
|
pulumi.set(__self__, "oidc_disable_userinfo", oidc_disable_userinfo)
|
225
251
|
if oidc_discovery_url is not None:
|
226
252
|
pulumi.set(__self__, "oidc_discovery_url", oidc_discovery_url)
|
253
|
+
if oidc_enable_pkce is not None:
|
254
|
+
pulumi.set(__self__, "oidc_enable_pkce", oidc_enable_pkce)
|
227
255
|
if oidc_scopes is not None:
|
228
256
|
pulumi.set(__self__, "oidc_scopes", oidc_scopes)
|
229
257
|
if signing_algs is not None:
|
230
258
|
pulumi.set(__self__, "signing_algs", signing_algs)
|
259
|
+
if verbose_logging is not None:
|
260
|
+
pulumi.set(__self__, "verbose_logging", verbose_logging)
|
231
261
|
|
232
|
-
@property
|
262
|
+
@_builtins.property
|
233
263
|
@pulumi.getter(name="allowedRedirectUris")
|
234
|
-
def allowed_redirect_uris(self) -> Optional[Sequence[
|
264
|
+
def allowed_redirect_uris(self) -> Optional[Sequence[_builtins.str]]:
|
235
265
|
"""
|
236
266
|
`([]string: <optional>)` - A list of allowed values
|
237
267
|
that can be used for the redirect URI.
|
238
268
|
"""
|
239
269
|
return pulumi.get(self, "allowed_redirect_uris")
|
240
270
|
|
241
|
-
@property
|
271
|
+
@_builtins.property
|
242
272
|
@pulumi.getter(name="boundAudiences")
|
243
|
-
def bound_audiences(self) -> Optional[Sequence[
|
273
|
+
def bound_audiences(self) -> Optional[Sequence[_builtins.str]]:
|
244
274
|
"""
|
245
275
|
`([]string: <optional>)` - List of auth claims that are
|
246
276
|
valid for login.
|
247
277
|
"""
|
248
278
|
return pulumi.get(self, "bound_audiences")
|
249
279
|
|
250
|
-
@property
|
280
|
+
@_builtins.property
|
251
281
|
@pulumi.getter(name="boundIssuers")
|
252
|
-
def bound_issuers(self) -> Optional[Sequence[
|
282
|
+
def bound_issuers(self) -> Optional[Sequence[_builtins.str]]:
|
253
283
|
"""
|
254
284
|
`([]string: <optional>)` - The value against which to match
|
255
285
|
the iss claim in a JWT.
|
256
286
|
"""
|
257
287
|
return pulumi.get(self, "bound_issuers")
|
258
288
|
|
259
|
-
@property
|
289
|
+
@_builtins.property
|
260
290
|
@pulumi.getter(name="claimMappings")
|
261
|
-
def claim_mappings(self) -> Optional[Mapping[str,
|
291
|
+
def claim_mappings(self) -> Optional[Mapping[str, _builtins.str]]:
|
262
292
|
"""
|
263
293
|
Mappings of claims (key) that will be copied to a metadata field (value).
|
264
294
|
"""
|
265
295
|
return pulumi.get(self, "claim_mappings")
|
266
296
|
|
267
|
-
@property
|
297
|
+
@_builtins.property
|
268
298
|
@pulumi.getter(name="clockSkewLeeway")
|
269
|
-
def clock_skew_leeway(self) -> Optional[
|
299
|
+
def clock_skew_leeway(self) -> Optional[_builtins.str]:
|
270
300
|
"""
|
271
301
|
`(string: <optional>)` - Duration of leeway when validating
|
272
302
|
all claims in the form of a time duration such as "5m" or "1h".
|
273
303
|
"""
|
274
304
|
return pulumi.get(self, "clock_skew_leeway")
|
275
305
|
|
276
|
-
@property
|
306
|
+
@_builtins.property
|
277
307
|
@pulumi.getter(name="discoveryCaPems")
|
278
|
-
def discovery_ca_pems(self) -> Optional[Sequence[
|
308
|
+
def discovery_ca_pems(self) -> Optional[Sequence[_builtins.str]]:
|
279
309
|
"""
|
280
310
|
`([]string: <optional>)` - PEM encoded CA certs for use
|
281
311
|
by the TLS client used to talk with the OIDC Discovery URL.
|
282
312
|
"""
|
283
313
|
return pulumi.get(self, "discovery_ca_pems")
|
284
314
|
|
285
|
-
@property
|
315
|
+
@_builtins.property
|
286
316
|
@pulumi.getter(name="expirationLeeway")
|
287
|
-
def expiration_leeway(self) -> Optional[
|
317
|
+
def expiration_leeway(self) -> Optional[_builtins.str]:
|
288
318
|
"""
|
289
319
|
`(string: <optional>)` - Duration of leeway when validating
|
290
320
|
expiration of a JWT in the form of a time duration such as "5m" or "1h".
|
291
321
|
"""
|
292
322
|
return pulumi.get(self, "expiration_leeway")
|
293
323
|
|
294
|
-
@property
|
324
|
+
@_builtins.property
|
295
325
|
@pulumi.getter(name="jwksCaCert")
|
296
|
-
def jwks_ca_cert(self) -> Optional[
|
326
|
+
def jwks_ca_cert(self) -> Optional[_builtins.str]:
|
297
327
|
"""
|
298
328
|
`(string: <optional>)` - PEM encoded CA cert for use by the
|
299
329
|
TLS client used to talk with the JWKS server.
|
300
330
|
"""
|
301
331
|
return pulumi.get(self, "jwks_ca_cert")
|
302
332
|
|
303
|
-
@property
|
333
|
+
@_builtins.property
|
304
334
|
@pulumi.getter(name="jwksUrl")
|
305
|
-
def jwks_url(self) -> Optional[
|
335
|
+
def jwks_url(self) -> Optional[_builtins.str]:
|
306
336
|
"""
|
307
337
|
`(string: <optional>)` - JSON Web Key Sets url for authenticating
|
308
338
|
signatures.
|
309
339
|
"""
|
310
340
|
return pulumi.get(self, "jwks_url")
|
311
341
|
|
312
|
-
@property
|
342
|
+
@_builtins.property
|
313
343
|
@pulumi.getter(name="jwtValidationPubKeys")
|
314
|
-
def jwt_validation_pub_keys(self) -> Optional[Sequence[
|
344
|
+
def jwt_validation_pub_keys(self) -> Optional[Sequence[_builtins.str]]:
|
315
345
|
"""
|
316
346
|
`([]string: <optional>)` - List of PEM-encoded
|
317
347
|
public keys to use to authenticate signatures locally.
|
318
348
|
"""
|
319
349
|
return pulumi.get(self, "jwt_validation_pub_keys")
|
320
350
|
|
321
|
-
@property
|
351
|
+
@_builtins.property
|
322
352
|
@pulumi.getter(name="listClaimMappings")
|
323
|
-
def list_claim_mappings(self) -> Optional[Mapping[str,
|
353
|
+
def list_claim_mappings(self) -> Optional[Mapping[str, _builtins.str]]:
|
324
354
|
"""
|
325
355
|
Mappings of list claims (key) that will be copied to a metadata field (value).
|
326
356
|
"""
|
327
357
|
return pulumi.get(self, "list_claim_mappings")
|
328
358
|
|
329
|
-
@property
|
359
|
+
@_builtins.property
|
330
360
|
@pulumi.getter(name="notBeforeLeeway")
|
331
|
-
def not_before_leeway(self) -> Optional[
|
361
|
+
def not_before_leeway(self) -> Optional[_builtins.str]:
|
332
362
|
"""
|
333
363
|
`(string: <optional>)` - Duration of leeway when validating
|
334
364
|
not before values of a token in the form of a time duration such as "5m" or "1h".
|
335
365
|
"""
|
336
366
|
return pulumi.get(self, "not_before_leeway")
|
337
367
|
|
338
|
-
@property
|
368
|
+
@_builtins.property
|
369
|
+
@pulumi.getter(name="oidcClientAssertion")
|
370
|
+
def oidc_client_assertion(self) -> Optional['outputs.AclAuthMethodConfigOidcClientAssertion']:
|
371
|
+
"""
|
372
|
+
`(OIDCClientAssertion: <optional>)` - Optionally
|
373
|
+
send a signed JWT ("[private key jwt][]") as a client assertion to the OIDC
|
374
|
+
provider. Browse to the [OIDC concepts][concepts-assertions] page to learn
|
375
|
+
more.
|
376
|
+
"""
|
377
|
+
return pulumi.get(self, "oidc_client_assertion")
|
378
|
+
|
379
|
+
@_builtins.property
|
339
380
|
@pulumi.getter(name="oidcClientId")
|
340
|
-
def oidc_client_id(self) -> Optional[
|
381
|
+
def oidc_client_id(self) -> Optional[_builtins.str]:
|
341
382
|
"""
|
342
383
|
`(string: <optional>)` - The OAuth Client ID configured
|
343
384
|
with the OIDC provider.
|
344
385
|
"""
|
345
386
|
return pulumi.get(self, "oidc_client_id")
|
346
387
|
|
347
|
-
@property
|
388
|
+
@_builtins.property
|
348
389
|
@pulumi.getter(name="oidcClientSecret")
|
349
|
-
def oidc_client_secret(self) -> Optional[
|
390
|
+
def oidc_client_secret(self) -> Optional[_builtins.str]:
|
350
391
|
"""
|
351
392
|
`(string: <optional>)` - The OAuth Client Secret
|
352
393
|
configured with the OIDC provider.
|
353
394
|
"""
|
354
395
|
return pulumi.get(self, "oidc_client_secret")
|
355
396
|
|
356
|
-
@property
|
397
|
+
@_builtins.property
|
357
398
|
@pulumi.getter(name="oidcDisableUserinfo")
|
358
|
-
def oidc_disable_userinfo(self) -> Optional[
|
399
|
+
def oidc_disable_userinfo(self) -> Optional[_builtins.bool]:
|
359
400
|
"""
|
360
401
|
`(bool: false)` - When set to `true`, Nomad will
|
361
402
|
not make a request to the identity provider to get OIDC `UserInfo`.
|
@@ -364,32 +405,307 @@ class AclAuthMethodConfig(dict):
|
|
364
405
|
"""
|
365
406
|
return pulumi.get(self, "oidc_disable_userinfo")
|
366
407
|
|
367
|
-
@property
|
408
|
+
@_builtins.property
|
368
409
|
@pulumi.getter(name="oidcDiscoveryUrl")
|
369
|
-
def oidc_discovery_url(self) -> Optional[
|
410
|
+
def oidc_discovery_url(self) -> Optional[_builtins.str]:
|
370
411
|
"""
|
371
412
|
`(string: <optional>)` - The OIDC Discovery URL,
|
372
413
|
without any .well-known component (base path).
|
373
414
|
"""
|
374
415
|
return pulumi.get(self, "oidc_discovery_url")
|
375
416
|
|
376
|
-
@property
|
417
|
+
@_builtins.property
|
418
|
+
@pulumi.getter(name="oidcEnablePkce")
|
419
|
+
def oidc_enable_pkce(self) -> Optional[_builtins.bool]:
|
420
|
+
"""
|
421
|
+
`(bool: false)` - When set to `true`, Nomad will include
|
422
|
+
[PKCE][] verification in the auth flow. Even with PKCE enabled in Nomad,
|
423
|
+
you may still need to enable it in your OIDC provider.
|
424
|
+
"""
|
425
|
+
return pulumi.get(self, "oidc_enable_pkce")
|
426
|
+
|
427
|
+
@_builtins.property
|
377
428
|
@pulumi.getter(name="oidcScopes")
|
378
|
-
def oidc_scopes(self) -> Optional[Sequence[
|
429
|
+
def oidc_scopes(self) -> Optional[Sequence[_builtins.str]]:
|
379
430
|
"""
|
380
431
|
`([]string: <optional>)` - List of OIDC scopes.
|
381
432
|
"""
|
382
433
|
return pulumi.get(self, "oidc_scopes")
|
383
434
|
|
384
|
-
@property
|
435
|
+
@_builtins.property
|
385
436
|
@pulumi.getter(name="signingAlgs")
|
386
|
-
def signing_algs(self) -> Optional[Sequence[
|
437
|
+
def signing_algs(self) -> Optional[Sequence[_builtins.str]]:
|
387
438
|
"""
|
388
439
|
`([]string: <optional>)` - A list of supported signing
|
389
440
|
algorithms.
|
390
441
|
"""
|
391
442
|
return pulumi.get(self, "signing_algs")
|
392
443
|
|
444
|
+
@_builtins.property
|
445
|
+
@pulumi.getter(name="verboseLogging")
|
446
|
+
def verbose_logging(self) -> Optional[_builtins.bool]:
|
447
|
+
"""
|
448
|
+
Enable OIDC verbose logging on the Nomad server.
|
449
|
+
"""
|
450
|
+
return pulumi.get(self, "verbose_logging")
|
451
|
+
|
452
|
+
|
453
|
+
@pulumi.output_type
|
454
|
+
class AclAuthMethodConfigOidcClientAssertion(dict):
|
455
|
+
@staticmethod
|
456
|
+
def __key_warning(key: str):
|
457
|
+
suggest = None
|
458
|
+
if key == "keySource":
|
459
|
+
suggest = "key_source"
|
460
|
+
elif key == "extraHeaders":
|
461
|
+
suggest = "extra_headers"
|
462
|
+
elif key == "keyAlgorithm":
|
463
|
+
suggest = "key_algorithm"
|
464
|
+
elif key == "privateKey":
|
465
|
+
suggest = "private_key"
|
466
|
+
|
467
|
+
if suggest:
|
468
|
+
pulumi.log.warn(f"Key '{key}' not found in AclAuthMethodConfigOidcClientAssertion. Access the value via the '{suggest}' property getter instead.")
|
469
|
+
|
470
|
+
def __getitem__(self, key: str) -> Any:
|
471
|
+
AclAuthMethodConfigOidcClientAssertion.__key_warning(key)
|
472
|
+
return super().__getitem__(key)
|
473
|
+
|
474
|
+
def get(self, key: str, default = None) -> Any:
|
475
|
+
AclAuthMethodConfigOidcClientAssertion.__key_warning(key)
|
476
|
+
return super().get(key, default)
|
477
|
+
|
478
|
+
def __init__(__self__, *,
|
479
|
+
key_source: _builtins.str,
|
480
|
+
audiences: Optional[Sequence[_builtins.str]] = None,
|
481
|
+
extra_headers: Optional[Mapping[str, _builtins.str]] = None,
|
482
|
+
key_algorithm: Optional[_builtins.str] = None,
|
483
|
+
private_key: Optional['outputs.AclAuthMethodConfigOidcClientAssertionPrivateKey'] = None):
|
484
|
+
"""
|
485
|
+
:param _builtins.str key_source: `(string: <required>)` - Specifies where to get the private
|
486
|
+
key to sign the JWT.
|
487
|
+
Available sources:
|
488
|
+
- "nomad": Use current active key in Nomad's keyring
|
489
|
+
- "private_key": Use key material in the `private_key` field
|
490
|
+
- "client_secret": Use the `oidc_client_secret` as an HMAC key
|
491
|
+
:param Sequence[_builtins.str] audiences: `([]string: optional)` - Who processes the assertion.
|
492
|
+
Defaults to the auth method's `oidc_discovery_url`.
|
493
|
+
:param Mapping[str, _builtins.str] extra_headers: `(map[string]string: optional)` - Add to the JWT headers,
|
494
|
+
alongside "kid" and "type". Setting the "kid" header here is not allowed;
|
495
|
+
use `private_key.key_id`.
|
496
|
+
:param _builtins.str key_algorithm: `(string: <optional>)` is the key's algorithm.
|
497
|
+
Its default values are based on the `key_source`:
|
498
|
+
- "nomad": "RS256"; this is from Nomad's keyring and must not be changed
|
499
|
+
- "private_key": "RS256"; must be RS256, RS384, or RS512
|
500
|
+
- "client_secret": "HS256"; must be HS256, HS384, or HS512
|
501
|
+
:param 'AclAuthMethodConfigOidcClientAssertionPrivateKeyArgs' private_key: `(OIDCClientAssertionKey: <optional>)` - External key
|
502
|
+
to sign the JWT. `key_source` must be "private_key" to enable this.
|
503
|
+
"""
|
504
|
+
pulumi.set(__self__, "key_source", key_source)
|
505
|
+
if audiences is not None:
|
506
|
+
pulumi.set(__self__, "audiences", audiences)
|
507
|
+
if extra_headers is not None:
|
508
|
+
pulumi.set(__self__, "extra_headers", extra_headers)
|
509
|
+
if key_algorithm is not None:
|
510
|
+
pulumi.set(__self__, "key_algorithm", key_algorithm)
|
511
|
+
if private_key is not None:
|
512
|
+
pulumi.set(__self__, "private_key", private_key)
|
513
|
+
|
514
|
+
@_builtins.property
|
515
|
+
@pulumi.getter(name="keySource")
|
516
|
+
def key_source(self) -> _builtins.str:
|
517
|
+
"""
|
518
|
+
`(string: <required>)` - Specifies where to get the private
|
519
|
+
key to sign the JWT.
|
520
|
+
Available sources:
|
521
|
+
- "nomad": Use current active key in Nomad's keyring
|
522
|
+
- "private_key": Use key material in the `private_key` field
|
523
|
+
- "client_secret": Use the `oidc_client_secret` as an HMAC key
|
524
|
+
"""
|
525
|
+
return pulumi.get(self, "key_source")
|
526
|
+
|
527
|
+
@_builtins.property
|
528
|
+
@pulumi.getter
|
529
|
+
def audiences(self) -> Optional[Sequence[_builtins.str]]:
|
530
|
+
"""
|
531
|
+
`([]string: optional)` - Who processes the assertion.
|
532
|
+
Defaults to the auth method's `oidc_discovery_url`.
|
533
|
+
"""
|
534
|
+
return pulumi.get(self, "audiences")
|
535
|
+
|
536
|
+
@_builtins.property
|
537
|
+
@pulumi.getter(name="extraHeaders")
|
538
|
+
def extra_headers(self) -> Optional[Mapping[str, _builtins.str]]:
|
539
|
+
"""
|
540
|
+
`(map[string]string: optional)` - Add to the JWT headers,
|
541
|
+
alongside "kid" and "type". Setting the "kid" header here is not allowed;
|
542
|
+
use `private_key.key_id`.
|
543
|
+
"""
|
544
|
+
return pulumi.get(self, "extra_headers")
|
545
|
+
|
546
|
+
@_builtins.property
|
547
|
+
@pulumi.getter(name="keyAlgorithm")
|
548
|
+
def key_algorithm(self) -> Optional[_builtins.str]:
|
549
|
+
"""
|
550
|
+
`(string: <optional>)` is the key's algorithm.
|
551
|
+
Its default values are based on the `key_source`:
|
552
|
+
- "nomad": "RS256"; this is from Nomad's keyring and must not be changed
|
553
|
+
- "private_key": "RS256"; must be RS256, RS384, or RS512
|
554
|
+
- "client_secret": "HS256"; must be HS256, HS384, or HS512
|
555
|
+
"""
|
556
|
+
return pulumi.get(self, "key_algorithm")
|
557
|
+
|
558
|
+
@_builtins.property
|
559
|
+
@pulumi.getter(name="privateKey")
|
560
|
+
def private_key(self) -> Optional['outputs.AclAuthMethodConfigOidcClientAssertionPrivateKey']:
|
561
|
+
"""
|
562
|
+
`(OIDCClientAssertionKey: <optional>)` - External key
|
563
|
+
to sign the JWT. `key_source` must be "private_key" to enable this.
|
564
|
+
"""
|
565
|
+
return pulumi.get(self, "private_key")
|
566
|
+
|
567
|
+
|
568
|
+
@pulumi.output_type
|
569
|
+
class AclAuthMethodConfigOidcClientAssertionPrivateKey(dict):
|
570
|
+
@staticmethod
|
571
|
+
def __key_warning(key: str):
|
572
|
+
suggest = None
|
573
|
+
if key == "keyId":
|
574
|
+
suggest = "key_id"
|
575
|
+
elif key == "keyIdHeader":
|
576
|
+
suggest = "key_id_header"
|
577
|
+
elif key == "pemCert":
|
578
|
+
suggest = "pem_cert"
|
579
|
+
elif key == "pemCertFile":
|
580
|
+
suggest = "pem_cert_file"
|
581
|
+
elif key == "pemKey":
|
582
|
+
suggest = "pem_key"
|
583
|
+
elif key == "pemKeyFile":
|
584
|
+
suggest = "pem_key_file"
|
585
|
+
|
586
|
+
if suggest:
|
587
|
+
pulumi.log.warn(f"Key '{key}' not found in AclAuthMethodConfigOidcClientAssertionPrivateKey. Access the value via the '{suggest}' property getter instead.")
|
588
|
+
|
589
|
+
def __getitem__(self, key: str) -> Any:
|
590
|
+
AclAuthMethodConfigOidcClientAssertionPrivateKey.__key_warning(key)
|
591
|
+
return super().__getitem__(key)
|
592
|
+
|
593
|
+
def get(self, key: str, default = None) -> Any:
|
594
|
+
AclAuthMethodConfigOidcClientAssertionPrivateKey.__key_warning(key)
|
595
|
+
return super().get(key, default)
|
596
|
+
|
597
|
+
def __init__(__self__, *,
|
598
|
+
key_id: Optional[_builtins.str] = None,
|
599
|
+
key_id_header: Optional[_builtins.str] = None,
|
600
|
+
pem_cert: Optional[_builtins.str] = None,
|
601
|
+
pem_cert_file: Optional[_builtins.str] = None,
|
602
|
+
pem_key: Optional[_builtins.str] = None,
|
603
|
+
pem_key_file: Optional[_builtins.str] = None):
|
604
|
+
"""
|
605
|
+
:param _builtins.str key_id: `(string: optional)` - Becomes the JWT's "kid" header.
|
606
|
+
Mutually exclusive with `pem_cert` and `pem_cert_file`.
|
607
|
+
Allowed `key_id_header` values: "kid" (the default)
|
608
|
+
:param _builtins.str key_id_header: `(string: optional)` - Which header the provider uses
|
609
|
+
to find the public key to verify the signed JWT.
|
610
|
+
The default and allowed values depend on whether you set `key_id`,
|
611
|
+
`pem_cert`, or `pem_cert_file`. You must set exactly one of those
|
612
|
+
options, so refer to them for their requirements.
|
613
|
+
:param _builtins.str pem_cert: `(string: optional)` - An x509 certificate, signed by the
|
614
|
+
private key or a CA, in pem format. Nomad uses this certificate to
|
615
|
+
derive an [x5t#S256][] (or [x5t][]) key_id.
|
616
|
+
Mutually exclusive with `pem_cert_file` and `key_id`.
|
617
|
+
Allowed `key_id_header` values: "x5t", "x5t#S256" (default "x5t#S256")
|
618
|
+
:param _builtins.str pem_cert_file: `(string: optional)` - An absolute path to an x509
|
619
|
+
certificate on Nomad servers' disk, signed by the private key or a CA,
|
620
|
+
in pem format.
|
621
|
+
Nomad uses this certificate to derive an [x5t#S256][] (or [x5t][])
|
622
|
+
header. Mutually exclusive with `pem_cert` and key_id.
|
623
|
+
Allowed `key_id_header` values: "x5t", "x5t#S256" (default "x5t#S256")
|
624
|
+
:param _builtins.str pem_key: `(string: <optional>)` - An RSA private key, in pem format.
|
625
|
+
It is used to sign the JWT. Mutually exclusive with `pem_key`.
|
626
|
+
:param _builtins.str pem_key_file: `(string: optional)` - An absolute path to a private key
|
627
|
+
on Nomad servers' disk, in pem format. It is used to sign the JWT.
|
628
|
+
Mutually exclusive with `pem_key_file`.
|
629
|
+
"""
|
630
|
+
if key_id is not None:
|
631
|
+
pulumi.set(__self__, "key_id", key_id)
|
632
|
+
if key_id_header is not None:
|
633
|
+
pulumi.set(__self__, "key_id_header", key_id_header)
|
634
|
+
if pem_cert is not None:
|
635
|
+
pulumi.set(__self__, "pem_cert", pem_cert)
|
636
|
+
if pem_cert_file is not None:
|
637
|
+
pulumi.set(__self__, "pem_cert_file", pem_cert_file)
|
638
|
+
if pem_key is not None:
|
639
|
+
pulumi.set(__self__, "pem_key", pem_key)
|
640
|
+
if pem_key_file is not None:
|
641
|
+
pulumi.set(__self__, "pem_key_file", pem_key_file)
|
642
|
+
|
643
|
+
@_builtins.property
|
644
|
+
@pulumi.getter(name="keyId")
|
645
|
+
def key_id(self) -> Optional[_builtins.str]:
|
646
|
+
"""
|
647
|
+
`(string: optional)` - Becomes the JWT's "kid" header.
|
648
|
+
Mutually exclusive with `pem_cert` and `pem_cert_file`.
|
649
|
+
Allowed `key_id_header` values: "kid" (the default)
|
650
|
+
"""
|
651
|
+
return pulumi.get(self, "key_id")
|
652
|
+
|
653
|
+
@_builtins.property
|
654
|
+
@pulumi.getter(name="keyIdHeader")
|
655
|
+
def key_id_header(self) -> Optional[_builtins.str]:
|
656
|
+
"""
|
657
|
+
`(string: optional)` - Which header the provider uses
|
658
|
+
to find the public key to verify the signed JWT.
|
659
|
+
The default and allowed values depend on whether you set `key_id`,
|
660
|
+
`pem_cert`, or `pem_cert_file`. You must set exactly one of those
|
661
|
+
options, so refer to them for their requirements.
|
662
|
+
"""
|
663
|
+
return pulumi.get(self, "key_id_header")
|
664
|
+
|
665
|
+
@_builtins.property
|
666
|
+
@pulumi.getter(name="pemCert")
|
667
|
+
def pem_cert(self) -> Optional[_builtins.str]:
|
668
|
+
"""
|
669
|
+
`(string: optional)` - An x509 certificate, signed by the
|
670
|
+
private key or a CA, in pem format. Nomad uses this certificate to
|
671
|
+
derive an [x5t#S256][] (or [x5t][]) key_id.
|
672
|
+
Mutually exclusive with `pem_cert_file` and `key_id`.
|
673
|
+
Allowed `key_id_header` values: "x5t", "x5t#S256" (default "x5t#S256")
|
674
|
+
"""
|
675
|
+
return pulumi.get(self, "pem_cert")
|
676
|
+
|
677
|
+
@_builtins.property
|
678
|
+
@pulumi.getter(name="pemCertFile")
|
679
|
+
def pem_cert_file(self) -> Optional[_builtins.str]:
|
680
|
+
"""
|
681
|
+
`(string: optional)` - An absolute path to an x509
|
682
|
+
certificate on Nomad servers' disk, signed by the private key or a CA,
|
683
|
+
in pem format.
|
684
|
+
Nomad uses this certificate to derive an [x5t#S256][] (or [x5t][])
|
685
|
+
header. Mutually exclusive with `pem_cert` and key_id.
|
686
|
+
Allowed `key_id_header` values: "x5t", "x5t#S256" (default "x5t#S256")
|
687
|
+
"""
|
688
|
+
return pulumi.get(self, "pem_cert_file")
|
689
|
+
|
690
|
+
@_builtins.property
|
691
|
+
@pulumi.getter(name="pemKey")
|
692
|
+
def pem_key(self) -> Optional[_builtins.str]:
|
693
|
+
"""
|
694
|
+
`(string: <optional>)` - An RSA private key, in pem format.
|
695
|
+
It is used to sign the JWT. Mutually exclusive with `pem_key`.
|
696
|
+
"""
|
697
|
+
return pulumi.get(self, "pem_key")
|
698
|
+
|
699
|
+
@_builtins.property
|
700
|
+
@pulumi.getter(name="pemKeyFile")
|
701
|
+
def pem_key_file(self) -> Optional[_builtins.str]:
|
702
|
+
"""
|
703
|
+
`(string: optional)` - An absolute path to a private key
|
704
|
+
on Nomad servers' disk, in pem format. It is used to sign the JWT.
|
705
|
+
Mutually exclusive with `pem_key_file`.
|
706
|
+
"""
|
707
|
+
return pulumi.get(self, "pem_key_file")
|
708
|
+
|
393
709
|
|
394
710
|
@pulumi.output_type
|
395
711
|
class AclPolicyJobAcl(dict):
|
@@ -411,15 +727,15 @@ class AclPolicyJobAcl(dict):
|
|
411
727
|
return super().get(key, default)
|
412
728
|
|
413
729
|
def __init__(__self__, *,
|
414
|
-
job_id:
|
415
|
-
group: Optional[
|
416
|
-
namespace: Optional[
|
417
|
-
task: Optional[
|
730
|
+
job_id: _builtins.str,
|
731
|
+
group: Optional[_builtins.str] = None,
|
732
|
+
namespace: Optional[_builtins.str] = None,
|
733
|
+
task: Optional[_builtins.str] = None):
|
418
734
|
"""
|
419
|
-
:param
|
420
|
-
:param
|
421
|
-
:param
|
422
|
-
:param
|
735
|
+
:param _builtins.str job_id: Job
|
736
|
+
:param _builtins.str group: Group
|
737
|
+
:param _builtins.str namespace: Namespace
|
738
|
+
:param _builtins.str task: Task
|
423
739
|
"""
|
424
740
|
pulumi.set(__self__, "job_id", job_id)
|
425
741
|
if group is not None:
|
@@ -429,33 +745,33 @@ class AclPolicyJobAcl(dict):
|
|
429
745
|
if task is not None:
|
430
746
|
pulumi.set(__self__, "task", task)
|
431
747
|
|
432
|
-
@property
|
748
|
+
@_builtins.property
|
433
749
|
@pulumi.getter(name="jobId")
|
434
|
-
def job_id(self) ->
|
750
|
+
def job_id(self) -> _builtins.str:
|
435
751
|
"""
|
436
752
|
Job
|
437
753
|
"""
|
438
754
|
return pulumi.get(self, "job_id")
|
439
755
|
|
440
|
-
@property
|
756
|
+
@_builtins.property
|
441
757
|
@pulumi.getter
|
442
|
-
def group(self) -> Optional[
|
758
|
+
def group(self) -> Optional[_builtins.str]:
|
443
759
|
"""
|
444
760
|
Group
|
445
761
|
"""
|
446
762
|
return pulumi.get(self, "group")
|
447
763
|
|
448
|
-
@property
|
764
|
+
@_builtins.property
|
449
765
|
@pulumi.getter
|
450
|
-
def namespace(self) -> Optional[
|
766
|
+
def namespace(self) -> Optional[_builtins.str]:
|
451
767
|
"""
|
452
768
|
Namespace
|
453
769
|
"""
|
454
770
|
return pulumi.get(self, "namespace")
|
455
771
|
|
456
|
-
@property
|
772
|
+
@_builtins.property
|
457
773
|
@pulumi.getter
|
458
|
-
def task(self) -> Optional[
|
774
|
+
def task(self) -> Optional[_builtins.str]:
|
459
775
|
"""
|
460
776
|
Task
|
461
777
|
"""
|
@@ -465,15 +781,15 @@ class AclPolicyJobAcl(dict):
|
|
465
781
|
@pulumi.output_type
|
466
782
|
class AclRolePolicy(dict):
|
467
783
|
def __init__(__self__, *,
|
468
|
-
name:
|
784
|
+
name: _builtins.str):
|
469
785
|
"""
|
470
|
-
:param
|
786
|
+
:param _builtins.str name: `(string: <required>)` - A human-friendly name for this ACL Role.
|
471
787
|
"""
|
472
788
|
pulumi.set(__self__, "name", name)
|
473
789
|
|
474
|
-
@property
|
790
|
+
@_builtins.property
|
475
791
|
@pulumi.getter
|
476
|
-
def name(self) ->
|
792
|
+
def name(self) -> _builtins.str:
|
477
793
|
"""
|
478
794
|
`(string: <required>)` - A human-friendly name for this ACL Role.
|
479
795
|
"""
|
@@ -483,27 +799,27 @@ class AclRolePolicy(dict):
|
|
483
799
|
@pulumi.output_type
|
484
800
|
class AclTokenRole(dict):
|
485
801
|
def __init__(__self__, *,
|
486
|
-
id:
|
487
|
-
name: Optional[
|
802
|
+
id: _builtins.str,
|
803
|
+
name: Optional[_builtins.str] = None):
|
488
804
|
"""
|
489
|
-
:param
|
490
|
-
:param
|
805
|
+
:param _builtins.str id: The ID of the ACL role to link.
|
806
|
+
:param _builtins.str name: `(string: "")` - A human-friendly name for this token.
|
491
807
|
"""
|
492
808
|
pulumi.set(__self__, "id", id)
|
493
809
|
if name is not None:
|
494
810
|
pulumi.set(__self__, "name", name)
|
495
811
|
|
496
|
-
@property
|
812
|
+
@_builtins.property
|
497
813
|
@pulumi.getter
|
498
|
-
def id(self) ->
|
814
|
+
def id(self) -> _builtins.str:
|
499
815
|
"""
|
500
816
|
The ID of the ACL role to link.
|
501
817
|
"""
|
502
818
|
return pulumi.get(self, "id")
|
503
819
|
|
504
|
-
@property
|
820
|
+
@_builtins.property
|
505
821
|
@pulumi.getter
|
506
|
-
def name(self) -> Optional[
|
822
|
+
def name(self) -> Optional[_builtins.str]:
|
507
823
|
"""
|
508
824
|
`(string: "")` - A human-friendly name for this token.
|
509
825
|
"""
|
@@ -532,25 +848,25 @@ class CsiVolumeCapability(dict):
|
|
532
848
|
return super().get(key, default)
|
533
849
|
|
534
850
|
def __init__(__self__, *,
|
535
|
-
access_mode:
|
536
|
-
attachment_mode:
|
851
|
+
access_mode: _builtins.str,
|
852
|
+
attachment_mode: _builtins.str):
|
537
853
|
"""
|
538
|
-
:param
|
854
|
+
:param _builtins.str access_mode: `(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
539
855
|
- `single-node-reader-only`
|
540
856
|
- `single-node-writer`
|
541
857
|
- `multi-node-reader-only`
|
542
858
|
- `multi-node-single-writer`
|
543
859
|
- `multi-node-multi-writer`
|
544
|
-
:param
|
860
|
+
:param _builtins.str attachment_mode: `(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
545
861
|
- `block-device`
|
546
862
|
- `file-system`
|
547
863
|
"""
|
548
864
|
pulumi.set(__self__, "access_mode", access_mode)
|
549
865
|
pulumi.set(__self__, "attachment_mode", attachment_mode)
|
550
866
|
|
551
|
-
@property
|
867
|
+
@_builtins.property
|
552
868
|
@pulumi.getter(name="accessMode")
|
553
|
-
def access_mode(self) ->
|
869
|
+
def access_mode(self) -> _builtins.str:
|
554
870
|
"""
|
555
871
|
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
556
872
|
- `single-node-reader-only`
|
@@ -561,9 +877,9 @@ class CsiVolumeCapability(dict):
|
|
561
877
|
"""
|
562
878
|
return pulumi.get(self, "access_mode")
|
563
879
|
|
564
|
-
@property
|
880
|
+
@_builtins.property
|
565
881
|
@pulumi.getter(name="attachmentMode")
|
566
|
-
def attachment_mode(self) ->
|
882
|
+
def attachment_mode(self) -> _builtins.str:
|
567
883
|
"""
|
568
884
|
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
569
885
|
- `block-device`
|
@@ -594,28 +910,28 @@ class CsiVolumeMountOptions(dict):
|
|
594
910
|
return super().get(key, default)
|
595
911
|
|
596
912
|
def __init__(__self__, *,
|
597
|
-
fs_type: Optional[
|
598
|
-
mount_flags: Optional[Sequence[
|
913
|
+
fs_type: Optional[_builtins.str] = None,
|
914
|
+
mount_flags: Optional[Sequence[_builtins.str]] = None):
|
599
915
|
"""
|
600
|
-
:param
|
601
|
-
:param Sequence[
|
916
|
+
:param _builtins.str fs_type: `(string: optional)` - The file system type.
|
917
|
+
:param Sequence[_builtins.str] mount_flags: `[]string: optional` - The flags passed to `mount`.
|
602
918
|
"""
|
603
919
|
if fs_type is not None:
|
604
920
|
pulumi.set(__self__, "fs_type", fs_type)
|
605
921
|
if mount_flags is not None:
|
606
922
|
pulumi.set(__self__, "mount_flags", mount_flags)
|
607
923
|
|
608
|
-
@property
|
924
|
+
@_builtins.property
|
609
925
|
@pulumi.getter(name="fsType")
|
610
|
-
def fs_type(self) -> Optional[
|
926
|
+
def fs_type(self) -> Optional[_builtins.str]:
|
611
927
|
"""
|
612
928
|
`(string: optional)` - The file system type.
|
613
929
|
"""
|
614
930
|
return pulumi.get(self, "fs_type")
|
615
931
|
|
616
|
-
@property
|
932
|
+
@_builtins.property
|
617
933
|
@pulumi.getter(name="mountFlags")
|
618
|
-
def mount_flags(self) -> Optional[Sequence[
|
934
|
+
def mount_flags(self) -> Optional[Sequence[_builtins.str]]:
|
619
935
|
"""
|
620
936
|
`[]string: optional` - The flags passed to `mount`.
|
621
937
|
"""
|
@@ -644,25 +960,25 @@ class CsiVolumeRegistrationCapability(dict):
|
|
644
960
|
return super().get(key, default)
|
645
961
|
|
646
962
|
def __init__(__self__, *,
|
647
|
-
access_mode:
|
648
|
-
attachment_mode:
|
963
|
+
access_mode: _builtins.str,
|
964
|
+
attachment_mode: _builtins.str):
|
649
965
|
"""
|
650
|
-
:param
|
966
|
+
:param _builtins.str access_mode: `(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
651
967
|
- `single-node-reader-only`
|
652
968
|
- `single-node-writer`
|
653
969
|
- `multi-node-reader-only`
|
654
970
|
- `multi-node-single-writer`
|
655
971
|
- `multi-node-multi-writer`
|
656
|
-
:param
|
972
|
+
:param _builtins.str attachment_mode: `(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
657
973
|
- `block-device`
|
658
974
|
- `file-system`
|
659
975
|
"""
|
660
976
|
pulumi.set(__self__, "access_mode", access_mode)
|
661
977
|
pulumi.set(__self__, "attachment_mode", attachment_mode)
|
662
978
|
|
663
|
-
@property
|
979
|
+
@_builtins.property
|
664
980
|
@pulumi.getter(name="accessMode")
|
665
|
-
def access_mode(self) ->
|
981
|
+
def access_mode(self) -> _builtins.str:
|
666
982
|
"""
|
667
983
|
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
668
984
|
- `single-node-reader-only`
|
@@ -673,9 +989,9 @@ class CsiVolumeRegistrationCapability(dict):
|
|
673
989
|
"""
|
674
990
|
return pulumi.get(self, "access_mode")
|
675
991
|
|
676
|
-
@property
|
992
|
+
@_builtins.property
|
677
993
|
@pulumi.getter(name="attachmentMode")
|
678
|
-
def attachment_mode(self) ->
|
994
|
+
def attachment_mode(self) -> _builtins.str:
|
679
995
|
"""
|
680
996
|
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
681
997
|
- `block-device`
|
@@ -706,28 +1022,28 @@ class CsiVolumeRegistrationMountOptions(dict):
|
|
706
1022
|
return super().get(key, default)
|
707
1023
|
|
708
1024
|
def __init__(__self__, *,
|
709
|
-
fs_type: Optional[
|
710
|
-
mount_flags: Optional[Sequence[
|
1025
|
+
fs_type: Optional[_builtins.str] = None,
|
1026
|
+
mount_flags: Optional[Sequence[_builtins.str]] = None):
|
711
1027
|
"""
|
712
|
-
:param
|
713
|
-
:param Sequence[
|
1028
|
+
:param _builtins.str fs_type: `(string: <optional>)` - The file system type.
|
1029
|
+
:param Sequence[_builtins.str] mount_flags: `([]string: <optional>)` - The flags passed to `mount`.
|
714
1030
|
"""
|
715
1031
|
if fs_type is not None:
|
716
1032
|
pulumi.set(__self__, "fs_type", fs_type)
|
717
1033
|
if mount_flags is not None:
|
718
1034
|
pulumi.set(__self__, "mount_flags", mount_flags)
|
719
1035
|
|
720
|
-
@property
|
1036
|
+
@_builtins.property
|
721
1037
|
@pulumi.getter(name="fsType")
|
722
|
-
def fs_type(self) -> Optional[
|
1038
|
+
def fs_type(self) -> Optional[_builtins.str]:
|
723
1039
|
"""
|
724
1040
|
`(string: <optional>)` - The file system type.
|
725
1041
|
"""
|
726
1042
|
return pulumi.get(self, "fs_type")
|
727
1043
|
|
728
|
-
@property
|
1044
|
+
@_builtins.property
|
729
1045
|
@pulumi.getter(name="mountFlags")
|
730
|
-
def mount_flags(self) -> Optional[Sequence[
|
1046
|
+
def mount_flags(self) -> Optional[Sequence[_builtins.str]]:
|
731
1047
|
"""
|
732
1048
|
`([]string: <optional>)` - The flags passed to `mount`.
|
733
1049
|
"""
|
@@ -737,9 +1053,9 @@ class CsiVolumeRegistrationMountOptions(dict):
|
|
737
1053
|
@pulumi.output_type
|
738
1054
|
class CsiVolumeRegistrationTopology(dict):
|
739
1055
|
def __init__(__self__, *,
|
740
|
-
segments: Optional[Mapping[str,
|
1056
|
+
segments: Optional[Mapping[str, _builtins.str]] = None):
|
741
1057
|
"""
|
742
|
-
:param Mapping[str,
|
1058
|
+
:param Mapping[str, _builtins.str] segments: `(map[string]string)` - Define the attributes for the topology request.
|
743
1059
|
|
744
1060
|
In addition to the above arguments, the following attributes are exported and
|
745
1061
|
can be referenced:
|
@@ -747,9 +1063,9 @@ class CsiVolumeRegistrationTopology(dict):
|
|
747
1063
|
if segments is not None:
|
748
1064
|
pulumi.set(__self__, "segments", segments)
|
749
1065
|
|
750
|
-
@property
|
1066
|
+
@_builtins.property
|
751
1067
|
@pulumi.getter
|
752
|
-
def segments(self) -> Optional[Mapping[str,
|
1068
|
+
def segments(self) -> Optional[Mapping[str, _builtins.str]]:
|
753
1069
|
"""
|
754
1070
|
`(map[string]string)` - Define the attributes for the topology request.
|
755
1071
|
|
@@ -769,7 +1085,7 @@ class CsiVolumeRegistrationTopologyRequest(dict):
|
|
769
1085
|
if required is not None:
|
770
1086
|
pulumi.set(__self__, "required", required)
|
771
1087
|
|
772
|
-
@property
|
1088
|
+
@_builtins.property
|
773
1089
|
@pulumi.getter
|
774
1090
|
def required(self) -> Optional['outputs.CsiVolumeRegistrationTopologyRequestRequired']:
|
775
1091
|
"""
|
@@ -787,7 +1103,7 @@ class CsiVolumeRegistrationTopologyRequestRequired(dict):
|
|
787
1103
|
"""
|
788
1104
|
pulumi.set(__self__, "topologies", topologies)
|
789
1105
|
|
790
|
-
@property
|
1106
|
+
@_builtins.property
|
791
1107
|
@pulumi.getter
|
792
1108
|
def topologies(self) -> Sequence['outputs.CsiVolumeRegistrationTopologyRequestRequiredTopology']:
|
793
1109
|
"""
|
@@ -799,15 +1115,15 @@ class CsiVolumeRegistrationTopologyRequestRequired(dict):
|
|
799
1115
|
@pulumi.output_type
|
800
1116
|
class CsiVolumeRegistrationTopologyRequestRequiredTopology(dict):
|
801
1117
|
def __init__(__self__, *,
|
802
|
-
segments: Mapping[str,
|
1118
|
+
segments: Mapping[str, _builtins.str]):
|
803
1119
|
"""
|
804
|
-
:param Mapping[str,
|
1120
|
+
:param Mapping[str, _builtins.str] segments: Define attributes for the topology request.
|
805
1121
|
"""
|
806
1122
|
pulumi.set(__self__, "segments", segments)
|
807
1123
|
|
808
|
-
@property
|
1124
|
+
@_builtins.property
|
809
1125
|
@pulumi.getter
|
810
|
-
def segments(self) -> Mapping[str,
|
1126
|
+
def segments(self) -> Mapping[str, _builtins.str]:
|
811
1127
|
"""
|
812
1128
|
Define attributes for the topology request.
|
813
1129
|
"""
|
@@ -817,9 +1133,9 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopology(dict):
|
|
817
1133
|
@pulumi.output_type
|
818
1134
|
class CsiVolumeTopology(dict):
|
819
1135
|
def __init__(__self__, *,
|
820
|
-
segments: Optional[Mapping[str,
|
1136
|
+
segments: Optional[Mapping[str, _builtins.str]] = None):
|
821
1137
|
"""
|
822
|
-
:param Mapping[str,
|
1138
|
+
:param Mapping[str, _builtins.str] segments: `(map[string]string)` - Define the attributes for the topology request.
|
823
1139
|
|
824
1140
|
In addition to the above arguments, the following attributes are exported and
|
825
1141
|
can be referenced:
|
@@ -827,9 +1143,9 @@ class CsiVolumeTopology(dict):
|
|
827
1143
|
if segments is not None:
|
828
1144
|
pulumi.set(__self__, "segments", segments)
|
829
1145
|
|
830
|
-
@property
|
1146
|
+
@_builtins.property
|
831
1147
|
@pulumi.getter
|
832
|
-
def segments(self) -> Optional[Mapping[str,
|
1148
|
+
def segments(self) -> Optional[Mapping[str, _builtins.str]]:
|
833
1149
|
"""
|
834
1150
|
`(map[string]string)` - Define the attributes for the topology request.
|
835
1151
|
|
@@ -853,7 +1169,7 @@ class CsiVolumeTopologyRequest(dict):
|
|
853
1169
|
if required is not None:
|
854
1170
|
pulumi.set(__self__, "required", required)
|
855
1171
|
|
856
|
-
@property
|
1172
|
+
@_builtins.property
|
857
1173
|
@pulumi.getter
|
858
1174
|
def preferred(self) -> Optional['outputs.CsiVolumeTopologyRequestPreferred']:
|
859
1175
|
"""
|
@@ -861,7 +1177,7 @@ class CsiVolumeTopologyRequest(dict):
|
|
861
1177
|
"""
|
862
1178
|
return pulumi.get(self, "preferred")
|
863
1179
|
|
864
|
-
@property
|
1180
|
+
@_builtins.property
|
865
1181
|
@pulumi.getter
|
866
1182
|
def required(self) -> Optional['outputs.CsiVolumeTopologyRequestRequired']:
|
867
1183
|
"""
|
@@ -879,7 +1195,7 @@ class CsiVolumeTopologyRequestPreferred(dict):
|
|
879
1195
|
"""
|
880
1196
|
pulumi.set(__self__, "topologies", topologies)
|
881
1197
|
|
882
|
-
@property
|
1198
|
+
@_builtins.property
|
883
1199
|
@pulumi.getter
|
884
1200
|
def topologies(self) -> Sequence['outputs.CsiVolumeTopologyRequestPreferredTopology']:
|
885
1201
|
"""
|
@@ -891,15 +1207,15 @@ class CsiVolumeTopologyRequestPreferred(dict):
|
|
891
1207
|
@pulumi.output_type
|
892
1208
|
class CsiVolumeTopologyRequestPreferredTopology(dict):
|
893
1209
|
def __init__(__self__, *,
|
894
|
-
segments: Mapping[str,
|
1210
|
+
segments: Mapping[str, _builtins.str]):
|
895
1211
|
"""
|
896
|
-
:param Mapping[str,
|
1212
|
+
:param Mapping[str, _builtins.str] segments: Define the attributes for the topology request.
|
897
1213
|
"""
|
898
1214
|
pulumi.set(__self__, "segments", segments)
|
899
1215
|
|
900
|
-
@property
|
1216
|
+
@_builtins.property
|
901
1217
|
@pulumi.getter
|
902
|
-
def segments(self) -> Mapping[str,
|
1218
|
+
def segments(self) -> Mapping[str, _builtins.str]:
|
903
1219
|
"""
|
904
1220
|
Define the attributes for the topology request.
|
905
1221
|
"""
|
@@ -915,7 +1231,7 @@ class CsiVolumeTopologyRequestRequired(dict):
|
|
915
1231
|
"""
|
916
1232
|
pulumi.set(__self__, "topologies", topologies)
|
917
1233
|
|
918
|
-
@property
|
1234
|
+
@_builtins.property
|
919
1235
|
@pulumi.getter
|
920
1236
|
def topologies(self) -> Sequence['outputs.CsiVolumeTopologyRequestRequiredTopology']:
|
921
1237
|
"""
|
@@ -927,21 +1243,209 @@ class CsiVolumeTopologyRequestRequired(dict):
|
|
927
1243
|
@pulumi.output_type
|
928
1244
|
class CsiVolumeTopologyRequestRequiredTopology(dict):
|
929
1245
|
def __init__(__self__, *,
|
930
|
-
segments: Mapping[str,
|
1246
|
+
segments: Mapping[str, _builtins.str]):
|
931
1247
|
"""
|
932
|
-
:param Mapping[str,
|
1248
|
+
:param Mapping[str, _builtins.str] segments: Define the attributes for the topology request.
|
933
1249
|
"""
|
934
1250
|
pulumi.set(__self__, "segments", segments)
|
935
1251
|
|
936
|
-
@property
|
1252
|
+
@_builtins.property
|
937
1253
|
@pulumi.getter
|
938
|
-
def segments(self) -> Mapping[str,
|
1254
|
+
def segments(self) -> Mapping[str, _builtins.str]:
|
939
1255
|
"""
|
940
1256
|
Define the attributes for the topology request.
|
941
1257
|
"""
|
942
1258
|
return pulumi.get(self, "segments")
|
943
1259
|
|
944
1260
|
|
1261
|
+
@pulumi.output_type
|
1262
|
+
class DynamicHostVolumeCapability(dict):
|
1263
|
+
@staticmethod
|
1264
|
+
def __key_warning(key: str):
|
1265
|
+
suggest = None
|
1266
|
+
if key == "accessMode":
|
1267
|
+
suggest = "access_mode"
|
1268
|
+
elif key == "attachmentMode":
|
1269
|
+
suggest = "attachment_mode"
|
1270
|
+
|
1271
|
+
if suggest:
|
1272
|
+
pulumi.log.warn(f"Key '{key}' not found in DynamicHostVolumeCapability. Access the value via the '{suggest}' property getter instead.")
|
1273
|
+
|
1274
|
+
def __getitem__(self, key: str) -> Any:
|
1275
|
+
DynamicHostVolumeCapability.__key_warning(key)
|
1276
|
+
return super().__getitem__(key)
|
1277
|
+
|
1278
|
+
def get(self, key: str, default = None) -> Any:
|
1279
|
+
DynamicHostVolumeCapability.__key_warning(key)
|
1280
|
+
return super().get(key, default)
|
1281
|
+
|
1282
|
+
def __init__(__self__, *,
|
1283
|
+
access_mode: _builtins.str,
|
1284
|
+
attachment_mode: _builtins.str):
|
1285
|
+
"""
|
1286
|
+
:param _builtins.str access_mode: `(string)` - How the volume can be mounted by
|
1287
|
+
allocations. Refer to the [`access_mode`][] documentation for details.
|
1288
|
+
:param _builtins.str attachment_mode: `(string)` - The storage API that will be used by the
|
1289
|
+
volume. Refer to the [`attachment_mode`][] documentation.
|
1290
|
+
"""
|
1291
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
1292
|
+
pulumi.set(__self__, "attachment_mode", attachment_mode)
|
1293
|
+
|
1294
|
+
@_builtins.property
|
1295
|
+
@pulumi.getter(name="accessMode")
|
1296
|
+
def access_mode(self) -> _builtins.str:
|
1297
|
+
"""
|
1298
|
+
`(string)` - How the volume can be mounted by
|
1299
|
+
allocations. Refer to the [`access_mode`][] documentation for details.
|
1300
|
+
"""
|
1301
|
+
return pulumi.get(self, "access_mode")
|
1302
|
+
|
1303
|
+
@_builtins.property
|
1304
|
+
@pulumi.getter(name="attachmentMode")
|
1305
|
+
def attachment_mode(self) -> _builtins.str:
|
1306
|
+
"""
|
1307
|
+
`(string)` - The storage API that will be used by the
|
1308
|
+
volume. Refer to the [`attachment_mode`][] documentation.
|
1309
|
+
"""
|
1310
|
+
return pulumi.get(self, "attachment_mode")
|
1311
|
+
|
1312
|
+
|
1313
|
+
@pulumi.output_type
|
1314
|
+
class DynamicHostVolumeConstraint(dict):
|
1315
|
+
def __init__(__self__, *,
|
1316
|
+
attribute: _builtins.str,
|
1317
|
+
operator: Optional[_builtins.str] = None,
|
1318
|
+
value: Optional[_builtins.str] = None):
|
1319
|
+
"""
|
1320
|
+
:param _builtins.str attribute: `(string)` - The [node attribute][] to check for the constraint.
|
1321
|
+
:param _builtins.str operator: `(string)`- The operator to use in the comparison.
|
1322
|
+
:param _builtins.str value: `(string)` - The value of the attribute to compare against.
|
1323
|
+
"""
|
1324
|
+
pulumi.set(__self__, "attribute", attribute)
|
1325
|
+
if operator is not None:
|
1326
|
+
pulumi.set(__self__, "operator", operator)
|
1327
|
+
if value is not None:
|
1328
|
+
pulumi.set(__self__, "value", value)
|
1329
|
+
|
1330
|
+
@_builtins.property
|
1331
|
+
@pulumi.getter
|
1332
|
+
def attribute(self) -> _builtins.str:
|
1333
|
+
"""
|
1334
|
+
`(string)` - The [node attribute][] to check for the constraint.
|
1335
|
+
"""
|
1336
|
+
return pulumi.get(self, "attribute")
|
1337
|
+
|
1338
|
+
@_builtins.property
|
1339
|
+
@pulumi.getter
|
1340
|
+
def operator(self) -> Optional[_builtins.str]:
|
1341
|
+
"""
|
1342
|
+
`(string)`- The operator to use in the comparison.
|
1343
|
+
"""
|
1344
|
+
return pulumi.get(self, "operator")
|
1345
|
+
|
1346
|
+
@_builtins.property
|
1347
|
+
@pulumi.getter
|
1348
|
+
def value(self) -> Optional[_builtins.str]:
|
1349
|
+
"""
|
1350
|
+
`(string)` - The value of the attribute to compare against.
|
1351
|
+
"""
|
1352
|
+
return pulumi.get(self, "value")
|
1353
|
+
|
1354
|
+
|
1355
|
+
@pulumi.output_type
|
1356
|
+
class DynamicHostVolumeRegistrationCapability(dict):
|
1357
|
+
@staticmethod
|
1358
|
+
def __key_warning(key: str):
|
1359
|
+
suggest = None
|
1360
|
+
if key == "accessMode":
|
1361
|
+
suggest = "access_mode"
|
1362
|
+
elif key == "attachmentMode":
|
1363
|
+
suggest = "attachment_mode"
|
1364
|
+
|
1365
|
+
if suggest:
|
1366
|
+
pulumi.log.warn(f"Key '{key}' not found in DynamicHostVolumeRegistrationCapability. Access the value via the '{suggest}' property getter instead.")
|
1367
|
+
|
1368
|
+
def __getitem__(self, key: str) -> Any:
|
1369
|
+
DynamicHostVolumeRegistrationCapability.__key_warning(key)
|
1370
|
+
return super().__getitem__(key)
|
1371
|
+
|
1372
|
+
def get(self, key: str, default = None) -> Any:
|
1373
|
+
DynamicHostVolumeRegistrationCapability.__key_warning(key)
|
1374
|
+
return super().get(key, default)
|
1375
|
+
|
1376
|
+
def __init__(__self__, *,
|
1377
|
+
access_mode: _builtins.str,
|
1378
|
+
attachment_mode: _builtins.str):
|
1379
|
+
"""
|
1380
|
+
:param _builtins.str access_mode: `(string)` - How the volume can be mounted by
|
1381
|
+
allocations. Refer to the [`access_mode`][] documentation for details.
|
1382
|
+
:param _builtins.str attachment_mode: `(string)` - The storage API that will be used by the
|
1383
|
+
volume. Refer to the [`attachment_mode`][] documentation.
|
1384
|
+
"""
|
1385
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
1386
|
+
pulumi.set(__self__, "attachment_mode", attachment_mode)
|
1387
|
+
|
1388
|
+
@_builtins.property
|
1389
|
+
@pulumi.getter(name="accessMode")
|
1390
|
+
def access_mode(self) -> _builtins.str:
|
1391
|
+
"""
|
1392
|
+
`(string)` - How the volume can be mounted by
|
1393
|
+
allocations. Refer to the [`access_mode`][] documentation for details.
|
1394
|
+
"""
|
1395
|
+
return pulumi.get(self, "access_mode")
|
1396
|
+
|
1397
|
+
@_builtins.property
|
1398
|
+
@pulumi.getter(name="attachmentMode")
|
1399
|
+
def attachment_mode(self) -> _builtins.str:
|
1400
|
+
"""
|
1401
|
+
`(string)` - The storage API that will be used by the
|
1402
|
+
volume. Refer to the [`attachment_mode`][] documentation.
|
1403
|
+
"""
|
1404
|
+
return pulumi.get(self, "attachment_mode")
|
1405
|
+
|
1406
|
+
|
1407
|
+
@pulumi.output_type
|
1408
|
+
class DynamicHostVolumeRegistrationConstraint(dict):
|
1409
|
+
def __init__(__self__, *,
|
1410
|
+
attribute: _builtins.str,
|
1411
|
+
operator: Optional[_builtins.str] = None,
|
1412
|
+
value: Optional[_builtins.str] = None):
|
1413
|
+
"""
|
1414
|
+
:param _builtins.str attribute: An attribute to check to constrain volume placement
|
1415
|
+
:param _builtins.str operator: The operator to use for comparison
|
1416
|
+
:param _builtins.str value: The requested value of the attribute
|
1417
|
+
"""
|
1418
|
+
pulumi.set(__self__, "attribute", attribute)
|
1419
|
+
if operator is not None:
|
1420
|
+
pulumi.set(__self__, "operator", operator)
|
1421
|
+
if value is not None:
|
1422
|
+
pulumi.set(__self__, "value", value)
|
1423
|
+
|
1424
|
+
@_builtins.property
|
1425
|
+
@pulumi.getter
|
1426
|
+
def attribute(self) -> _builtins.str:
|
1427
|
+
"""
|
1428
|
+
An attribute to check to constrain volume placement
|
1429
|
+
"""
|
1430
|
+
return pulumi.get(self, "attribute")
|
1431
|
+
|
1432
|
+
@_builtins.property
|
1433
|
+
@pulumi.getter
|
1434
|
+
def operator(self) -> Optional[_builtins.str]:
|
1435
|
+
"""
|
1436
|
+
The operator to use for comparison
|
1437
|
+
"""
|
1438
|
+
return pulumi.get(self, "operator")
|
1439
|
+
|
1440
|
+
@_builtins.property
|
1441
|
+
@pulumi.getter
|
1442
|
+
def value(self) -> Optional[_builtins.str]:
|
1443
|
+
"""
|
1444
|
+
The requested value of the attribute
|
1445
|
+
"""
|
1446
|
+
return pulumi.get(self, "value")
|
1447
|
+
|
1448
|
+
|
945
1449
|
@pulumi.output_type
|
946
1450
|
class ExternalVolumeCapability(dict):
|
947
1451
|
@staticmethod
|
@@ -964,25 +1468,25 @@ class ExternalVolumeCapability(dict):
|
|
964
1468
|
return super().get(key, default)
|
965
1469
|
|
966
1470
|
def __init__(__self__, *,
|
967
|
-
access_mode:
|
968
|
-
attachment_mode:
|
1471
|
+
access_mode: _builtins.str,
|
1472
|
+
attachment_mode: _builtins.str):
|
969
1473
|
"""
|
970
|
-
:param
|
1474
|
+
:param _builtins.str access_mode: `(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
971
1475
|
- `single-node-reader-only`
|
972
1476
|
- `single-node-writer`
|
973
1477
|
- `multi-node-reader-only`
|
974
1478
|
- `multi-node-single-writer`
|
975
1479
|
- `multi-node-multi-writer`
|
976
|
-
:param
|
1480
|
+
:param _builtins.str attachment_mode: `(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
977
1481
|
- `block-device`
|
978
1482
|
- `file-system`
|
979
1483
|
"""
|
980
1484
|
pulumi.set(__self__, "access_mode", access_mode)
|
981
1485
|
pulumi.set(__self__, "attachment_mode", attachment_mode)
|
982
1486
|
|
983
|
-
@property
|
1487
|
+
@_builtins.property
|
984
1488
|
@pulumi.getter(name="accessMode")
|
985
|
-
def access_mode(self) ->
|
1489
|
+
def access_mode(self) -> _builtins.str:
|
986
1490
|
"""
|
987
1491
|
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
988
1492
|
- `single-node-reader-only`
|
@@ -993,9 +1497,9 @@ class ExternalVolumeCapability(dict):
|
|
993
1497
|
"""
|
994
1498
|
return pulumi.get(self, "access_mode")
|
995
1499
|
|
996
|
-
@property
|
1500
|
+
@_builtins.property
|
997
1501
|
@pulumi.getter(name="attachmentMode")
|
998
|
-
def attachment_mode(self) ->
|
1502
|
+
def attachment_mode(self) -> _builtins.str:
|
999
1503
|
"""
|
1000
1504
|
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
1001
1505
|
- `block-device`
|
@@ -1026,28 +1530,28 @@ class ExternalVolumeMountOptions(dict):
|
|
1026
1530
|
return super().get(key, default)
|
1027
1531
|
|
1028
1532
|
def __init__(__self__, *,
|
1029
|
-
fs_type: Optional[
|
1030
|
-
mount_flags: Optional[Sequence[
|
1533
|
+
fs_type: Optional[_builtins.str] = None,
|
1534
|
+
mount_flags: Optional[Sequence[_builtins.str]] = None):
|
1031
1535
|
"""
|
1032
|
-
:param
|
1033
|
-
:param Sequence[
|
1536
|
+
:param _builtins.str fs_type: `(string: optional)` - The file system type.
|
1537
|
+
:param Sequence[_builtins.str] mount_flags: `[]string: optional` - The flags passed to `mount`.
|
1034
1538
|
"""
|
1035
1539
|
if fs_type is not None:
|
1036
1540
|
pulumi.set(__self__, "fs_type", fs_type)
|
1037
1541
|
if mount_flags is not None:
|
1038
1542
|
pulumi.set(__self__, "mount_flags", mount_flags)
|
1039
1543
|
|
1040
|
-
@property
|
1544
|
+
@_builtins.property
|
1041
1545
|
@pulumi.getter(name="fsType")
|
1042
|
-
def fs_type(self) -> Optional[
|
1546
|
+
def fs_type(self) -> Optional[_builtins.str]:
|
1043
1547
|
"""
|
1044
1548
|
`(string: optional)` - The file system type.
|
1045
1549
|
"""
|
1046
1550
|
return pulumi.get(self, "fs_type")
|
1047
1551
|
|
1048
|
-
@property
|
1552
|
+
@_builtins.property
|
1049
1553
|
@pulumi.getter(name="mountFlags")
|
1050
|
-
def mount_flags(self) -> Optional[Sequence[
|
1554
|
+
def mount_flags(self) -> Optional[Sequence[_builtins.str]]:
|
1051
1555
|
"""
|
1052
1556
|
`[]string: optional` - The flags passed to `mount`.
|
1053
1557
|
"""
|
@@ -1057,9 +1561,9 @@ class ExternalVolumeMountOptions(dict):
|
|
1057
1561
|
@pulumi.output_type
|
1058
1562
|
class ExternalVolumeTopology(dict):
|
1059
1563
|
def __init__(__self__, *,
|
1060
|
-
segments: Optional[Mapping[str,
|
1564
|
+
segments: Optional[Mapping[str, _builtins.str]] = None):
|
1061
1565
|
"""
|
1062
|
-
:param Mapping[str,
|
1566
|
+
:param Mapping[str, _builtins.str] segments: `(map[string]string)` - Define the attributes for the topology request.
|
1063
1567
|
|
1064
1568
|
In addition to the above arguments, the following attributes are exported and
|
1065
1569
|
can be referenced:
|
@@ -1067,9 +1571,9 @@ class ExternalVolumeTopology(dict):
|
|
1067
1571
|
if segments is not None:
|
1068
1572
|
pulumi.set(__self__, "segments", segments)
|
1069
1573
|
|
1070
|
-
@property
|
1574
|
+
@_builtins.property
|
1071
1575
|
@pulumi.getter
|
1072
|
-
def segments(self) -> Optional[Mapping[str,
|
1576
|
+
def segments(self) -> Optional[Mapping[str, _builtins.str]]:
|
1073
1577
|
"""
|
1074
1578
|
`(map[string]string)` - Define the attributes for the topology request.
|
1075
1579
|
|
@@ -1093,7 +1597,7 @@ class ExternalVolumeTopologyRequest(dict):
|
|
1093
1597
|
if required is not None:
|
1094
1598
|
pulumi.set(__self__, "required", required)
|
1095
1599
|
|
1096
|
-
@property
|
1600
|
+
@_builtins.property
|
1097
1601
|
@pulumi.getter
|
1098
1602
|
def preferred(self) -> Optional['outputs.ExternalVolumeTopologyRequestPreferred']:
|
1099
1603
|
"""
|
@@ -1101,7 +1605,7 @@ class ExternalVolumeTopologyRequest(dict):
|
|
1101
1605
|
"""
|
1102
1606
|
return pulumi.get(self, "preferred")
|
1103
1607
|
|
1104
|
-
@property
|
1608
|
+
@_builtins.property
|
1105
1609
|
@pulumi.getter
|
1106
1610
|
def required(self) -> Optional['outputs.ExternalVolumeTopologyRequestRequired']:
|
1107
1611
|
"""
|
@@ -1119,7 +1623,7 @@ class ExternalVolumeTopologyRequestPreferred(dict):
|
|
1119
1623
|
"""
|
1120
1624
|
pulumi.set(__self__, "topologies", topologies)
|
1121
1625
|
|
1122
|
-
@property
|
1626
|
+
@_builtins.property
|
1123
1627
|
@pulumi.getter
|
1124
1628
|
def topologies(self) -> Sequence['outputs.ExternalVolumeTopologyRequestPreferredTopology']:
|
1125
1629
|
"""
|
@@ -1131,15 +1635,15 @@ class ExternalVolumeTopologyRequestPreferred(dict):
|
|
1131
1635
|
@pulumi.output_type
|
1132
1636
|
class ExternalVolumeTopologyRequestPreferredTopology(dict):
|
1133
1637
|
def __init__(__self__, *,
|
1134
|
-
segments: Mapping[str,
|
1638
|
+
segments: Mapping[str, _builtins.str]):
|
1135
1639
|
"""
|
1136
|
-
:param Mapping[str,
|
1640
|
+
:param Mapping[str, _builtins.str] segments: Define the attributes for the topology request.
|
1137
1641
|
"""
|
1138
1642
|
pulumi.set(__self__, "segments", segments)
|
1139
1643
|
|
1140
|
-
@property
|
1644
|
+
@_builtins.property
|
1141
1645
|
@pulumi.getter
|
1142
|
-
def segments(self) -> Mapping[str,
|
1646
|
+
def segments(self) -> Mapping[str, _builtins.str]:
|
1143
1647
|
"""
|
1144
1648
|
Define the attributes for the topology request.
|
1145
1649
|
"""
|
@@ -1155,7 +1659,7 @@ class ExternalVolumeTopologyRequestRequired(dict):
|
|
1155
1659
|
"""
|
1156
1660
|
pulumi.set(__self__, "topologies", topologies)
|
1157
1661
|
|
1158
|
-
@property
|
1662
|
+
@_builtins.property
|
1159
1663
|
@pulumi.getter
|
1160
1664
|
def topologies(self) -> Sequence['outputs.ExternalVolumeTopologyRequestRequiredTopology']:
|
1161
1665
|
"""
|
@@ -1167,15 +1671,15 @@ class ExternalVolumeTopologyRequestRequired(dict):
|
|
1167
1671
|
@pulumi.output_type
|
1168
1672
|
class ExternalVolumeTopologyRequestRequiredTopology(dict):
|
1169
1673
|
def __init__(__self__, *,
|
1170
|
-
segments: Mapping[str,
|
1674
|
+
segments: Mapping[str, _builtins.str]):
|
1171
1675
|
"""
|
1172
|
-
:param Mapping[str,
|
1676
|
+
:param Mapping[str, _builtins.str] segments: Define the attributes for the topology request.
|
1173
1677
|
"""
|
1174
1678
|
pulumi.set(__self__, "segments", segments)
|
1175
1679
|
|
1176
|
-
@property
|
1680
|
+
@_builtins.property
|
1177
1681
|
@pulumi.getter
|
1178
|
-
def segments(self) -> Mapping[str,
|
1682
|
+
def segments(self) -> Mapping[str, _builtins.str]:
|
1179
1683
|
"""
|
1180
1684
|
Define the attributes for the topology request.
|
1181
1685
|
"""
|
@@ -1202,30 +1706,30 @@ class JobHcl2(dict):
|
|
1202
1706
|
return super().get(key, default)
|
1203
1707
|
|
1204
1708
|
def __init__(__self__, *,
|
1205
|
-
allow_fs: Optional[
|
1206
|
-
vars: Optional[Mapping[str,
|
1709
|
+
allow_fs: Optional[_builtins.bool] = None,
|
1710
|
+
vars: Optional[Mapping[str, _builtins.str]] = None):
|
1207
1711
|
"""
|
1208
|
-
:param
|
1712
|
+
:param _builtins.bool allow_fs: `(boolean: false)` - Set this to `true` to be able to use
|
1209
1713
|
HCL2 filesystem functions
|
1210
|
-
:param Mapping[str,
|
1714
|
+
:param Mapping[str, _builtins.str] vars: Additional variables to use when templating the job with HCL2
|
1211
1715
|
"""
|
1212
1716
|
if allow_fs is not None:
|
1213
1717
|
pulumi.set(__self__, "allow_fs", allow_fs)
|
1214
1718
|
if vars is not None:
|
1215
1719
|
pulumi.set(__self__, "vars", vars)
|
1216
1720
|
|
1217
|
-
@property
|
1721
|
+
@_builtins.property
|
1218
1722
|
@pulumi.getter(name="allowFs")
|
1219
|
-
def allow_fs(self) -> Optional[
|
1723
|
+
def allow_fs(self) -> Optional[_builtins.bool]:
|
1220
1724
|
"""
|
1221
1725
|
`(boolean: false)` - Set this to `true` to be able to use
|
1222
1726
|
HCL2 filesystem functions
|
1223
1727
|
"""
|
1224
1728
|
return pulumi.get(self, "allow_fs")
|
1225
1729
|
|
1226
|
-
@property
|
1730
|
+
@_builtins.property
|
1227
1731
|
@pulumi.getter
|
1228
|
-
def vars(self) -> Optional[Mapping[str,
|
1732
|
+
def vars(self) -> Optional[Mapping[str, _builtins.str]]:
|
1229
1733
|
"""
|
1230
1734
|
Additional variables to use when templating the job with HCL2
|
1231
1735
|
"""
|
@@ -1235,9 +1739,9 @@ class JobHcl2(dict):
|
|
1235
1739
|
@pulumi.output_type
|
1236
1740
|
class JobTaskGroup(dict):
|
1237
1741
|
def __init__(__self__, *,
|
1238
|
-
count: Optional[
|
1239
|
-
meta: Optional[Mapping[str,
|
1240
|
-
name: Optional[
|
1742
|
+
count: Optional[_builtins.int] = None,
|
1743
|
+
meta: Optional[Mapping[str, _builtins.str]] = None,
|
1744
|
+
name: Optional[_builtins.str] = None,
|
1241
1745
|
tasks: Optional[Sequence['outputs.JobTaskGroupTask']] = None,
|
1242
1746
|
volumes: Optional[Sequence['outputs.JobTaskGroupVolume']] = None):
|
1243
1747
|
if count is not None:
|
@@ -1251,27 +1755,27 @@ class JobTaskGroup(dict):
|
|
1251
1755
|
if volumes is not None:
|
1252
1756
|
pulumi.set(__self__, "volumes", volumes)
|
1253
1757
|
|
1254
|
-
@property
|
1758
|
+
@_builtins.property
|
1255
1759
|
@pulumi.getter
|
1256
|
-
def count(self) -> Optional[
|
1760
|
+
def count(self) -> Optional[_builtins.int]:
|
1257
1761
|
return pulumi.get(self, "count")
|
1258
1762
|
|
1259
|
-
@property
|
1763
|
+
@_builtins.property
|
1260
1764
|
@pulumi.getter
|
1261
|
-
def meta(self) -> Optional[Mapping[str,
|
1765
|
+
def meta(self) -> Optional[Mapping[str, _builtins.str]]:
|
1262
1766
|
return pulumi.get(self, "meta")
|
1263
1767
|
|
1264
|
-
@property
|
1768
|
+
@_builtins.property
|
1265
1769
|
@pulumi.getter
|
1266
|
-
def name(self) -> Optional[
|
1770
|
+
def name(self) -> Optional[_builtins.str]:
|
1267
1771
|
return pulumi.get(self, "name")
|
1268
1772
|
|
1269
|
-
@property
|
1773
|
+
@_builtins.property
|
1270
1774
|
@pulumi.getter
|
1271
1775
|
def tasks(self) -> Optional[Sequence['outputs.JobTaskGroupTask']]:
|
1272
1776
|
return pulumi.get(self, "tasks")
|
1273
1777
|
|
1274
|
-
@property
|
1778
|
+
@_builtins.property
|
1275
1779
|
@pulumi.getter
|
1276
1780
|
def volumes(self) -> Optional[Sequence['outputs.JobTaskGroupVolume']]:
|
1277
1781
|
return pulumi.get(self, "volumes")
|
@@ -1297,9 +1801,9 @@ class JobTaskGroupTask(dict):
|
|
1297
1801
|
return super().get(key, default)
|
1298
1802
|
|
1299
1803
|
def __init__(__self__, *,
|
1300
|
-
driver: Optional[
|
1301
|
-
meta: Optional[Mapping[str,
|
1302
|
-
name: Optional[
|
1804
|
+
driver: Optional[_builtins.str] = None,
|
1805
|
+
meta: Optional[Mapping[str, _builtins.str]] = None,
|
1806
|
+
name: Optional[_builtins.str] = None,
|
1303
1807
|
volume_mounts: Optional[Sequence['outputs.JobTaskGroupTaskVolumeMount']] = None):
|
1304
1808
|
if driver is not None:
|
1305
1809
|
pulumi.set(__self__, "driver", driver)
|
@@ -1310,22 +1814,22 @@ class JobTaskGroupTask(dict):
|
|
1310
1814
|
if volume_mounts is not None:
|
1311
1815
|
pulumi.set(__self__, "volume_mounts", volume_mounts)
|
1312
1816
|
|
1313
|
-
@property
|
1817
|
+
@_builtins.property
|
1314
1818
|
@pulumi.getter
|
1315
|
-
def driver(self) -> Optional[
|
1819
|
+
def driver(self) -> Optional[_builtins.str]:
|
1316
1820
|
return pulumi.get(self, "driver")
|
1317
1821
|
|
1318
|
-
@property
|
1822
|
+
@_builtins.property
|
1319
1823
|
@pulumi.getter
|
1320
|
-
def meta(self) -> Optional[Mapping[str,
|
1824
|
+
def meta(self) -> Optional[Mapping[str, _builtins.str]]:
|
1321
1825
|
return pulumi.get(self, "meta")
|
1322
1826
|
|
1323
|
-
@property
|
1827
|
+
@_builtins.property
|
1324
1828
|
@pulumi.getter
|
1325
|
-
def name(self) -> Optional[
|
1829
|
+
def name(self) -> Optional[_builtins.str]:
|
1326
1830
|
return pulumi.get(self, "name")
|
1327
1831
|
|
1328
|
-
@property
|
1832
|
+
@_builtins.property
|
1329
1833
|
@pulumi.getter(name="volumeMounts")
|
1330
1834
|
def volume_mounts(self) -> Optional[Sequence['outputs.JobTaskGroupTaskVolumeMount']]:
|
1331
1835
|
return pulumi.get(self, "volume_mounts")
|
@@ -1351,9 +1855,9 @@ class JobTaskGroupTaskVolumeMount(dict):
|
|
1351
1855
|
return super().get(key, default)
|
1352
1856
|
|
1353
1857
|
def __init__(__self__, *,
|
1354
|
-
destination: Optional[
|
1355
|
-
read_only: Optional[
|
1356
|
-
volume: Optional[
|
1858
|
+
destination: Optional[_builtins.str] = None,
|
1859
|
+
read_only: Optional[_builtins.bool] = None,
|
1860
|
+
volume: Optional[_builtins.str] = None):
|
1357
1861
|
if destination is not None:
|
1358
1862
|
pulumi.set(__self__, "destination", destination)
|
1359
1863
|
if read_only is not None:
|
@@ -1361,19 +1865,19 @@ class JobTaskGroupTaskVolumeMount(dict):
|
|
1361
1865
|
if volume is not None:
|
1362
1866
|
pulumi.set(__self__, "volume", volume)
|
1363
1867
|
|
1364
|
-
@property
|
1868
|
+
@_builtins.property
|
1365
1869
|
@pulumi.getter
|
1366
|
-
def destination(self) -> Optional[
|
1870
|
+
def destination(self) -> Optional[_builtins.str]:
|
1367
1871
|
return pulumi.get(self, "destination")
|
1368
1872
|
|
1369
|
-
@property
|
1873
|
+
@_builtins.property
|
1370
1874
|
@pulumi.getter(name="readOnly")
|
1371
|
-
def read_only(self) -> Optional[
|
1875
|
+
def read_only(self) -> Optional[_builtins.bool]:
|
1372
1876
|
return pulumi.get(self, "read_only")
|
1373
1877
|
|
1374
|
-
@property
|
1878
|
+
@_builtins.property
|
1375
1879
|
@pulumi.getter
|
1376
|
-
def volume(self) -> Optional[
|
1880
|
+
def volume(self) -> Optional[_builtins.str]:
|
1377
1881
|
return pulumi.get(self, "volume")
|
1378
1882
|
|
1379
1883
|
|
@@ -1397,10 +1901,10 @@ class JobTaskGroupVolume(dict):
|
|
1397
1901
|
return super().get(key, default)
|
1398
1902
|
|
1399
1903
|
def __init__(__self__, *,
|
1400
|
-
name: Optional[
|
1401
|
-
read_only: Optional[
|
1402
|
-
source: Optional[
|
1403
|
-
type: Optional[
|
1904
|
+
name: Optional[_builtins.str] = None,
|
1905
|
+
read_only: Optional[_builtins.bool] = None,
|
1906
|
+
source: Optional[_builtins.str] = None,
|
1907
|
+
type: Optional[_builtins.str] = None):
|
1404
1908
|
if name is not None:
|
1405
1909
|
pulumi.set(__self__, "name", name)
|
1406
1910
|
if read_only is not None:
|
@@ -1410,24 +1914,24 @@ class JobTaskGroupVolume(dict):
|
|
1410
1914
|
if type is not None:
|
1411
1915
|
pulumi.set(__self__, "type", type)
|
1412
1916
|
|
1413
|
-
@property
|
1917
|
+
@_builtins.property
|
1414
1918
|
@pulumi.getter
|
1415
|
-
def name(self) -> Optional[
|
1919
|
+
def name(self) -> Optional[_builtins.str]:
|
1416
1920
|
return pulumi.get(self, "name")
|
1417
1921
|
|
1418
|
-
@property
|
1922
|
+
@_builtins.property
|
1419
1923
|
@pulumi.getter(name="readOnly")
|
1420
|
-
def read_only(self) -> Optional[
|
1924
|
+
def read_only(self) -> Optional[_builtins.bool]:
|
1421
1925
|
return pulumi.get(self, "read_only")
|
1422
1926
|
|
1423
|
-
@property
|
1927
|
+
@_builtins.property
|
1424
1928
|
@pulumi.getter
|
1425
|
-
def source(self) -> Optional[
|
1929
|
+
def source(self) -> Optional[_builtins.str]:
|
1426
1930
|
return pulumi.get(self, "source")
|
1427
1931
|
|
1428
|
-
@property
|
1932
|
+
@_builtins.property
|
1429
1933
|
@pulumi.getter
|
1430
|
-
def type(self) -> Optional[
|
1934
|
+
def type(self) -> Optional[_builtins.str]:
|
1431
1935
|
return pulumi.get(self, "type")
|
1432
1936
|
|
1433
1937
|
|
@@ -1453,28 +1957,28 @@ class NamespaceCapabilities(dict):
|
|
1453
1957
|
return super().get(key, default)
|
1454
1958
|
|
1455
1959
|
def __init__(__self__, *,
|
1456
|
-
disabled_task_drivers: Optional[Sequence[
|
1457
|
-
enabled_task_drivers: Optional[Sequence[
|
1960
|
+
disabled_task_drivers: Optional[Sequence[_builtins.str]] = None,
|
1961
|
+
enabled_task_drivers: Optional[Sequence[_builtins.str]] = None):
|
1458
1962
|
"""
|
1459
|
-
:param Sequence[
|
1460
|
-
:param Sequence[
|
1963
|
+
:param Sequence[_builtins.str] disabled_task_drivers: `([]string: <optional>)` - Task drivers disabled for the namespace.
|
1964
|
+
:param Sequence[_builtins.str] enabled_task_drivers: `([]string: <optional>)` - Task drivers enabled for the namespace.
|
1461
1965
|
"""
|
1462
1966
|
if disabled_task_drivers is not None:
|
1463
1967
|
pulumi.set(__self__, "disabled_task_drivers", disabled_task_drivers)
|
1464
1968
|
if enabled_task_drivers is not None:
|
1465
1969
|
pulumi.set(__self__, "enabled_task_drivers", enabled_task_drivers)
|
1466
1970
|
|
1467
|
-
@property
|
1971
|
+
@_builtins.property
|
1468
1972
|
@pulumi.getter(name="disabledTaskDrivers")
|
1469
|
-
def disabled_task_drivers(self) -> Optional[Sequence[
|
1973
|
+
def disabled_task_drivers(self) -> Optional[Sequence[_builtins.str]]:
|
1470
1974
|
"""
|
1471
1975
|
`([]string: <optional>)` - Task drivers disabled for the namespace.
|
1472
1976
|
"""
|
1473
1977
|
return pulumi.get(self, "disabled_task_drivers")
|
1474
1978
|
|
1475
|
-
@property
|
1979
|
+
@_builtins.property
|
1476
1980
|
@pulumi.getter(name="enabledTaskDrivers")
|
1477
|
-
def enabled_task_drivers(self) -> Optional[Sequence[
|
1981
|
+
def enabled_task_drivers(self) -> Optional[Sequence[_builtins.str]]:
|
1478
1982
|
"""
|
1479
1983
|
`([]string: <optional>)` - Task drivers enabled for the namespace.
|
1480
1984
|
"""
|
@@ -1484,13 +1988,13 @@ class NamespaceCapabilities(dict):
|
|
1484
1988
|
@pulumi.output_type
|
1485
1989
|
class NamespaceNodePoolConfig(dict):
|
1486
1990
|
def __init__(__self__, *,
|
1487
|
-
alloweds: Optional[Sequence[
|
1488
|
-
default: Optional[
|
1489
|
-
denieds: Optional[Sequence[
|
1991
|
+
alloweds: Optional[Sequence[_builtins.str]] = None,
|
1992
|
+
default: Optional[_builtins.str] = None,
|
1993
|
+
denieds: Optional[Sequence[_builtins.str]] = None):
|
1490
1994
|
"""
|
1491
|
-
:param Sequence[
|
1492
|
-
:param
|
1493
|
-
:param Sequence[
|
1995
|
+
:param Sequence[_builtins.str] alloweds: `([]string: <optional>)` - The list of node pools that are allowed to be used in this namespace.
|
1996
|
+
:param _builtins.str default: `(string: <optional>)` - The default node pool for jobs that don't define one.
|
1997
|
+
:param Sequence[_builtins.str] denieds: `([]string: <optional>)` - The list of node pools that are not allowed to be used in this namespace.
|
1494
1998
|
"""
|
1495
1999
|
if alloweds is not None:
|
1496
2000
|
pulumi.set(__self__, "alloweds", alloweds)
|
@@ -1499,25 +2003,25 @@ class NamespaceNodePoolConfig(dict):
|
|
1499
2003
|
if denieds is not None:
|
1500
2004
|
pulumi.set(__self__, "denieds", denieds)
|
1501
2005
|
|
1502
|
-
@property
|
2006
|
+
@_builtins.property
|
1503
2007
|
@pulumi.getter
|
1504
|
-
def alloweds(self) -> Optional[Sequence[
|
2008
|
+
def alloweds(self) -> Optional[Sequence[_builtins.str]]:
|
1505
2009
|
"""
|
1506
2010
|
`([]string: <optional>)` - The list of node pools that are allowed to be used in this namespace.
|
1507
2011
|
"""
|
1508
2012
|
return pulumi.get(self, "alloweds")
|
1509
2013
|
|
1510
|
-
@property
|
2014
|
+
@_builtins.property
|
1511
2015
|
@pulumi.getter
|
1512
|
-
def default(self) -> Optional[
|
2016
|
+
def default(self) -> Optional[_builtins.str]:
|
1513
2017
|
"""
|
1514
2018
|
`(string: <optional>)` - The default node pool for jobs that don't define one.
|
1515
2019
|
"""
|
1516
2020
|
return pulumi.get(self, "default")
|
1517
2021
|
|
1518
|
-
@property
|
2022
|
+
@_builtins.property
|
1519
2023
|
@pulumi.getter
|
1520
|
-
def denieds(self) -> Optional[Sequence[
|
2024
|
+
def denieds(self) -> Optional[Sequence[_builtins.str]]:
|
1521
2025
|
"""
|
1522
2026
|
`([]string: <optional>)` - The list of node pools that are not allowed to be used in this namespace.
|
1523
2027
|
"""
|
@@ -1546,10 +2050,10 @@ class NodePoolSchedulerConfig(dict):
|
|
1546
2050
|
return super().get(key, default)
|
1547
2051
|
|
1548
2052
|
def __init__(__self__, *,
|
1549
|
-
memory_oversubscription: Optional[
|
1550
|
-
scheduler_algorithm: Optional[
|
2053
|
+
memory_oversubscription: Optional[_builtins.str] = None,
|
2054
|
+
scheduler_algorithm: Optional[_builtins.str] = None):
|
1551
2055
|
"""
|
1552
|
-
:param
|
2056
|
+
:param _builtins.str memory_oversubscription: `(string)` - Whether or not memory
|
1553
2057
|
oversubscription is enabled in the node pool. Possible values are
|
1554
2058
|
`"enabled"` or `"disabled"`. If not defined the global cluster
|
1555
2059
|
configuration is used.
|
@@ -1557,7 +2061,7 @@ class NodePoolSchedulerConfig(dict):
|
|
1557
2061
|
> This option differs from Nomad, where it's represented as a boolean, to
|
1558
2062
|
allow distinguishing between memory oversubscription being disabled in the
|
1559
2063
|
node pool and this property not being set.
|
1560
|
-
:param
|
2064
|
+
:param _builtins.str scheduler_algorithm: `(string)` - The scheduler algorithm used in the node
|
1561
2065
|
pool. Possible values are `binpack` or `spread`. If not defined the global
|
1562
2066
|
cluster configuration is used.
|
1563
2067
|
"""
|
@@ -1566,9 +2070,9 @@ class NodePoolSchedulerConfig(dict):
|
|
1566
2070
|
if scheduler_algorithm is not None:
|
1567
2071
|
pulumi.set(__self__, "scheduler_algorithm", scheduler_algorithm)
|
1568
2072
|
|
1569
|
-
@property
|
2073
|
+
@_builtins.property
|
1570
2074
|
@pulumi.getter(name="memoryOversubscription")
|
1571
|
-
def memory_oversubscription(self) -> Optional[
|
2075
|
+
def memory_oversubscription(self) -> Optional[_builtins.str]:
|
1572
2076
|
"""
|
1573
2077
|
`(string)` - Whether or not memory
|
1574
2078
|
oversubscription is enabled in the node pool. Possible values are
|
@@ -1581,9 +2085,9 @@ class NodePoolSchedulerConfig(dict):
|
|
1581
2085
|
"""
|
1582
2086
|
return pulumi.get(self, "memory_oversubscription")
|
1583
2087
|
|
1584
|
-
@property
|
2088
|
+
@_builtins.property
|
1585
2089
|
@pulumi.getter(name="schedulerAlgorithm")
|
1586
|
-
def scheduler_algorithm(self) -> Optional[
|
2090
|
+
def scheduler_algorithm(self) -> Optional[_builtins.str]:
|
1587
2091
|
"""
|
1588
2092
|
`(string)` - The scheduler algorithm used in the node
|
1589
2093
|
pool. Possible values are `binpack` or `spread`. If not defined the global
|
@@ -1612,10 +2116,10 @@ class QuoteSpecificationLimit(dict):
|
|
1612
2116
|
return super().get(key, default)
|
1613
2117
|
|
1614
2118
|
def __init__(__self__, *,
|
1615
|
-
region:
|
2119
|
+
region: _builtins.str,
|
1616
2120
|
region_limit: 'outputs.QuoteSpecificationLimitRegionLimit'):
|
1617
2121
|
"""
|
1618
|
-
:param
|
2122
|
+
:param _builtins.str region: `(string: <required>)` - The region these limits should apply to.
|
1619
2123
|
:param 'QuoteSpecificationLimitRegionLimitArgs' region_limit: `(block: <required>)` - The limits to enforce. This block
|
1620
2124
|
may only be specified once in the `limits` block. Its structure is
|
1621
2125
|
documented below.
|
@@ -1623,15 +2127,15 @@ class QuoteSpecificationLimit(dict):
|
|
1623
2127
|
pulumi.set(__self__, "region", region)
|
1624
2128
|
pulumi.set(__self__, "region_limit", region_limit)
|
1625
2129
|
|
1626
|
-
@property
|
2130
|
+
@_builtins.property
|
1627
2131
|
@pulumi.getter
|
1628
|
-
def region(self) ->
|
2132
|
+
def region(self) -> _builtins.str:
|
1629
2133
|
"""
|
1630
2134
|
`(string: <required>)` - The region these limits should apply to.
|
1631
2135
|
"""
|
1632
2136
|
return pulumi.get(self, "region")
|
1633
2137
|
|
1634
|
-
@property
|
2138
|
+
@_builtins.property
|
1635
2139
|
@pulumi.getter(name="regionLimit")
|
1636
2140
|
def region_limit(self) -> 'outputs.QuoteSpecificationLimitRegionLimit':
|
1637
2141
|
"""
|
@@ -1662,12 +2166,12 @@ class QuoteSpecificationLimitRegionLimit(dict):
|
|
1662
2166
|
return super().get(key, default)
|
1663
2167
|
|
1664
2168
|
def __init__(__self__, *,
|
1665
|
-
cpu: Optional[
|
1666
|
-
memory_mb: Optional[
|
2169
|
+
cpu: Optional[_builtins.int] = None,
|
2170
|
+
memory_mb: Optional[_builtins.int] = None):
|
1667
2171
|
"""
|
1668
|
-
:param
|
2172
|
+
:param _builtins.int cpu: `(int: 0)` - The amount of CPU to limit allocations to. A value of zero
|
1669
2173
|
is treated as unlimited, and a negative value is treated as fully disallowed.
|
1670
|
-
:param
|
2174
|
+
:param _builtins.int memory_mb: `(int: 0)` - The amount of memory (in megabytes) to limit
|
1671
2175
|
allocations to. A value of zero is treated as unlimited, and a negative value
|
1672
2176
|
is treated as fully disallowed.
|
1673
2177
|
"""
|
@@ -1676,18 +2180,18 @@ class QuoteSpecificationLimitRegionLimit(dict):
|
|
1676
2180
|
if memory_mb is not None:
|
1677
2181
|
pulumi.set(__self__, "memory_mb", memory_mb)
|
1678
2182
|
|
1679
|
-
@property
|
2183
|
+
@_builtins.property
|
1680
2184
|
@pulumi.getter
|
1681
|
-
def cpu(self) -> Optional[
|
2185
|
+
def cpu(self) -> Optional[_builtins.int]:
|
1682
2186
|
"""
|
1683
2187
|
`(int: 0)` - The amount of CPU to limit allocations to. A value of zero
|
1684
2188
|
is treated as unlimited, and a negative value is treated as fully disallowed.
|
1685
2189
|
"""
|
1686
2190
|
return pulumi.get(self, "cpu")
|
1687
2191
|
|
1688
|
-
@property
|
2192
|
+
@_builtins.property
|
1689
2193
|
@pulumi.getter(name="memoryMb")
|
1690
|
-
def memory_mb(self) -> Optional[
|
2194
|
+
def memory_mb(self) -> Optional[_builtins.int]:
|
1691
2195
|
"""
|
1692
2196
|
`(int: 0)` - The amount of memory (in megabytes) to limit
|
1693
2197
|
allocations to. A value of zero is treated as unlimited, and a negative value
|
@@ -1718,25 +2222,25 @@ class VolumeCapability(dict):
|
|
1718
2222
|
return super().get(key, default)
|
1719
2223
|
|
1720
2224
|
def __init__(__self__, *,
|
1721
|
-
access_mode:
|
1722
|
-
attachment_mode:
|
2225
|
+
access_mode: _builtins.str,
|
2226
|
+
attachment_mode: _builtins.str):
|
1723
2227
|
"""
|
1724
|
-
:param
|
2228
|
+
:param _builtins.str access_mode: `(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
1725
2229
|
- `single-node-reader-only`
|
1726
2230
|
- `single-node-writer`
|
1727
2231
|
- `multi-node-reader-only`
|
1728
2232
|
- `multi-node-single-writer`
|
1729
2233
|
- `multi-node-multi-writer`
|
1730
|
-
:param
|
2234
|
+
:param _builtins.str attachment_mode: `(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
1731
2235
|
- `block-device`
|
1732
2236
|
- `file-system`
|
1733
2237
|
"""
|
1734
2238
|
pulumi.set(__self__, "access_mode", access_mode)
|
1735
2239
|
pulumi.set(__self__, "attachment_mode", attachment_mode)
|
1736
2240
|
|
1737
|
-
@property
|
2241
|
+
@_builtins.property
|
1738
2242
|
@pulumi.getter(name="accessMode")
|
1739
|
-
def access_mode(self) ->
|
2243
|
+
def access_mode(self) -> _builtins.str:
|
1740
2244
|
"""
|
1741
2245
|
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
1742
2246
|
- `single-node-reader-only`
|
@@ -1747,9 +2251,9 @@ class VolumeCapability(dict):
|
|
1747
2251
|
"""
|
1748
2252
|
return pulumi.get(self, "access_mode")
|
1749
2253
|
|
1750
|
-
@property
|
2254
|
+
@_builtins.property
|
1751
2255
|
@pulumi.getter(name="attachmentMode")
|
1752
|
-
def attachment_mode(self) ->
|
2256
|
+
def attachment_mode(self) -> _builtins.str:
|
1753
2257
|
"""
|
1754
2258
|
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
1755
2259
|
- `block-device`
|
@@ -1780,28 +2284,28 @@ class VolumeMountOptions(dict):
|
|
1780
2284
|
return super().get(key, default)
|
1781
2285
|
|
1782
2286
|
def __init__(__self__, *,
|
1783
|
-
fs_type: Optional[
|
1784
|
-
mount_flags: Optional[Sequence[
|
2287
|
+
fs_type: Optional[_builtins.str] = None,
|
2288
|
+
mount_flags: Optional[Sequence[_builtins.str]] = None):
|
1785
2289
|
"""
|
1786
|
-
:param
|
1787
|
-
:param Sequence[
|
2290
|
+
:param _builtins.str fs_type: `(string: <optional>)` - The file system type.
|
2291
|
+
:param Sequence[_builtins.str] mount_flags: `([]string: <optional>)` - The flags passed to `mount`.
|
1788
2292
|
"""
|
1789
2293
|
if fs_type is not None:
|
1790
2294
|
pulumi.set(__self__, "fs_type", fs_type)
|
1791
2295
|
if mount_flags is not None:
|
1792
2296
|
pulumi.set(__self__, "mount_flags", mount_flags)
|
1793
2297
|
|
1794
|
-
@property
|
2298
|
+
@_builtins.property
|
1795
2299
|
@pulumi.getter(name="fsType")
|
1796
|
-
def fs_type(self) -> Optional[
|
2300
|
+
def fs_type(self) -> Optional[_builtins.str]:
|
1797
2301
|
"""
|
1798
2302
|
`(string: <optional>)` - The file system type.
|
1799
2303
|
"""
|
1800
2304
|
return pulumi.get(self, "fs_type")
|
1801
2305
|
|
1802
|
-
@property
|
2306
|
+
@_builtins.property
|
1803
2307
|
@pulumi.getter(name="mountFlags")
|
1804
|
-
def mount_flags(self) -> Optional[Sequence[
|
2308
|
+
def mount_flags(self) -> Optional[Sequence[_builtins.str]]:
|
1805
2309
|
"""
|
1806
2310
|
`([]string: <optional>)` - The flags passed to `mount`.
|
1807
2311
|
"""
|
@@ -1811,9 +2315,9 @@ class VolumeMountOptions(dict):
|
|
1811
2315
|
@pulumi.output_type
|
1812
2316
|
class VolumeTopology(dict):
|
1813
2317
|
def __init__(__self__, *,
|
1814
|
-
segments: Optional[Mapping[str,
|
2318
|
+
segments: Optional[Mapping[str, _builtins.str]] = None):
|
1815
2319
|
"""
|
1816
|
-
:param Mapping[str,
|
2320
|
+
:param Mapping[str, _builtins.str] segments: `(map[string]string)` - Define the attributes for the topology request.
|
1817
2321
|
|
1818
2322
|
In addition to the above arguments, the following attributes are exported and
|
1819
2323
|
can be referenced:
|
@@ -1821,9 +2325,9 @@ class VolumeTopology(dict):
|
|
1821
2325
|
if segments is not None:
|
1822
2326
|
pulumi.set(__self__, "segments", segments)
|
1823
2327
|
|
1824
|
-
@property
|
2328
|
+
@_builtins.property
|
1825
2329
|
@pulumi.getter
|
1826
|
-
def segments(self) -> Optional[Mapping[str,
|
2330
|
+
def segments(self) -> Optional[Mapping[str, _builtins.str]]:
|
1827
2331
|
"""
|
1828
2332
|
`(map[string]string)` - Define the attributes for the topology request.
|
1829
2333
|
|
@@ -1843,7 +2347,7 @@ class VolumeTopologyRequest(dict):
|
|
1843
2347
|
if required is not None:
|
1844
2348
|
pulumi.set(__self__, "required", required)
|
1845
2349
|
|
1846
|
-
@property
|
2350
|
+
@_builtins.property
|
1847
2351
|
@pulumi.getter
|
1848
2352
|
def required(self) -> Optional['outputs.VolumeTopologyRequestRequired']:
|
1849
2353
|
"""
|
@@ -1861,7 +2365,7 @@ class VolumeTopologyRequestRequired(dict):
|
|
1861
2365
|
"""
|
1862
2366
|
pulumi.set(__self__, "topologies", topologies)
|
1863
2367
|
|
1864
|
-
@property
|
2368
|
+
@_builtins.property
|
1865
2369
|
@pulumi.getter
|
1866
2370
|
def topologies(self) -> Sequence['outputs.VolumeTopologyRequestRequiredTopology']:
|
1867
2371
|
"""
|
@@ -1873,15 +2377,15 @@ class VolumeTopologyRequestRequired(dict):
|
|
1873
2377
|
@pulumi.output_type
|
1874
2378
|
class VolumeTopologyRequestRequiredTopology(dict):
|
1875
2379
|
def __init__(__self__, *,
|
1876
|
-
segments: Mapping[str,
|
2380
|
+
segments: Mapping[str, _builtins.str]):
|
1877
2381
|
"""
|
1878
|
-
:param Mapping[str,
|
2382
|
+
:param Mapping[str, _builtins.str] segments: Define attributes for the topology request.
|
1879
2383
|
"""
|
1880
2384
|
pulumi.set(__self__, "segments", segments)
|
1881
2385
|
|
1882
|
-
@property
|
2386
|
+
@_builtins.property
|
1883
2387
|
@pulumi.getter
|
1884
|
-
def segments(self) -> Mapping[str,
|
2388
|
+
def segments(self) -> Mapping[str, _builtins.str]:
|
1885
2389
|
"""
|
1886
2390
|
Define attributes for the topology request.
|
1887
2391
|
"""
|
@@ -1891,26 +2395,26 @@ class VolumeTopologyRequestRequiredTopology(dict):
|
|
1891
2395
|
@pulumi.output_type
|
1892
2396
|
class GetAclPoliciesPolicyResult(dict):
|
1893
2397
|
def __init__(__self__, *,
|
1894
|
-
description:
|
1895
|
-
name:
|
2398
|
+
description: _builtins.str,
|
2399
|
+
name: _builtins.str):
|
1896
2400
|
"""
|
1897
|
-
:param
|
1898
|
-
:param
|
2401
|
+
:param _builtins.str description: `(string)` - the description of the ACL Policy.
|
2402
|
+
:param _builtins.str name: `(string)` - the name of the ACL Policy.
|
1899
2403
|
"""
|
1900
2404
|
pulumi.set(__self__, "description", description)
|
1901
2405
|
pulumi.set(__self__, "name", name)
|
1902
2406
|
|
1903
|
-
@property
|
2407
|
+
@_builtins.property
|
1904
2408
|
@pulumi.getter
|
1905
|
-
def description(self) ->
|
2409
|
+
def description(self) -> _builtins.str:
|
1906
2410
|
"""
|
1907
2411
|
`(string)` - the description of the ACL Policy.
|
1908
2412
|
"""
|
1909
2413
|
return pulumi.get(self, "description")
|
1910
2414
|
|
1911
|
-
@property
|
2415
|
+
@_builtins.property
|
1912
2416
|
@pulumi.getter
|
1913
|
-
def name(self) ->
|
2417
|
+
def name(self) -> _builtins.str:
|
1914
2418
|
"""
|
1915
2419
|
`(string)` - the name of the ACL Policy.
|
1916
2420
|
"""
|
@@ -1920,15 +2424,15 @@ class GetAclPoliciesPolicyResult(dict):
|
|
1920
2424
|
@pulumi.output_type
|
1921
2425
|
class GetAclRolePolicyResult(dict):
|
1922
2426
|
def __init__(__self__, *,
|
1923
|
-
name:
|
2427
|
+
name: _builtins.str):
|
1924
2428
|
"""
|
1925
|
-
:param
|
2429
|
+
:param _builtins.str name: `(string)` - Unique name of the ACL role.
|
1926
2430
|
"""
|
1927
2431
|
pulumi.set(__self__, "name", name)
|
1928
2432
|
|
1929
|
-
@property
|
2433
|
+
@_builtins.property
|
1930
2434
|
@pulumi.getter
|
1931
|
-
def name(self) ->
|
2435
|
+
def name(self) -> _builtins.str:
|
1932
2436
|
"""
|
1933
2437
|
`(string)` - Unique name of the ACL role.
|
1934
2438
|
"""
|
@@ -1938,14 +2442,14 @@ class GetAclRolePolicyResult(dict):
|
|
1938
2442
|
@pulumi.output_type
|
1939
2443
|
class GetAclRolesAclRoleResult(dict):
|
1940
2444
|
def __init__(__self__, *,
|
1941
|
-
description:
|
1942
|
-
id:
|
1943
|
-
name:
|
2445
|
+
description: _builtins.str,
|
2446
|
+
id: _builtins.str,
|
2447
|
+
name: _builtins.str,
|
1944
2448
|
policies: Sequence['outputs.GetAclRolesAclRolePolicyResult']):
|
1945
2449
|
"""
|
1946
|
-
:param
|
1947
|
-
:param
|
1948
|
-
:param
|
2450
|
+
:param _builtins.str description: `(string)` - The description of the ACL Role.
|
2451
|
+
:param _builtins.str id: `(string)` - The ACL Role unique identifier.
|
2452
|
+
:param _builtins.str name: `(string)` - Unique name of the ACL role.
|
1949
2453
|
:param Sequence['GetAclRolesAclRolePolicyArgs'] policies: `(set)` - The policies applied to the role.
|
1950
2454
|
"""
|
1951
2455
|
pulumi.set(__self__, "description", description)
|
@@ -1953,31 +2457,31 @@ class GetAclRolesAclRoleResult(dict):
|
|
1953
2457
|
pulumi.set(__self__, "name", name)
|
1954
2458
|
pulumi.set(__self__, "policies", policies)
|
1955
2459
|
|
1956
|
-
@property
|
2460
|
+
@_builtins.property
|
1957
2461
|
@pulumi.getter
|
1958
|
-
def description(self) ->
|
2462
|
+
def description(self) -> _builtins.str:
|
1959
2463
|
"""
|
1960
2464
|
`(string)` - The description of the ACL Role.
|
1961
2465
|
"""
|
1962
2466
|
return pulumi.get(self, "description")
|
1963
2467
|
|
1964
|
-
@property
|
2468
|
+
@_builtins.property
|
1965
2469
|
@pulumi.getter
|
1966
|
-
def id(self) ->
|
2470
|
+
def id(self) -> _builtins.str:
|
1967
2471
|
"""
|
1968
2472
|
`(string)` - The ACL Role unique identifier.
|
1969
2473
|
"""
|
1970
2474
|
return pulumi.get(self, "id")
|
1971
2475
|
|
1972
|
-
@property
|
2476
|
+
@_builtins.property
|
1973
2477
|
@pulumi.getter
|
1974
|
-
def name(self) ->
|
2478
|
+
def name(self) -> _builtins.str:
|
1975
2479
|
"""
|
1976
2480
|
`(string)` - Unique name of the ACL role.
|
1977
2481
|
"""
|
1978
2482
|
return pulumi.get(self, "name")
|
1979
2483
|
|
1980
|
-
@property
|
2484
|
+
@_builtins.property
|
1981
2485
|
@pulumi.getter
|
1982
2486
|
def policies(self) -> Sequence['outputs.GetAclRolesAclRolePolicyResult']:
|
1983
2487
|
"""
|
@@ -1989,15 +2493,15 @@ class GetAclRolesAclRoleResult(dict):
|
|
1989
2493
|
@pulumi.output_type
|
1990
2494
|
class GetAclRolesAclRolePolicyResult(dict):
|
1991
2495
|
def __init__(__self__, *,
|
1992
|
-
name:
|
2496
|
+
name: _builtins.str):
|
1993
2497
|
"""
|
1994
|
-
:param
|
2498
|
+
:param _builtins.str name: `(string)` - Unique name of the ACL role.
|
1995
2499
|
"""
|
1996
2500
|
pulumi.set(__self__, "name", name)
|
1997
2501
|
|
1998
|
-
@property
|
2502
|
+
@_builtins.property
|
1999
2503
|
@pulumi.getter
|
2000
|
-
def name(self) ->
|
2504
|
+
def name(self) -> _builtins.str:
|
2001
2505
|
"""
|
2002
2506
|
`(string)` - Unique name of the ACL role.
|
2003
2507
|
"""
|
@@ -2007,26 +2511,26 @@ class GetAclRolesAclRolePolicyResult(dict):
|
|
2007
2511
|
@pulumi.output_type
|
2008
2512
|
class GetAclTokenRoleResult(dict):
|
2009
2513
|
def __init__(__self__, *,
|
2010
|
-
id:
|
2011
|
-
name:
|
2514
|
+
id: _builtins.str,
|
2515
|
+
name: _builtins.str):
|
2012
2516
|
"""
|
2013
|
-
:param
|
2014
|
-
:param
|
2517
|
+
:param _builtins.str id: The ID of the ACL role.
|
2518
|
+
:param _builtins.str name: `(string)` Non-sensitive identifier for this token.
|
2015
2519
|
"""
|
2016
2520
|
pulumi.set(__self__, "id", id)
|
2017
2521
|
pulumi.set(__self__, "name", name)
|
2018
2522
|
|
2019
|
-
@property
|
2523
|
+
@_builtins.property
|
2020
2524
|
@pulumi.getter
|
2021
|
-
def id(self) ->
|
2525
|
+
def id(self) -> _builtins.str:
|
2022
2526
|
"""
|
2023
2527
|
The ID of the ACL role.
|
2024
2528
|
"""
|
2025
2529
|
return pulumi.get(self, "id")
|
2026
2530
|
|
2027
|
-
@property
|
2531
|
+
@_builtins.property
|
2028
2532
|
@pulumi.getter
|
2029
|
-
def name(self) ->
|
2533
|
+
def name(self) -> _builtins.str:
|
2030
2534
|
"""
|
2031
2535
|
`(string)` Non-sensitive identifier for this token.
|
2032
2536
|
"""
|
@@ -2036,25 +2540,25 @@ class GetAclTokenRoleResult(dict):
|
|
2036
2540
|
@pulumi.output_type
|
2037
2541
|
class GetAclTokensAclTokenResult(dict):
|
2038
2542
|
def __init__(__self__, *,
|
2039
|
-
accessor_id:
|
2040
|
-
create_time:
|
2041
|
-
expiration_time:
|
2042
|
-
global_:
|
2043
|
-
name:
|
2044
|
-
policies: Sequence[
|
2543
|
+
accessor_id: _builtins.str,
|
2544
|
+
create_time: _builtins.str,
|
2545
|
+
expiration_time: _builtins.str,
|
2546
|
+
global_: _builtins.bool,
|
2547
|
+
name: _builtins.str,
|
2548
|
+
policies: Sequence[_builtins.str],
|
2045
2549
|
roles: Sequence['outputs.GetAclTokensAclTokenRoleResult'],
|
2046
|
-
type:
|
2550
|
+
type: _builtins.str):
|
2047
2551
|
"""
|
2048
|
-
:param
|
2049
|
-
:param
|
2050
|
-
:param
|
2552
|
+
:param _builtins.str accessor_id: `(TypeString)` Non-sensitive identifier for the token.
|
2553
|
+
:param _builtins.str create_time: `(string)` Date and time the token was created at.
|
2554
|
+
:param _builtins.str expiration_time: `(string)` - The timestamp after which the token is
|
2051
2555
|
considered expired and eligible for destruction.
|
2052
|
-
:param
|
2053
|
-
:param
|
2054
|
-
:param Sequence[
|
2556
|
+
:param _builtins.bool global_: `(bool)` Whether the token is replicated to all regions.
|
2557
|
+
:param _builtins.str name: `(TypeString)` The name of the token.
|
2558
|
+
:param Sequence[_builtins.str] policies: `(list of strings)` The list of policies attached to the token.
|
2055
2559
|
:param Sequence['GetAclTokensAclTokenRoleArgs'] roles: `(set: [])` - The list of roles attached to the token. Each entry has
|
2056
2560
|
`name` and `id` attributes.
|
2057
|
-
:param
|
2561
|
+
:param _builtins.str type: `(TypeString)` The type of the token.
|
2058
2562
|
"""
|
2059
2563
|
pulumi.set(__self__, "accessor_id", accessor_id)
|
2060
2564
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -2065,56 +2569,56 @@ class GetAclTokensAclTokenResult(dict):
|
|
2065
2569
|
pulumi.set(__self__, "roles", roles)
|
2066
2570
|
pulumi.set(__self__, "type", type)
|
2067
2571
|
|
2068
|
-
@property
|
2572
|
+
@_builtins.property
|
2069
2573
|
@pulumi.getter(name="accessorId")
|
2070
|
-
def accessor_id(self) ->
|
2574
|
+
def accessor_id(self) -> _builtins.str:
|
2071
2575
|
"""
|
2072
2576
|
`(TypeString)` Non-sensitive identifier for the token.
|
2073
2577
|
"""
|
2074
2578
|
return pulumi.get(self, "accessor_id")
|
2075
2579
|
|
2076
|
-
@property
|
2580
|
+
@_builtins.property
|
2077
2581
|
@pulumi.getter(name="createTime")
|
2078
|
-
def create_time(self) ->
|
2582
|
+
def create_time(self) -> _builtins.str:
|
2079
2583
|
"""
|
2080
2584
|
`(string)` Date and time the token was created at.
|
2081
2585
|
"""
|
2082
2586
|
return pulumi.get(self, "create_time")
|
2083
2587
|
|
2084
|
-
@property
|
2588
|
+
@_builtins.property
|
2085
2589
|
@pulumi.getter(name="expirationTime")
|
2086
|
-
def expiration_time(self) ->
|
2590
|
+
def expiration_time(self) -> _builtins.str:
|
2087
2591
|
"""
|
2088
2592
|
`(string)` - The timestamp after which the token is
|
2089
2593
|
considered expired and eligible for destruction.
|
2090
2594
|
"""
|
2091
2595
|
return pulumi.get(self, "expiration_time")
|
2092
2596
|
|
2093
|
-
@property
|
2597
|
+
@_builtins.property
|
2094
2598
|
@pulumi.getter(name="global")
|
2095
|
-
def global_(self) ->
|
2599
|
+
def global_(self) -> _builtins.bool:
|
2096
2600
|
"""
|
2097
2601
|
`(bool)` Whether the token is replicated to all regions.
|
2098
2602
|
"""
|
2099
2603
|
return pulumi.get(self, "global_")
|
2100
2604
|
|
2101
|
-
@property
|
2605
|
+
@_builtins.property
|
2102
2606
|
@pulumi.getter
|
2103
|
-
def name(self) ->
|
2607
|
+
def name(self) -> _builtins.str:
|
2104
2608
|
"""
|
2105
2609
|
`(TypeString)` The name of the token.
|
2106
2610
|
"""
|
2107
2611
|
return pulumi.get(self, "name")
|
2108
2612
|
|
2109
|
-
@property
|
2613
|
+
@_builtins.property
|
2110
2614
|
@pulumi.getter
|
2111
|
-
def policies(self) -> Sequence[
|
2615
|
+
def policies(self) -> Sequence[_builtins.str]:
|
2112
2616
|
"""
|
2113
2617
|
`(list of strings)` The list of policies attached to the token.
|
2114
2618
|
"""
|
2115
2619
|
return pulumi.get(self, "policies")
|
2116
2620
|
|
2117
|
-
@property
|
2621
|
+
@_builtins.property
|
2118
2622
|
@pulumi.getter
|
2119
2623
|
def roles(self) -> Sequence['outputs.GetAclTokensAclTokenRoleResult']:
|
2120
2624
|
"""
|
@@ -2123,9 +2627,9 @@ class GetAclTokensAclTokenResult(dict):
|
|
2123
2627
|
"""
|
2124
2628
|
return pulumi.get(self, "roles")
|
2125
2629
|
|
2126
|
-
@property
|
2630
|
+
@_builtins.property
|
2127
2631
|
@pulumi.getter
|
2128
|
-
def type(self) ->
|
2632
|
+
def type(self) -> _builtins.str:
|
2129
2633
|
"""
|
2130
2634
|
`(TypeString)` The type of the token.
|
2131
2635
|
"""
|
@@ -2135,26 +2639,26 @@ class GetAclTokensAclTokenResult(dict):
|
|
2135
2639
|
@pulumi.output_type
|
2136
2640
|
class GetAclTokensAclTokenRoleResult(dict):
|
2137
2641
|
def __init__(__self__, *,
|
2138
|
-
id:
|
2139
|
-
name:
|
2642
|
+
id: _builtins.str,
|
2643
|
+
name: _builtins.str):
|
2140
2644
|
"""
|
2141
|
-
:param
|
2142
|
-
:param
|
2645
|
+
:param _builtins.str id: The ID of the ACL role.
|
2646
|
+
:param _builtins.str name: `(TypeString)` The name of the token.
|
2143
2647
|
"""
|
2144
2648
|
pulumi.set(__self__, "id", id)
|
2145
2649
|
pulumi.set(__self__, "name", name)
|
2146
2650
|
|
2147
|
-
@property
|
2651
|
+
@_builtins.property
|
2148
2652
|
@pulumi.getter
|
2149
|
-
def id(self) ->
|
2653
|
+
def id(self) -> _builtins.str:
|
2150
2654
|
"""
|
2151
2655
|
The ID of the ACL role.
|
2152
2656
|
"""
|
2153
2657
|
return pulumi.get(self, "id")
|
2154
2658
|
|
2155
|
-
@property
|
2659
|
+
@_builtins.property
|
2156
2660
|
@pulumi.getter
|
2157
|
-
def name(self) ->
|
2661
|
+
def name(self) -> _builtins.str:
|
2158
2662
|
"""
|
2159
2663
|
`(TypeString)` The name of the token.
|
2160
2664
|
"""
|
@@ -2164,46 +2668,46 @@ class GetAclTokensAclTokenRoleResult(dict):
|
|
2164
2668
|
@pulumi.output_type
|
2165
2669
|
class GetAllocationsAllocationResult(dict):
|
2166
2670
|
def __init__(__self__, *,
|
2167
|
-
client_status:
|
2168
|
-
create_index:
|
2169
|
-
create_time:
|
2170
|
-
desired_status:
|
2171
|
-
eval_id:
|
2172
|
-
followup_eval_id:
|
2173
|
-
id:
|
2174
|
-
job_id:
|
2175
|
-
job_type:
|
2176
|
-
job_version:
|
2177
|
-
modify_index:
|
2178
|
-
modify_time:
|
2179
|
-
name:
|
2180
|
-
namespace:
|
2181
|
-
next_allocation:
|
2182
|
-
node_id:
|
2183
|
-
node_name:
|
2184
|
-
preempted_by_allocation:
|
2185
|
-
task_group:
|
2186
|
-
"""
|
2187
|
-
:param
|
2188
|
-
:param
|
2189
|
-
:param
|
2190
|
-
:param
|
2191
|
-
:param
|
2192
|
-
:param
|
2193
|
-
:param
|
2194
|
-
:param
|
2195
|
-
:param
|
2196
|
-
:param
|
2197
|
-
:param
|
2198
|
-
:param
|
2199
|
-
:param
|
2200
|
-
:param
|
2671
|
+
client_status: _builtins.str,
|
2672
|
+
create_index: _builtins.int,
|
2673
|
+
create_time: _builtins.int,
|
2674
|
+
desired_status: _builtins.str,
|
2675
|
+
eval_id: _builtins.str,
|
2676
|
+
followup_eval_id: _builtins.str,
|
2677
|
+
id: _builtins.str,
|
2678
|
+
job_id: _builtins.str,
|
2679
|
+
job_type: _builtins.str,
|
2680
|
+
job_version: _builtins.int,
|
2681
|
+
modify_index: _builtins.int,
|
2682
|
+
modify_time: _builtins.int,
|
2683
|
+
name: _builtins.str,
|
2684
|
+
namespace: _builtins.str,
|
2685
|
+
next_allocation: _builtins.str,
|
2686
|
+
node_id: _builtins.str,
|
2687
|
+
node_name: _builtins.str,
|
2688
|
+
preempted_by_allocation: _builtins.str,
|
2689
|
+
task_group: _builtins.str):
|
2690
|
+
"""
|
2691
|
+
:param _builtins.str client_status: `(string)` - The current client status of the allocation.
|
2692
|
+
:param _builtins.int create_index: `(int)` - The Raft index in which the allocation was created.
|
2693
|
+
:param _builtins.int create_time: `(int)` - The timestamp of when the allocation was created.
|
2694
|
+
:param _builtins.str desired_status: `(string)` - The current desired status of the allocation.
|
2695
|
+
:param _builtins.str eval_id: `(string)` - The ID of the evaluation that generated the allocation.
|
2696
|
+
:param _builtins.str followup_eval_id: `(string)` - The ID of the evaluation that succeeds the allocation evaluation.
|
2697
|
+
:param _builtins.str id: `(string)` - The ID of the allocation.
|
2698
|
+
:param _builtins.str job_id: `(string)` - The ID of the job related to the allocation.
|
2699
|
+
:param _builtins.str job_type: `(string)` - The type of the job related to the allocation.
|
2700
|
+
:param _builtins.int job_version: `(int)` - The version of the job that generated the allocation.
|
2701
|
+
:param _builtins.int modify_index: `(int)` - The Raft index in which the allocation was last modified.
|
2702
|
+
:param _builtins.int modify_time: `(int)` - The timestamp of when the allocation was last modified.
|
2703
|
+
:param _builtins.str name: `(string)` - The name of the allocation.
|
2704
|
+
:param _builtins.str namespace: `(string: <optional>)` - Specifies the namespace to search for
|
2201
2705
|
allocations in.
|
2202
|
-
:param
|
2203
|
-
:param
|
2204
|
-
:param
|
2205
|
-
:param
|
2206
|
-
:param
|
2706
|
+
:param _builtins.str next_allocation: `(string)` - The ID of the allocation that succeeds the allocation.
|
2707
|
+
:param _builtins.str node_id: `(string)` - The ID of the node to which the allocation was scheduled.
|
2708
|
+
:param _builtins.str node_name: `(string)` - The ID of the node to which the allocation was scheduled.
|
2709
|
+
:param _builtins.str preempted_by_allocation: `(string)` - The ID of the allocation that preempted the allocation.
|
2710
|
+
:param _builtins.str task_group: `(string)` - The job task group related to the allocation.
|
2207
2711
|
"""
|
2208
2712
|
pulumi.set(__self__, "client_status", client_status)
|
2209
2713
|
pulumi.set(__self__, "create_index", create_index)
|
@@ -2225,194 +2729,267 @@ class GetAllocationsAllocationResult(dict):
|
|
2225
2729
|
pulumi.set(__self__, "preempted_by_allocation", preempted_by_allocation)
|
2226
2730
|
pulumi.set(__self__, "task_group", task_group)
|
2227
2731
|
|
2228
|
-
@property
|
2732
|
+
@_builtins.property
|
2229
2733
|
@pulumi.getter(name="clientStatus")
|
2230
|
-
def client_status(self) ->
|
2734
|
+
def client_status(self) -> _builtins.str:
|
2231
2735
|
"""
|
2232
2736
|
`(string)` - The current client status of the allocation.
|
2233
2737
|
"""
|
2234
2738
|
return pulumi.get(self, "client_status")
|
2235
2739
|
|
2236
|
-
@property
|
2740
|
+
@_builtins.property
|
2237
2741
|
@pulumi.getter(name="createIndex")
|
2238
|
-
def create_index(self) ->
|
2742
|
+
def create_index(self) -> _builtins.int:
|
2239
2743
|
"""
|
2240
2744
|
`(int)` - The Raft index in which the allocation was created.
|
2241
2745
|
"""
|
2242
2746
|
return pulumi.get(self, "create_index")
|
2243
2747
|
|
2244
|
-
@property
|
2748
|
+
@_builtins.property
|
2245
2749
|
@pulumi.getter(name="createTime")
|
2246
|
-
def create_time(self) ->
|
2750
|
+
def create_time(self) -> _builtins.int:
|
2247
2751
|
"""
|
2248
2752
|
`(int)` - The timestamp of when the allocation was created.
|
2249
2753
|
"""
|
2250
2754
|
return pulumi.get(self, "create_time")
|
2251
2755
|
|
2252
|
-
@property
|
2756
|
+
@_builtins.property
|
2253
2757
|
@pulumi.getter(name="desiredStatus")
|
2254
|
-
def desired_status(self) ->
|
2758
|
+
def desired_status(self) -> _builtins.str:
|
2255
2759
|
"""
|
2256
2760
|
`(string)` - The current desired status of the allocation.
|
2257
2761
|
"""
|
2258
2762
|
return pulumi.get(self, "desired_status")
|
2259
2763
|
|
2260
|
-
@property
|
2764
|
+
@_builtins.property
|
2261
2765
|
@pulumi.getter(name="evalId")
|
2262
|
-
def eval_id(self) ->
|
2766
|
+
def eval_id(self) -> _builtins.str:
|
2263
2767
|
"""
|
2264
2768
|
`(string)` - The ID of the evaluation that generated the allocation.
|
2265
2769
|
"""
|
2266
2770
|
return pulumi.get(self, "eval_id")
|
2267
2771
|
|
2268
|
-
@property
|
2772
|
+
@_builtins.property
|
2269
2773
|
@pulumi.getter(name="followupEvalId")
|
2270
|
-
def followup_eval_id(self) ->
|
2774
|
+
def followup_eval_id(self) -> _builtins.str:
|
2271
2775
|
"""
|
2272
2776
|
`(string)` - The ID of the evaluation that succeeds the allocation evaluation.
|
2273
2777
|
"""
|
2274
2778
|
return pulumi.get(self, "followup_eval_id")
|
2275
2779
|
|
2276
|
-
@property
|
2780
|
+
@_builtins.property
|
2277
2781
|
@pulumi.getter
|
2278
|
-
def id(self) ->
|
2782
|
+
def id(self) -> _builtins.str:
|
2279
2783
|
"""
|
2280
2784
|
`(string)` - The ID of the allocation.
|
2281
2785
|
"""
|
2282
2786
|
return pulumi.get(self, "id")
|
2283
2787
|
|
2284
|
-
@property
|
2788
|
+
@_builtins.property
|
2285
2789
|
@pulumi.getter(name="jobId")
|
2286
|
-
def job_id(self) ->
|
2790
|
+
def job_id(self) -> _builtins.str:
|
2287
2791
|
"""
|
2288
2792
|
`(string)` - The ID of the job related to the allocation.
|
2289
2793
|
"""
|
2290
2794
|
return pulumi.get(self, "job_id")
|
2291
2795
|
|
2292
|
-
@property
|
2796
|
+
@_builtins.property
|
2293
2797
|
@pulumi.getter(name="jobType")
|
2294
|
-
def job_type(self) ->
|
2798
|
+
def job_type(self) -> _builtins.str:
|
2295
2799
|
"""
|
2296
2800
|
`(string)` - The type of the job related to the allocation.
|
2297
2801
|
"""
|
2298
2802
|
return pulumi.get(self, "job_type")
|
2299
2803
|
|
2300
|
-
@property
|
2804
|
+
@_builtins.property
|
2301
2805
|
@pulumi.getter(name="jobVersion")
|
2302
|
-
def job_version(self) ->
|
2806
|
+
def job_version(self) -> _builtins.int:
|
2303
2807
|
"""
|
2304
2808
|
`(int)` - The version of the job that generated the allocation.
|
2305
2809
|
"""
|
2306
2810
|
return pulumi.get(self, "job_version")
|
2307
2811
|
|
2308
|
-
@property
|
2812
|
+
@_builtins.property
|
2309
2813
|
@pulumi.getter(name="modifyIndex")
|
2310
|
-
def modify_index(self) ->
|
2814
|
+
def modify_index(self) -> _builtins.int:
|
2311
2815
|
"""
|
2312
2816
|
`(int)` - The Raft index in which the allocation was last modified.
|
2313
2817
|
"""
|
2314
2818
|
return pulumi.get(self, "modify_index")
|
2315
2819
|
|
2316
|
-
@property
|
2820
|
+
@_builtins.property
|
2317
2821
|
@pulumi.getter(name="modifyTime")
|
2318
|
-
def modify_time(self) ->
|
2822
|
+
def modify_time(self) -> _builtins.int:
|
2319
2823
|
"""
|
2320
2824
|
`(int)` - The timestamp of when the allocation was last modified.
|
2321
2825
|
"""
|
2322
2826
|
return pulumi.get(self, "modify_time")
|
2323
2827
|
|
2324
|
-
@property
|
2828
|
+
@_builtins.property
|
2325
2829
|
@pulumi.getter
|
2326
|
-
def name(self) ->
|
2830
|
+
def name(self) -> _builtins.str:
|
2327
2831
|
"""
|
2328
2832
|
`(string)` - The name of the allocation.
|
2329
2833
|
"""
|
2330
2834
|
return pulumi.get(self, "name")
|
2331
2835
|
|
2332
|
-
@property
|
2836
|
+
@_builtins.property
|
2333
2837
|
@pulumi.getter
|
2334
|
-
def namespace(self) ->
|
2838
|
+
def namespace(self) -> _builtins.str:
|
2335
2839
|
"""
|
2336
2840
|
`(string: <optional>)` - Specifies the namespace to search for
|
2337
2841
|
allocations in.
|
2338
2842
|
"""
|
2339
2843
|
return pulumi.get(self, "namespace")
|
2340
2844
|
|
2341
|
-
@property
|
2845
|
+
@_builtins.property
|
2342
2846
|
@pulumi.getter(name="nextAllocation")
|
2343
|
-
def next_allocation(self) ->
|
2847
|
+
def next_allocation(self) -> _builtins.str:
|
2344
2848
|
"""
|
2345
2849
|
`(string)` - The ID of the allocation that succeeds the allocation.
|
2346
2850
|
"""
|
2347
2851
|
return pulumi.get(self, "next_allocation")
|
2348
2852
|
|
2349
|
-
@property
|
2853
|
+
@_builtins.property
|
2350
2854
|
@pulumi.getter(name="nodeId")
|
2351
|
-
def node_id(self) ->
|
2855
|
+
def node_id(self) -> _builtins.str:
|
2352
2856
|
"""
|
2353
2857
|
`(string)` - The ID of the node to which the allocation was scheduled.
|
2354
2858
|
"""
|
2355
2859
|
return pulumi.get(self, "node_id")
|
2356
2860
|
|
2357
|
-
@property
|
2861
|
+
@_builtins.property
|
2358
2862
|
@pulumi.getter(name="nodeName")
|
2359
|
-
def node_name(self) ->
|
2863
|
+
def node_name(self) -> _builtins.str:
|
2360
2864
|
"""
|
2361
2865
|
`(string)` - The ID of the node to which the allocation was scheduled.
|
2362
2866
|
"""
|
2363
2867
|
return pulumi.get(self, "node_name")
|
2364
2868
|
|
2365
|
-
@property
|
2869
|
+
@_builtins.property
|
2366
2870
|
@pulumi.getter(name="preemptedByAllocation")
|
2367
|
-
def preempted_by_allocation(self) ->
|
2871
|
+
def preempted_by_allocation(self) -> _builtins.str:
|
2368
2872
|
"""
|
2369
2873
|
`(string)` - The ID of the allocation that preempted the allocation.
|
2370
2874
|
"""
|
2371
2875
|
return pulumi.get(self, "preempted_by_allocation")
|
2372
2876
|
|
2373
|
-
@property
|
2877
|
+
@_builtins.property
|
2374
2878
|
@pulumi.getter(name="taskGroup")
|
2375
|
-
def task_group(self) ->
|
2879
|
+
def task_group(self) -> _builtins.str:
|
2376
2880
|
"""
|
2377
2881
|
`(string)` - The job task group related to the allocation.
|
2378
2882
|
"""
|
2379
2883
|
return pulumi.get(self, "task_group")
|
2380
2884
|
|
2381
2885
|
|
2886
|
+
@pulumi.output_type
|
2887
|
+
class GetDynamicHostVolumeCapabilityResult(dict):
|
2888
|
+
def __init__(__self__, *,
|
2889
|
+
access_mode: _builtins.str,
|
2890
|
+
attachment_mode: _builtins.str):
|
2891
|
+
"""
|
2892
|
+
:param _builtins.str access_mode: `(string)` - How the volume can be mounted by
|
2893
|
+
allocations. Refer to the [`access_mode`][] documentation for details.
|
2894
|
+
:param _builtins.str attachment_mode: `(string)` - The storage API that will be used by the
|
2895
|
+
volume. Refer to the [`attachment_mode`][] documentation.
|
2896
|
+
"""
|
2897
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
2898
|
+
pulumi.set(__self__, "attachment_mode", attachment_mode)
|
2899
|
+
|
2900
|
+
@_builtins.property
|
2901
|
+
@pulumi.getter(name="accessMode")
|
2902
|
+
def access_mode(self) -> _builtins.str:
|
2903
|
+
"""
|
2904
|
+
`(string)` - How the volume can be mounted by
|
2905
|
+
allocations. Refer to the [`access_mode`][] documentation for details.
|
2906
|
+
"""
|
2907
|
+
return pulumi.get(self, "access_mode")
|
2908
|
+
|
2909
|
+
@_builtins.property
|
2910
|
+
@pulumi.getter(name="attachmentMode")
|
2911
|
+
def attachment_mode(self) -> _builtins.str:
|
2912
|
+
"""
|
2913
|
+
`(string)` - The storage API that will be used by the
|
2914
|
+
volume. Refer to the [`attachment_mode`][] documentation.
|
2915
|
+
"""
|
2916
|
+
return pulumi.get(self, "attachment_mode")
|
2917
|
+
|
2918
|
+
|
2919
|
+
@pulumi.output_type
|
2920
|
+
class GetDynamicHostVolumeConstraintResult(dict):
|
2921
|
+
def __init__(__self__, *,
|
2922
|
+
attribute: _builtins.str,
|
2923
|
+
operator: _builtins.str,
|
2924
|
+
value: _builtins.str):
|
2925
|
+
"""
|
2926
|
+
:param _builtins.str attribute: `(string)` - The [node attribute][] to check for the constraint.
|
2927
|
+
:param _builtins.str operator: `(string)`- The operator to use in the comparison.
|
2928
|
+
:param _builtins.str value: `(string)` - The value of the attribute to compare against.
|
2929
|
+
"""
|
2930
|
+
pulumi.set(__self__, "attribute", attribute)
|
2931
|
+
pulumi.set(__self__, "operator", operator)
|
2932
|
+
pulumi.set(__self__, "value", value)
|
2933
|
+
|
2934
|
+
@_builtins.property
|
2935
|
+
@pulumi.getter
|
2936
|
+
def attribute(self) -> _builtins.str:
|
2937
|
+
"""
|
2938
|
+
`(string)` - The [node attribute][] to check for the constraint.
|
2939
|
+
"""
|
2940
|
+
return pulumi.get(self, "attribute")
|
2941
|
+
|
2942
|
+
@_builtins.property
|
2943
|
+
@pulumi.getter
|
2944
|
+
def operator(self) -> _builtins.str:
|
2945
|
+
"""
|
2946
|
+
`(string)`- The operator to use in the comparison.
|
2947
|
+
"""
|
2948
|
+
return pulumi.get(self, "operator")
|
2949
|
+
|
2950
|
+
@_builtins.property
|
2951
|
+
@pulumi.getter
|
2952
|
+
def value(self) -> _builtins.str:
|
2953
|
+
"""
|
2954
|
+
`(string)` - The value of the attribute to compare against.
|
2955
|
+
"""
|
2956
|
+
return pulumi.get(self, "value")
|
2957
|
+
|
2958
|
+
|
2382
2959
|
@pulumi.output_type
|
2383
2960
|
class GetJobConstraintResult(dict):
|
2384
2961
|
def __init__(__self__, *,
|
2385
|
-
ltarget:
|
2386
|
-
operand:
|
2387
|
-
rtarget:
|
2962
|
+
ltarget: _builtins.str,
|
2963
|
+
operand: _builtins.str,
|
2964
|
+
rtarget: _builtins.str):
|
2388
2965
|
"""
|
2389
|
-
:param
|
2390
|
-
:param
|
2391
|
-
:param
|
2966
|
+
:param _builtins.str ltarget: `(string)` Attribute being constrained.
|
2967
|
+
:param _builtins.str operand: `(string)` Operator used to compare the attribute to the constraint.
|
2968
|
+
:param _builtins.str rtarget: `(string)` Constraint value.
|
2392
2969
|
"""
|
2393
2970
|
pulumi.set(__self__, "ltarget", ltarget)
|
2394
2971
|
pulumi.set(__self__, "operand", operand)
|
2395
2972
|
pulumi.set(__self__, "rtarget", rtarget)
|
2396
2973
|
|
2397
|
-
@property
|
2974
|
+
@_builtins.property
|
2398
2975
|
@pulumi.getter
|
2399
|
-
def ltarget(self) ->
|
2976
|
+
def ltarget(self) -> _builtins.str:
|
2400
2977
|
"""
|
2401
2978
|
`(string)` Attribute being constrained.
|
2402
2979
|
"""
|
2403
2980
|
return pulumi.get(self, "ltarget")
|
2404
2981
|
|
2405
|
-
@property
|
2982
|
+
@_builtins.property
|
2406
2983
|
@pulumi.getter
|
2407
|
-
def operand(self) ->
|
2984
|
+
def operand(self) -> _builtins.str:
|
2408
2985
|
"""
|
2409
2986
|
`(string)` Operator used to compare the attribute to the constraint.
|
2410
2987
|
"""
|
2411
2988
|
return pulumi.get(self, "operand")
|
2412
2989
|
|
2413
|
-
@property
|
2990
|
+
@_builtins.property
|
2414
2991
|
@pulumi.getter
|
2415
|
-
def rtarget(self) ->
|
2992
|
+
def rtarget(self) -> _builtins.str:
|
2416
2993
|
"""
|
2417
2994
|
`(string)` Constraint value.
|
2418
2995
|
"""
|
@@ -2422,17 +2999,17 @@ class GetJobConstraintResult(dict):
|
|
2422
2999
|
@pulumi.output_type
|
2423
3000
|
class GetJobPeriodicConfigResult(dict):
|
2424
3001
|
def __init__(__self__, *,
|
2425
|
-
enabled:
|
2426
|
-
prohibit_overlap:
|
2427
|
-
spec:
|
2428
|
-
spec_type:
|
2429
|
-
timezone:
|
3002
|
+
enabled: _builtins.bool,
|
3003
|
+
prohibit_overlap: _builtins.bool,
|
3004
|
+
spec: _builtins.str,
|
3005
|
+
spec_type: _builtins.str,
|
3006
|
+
timezone: _builtins.str):
|
2430
3007
|
"""
|
2431
|
-
:param
|
2432
|
-
:param
|
2433
|
-
:param
|
2434
|
-
:param
|
2435
|
-
:param
|
3008
|
+
:param _builtins.bool enabled: `(boolean)` If periodic scheduling is enabled for the specified job.
|
3009
|
+
:param _builtins.bool prohibit_overlap: `(boolean)` If the specified job should wait until previous instances of the job have completed.
|
3010
|
+
:param _builtins.str spec: `(string)`
|
3011
|
+
:param _builtins.str spec_type: `(string)`
|
3012
|
+
:param _builtins.str timezone: `(string)` Time zone to evaluate the next launch interval against.
|
2436
3013
|
"""
|
2437
3014
|
pulumi.set(__self__, "enabled", enabled)
|
2438
3015
|
pulumi.set(__self__, "prohibit_overlap", prohibit_overlap)
|
@@ -2440,41 +3017,41 @@ class GetJobPeriodicConfigResult(dict):
|
|
2440
3017
|
pulumi.set(__self__, "spec_type", spec_type)
|
2441
3018
|
pulumi.set(__self__, "timezone", timezone)
|
2442
3019
|
|
2443
|
-
@property
|
3020
|
+
@_builtins.property
|
2444
3021
|
@pulumi.getter
|
2445
|
-
def enabled(self) ->
|
3022
|
+
def enabled(self) -> _builtins.bool:
|
2446
3023
|
"""
|
2447
3024
|
`(boolean)` If periodic scheduling is enabled for the specified job.
|
2448
3025
|
"""
|
2449
3026
|
return pulumi.get(self, "enabled")
|
2450
3027
|
|
2451
|
-
@property
|
3028
|
+
@_builtins.property
|
2452
3029
|
@pulumi.getter(name="prohibitOverlap")
|
2453
|
-
def prohibit_overlap(self) ->
|
3030
|
+
def prohibit_overlap(self) -> _builtins.bool:
|
2454
3031
|
"""
|
2455
3032
|
`(boolean)` If the specified job should wait until previous instances of the job have completed.
|
2456
3033
|
"""
|
2457
3034
|
return pulumi.get(self, "prohibit_overlap")
|
2458
3035
|
|
2459
|
-
@property
|
3036
|
+
@_builtins.property
|
2460
3037
|
@pulumi.getter
|
2461
|
-
def spec(self) ->
|
3038
|
+
def spec(self) -> _builtins.str:
|
2462
3039
|
"""
|
2463
3040
|
`(string)`
|
2464
3041
|
"""
|
2465
3042
|
return pulumi.get(self, "spec")
|
2466
3043
|
|
2467
|
-
@property
|
3044
|
+
@_builtins.property
|
2468
3045
|
@pulumi.getter(name="specType")
|
2469
|
-
def spec_type(self) ->
|
3046
|
+
def spec_type(self) -> _builtins.str:
|
2470
3047
|
"""
|
2471
3048
|
`(string)`
|
2472
3049
|
"""
|
2473
3050
|
return pulumi.get(self, "spec_type")
|
2474
3051
|
|
2475
|
-
@property
|
3052
|
+
@_builtins.property
|
2476
3053
|
@pulumi.getter
|
2477
|
-
def timezone(self) ->
|
3054
|
+
def timezone(self) -> _builtins.str:
|
2478
3055
|
"""
|
2479
3056
|
`(string)` Time zone to evaluate the next launch interval against.
|
2480
3057
|
"""
|
@@ -2484,13 +3061,13 @@ class GetJobPeriodicConfigResult(dict):
|
|
2484
3061
|
@pulumi.output_type
|
2485
3062
|
class GetJobTaskGroupResult(dict):
|
2486
3063
|
def __init__(__self__, *,
|
2487
|
-
count:
|
2488
|
-
meta: Mapping[str,
|
2489
|
-
name:
|
3064
|
+
count: _builtins.int,
|
3065
|
+
meta: Mapping[str, _builtins.str],
|
3066
|
+
name: _builtins.str,
|
2490
3067
|
tasks: Sequence['outputs.GetJobTaskGroupTaskResult'],
|
2491
3068
|
volumes: Sequence['outputs.GetJobTaskGroupVolumeResult']):
|
2492
3069
|
"""
|
2493
|
-
:param
|
3070
|
+
:param _builtins.str name: `(string)` Name of the job.
|
2494
3071
|
"""
|
2495
3072
|
pulumi.set(__self__, "count", count)
|
2496
3073
|
pulumi.set(__self__, "meta", meta)
|
@@ -2498,30 +3075,30 @@ class GetJobTaskGroupResult(dict):
|
|
2498
3075
|
pulumi.set(__self__, "tasks", tasks)
|
2499
3076
|
pulumi.set(__self__, "volumes", volumes)
|
2500
3077
|
|
2501
|
-
@property
|
3078
|
+
@_builtins.property
|
2502
3079
|
@pulumi.getter
|
2503
|
-
def count(self) ->
|
3080
|
+
def count(self) -> _builtins.int:
|
2504
3081
|
return pulumi.get(self, "count")
|
2505
3082
|
|
2506
|
-
@property
|
3083
|
+
@_builtins.property
|
2507
3084
|
@pulumi.getter
|
2508
|
-
def meta(self) -> Mapping[str,
|
3085
|
+
def meta(self) -> Mapping[str, _builtins.str]:
|
2509
3086
|
return pulumi.get(self, "meta")
|
2510
3087
|
|
2511
|
-
@property
|
3088
|
+
@_builtins.property
|
2512
3089
|
@pulumi.getter
|
2513
|
-
def name(self) ->
|
3090
|
+
def name(self) -> _builtins.str:
|
2514
3091
|
"""
|
2515
3092
|
`(string)` Name of the job.
|
2516
3093
|
"""
|
2517
3094
|
return pulumi.get(self, "name")
|
2518
3095
|
|
2519
|
-
@property
|
3096
|
+
@_builtins.property
|
2520
3097
|
@pulumi.getter
|
2521
3098
|
def tasks(self) -> Sequence['outputs.GetJobTaskGroupTaskResult']:
|
2522
3099
|
return pulumi.get(self, "tasks")
|
2523
3100
|
|
2524
|
-
@property
|
3101
|
+
@_builtins.property
|
2525
3102
|
@pulumi.getter
|
2526
3103
|
def volumes(self) -> Sequence['outputs.GetJobTaskGroupVolumeResult']:
|
2527
3104
|
return pulumi.get(self, "volumes")
|
@@ -2530,37 +3107,37 @@ class GetJobTaskGroupResult(dict):
|
|
2530
3107
|
@pulumi.output_type
|
2531
3108
|
class GetJobTaskGroupTaskResult(dict):
|
2532
3109
|
def __init__(__self__, *,
|
2533
|
-
driver:
|
2534
|
-
meta: Mapping[str,
|
2535
|
-
name:
|
3110
|
+
driver: _builtins.str,
|
3111
|
+
meta: Mapping[str, _builtins.str],
|
3112
|
+
name: _builtins.str,
|
2536
3113
|
volume_mounts: Sequence['outputs.GetJobTaskGroupTaskVolumeMountResult']):
|
2537
3114
|
"""
|
2538
|
-
:param
|
3115
|
+
:param _builtins.str name: `(string)` Name of the job.
|
2539
3116
|
"""
|
2540
3117
|
pulumi.set(__self__, "driver", driver)
|
2541
3118
|
pulumi.set(__self__, "meta", meta)
|
2542
3119
|
pulumi.set(__self__, "name", name)
|
2543
3120
|
pulumi.set(__self__, "volume_mounts", volume_mounts)
|
2544
3121
|
|
2545
|
-
@property
|
3122
|
+
@_builtins.property
|
2546
3123
|
@pulumi.getter
|
2547
|
-
def driver(self) ->
|
3124
|
+
def driver(self) -> _builtins.str:
|
2548
3125
|
return pulumi.get(self, "driver")
|
2549
3126
|
|
2550
|
-
@property
|
3127
|
+
@_builtins.property
|
2551
3128
|
@pulumi.getter
|
2552
|
-
def meta(self) -> Mapping[str,
|
3129
|
+
def meta(self) -> Mapping[str, _builtins.str]:
|
2553
3130
|
return pulumi.get(self, "meta")
|
2554
3131
|
|
2555
|
-
@property
|
3132
|
+
@_builtins.property
|
2556
3133
|
@pulumi.getter
|
2557
|
-
def name(self) ->
|
3134
|
+
def name(self) -> _builtins.str:
|
2558
3135
|
"""
|
2559
3136
|
`(string)` Name of the job.
|
2560
3137
|
"""
|
2561
3138
|
return pulumi.get(self, "name")
|
2562
3139
|
|
2563
|
-
@property
|
3140
|
+
@_builtins.property
|
2564
3141
|
@pulumi.getter(name="volumeMounts")
|
2565
3142
|
def volume_mounts(self) -> Sequence['outputs.GetJobTaskGroupTaskVolumeMountResult']:
|
2566
3143
|
return pulumi.get(self, "volume_mounts")
|
@@ -2569,66 +3146,66 @@ class GetJobTaskGroupTaskResult(dict):
|
|
2569
3146
|
@pulumi.output_type
|
2570
3147
|
class GetJobTaskGroupTaskVolumeMountResult(dict):
|
2571
3148
|
def __init__(__self__, *,
|
2572
|
-
destination:
|
2573
|
-
read_only:
|
2574
|
-
volume:
|
3149
|
+
destination: _builtins.str,
|
3150
|
+
read_only: _builtins.bool,
|
3151
|
+
volume: _builtins.str):
|
2575
3152
|
pulumi.set(__self__, "destination", destination)
|
2576
3153
|
pulumi.set(__self__, "read_only", read_only)
|
2577
3154
|
pulumi.set(__self__, "volume", volume)
|
2578
3155
|
|
2579
|
-
@property
|
3156
|
+
@_builtins.property
|
2580
3157
|
@pulumi.getter
|
2581
|
-
def destination(self) ->
|
3158
|
+
def destination(self) -> _builtins.str:
|
2582
3159
|
return pulumi.get(self, "destination")
|
2583
3160
|
|
2584
|
-
@property
|
3161
|
+
@_builtins.property
|
2585
3162
|
@pulumi.getter(name="readOnly")
|
2586
|
-
def read_only(self) ->
|
3163
|
+
def read_only(self) -> _builtins.bool:
|
2587
3164
|
return pulumi.get(self, "read_only")
|
2588
3165
|
|
2589
|
-
@property
|
3166
|
+
@_builtins.property
|
2590
3167
|
@pulumi.getter
|
2591
|
-
def volume(self) ->
|
3168
|
+
def volume(self) -> _builtins.str:
|
2592
3169
|
return pulumi.get(self, "volume")
|
2593
3170
|
|
2594
3171
|
|
2595
3172
|
@pulumi.output_type
|
2596
3173
|
class GetJobTaskGroupVolumeResult(dict):
|
2597
3174
|
def __init__(__self__, *,
|
2598
|
-
name:
|
2599
|
-
read_only:
|
2600
|
-
source:
|
2601
|
-
type:
|
3175
|
+
name: _builtins.str,
|
3176
|
+
read_only: _builtins.bool,
|
3177
|
+
source: _builtins.str,
|
3178
|
+
type: _builtins.str):
|
2602
3179
|
"""
|
2603
|
-
:param
|
2604
|
-
:param
|
3180
|
+
:param _builtins.str name: `(string)` Name of the job.
|
3181
|
+
:param _builtins.str type: `(string)` Scheduler type used during job creation.
|
2605
3182
|
"""
|
2606
3183
|
pulumi.set(__self__, "name", name)
|
2607
3184
|
pulumi.set(__self__, "read_only", read_only)
|
2608
3185
|
pulumi.set(__self__, "source", source)
|
2609
3186
|
pulumi.set(__self__, "type", type)
|
2610
3187
|
|
2611
|
-
@property
|
3188
|
+
@_builtins.property
|
2612
3189
|
@pulumi.getter
|
2613
|
-
def name(self) ->
|
3190
|
+
def name(self) -> _builtins.str:
|
2614
3191
|
"""
|
2615
3192
|
`(string)` Name of the job.
|
2616
3193
|
"""
|
2617
3194
|
return pulumi.get(self, "name")
|
2618
3195
|
|
2619
|
-
@property
|
3196
|
+
@_builtins.property
|
2620
3197
|
@pulumi.getter(name="readOnly")
|
2621
|
-
def read_only(self) ->
|
3198
|
+
def read_only(self) -> _builtins.bool:
|
2622
3199
|
return pulumi.get(self, "read_only")
|
2623
3200
|
|
2624
|
-
@property
|
3201
|
+
@_builtins.property
|
2625
3202
|
@pulumi.getter
|
2626
|
-
def source(self) ->
|
3203
|
+
def source(self) -> _builtins.str:
|
2627
3204
|
return pulumi.get(self, "source")
|
2628
3205
|
|
2629
|
-
@property
|
3206
|
+
@_builtins.property
|
2630
3207
|
@pulumi.getter
|
2631
|
-
def type(self) ->
|
3208
|
+
def type(self) -> _builtins.str:
|
2632
3209
|
"""
|
2633
3210
|
`(string)` Scheduler type used during job creation.
|
2634
3211
|
"""
|
@@ -2638,19 +3215,19 @@ class GetJobTaskGroupVolumeResult(dict):
|
|
2638
3215
|
@pulumi.output_type
|
2639
3216
|
class GetJwksKeyResult(dict):
|
2640
3217
|
def __init__(__self__, *,
|
2641
|
-
algorithm:
|
2642
|
-
exponent:
|
2643
|
-
key_id:
|
2644
|
-
key_type:
|
2645
|
-
key_use:
|
2646
|
-
modulus:
|
3218
|
+
algorithm: _builtins.str,
|
3219
|
+
exponent: _builtins.str,
|
3220
|
+
key_id: _builtins.str,
|
3221
|
+
key_type: _builtins.str,
|
3222
|
+
key_use: _builtins.str,
|
3223
|
+
modulus: _builtins.str):
|
2647
3224
|
"""
|
2648
|
-
:param
|
2649
|
-
:param
|
2650
|
-
:param
|
2651
|
-
:param
|
2652
|
-
:param
|
2653
|
-
:param
|
3225
|
+
:param _builtins.str algorithm: `(string)` - JWK field `alg`
|
3226
|
+
:param _builtins.str exponent: `(string)` - JWK field `e`
|
3227
|
+
:param _builtins.str key_id: `(string)` - JWK field `kid`
|
3228
|
+
:param _builtins.str key_type: `(string)` - JWK field `kty`
|
3229
|
+
:param _builtins.str key_use: `(string)` - JWK field `use`
|
3230
|
+
:param _builtins.str modulus: `(string)` - JWK field `n`
|
2654
3231
|
"""
|
2655
3232
|
pulumi.set(__self__, "algorithm", algorithm)
|
2656
3233
|
pulumi.set(__self__, "exponent", exponent)
|
@@ -2659,49 +3236,49 @@ class GetJwksKeyResult(dict):
|
|
2659
3236
|
pulumi.set(__self__, "key_use", key_use)
|
2660
3237
|
pulumi.set(__self__, "modulus", modulus)
|
2661
3238
|
|
2662
|
-
@property
|
3239
|
+
@_builtins.property
|
2663
3240
|
@pulumi.getter
|
2664
|
-
def algorithm(self) ->
|
3241
|
+
def algorithm(self) -> _builtins.str:
|
2665
3242
|
"""
|
2666
3243
|
`(string)` - JWK field `alg`
|
2667
3244
|
"""
|
2668
3245
|
return pulumi.get(self, "algorithm")
|
2669
3246
|
|
2670
|
-
@property
|
3247
|
+
@_builtins.property
|
2671
3248
|
@pulumi.getter
|
2672
|
-
def exponent(self) ->
|
3249
|
+
def exponent(self) -> _builtins.str:
|
2673
3250
|
"""
|
2674
3251
|
`(string)` - JWK field `e`
|
2675
3252
|
"""
|
2676
3253
|
return pulumi.get(self, "exponent")
|
2677
3254
|
|
2678
|
-
@property
|
3255
|
+
@_builtins.property
|
2679
3256
|
@pulumi.getter(name="keyId")
|
2680
|
-
def key_id(self) ->
|
3257
|
+
def key_id(self) -> _builtins.str:
|
2681
3258
|
"""
|
2682
3259
|
`(string)` - JWK field `kid`
|
2683
3260
|
"""
|
2684
3261
|
return pulumi.get(self, "key_id")
|
2685
3262
|
|
2686
|
-
@property
|
3263
|
+
@_builtins.property
|
2687
3264
|
@pulumi.getter(name="keyType")
|
2688
|
-
def key_type(self) ->
|
3265
|
+
def key_type(self) -> _builtins.str:
|
2689
3266
|
"""
|
2690
3267
|
`(string)` - JWK field `kty`
|
2691
3268
|
"""
|
2692
3269
|
return pulumi.get(self, "key_type")
|
2693
3270
|
|
2694
|
-
@property
|
3271
|
+
@_builtins.property
|
2695
3272
|
@pulumi.getter(name="keyUse")
|
2696
|
-
def key_use(self) ->
|
3273
|
+
def key_use(self) -> _builtins.str:
|
2697
3274
|
"""
|
2698
3275
|
`(string)` - JWK field `use`
|
2699
3276
|
"""
|
2700
3277
|
return pulumi.get(self, "key_use")
|
2701
3278
|
|
2702
|
-
@property
|
3279
|
+
@_builtins.property
|
2703
3280
|
@pulumi.getter
|
2704
|
-
def modulus(self) ->
|
3281
|
+
def modulus(self) -> _builtins.str:
|
2705
3282
|
"""
|
2706
3283
|
`(string)` - JWK field `n`
|
2707
3284
|
"""
|
@@ -2711,28 +3288,28 @@ class GetJwksKeyResult(dict):
|
|
2711
3288
|
@pulumi.output_type
|
2712
3289
|
class GetNamespaceCapabilityResult(dict):
|
2713
3290
|
def __init__(__self__, *,
|
2714
|
-
disabled_task_drivers: Optional[Sequence[
|
2715
|
-
enabled_task_drivers: Optional[Sequence[
|
3291
|
+
disabled_task_drivers: Optional[Sequence[_builtins.str]] = None,
|
3292
|
+
enabled_task_drivers: Optional[Sequence[_builtins.str]] = None):
|
2716
3293
|
"""
|
2717
|
-
:param Sequence[
|
2718
|
-
:param Sequence[
|
3294
|
+
:param Sequence[_builtins.str] disabled_task_drivers: `([]string)` - Task drivers disabled for the namespace.
|
3295
|
+
:param Sequence[_builtins.str] enabled_task_drivers: `([]string)` - Task drivers enabled for the namespace.
|
2719
3296
|
"""
|
2720
3297
|
if disabled_task_drivers is not None:
|
2721
3298
|
pulumi.set(__self__, "disabled_task_drivers", disabled_task_drivers)
|
2722
3299
|
if enabled_task_drivers is not None:
|
2723
3300
|
pulumi.set(__self__, "enabled_task_drivers", enabled_task_drivers)
|
2724
3301
|
|
2725
|
-
@property
|
3302
|
+
@_builtins.property
|
2726
3303
|
@pulumi.getter(name="disabledTaskDrivers")
|
2727
|
-
def disabled_task_drivers(self) -> Optional[Sequence[
|
3304
|
+
def disabled_task_drivers(self) -> Optional[Sequence[_builtins.str]]:
|
2728
3305
|
"""
|
2729
3306
|
`([]string)` - Task drivers disabled for the namespace.
|
2730
3307
|
"""
|
2731
3308
|
return pulumi.get(self, "disabled_task_drivers")
|
2732
3309
|
|
2733
|
-
@property
|
3310
|
+
@_builtins.property
|
2734
3311
|
@pulumi.getter(name="enabledTaskDrivers")
|
2735
|
-
def enabled_task_drivers(self) -> Optional[Sequence[
|
3312
|
+
def enabled_task_drivers(self) -> Optional[Sequence[_builtins.str]]:
|
2736
3313
|
"""
|
2737
3314
|
`([]string)` - Task drivers enabled for the namespace.
|
2738
3315
|
"""
|
@@ -2742,47 +3319,47 @@ class GetNamespaceCapabilityResult(dict):
|
|
2742
3319
|
@pulumi.output_type
|
2743
3320
|
class GetNamespaceNodePoolConfigResult(dict):
|
2744
3321
|
def __init__(__self__, *,
|
2745
|
-
alloweds: Sequence[
|
2746
|
-
default:
|
2747
|
-
denieds: Sequence[
|
3322
|
+
alloweds: Sequence[_builtins.str],
|
3323
|
+
default: _builtins.str,
|
3324
|
+
denieds: Sequence[_builtins.str]):
|
2748
3325
|
pulumi.set(__self__, "alloweds", alloweds)
|
2749
3326
|
pulumi.set(__self__, "default", default)
|
2750
3327
|
pulumi.set(__self__, "denieds", denieds)
|
2751
3328
|
|
2752
|
-
@property
|
3329
|
+
@_builtins.property
|
2753
3330
|
@pulumi.getter
|
2754
|
-
def alloweds(self) -> Sequence[
|
3331
|
+
def alloweds(self) -> Sequence[_builtins.str]:
|
2755
3332
|
return pulumi.get(self, "alloweds")
|
2756
3333
|
|
2757
|
-
@property
|
3334
|
+
@_builtins.property
|
2758
3335
|
@pulumi.getter
|
2759
|
-
def default(self) ->
|
3336
|
+
def default(self) -> _builtins.str:
|
2760
3337
|
return pulumi.get(self, "default")
|
2761
3338
|
|
2762
|
-
@property
|
3339
|
+
@_builtins.property
|
2763
3340
|
@pulumi.getter
|
2764
|
-
def denieds(self) -> Sequence[
|
3341
|
+
def denieds(self) -> Sequence[_builtins.str]:
|
2765
3342
|
return pulumi.get(self, "denieds")
|
2766
3343
|
|
2767
3344
|
|
2768
3345
|
@pulumi.output_type
|
2769
3346
|
class GetNodePoolSchedulerConfigResult(dict):
|
2770
3347
|
def __init__(__self__, *,
|
2771
|
-
memory_oversubscription:
|
2772
|
-
scheduler_algorithm:
|
3348
|
+
memory_oversubscription: _builtins.str,
|
3349
|
+
scheduler_algorithm: _builtins.str):
|
2773
3350
|
"""
|
2774
|
-
:param
|
3351
|
+
:param _builtins.str memory_oversubscription: `(string)` - Whether or not memory
|
2775
3352
|
oversubscription is enabled in the node pool. If empty or not defined the
|
2776
3353
|
global cluster configuration is used.
|
2777
|
-
:param
|
3354
|
+
:param _builtins.str scheduler_algorithm: `(string)` - The scheduler algorithm used in the node
|
2778
3355
|
pool. If empty or not defined the global cluster configuration is used.
|
2779
3356
|
"""
|
2780
3357
|
pulumi.set(__self__, "memory_oversubscription", memory_oversubscription)
|
2781
3358
|
pulumi.set(__self__, "scheduler_algorithm", scheduler_algorithm)
|
2782
3359
|
|
2783
|
-
@property
|
3360
|
+
@_builtins.property
|
2784
3361
|
@pulumi.getter(name="memoryOversubscription")
|
2785
|
-
def memory_oversubscription(self) ->
|
3362
|
+
def memory_oversubscription(self) -> _builtins.str:
|
2786
3363
|
"""
|
2787
3364
|
`(string)` - Whether or not memory
|
2788
3365
|
oversubscription is enabled in the node pool. If empty or not defined the
|
@@ -2790,9 +3367,9 @@ class GetNodePoolSchedulerConfigResult(dict):
|
|
2790
3367
|
"""
|
2791
3368
|
return pulumi.get(self, "memory_oversubscription")
|
2792
3369
|
|
2793
|
-
@property
|
3370
|
+
@_builtins.property
|
2794
3371
|
@pulumi.getter(name="schedulerAlgorithm")
|
2795
|
-
def scheduler_algorithm(self) ->
|
3372
|
+
def scheduler_algorithm(self) -> _builtins.str:
|
2796
3373
|
"""
|
2797
3374
|
`(string)` - The scheduler algorithm used in the node
|
2798
3375
|
pool. If empty or not defined the global cluster configuration is used.
|
@@ -2803,15 +3380,15 @@ class GetNodePoolSchedulerConfigResult(dict):
|
|
2803
3380
|
@pulumi.output_type
|
2804
3381
|
class GetNodePoolsNodePoolResult(dict):
|
2805
3382
|
def __init__(__self__, *,
|
2806
|
-
description:
|
2807
|
-
meta: Mapping[str,
|
2808
|
-
name:
|
3383
|
+
description: _builtins.str,
|
3384
|
+
meta: Mapping[str, _builtins.str],
|
3385
|
+
name: _builtins.str,
|
2809
3386
|
scheduler_configs: Sequence['outputs.GetNodePoolsNodePoolSchedulerConfigResult']):
|
2810
3387
|
"""
|
2811
|
-
:param
|
2812
|
-
:param Mapping[str,
|
3388
|
+
:param _builtins.str description: `(string)` - The description of the node pool.
|
3389
|
+
:param Mapping[str, _builtins.str] meta: `(map[string]string)` - Arbitrary KV metadata associated with the
|
2813
3390
|
node pool.
|
2814
|
-
:param
|
3391
|
+
:param _builtins.str name: `(string)` - The name of the node pool.
|
2815
3392
|
:param Sequence['GetNodePoolsNodePoolSchedulerConfigArgs'] scheduler_configs: `(block)` - Scheduler configuration for the node pool.
|
2816
3393
|
"""
|
2817
3394
|
pulumi.set(__self__, "description", description)
|
@@ -2819,32 +3396,32 @@ class GetNodePoolsNodePoolResult(dict):
|
|
2819
3396
|
pulumi.set(__self__, "name", name)
|
2820
3397
|
pulumi.set(__self__, "scheduler_configs", scheduler_configs)
|
2821
3398
|
|
2822
|
-
@property
|
3399
|
+
@_builtins.property
|
2823
3400
|
@pulumi.getter
|
2824
|
-
def description(self) ->
|
3401
|
+
def description(self) -> _builtins.str:
|
2825
3402
|
"""
|
2826
3403
|
`(string)` - The description of the node pool.
|
2827
3404
|
"""
|
2828
3405
|
return pulumi.get(self, "description")
|
2829
3406
|
|
2830
|
-
@property
|
3407
|
+
@_builtins.property
|
2831
3408
|
@pulumi.getter
|
2832
|
-
def meta(self) -> Mapping[str,
|
3409
|
+
def meta(self) -> Mapping[str, _builtins.str]:
|
2833
3410
|
"""
|
2834
3411
|
`(map[string]string)` - Arbitrary KV metadata associated with the
|
2835
3412
|
node pool.
|
2836
3413
|
"""
|
2837
3414
|
return pulumi.get(self, "meta")
|
2838
3415
|
|
2839
|
-
@property
|
3416
|
+
@_builtins.property
|
2840
3417
|
@pulumi.getter
|
2841
|
-
def name(self) ->
|
3418
|
+
def name(self) -> _builtins.str:
|
2842
3419
|
"""
|
2843
3420
|
`(string)` - The name of the node pool.
|
2844
3421
|
"""
|
2845
3422
|
return pulumi.get(self, "name")
|
2846
3423
|
|
2847
|
-
@property
|
3424
|
+
@_builtins.property
|
2848
3425
|
@pulumi.getter(name="schedulerConfigs")
|
2849
3426
|
def scheduler_configs(self) -> Sequence['outputs.GetNodePoolsNodePoolSchedulerConfigResult']:
|
2850
3427
|
"""
|
@@ -2856,21 +3433,21 @@ class GetNodePoolsNodePoolResult(dict):
|
|
2856
3433
|
@pulumi.output_type
|
2857
3434
|
class GetNodePoolsNodePoolSchedulerConfigResult(dict):
|
2858
3435
|
def __init__(__self__, *,
|
2859
|
-
memory_oversubscription:
|
2860
|
-
scheduler_algorithm:
|
3436
|
+
memory_oversubscription: _builtins.str,
|
3437
|
+
scheduler_algorithm: _builtins.str):
|
2861
3438
|
"""
|
2862
|
-
:param
|
3439
|
+
:param _builtins.str memory_oversubscription: `(string)` - Whether or not memory
|
2863
3440
|
oversubscription is enabled in the node pool. If empty or not defined the
|
2864
3441
|
global cluster configuration is used.
|
2865
|
-
:param
|
3442
|
+
:param _builtins.str scheduler_algorithm: `(string)` - The scheduler algorithm used in the node
|
2866
3443
|
pool. If empty or not defined the global cluster configuration is used.
|
2867
3444
|
"""
|
2868
3445
|
pulumi.set(__self__, "memory_oversubscription", memory_oversubscription)
|
2869
3446
|
pulumi.set(__self__, "scheduler_algorithm", scheduler_algorithm)
|
2870
3447
|
|
2871
|
-
@property
|
3448
|
+
@_builtins.property
|
2872
3449
|
@pulumi.getter(name="memoryOversubscription")
|
2873
|
-
def memory_oversubscription(self) ->
|
3450
|
+
def memory_oversubscription(self) -> _builtins.str:
|
2874
3451
|
"""
|
2875
3452
|
`(string)` - Whether or not memory
|
2876
3453
|
oversubscription is enabled in the node pool. If empty or not defined the
|
@@ -2878,9 +3455,9 @@ class GetNodePoolsNodePoolSchedulerConfigResult(dict):
|
|
2878
3455
|
"""
|
2879
3456
|
return pulumi.get(self, "memory_oversubscription")
|
2880
3457
|
|
2881
|
-
@property
|
3458
|
+
@_builtins.property
|
2882
3459
|
@pulumi.getter(name="schedulerAlgorithm")
|
2883
|
-
def scheduler_algorithm(self) ->
|
3460
|
+
def scheduler_algorithm(self) -> _builtins.str:
|
2884
3461
|
"""
|
2885
3462
|
`(string)` - The scheduler algorithm used in the node
|
2886
3463
|
pool. If empty or not defined the global cluster configuration is used.
|
@@ -2891,74 +3468,74 @@ class GetNodePoolsNodePoolSchedulerConfigResult(dict):
|
|
2891
3468
|
@pulumi.output_type
|
2892
3469
|
class GetPluginNodeResult(dict):
|
2893
3470
|
def __init__(__self__, *,
|
2894
|
-
healthy:
|
2895
|
-
healthy_description:
|
2896
|
-
name:
|
3471
|
+
healthy: _builtins.bool,
|
3472
|
+
healthy_description: _builtins.str,
|
3473
|
+
name: _builtins.str):
|
2897
3474
|
pulumi.set(__self__, "healthy", healthy)
|
2898
3475
|
pulumi.set(__self__, "healthy_description", healthy_description)
|
2899
3476
|
pulumi.set(__self__, "name", name)
|
2900
3477
|
|
2901
|
-
@property
|
3478
|
+
@_builtins.property
|
2902
3479
|
@pulumi.getter
|
2903
|
-
def healthy(self) ->
|
3480
|
+
def healthy(self) -> _builtins.bool:
|
2904
3481
|
return pulumi.get(self, "healthy")
|
2905
3482
|
|
2906
|
-
@property
|
3483
|
+
@_builtins.property
|
2907
3484
|
@pulumi.getter(name="healthyDescription")
|
2908
|
-
def healthy_description(self) ->
|
3485
|
+
def healthy_description(self) -> _builtins.str:
|
2909
3486
|
return pulumi.get(self, "healthy_description")
|
2910
3487
|
|
2911
|
-
@property
|
3488
|
+
@_builtins.property
|
2912
3489
|
@pulumi.getter
|
2913
|
-
def name(self) ->
|
3490
|
+
def name(self) -> _builtins.str:
|
2914
3491
|
return pulumi.get(self, "name")
|
2915
3492
|
|
2916
3493
|
|
2917
3494
|
@pulumi.output_type
|
2918
3495
|
class GetScalingPoliciesPolicyResult(dict):
|
2919
3496
|
def __init__(__self__, *,
|
2920
|
-
enabled:
|
2921
|
-
id:
|
2922
|
-
target: Mapping[str,
|
2923
|
-
type:
|
3497
|
+
enabled: _builtins.bool,
|
3498
|
+
id: _builtins.str,
|
3499
|
+
target: Mapping[str, _builtins.str],
|
3500
|
+
type: _builtins.str):
|
2924
3501
|
"""
|
2925
|
-
:param
|
2926
|
-
:param
|
2927
|
-
:param Mapping[str,
|
2928
|
-
:param
|
3502
|
+
:param _builtins.bool enabled: `(boolean)` - Whether or not the scaling policy is enabled.
|
3503
|
+
:param _builtins.str id: `(string)` - The scaling policy ID.
|
3504
|
+
:param Mapping[str, _builtins.str] target: `(map[string]string)` - The scaling policy target.
|
3505
|
+
: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.
|
2929
3506
|
"""
|
2930
3507
|
pulumi.set(__self__, "enabled", enabled)
|
2931
3508
|
pulumi.set(__self__, "id", id)
|
2932
3509
|
pulumi.set(__self__, "target", target)
|
2933
3510
|
pulumi.set(__self__, "type", type)
|
2934
3511
|
|
2935
|
-
@property
|
3512
|
+
@_builtins.property
|
2936
3513
|
@pulumi.getter
|
2937
|
-
def enabled(self) ->
|
3514
|
+
def enabled(self) -> _builtins.bool:
|
2938
3515
|
"""
|
2939
3516
|
`(boolean)` - Whether or not the scaling policy is enabled.
|
2940
3517
|
"""
|
2941
3518
|
return pulumi.get(self, "enabled")
|
2942
3519
|
|
2943
|
-
@property
|
3520
|
+
@_builtins.property
|
2944
3521
|
@pulumi.getter
|
2945
|
-
def id(self) ->
|
3522
|
+
def id(self) -> _builtins.str:
|
2946
3523
|
"""
|
2947
3524
|
`(string)` - The scaling policy ID.
|
2948
3525
|
"""
|
2949
3526
|
return pulumi.get(self, "id")
|
2950
3527
|
|
2951
|
-
@property
|
3528
|
+
@_builtins.property
|
2952
3529
|
@pulumi.getter
|
2953
|
-
def target(self) -> Mapping[str,
|
3530
|
+
def target(self) -> Mapping[str, _builtins.str]:
|
2954
3531
|
"""
|
2955
3532
|
`(map[string]string)` - The scaling policy target.
|
2956
3533
|
"""
|
2957
3534
|
return pulumi.get(self, "target")
|
2958
3535
|
|
2959
|
-
@property
|
3536
|
+
@_builtins.property
|
2960
3537
|
@pulumi.getter
|
2961
|
-
def type(self) ->
|
3538
|
+
def type(self) -> _builtins.str:
|
2962
3539
|
"""
|
2963
3540
|
`(string)` - An optional string to filter scaling policies based on policy type. If not provided, policies of all types are returned.
|
2964
3541
|
"""
|