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