pulumi-nomad 2.3.2__py3-none-any.whl → 2.3.3__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/_inputs.py +680 -10
- pulumi_nomad/_utilities.py +1 -1
- pulumi_nomad/acl_auth_method.py +5 -0
- pulumi_nomad/acl_binding_rule.py +5 -0
- pulumi_nomad/acl_policy.py +5 -0
- pulumi_nomad/acl_role.py +5 -0
- pulumi_nomad/acl_token.py +5 -0
- pulumi_nomad/config/__init__.pyi +5 -0
- pulumi_nomad/config/outputs.py +5 -0
- pulumi_nomad/config/vars.py +5 -0
- pulumi_nomad/csi_volume.py +5 -0
- pulumi_nomad/csi_volume_registration.py +5 -0
- pulumi_nomad/external_volume.py +5 -0
- pulumi_nomad/get_acl_policies.py +13 -4
- pulumi_nomad/get_acl_policy.py +14 -4
- pulumi_nomad/get_acl_role.py +14 -4
- pulumi_nomad/get_acl_roles.py +13 -4
- pulumi_nomad/get_acl_token.py +21 -4
- pulumi_nomad/get_acl_tokens.py +13 -4
- pulumi_nomad/get_allocations.py +17 -4
- pulumi_nomad/get_datacenters.py +15 -4
- pulumi_nomad/get_deployments.py +12 -5
- pulumi_nomad/get_job.py +33 -4
- pulumi_nomad/get_job_parser.py +15 -4
- pulumi_nomad/get_jwks.py +12 -4
- pulumi_nomad/get_namespace.py +17 -4
- pulumi_nomad/get_namespaces.py +11 -4
- pulumi_nomad/get_node_pool.py +15 -4
- pulumi_nomad/get_node_pools.py +15 -4
- pulumi_nomad/get_plugin.py +24 -4
- pulumi_nomad/get_plugins.py +14 -5
- pulumi_nomad/get_regions.py +11 -4
- pulumi_nomad/get_scaling_policies.py +15 -4
- pulumi_nomad/get_scaling_policy.py +18 -5
- pulumi_nomad/get_scheduler_policy.py +13 -4
- pulumi_nomad/get_variable.py +16 -5
- pulumi_nomad/get_volumes.py +20 -5
- pulumi_nomad/job.py +5 -0
- pulumi_nomad/namespace.py +5 -0
- pulumi_nomad/node_pool.py +5 -0
- pulumi_nomad/outputs.py +19 -14
- pulumi_nomad/provider.py +5 -0
- pulumi_nomad/pulumi-plugin.json +1 -1
- pulumi_nomad/quote_specification.py +5 -0
- pulumi_nomad/scheduler_config.py +5 -0
- pulumi_nomad/sentinel_policy.py +5 -0
- pulumi_nomad/variable.py +19 -14
- pulumi_nomad/volume.py +5 -0
- {pulumi_nomad-2.3.2.dist-info → pulumi_nomad-2.3.3.dist-info}/METADATA +3 -2
- pulumi_nomad-2.3.3.dist-info/RECORD +55 -0
- {pulumi_nomad-2.3.2.dist-info → pulumi_nomad-2.3.3.dist-info}/WHEEL +1 -1
- pulumi_nomad-2.3.2.dist-info/RECORD +0 -55
- {pulumi_nomad-2.3.2.dist-info → pulumi_nomad-2.3.3.dist-info}/top_level.txt +0 -0
pulumi_nomad/_inputs.py
CHANGED
@@ -4,57 +4,201 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = [
|
13
18
|
'AclAuthMethodConfigArgs',
|
19
|
+
'AclAuthMethodConfigArgsDict',
|
14
20
|
'AclPolicyJobAclArgs',
|
21
|
+
'AclPolicyJobAclArgsDict',
|
15
22
|
'AclRolePolicyArgs',
|
23
|
+
'AclRolePolicyArgsDict',
|
16
24
|
'AclTokenRoleArgs',
|
25
|
+
'AclTokenRoleArgsDict',
|
17
26
|
'CsiVolumeCapabilityArgs',
|
27
|
+
'CsiVolumeCapabilityArgsDict',
|
18
28
|
'CsiVolumeMountOptionsArgs',
|
29
|
+
'CsiVolumeMountOptionsArgsDict',
|
19
30
|
'CsiVolumeRegistrationCapabilityArgs',
|
31
|
+
'CsiVolumeRegistrationCapabilityArgsDict',
|
20
32
|
'CsiVolumeRegistrationMountOptionsArgs',
|
33
|
+
'CsiVolumeRegistrationMountOptionsArgsDict',
|
21
34
|
'CsiVolumeRegistrationTopologyArgs',
|
35
|
+
'CsiVolumeRegistrationTopologyArgsDict',
|
22
36
|
'CsiVolumeRegistrationTopologyRequestArgs',
|
37
|
+
'CsiVolumeRegistrationTopologyRequestArgsDict',
|
23
38
|
'CsiVolumeRegistrationTopologyRequestRequiredArgs',
|
39
|
+
'CsiVolumeRegistrationTopologyRequestRequiredArgsDict',
|
24
40
|
'CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs',
|
41
|
+
'CsiVolumeRegistrationTopologyRequestRequiredTopologyArgsDict',
|
25
42
|
'CsiVolumeTopologyArgs',
|
43
|
+
'CsiVolumeTopologyArgsDict',
|
26
44
|
'CsiVolumeTopologyRequestArgs',
|
45
|
+
'CsiVolumeTopologyRequestArgsDict',
|
27
46
|
'CsiVolumeTopologyRequestPreferredArgs',
|
47
|
+
'CsiVolumeTopologyRequestPreferredArgsDict',
|
28
48
|
'CsiVolumeTopologyRequestPreferredTopologyArgs',
|
49
|
+
'CsiVolumeTopologyRequestPreferredTopologyArgsDict',
|
29
50
|
'CsiVolumeTopologyRequestRequiredArgs',
|
51
|
+
'CsiVolumeTopologyRequestRequiredArgsDict',
|
30
52
|
'CsiVolumeTopologyRequestRequiredTopologyArgs',
|
53
|
+
'CsiVolumeTopologyRequestRequiredTopologyArgsDict',
|
31
54
|
'ExternalVolumeCapabilityArgs',
|
55
|
+
'ExternalVolumeCapabilityArgsDict',
|
32
56
|
'ExternalVolumeMountOptionsArgs',
|
57
|
+
'ExternalVolumeMountOptionsArgsDict',
|
33
58
|
'ExternalVolumeTopologyArgs',
|
59
|
+
'ExternalVolumeTopologyArgsDict',
|
34
60
|
'ExternalVolumeTopologyRequestArgs',
|
61
|
+
'ExternalVolumeTopologyRequestArgsDict',
|
35
62
|
'ExternalVolumeTopologyRequestPreferredArgs',
|
63
|
+
'ExternalVolumeTopologyRequestPreferredArgsDict',
|
36
64
|
'ExternalVolumeTopologyRequestPreferredTopologyArgs',
|
65
|
+
'ExternalVolumeTopologyRequestPreferredTopologyArgsDict',
|
37
66
|
'ExternalVolumeTopologyRequestRequiredArgs',
|
67
|
+
'ExternalVolumeTopologyRequestRequiredArgsDict',
|
38
68
|
'ExternalVolumeTopologyRequestRequiredTopologyArgs',
|
69
|
+
'ExternalVolumeTopologyRequestRequiredTopologyArgsDict',
|
39
70
|
'JobHcl2Args',
|
71
|
+
'JobHcl2ArgsDict',
|
40
72
|
'JobTaskGroupArgs',
|
73
|
+
'JobTaskGroupArgsDict',
|
41
74
|
'JobTaskGroupTaskArgs',
|
75
|
+
'JobTaskGroupTaskArgsDict',
|
42
76
|
'JobTaskGroupTaskVolumeMountArgs',
|
77
|
+
'JobTaskGroupTaskVolumeMountArgsDict',
|
43
78
|
'JobTaskGroupVolumeArgs',
|
79
|
+
'JobTaskGroupVolumeArgsDict',
|
44
80
|
'NamespaceCapabilitiesArgs',
|
81
|
+
'NamespaceCapabilitiesArgsDict',
|
45
82
|
'NamespaceNodePoolConfigArgs',
|
83
|
+
'NamespaceNodePoolConfigArgsDict',
|
46
84
|
'NodePoolSchedulerConfigArgs',
|
85
|
+
'NodePoolSchedulerConfigArgsDict',
|
47
86
|
'ProviderHeaderArgs',
|
87
|
+
'ProviderHeaderArgsDict',
|
48
88
|
'QuoteSpecificationLimitArgs',
|
89
|
+
'QuoteSpecificationLimitArgsDict',
|
49
90
|
'QuoteSpecificationLimitRegionLimitArgs',
|
91
|
+
'QuoteSpecificationLimitRegionLimitArgsDict',
|
50
92
|
'VolumeCapabilityArgs',
|
93
|
+
'VolumeCapabilityArgsDict',
|
51
94
|
'VolumeMountOptionsArgs',
|
95
|
+
'VolumeMountOptionsArgsDict',
|
52
96
|
'VolumeTopologyArgs',
|
97
|
+
'VolumeTopologyArgsDict',
|
53
98
|
'VolumeTopologyRequestArgs',
|
99
|
+
'VolumeTopologyRequestArgsDict',
|
54
100
|
'VolumeTopologyRequestRequiredArgs',
|
101
|
+
'VolumeTopologyRequestRequiredArgsDict',
|
55
102
|
'VolumeTopologyRequestRequiredTopologyArgs',
|
103
|
+
'VolumeTopologyRequestRequiredTopologyArgsDict',
|
56
104
|
]
|
57
105
|
|
106
|
+
MYPY = False
|
107
|
+
|
108
|
+
if not MYPY:
|
109
|
+
class AclAuthMethodConfigArgsDict(TypedDict):
|
110
|
+
allowed_redirect_uris: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
111
|
+
"""
|
112
|
+
`([]string: <optional>)` - A list of allowed values
|
113
|
+
that can be used for the redirect URI.
|
114
|
+
"""
|
115
|
+
bound_audiences: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
116
|
+
"""
|
117
|
+
`([]string: <optional>)` - List of auth claims that are
|
118
|
+
valid for login.
|
119
|
+
"""
|
120
|
+
bound_issuers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
121
|
+
"""
|
122
|
+
`([]string: <optional>)` - The value against which to match
|
123
|
+
the iss claim in a JWT.
|
124
|
+
"""
|
125
|
+
claim_mappings: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
126
|
+
"""
|
127
|
+
Mappings of claims (key) that will be copied to a metadata field (value).
|
128
|
+
"""
|
129
|
+
clock_skew_leeway: NotRequired[pulumi.Input[str]]
|
130
|
+
"""
|
131
|
+
`(string: <optional>)` - Duration of leeway when validating
|
132
|
+
all claims in the form of a time duration such as "5m" or "1h".
|
133
|
+
"""
|
134
|
+
discovery_ca_pems: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
135
|
+
"""
|
136
|
+
`([]string: <optional>)` - PEM encoded CA certs for use
|
137
|
+
by the TLS client used to talk with the OIDC Discovery URL.
|
138
|
+
"""
|
139
|
+
expiration_leeway: NotRequired[pulumi.Input[str]]
|
140
|
+
"""
|
141
|
+
`(string: <optional>)` - Duration of leeway when validating
|
142
|
+
expiration of a JWT in the form of a time duration such as "5m" or "1h".
|
143
|
+
"""
|
144
|
+
jwks_ca_cert: NotRequired[pulumi.Input[str]]
|
145
|
+
"""
|
146
|
+
`(string: <optional>)` - PEM encoded CA cert for use by the
|
147
|
+
TLS client used to talk with the JWKS server.
|
148
|
+
"""
|
149
|
+
jwks_url: NotRequired[pulumi.Input[str]]
|
150
|
+
"""
|
151
|
+
`(string: <optional>)` - JSON Web Key Sets url for authenticating
|
152
|
+
signatures.
|
153
|
+
"""
|
154
|
+
jwt_validation_pub_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
155
|
+
"""
|
156
|
+
`([]string: <optional>)` - List of PEM-encoded
|
157
|
+
public keys to use to authenticate signatures locally.
|
158
|
+
"""
|
159
|
+
list_claim_mappings: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
160
|
+
"""
|
161
|
+
Mappings of list claims (key) that will be copied to a metadata field (value).
|
162
|
+
"""
|
163
|
+
not_before_leeway: NotRequired[pulumi.Input[str]]
|
164
|
+
"""
|
165
|
+
`(string: <optional>)` - Duration of leeway when validating
|
166
|
+
not before values of a token in the form of a time duration such as "5m" or "1h".
|
167
|
+
"""
|
168
|
+
oidc_client_id: NotRequired[pulumi.Input[str]]
|
169
|
+
"""
|
170
|
+
`(string: <optional>)` - The OAuth Client ID configured
|
171
|
+
with the OIDC provider.
|
172
|
+
"""
|
173
|
+
oidc_client_secret: NotRequired[pulumi.Input[str]]
|
174
|
+
"""
|
175
|
+
`(string: <optional>)` - The OAuth Client Secret
|
176
|
+
configured with the OIDC provider.
|
177
|
+
"""
|
178
|
+
oidc_disable_userinfo: NotRequired[pulumi.Input[bool]]
|
179
|
+
"""
|
180
|
+
`(bool: false)` - When set to `true`, Nomad will
|
181
|
+
not make a request to the identity provider to get OIDC `UserInfo`.
|
182
|
+
You may wish to set this if your identity provider doesn't send any
|
183
|
+
additional claims from the `UserInfo` endpoint.
|
184
|
+
"""
|
185
|
+
oidc_discovery_url: NotRequired[pulumi.Input[str]]
|
186
|
+
"""
|
187
|
+
`(string: <optional>)` - The OIDC Discovery URL,
|
188
|
+
without any .well-known component (base path).
|
189
|
+
"""
|
190
|
+
oidc_scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
191
|
+
"""
|
192
|
+
`([]string: <optional>)` - List of OIDC scopes.
|
193
|
+
"""
|
194
|
+
signing_algs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
195
|
+
"""
|
196
|
+
`([]string: <optional>)` - A list of supported signing
|
197
|
+
algorithms.
|
198
|
+
"""
|
199
|
+
elif False:
|
200
|
+
AclAuthMethodConfigArgsDict: TypeAlias = Mapping[str, Any]
|
201
|
+
|
58
202
|
@pulumi.input_type
|
59
203
|
class AclAuthMethodConfigArgs:
|
60
204
|
def __init__(__self__, *,
|
@@ -384,6 +528,27 @@ class AclAuthMethodConfigArgs:
|
|
384
528
|
pulumi.set(self, "signing_algs", value)
|
385
529
|
|
386
530
|
|
531
|
+
if not MYPY:
|
532
|
+
class AclPolicyJobAclArgsDict(TypedDict):
|
533
|
+
job_id: pulumi.Input[str]
|
534
|
+
"""
|
535
|
+
Job
|
536
|
+
"""
|
537
|
+
group: NotRequired[pulumi.Input[str]]
|
538
|
+
"""
|
539
|
+
Group
|
540
|
+
"""
|
541
|
+
namespace: NotRequired[pulumi.Input[str]]
|
542
|
+
"""
|
543
|
+
Namespace
|
544
|
+
"""
|
545
|
+
task: NotRequired[pulumi.Input[str]]
|
546
|
+
"""
|
547
|
+
Task
|
548
|
+
"""
|
549
|
+
elif False:
|
550
|
+
AclPolicyJobAclArgsDict: TypeAlias = Mapping[str, Any]
|
551
|
+
|
387
552
|
@pulumi.input_type
|
388
553
|
class AclPolicyJobAclArgs:
|
389
554
|
def __init__(__self__, *,
|
@@ -454,6 +619,15 @@ class AclPolicyJobAclArgs:
|
|
454
619
|
pulumi.set(self, "task", value)
|
455
620
|
|
456
621
|
|
622
|
+
if not MYPY:
|
623
|
+
class AclRolePolicyArgsDict(TypedDict):
|
624
|
+
name: pulumi.Input[str]
|
625
|
+
"""
|
626
|
+
`(string: <required>)` - A human-friendly name for this ACL Role.
|
627
|
+
"""
|
628
|
+
elif False:
|
629
|
+
AclRolePolicyArgsDict: TypeAlias = Mapping[str, Any]
|
630
|
+
|
457
631
|
@pulumi.input_type
|
458
632
|
class AclRolePolicyArgs:
|
459
633
|
def __init__(__self__, *,
|
@@ -476,6 +650,19 @@ class AclRolePolicyArgs:
|
|
476
650
|
pulumi.set(self, "name", value)
|
477
651
|
|
478
652
|
|
653
|
+
if not MYPY:
|
654
|
+
class AclTokenRoleArgsDict(TypedDict):
|
655
|
+
id: pulumi.Input[str]
|
656
|
+
"""
|
657
|
+
The ID of the ACL role to link.
|
658
|
+
"""
|
659
|
+
name: NotRequired[pulumi.Input[str]]
|
660
|
+
"""
|
661
|
+
`(string: "")` - A human-friendly name for this token.
|
662
|
+
"""
|
663
|
+
elif False:
|
664
|
+
AclTokenRoleArgsDict: TypeAlias = Mapping[str, Any]
|
665
|
+
|
479
666
|
@pulumi.input_type
|
480
667
|
class AclTokenRoleArgs:
|
481
668
|
def __init__(__self__, *,
|
@@ -514,6 +701,26 @@ class AclTokenRoleArgs:
|
|
514
701
|
pulumi.set(self, "name", value)
|
515
702
|
|
516
703
|
|
704
|
+
if not MYPY:
|
705
|
+
class CsiVolumeCapabilityArgsDict(TypedDict):
|
706
|
+
access_mode: pulumi.Input[str]
|
707
|
+
"""
|
708
|
+
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
709
|
+
- `single-node-reader-only`
|
710
|
+
- `single-node-writer`
|
711
|
+
- `multi-node-reader-only`
|
712
|
+
- `multi-node-single-writer`
|
713
|
+
- `multi-node-multi-writer`
|
714
|
+
"""
|
715
|
+
attachment_mode: pulumi.Input[str]
|
716
|
+
"""
|
717
|
+
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
718
|
+
- `block-device`
|
719
|
+
- `file-system`
|
720
|
+
"""
|
721
|
+
elif False:
|
722
|
+
CsiVolumeCapabilityArgsDict: TypeAlias = Mapping[str, Any]
|
723
|
+
|
517
724
|
@pulumi.input_type
|
518
725
|
class CsiVolumeCapabilityArgs:
|
519
726
|
def __init__(__self__, *,
|
@@ -565,6 +772,19 @@ class CsiVolumeCapabilityArgs:
|
|
565
772
|
pulumi.set(self, "attachment_mode", value)
|
566
773
|
|
567
774
|
|
775
|
+
if not MYPY:
|
776
|
+
class CsiVolumeMountOptionsArgsDict(TypedDict):
|
777
|
+
fs_type: NotRequired[pulumi.Input[str]]
|
778
|
+
"""
|
779
|
+
`(string: optional)` - The file system type.
|
780
|
+
"""
|
781
|
+
mount_flags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
782
|
+
"""
|
783
|
+
`[]string: optional` - The flags passed to `mount`.
|
784
|
+
"""
|
785
|
+
elif False:
|
786
|
+
CsiVolumeMountOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
787
|
+
|
568
788
|
@pulumi.input_type
|
569
789
|
class CsiVolumeMountOptionsArgs:
|
570
790
|
def __init__(__self__, *,
|
@@ -604,6 +824,26 @@ class CsiVolumeMountOptionsArgs:
|
|
604
824
|
pulumi.set(self, "mount_flags", value)
|
605
825
|
|
606
826
|
|
827
|
+
if not MYPY:
|
828
|
+
class CsiVolumeRegistrationCapabilityArgsDict(TypedDict):
|
829
|
+
access_mode: pulumi.Input[str]
|
830
|
+
"""
|
831
|
+
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
832
|
+
- `single-node-reader-only`
|
833
|
+
- `single-node-writer`
|
834
|
+
- `multi-node-reader-only`
|
835
|
+
- `multi-node-single-writer`
|
836
|
+
- `multi-node-multi-writer`
|
837
|
+
"""
|
838
|
+
attachment_mode: pulumi.Input[str]
|
839
|
+
"""
|
840
|
+
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
841
|
+
- `block-device`
|
842
|
+
- `file-system`
|
843
|
+
"""
|
844
|
+
elif False:
|
845
|
+
CsiVolumeRegistrationCapabilityArgsDict: TypeAlias = Mapping[str, Any]
|
846
|
+
|
607
847
|
@pulumi.input_type
|
608
848
|
class CsiVolumeRegistrationCapabilityArgs:
|
609
849
|
def __init__(__self__, *,
|
@@ -655,6 +895,19 @@ class CsiVolumeRegistrationCapabilityArgs:
|
|
655
895
|
pulumi.set(self, "attachment_mode", value)
|
656
896
|
|
657
897
|
|
898
|
+
if not MYPY:
|
899
|
+
class CsiVolumeRegistrationMountOptionsArgsDict(TypedDict):
|
900
|
+
fs_type: NotRequired[pulumi.Input[str]]
|
901
|
+
"""
|
902
|
+
`(string: <optional>)` - The file system type.
|
903
|
+
"""
|
904
|
+
mount_flags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
905
|
+
"""
|
906
|
+
`([]string: <optional>)` - The flags passed to `mount`.
|
907
|
+
"""
|
908
|
+
elif False:
|
909
|
+
CsiVolumeRegistrationMountOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
910
|
+
|
658
911
|
@pulumi.input_type
|
659
912
|
class CsiVolumeRegistrationMountOptionsArgs:
|
660
913
|
def __init__(__self__, *,
|
@@ -694,6 +947,18 @@ class CsiVolumeRegistrationMountOptionsArgs:
|
|
694
947
|
pulumi.set(self, "mount_flags", value)
|
695
948
|
|
696
949
|
|
950
|
+
if not MYPY:
|
951
|
+
class CsiVolumeRegistrationTopologyArgsDict(TypedDict):
|
952
|
+
segments: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
953
|
+
"""
|
954
|
+
`(map[string]string)` - Define the attributes for the topology request.
|
955
|
+
|
956
|
+
In addition to the above arguments, the following attributes are exported and
|
957
|
+
can be referenced:
|
958
|
+
"""
|
959
|
+
elif False:
|
960
|
+
CsiVolumeRegistrationTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
961
|
+
|
697
962
|
@pulumi.input_type
|
698
963
|
class CsiVolumeRegistrationTopologyArgs:
|
699
964
|
def __init__(__self__, *,
|
@@ -723,6 +988,15 @@ class CsiVolumeRegistrationTopologyArgs:
|
|
723
988
|
pulumi.set(self, "segments", value)
|
724
989
|
|
725
990
|
|
991
|
+
if not MYPY:
|
992
|
+
class CsiVolumeRegistrationTopologyRequestArgsDict(TypedDict):
|
993
|
+
required: NotRequired[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredArgsDict']]
|
994
|
+
"""
|
995
|
+
`(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
|
996
|
+
"""
|
997
|
+
elif False:
|
998
|
+
CsiVolumeRegistrationTopologyRequestArgsDict: TypeAlias = Mapping[str, Any]
|
999
|
+
|
726
1000
|
@pulumi.input_type
|
727
1001
|
class CsiVolumeRegistrationTopologyRequestArgs:
|
728
1002
|
def __init__(__self__, *,
|
@@ -746,6 +1020,15 @@ class CsiVolumeRegistrationTopologyRequestArgs:
|
|
746
1020
|
pulumi.set(self, "required", value)
|
747
1021
|
|
748
1022
|
|
1023
|
+
if not MYPY:
|
1024
|
+
class CsiVolumeRegistrationTopologyRequestRequiredArgsDict(TypedDict):
|
1025
|
+
topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgsDict']]]
|
1026
|
+
"""
|
1027
|
+
Defines the location for the volume.
|
1028
|
+
"""
|
1029
|
+
elif False:
|
1030
|
+
CsiVolumeRegistrationTopologyRequestRequiredArgsDict: TypeAlias = Mapping[str, Any]
|
1031
|
+
|
749
1032
|
@pulumi.input_type
|
750
1033
|
class CsiVolumeRegistrationTopologyRequestRequiredArgs:
|
751
1034
|
def __init__(__self__, *,
|
@@ -768,6 +1051,15 @@ class CsiVolumeRegistrationTopologyRequestRequiredArgs:
|
|
768
1051
|
pulumi.set(self, "topologies", value)
|
769
1052
|
|
770
1053
|
|
1054
|
+
if not MYPY:
|
1055
|
+
class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgsDict(TypedDict):
|
1056
|
+
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
1057
|
+
"""
|
1058
|
+
Define attributes for the topology request.
|
1059
|
+
"""
|
1060
|
+
elif False:
|
1061
|
+
CsiVolumeRegistrationTopologyRequestRequiredTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
1062
|
+
|
771
1063
|
@pulumi.input_type
|
772
1064
|
class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
|
773
1065
|
def __init__(__self__, *,
|
@@ -790,6 +1082,18 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
|
|
790
1082
|
pulumi.set(self, "segments", value)
|
791
1083
|
|
792
1084
|
|
1085
|
+
if not MYPY:
|
1086
|
+
class CsiVolumeTopologyArgsDict(TypedDict):
|
1087
|
+
segments: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
1088
|
+
"""
|
1089
|
+
`(map[string]string)` - Define the attributes for the topology request.
|
1090
|
+
|
1091
|
+
In addition to the above arguments, the following attributes are exported and
|
1092
|
+
can be referenced:
|
1093
|
+
"""
|
1094
|
+
elif False:
|
1095
|
+
CsiVolumeTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
1096
|
+
|
793
1097
|
@pulumi.input_type
|
794
1098
|
class CsiVolumeTopologyArgs:
|
795
1099
|
def __init__(__self__, *,
|
@@ -819,6 +1123,19 @@ class CsiVolumeTopologyArgs:
|
|
819
1123
|
pulumi.set(self, "segments", value)
|
820
1124
|
|
821
1125
|
|
1126
|
+
if not MYPY:
|
1127
|
+
class CsiVolumeTopologyRequestArgsDict(TypedDict):
|
1128
|
+
preferred: NotRequired[pulumi.Input['CsiVolumeTopologyRequestPreferredArgsDict']]
|
1129
|
+
"""
|
1130
|
+
`(``Topology``: <optional>)` - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
|
1131
|
+
"""
|
1132
|
+
required: NotRequired[pulumi.Input['CsiVolumeTopologyRequestRequiredArgsDict']]
|
1133
|
+
"""
|
1134
|
+
`(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
|
1135
|
+
"""
|
1136
|
+
elif False:
|
1137
|
+
CsiVolumeTopologyRequestArgsDict: TypeAlias = Mapping[str, Any]
|
1138
|
+
|
822
1139
|
@pulumi.input_type
|
823
1140
|
class CsiVolumeTopologyRequestArgs:
|
824
1141
|
def __init__(__self__, *,
|
@@ -858,6 +1175,15 @@ class CsiVolumeTopologyRequestArgs:
|
|
858
1175
|
pulumi.set(self, "required", value)
|
859
1176
|
|
860
1177
|
|
1178
|
+
if not MYPY:
|
1179
|
+
class CsiVolumeTopologyRequestPreferredArgsDict(TypedDict):
|
1180
|
+
topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgsDict']]]
|
1181
|
+
"""
|
1182
|
+
Defines the location for the volume.
|
1183
|
+
"""
|
1184
|
+
elif False:
|
1185
|
+
CsiVolumeTopologyRequestPreferredArgsDict: TypeAlias = Mapping[str, Any]
|
1186
|
+
|
861
1187
|
@pulumi.input_type
|
862
1188
|
class CsiVolumeTopologyRequestPreferredArgs:
|
863
1189
|
def __init__(__self__, *,
|
@@ -880,6 +1206,15 @@ class CsiVolumeTopologyRequestPreferredArgs:
|
|
880
1206
|
pulumi.set(self, "topologies", value)
|
881
1207
|
|
882
1208
|
|
1209
|
+
if not MYPY:
|
1210
|
+
class CsiVolumeTopologyRequestPreferredTopologyArgsDict(TypedDict):
|
1211
|
+
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
1212
|
+
"""
|
1213
|
+
Define the attributes for the topology request.
|
1214
|
+
"""
|
1215
|
+
elif False:
|
1216
|
+
CsiVolumeTopologyRequestPreferredTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
1217
|
+
|
883
1218
|
@pulumi.input_type
|
884
1219
|
class CsiVolumeTopologyRequestPreferredTopologyArgs:
|
885
1220
|
def __init__(__self__, *,
|
@@ -902,6 +1237,15 @@ class CsiVolumeTopologyRequestPreferredTopologyArgs:
|
|
902
1237
|
pulumi.set(self, "segments", value)
|
903
1238
|
|
904
1239
|
|
1240
|
+
if not MYPY:
|
1241
|
+
class CsiVolumeTopologyRequestRequiredArgsDict(TypedDict):
|
1242
|
+
topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgsDict']]]
|
1243
|
+
"""
|
1244
|
+
Defines the location for the volume.
|
1245
|
+
"""
|
1246
|
+
elif False:
|
1247
|
+
CsiVolumeTopologyRequestRequiredArgsDict: TypeAlias = Mapping[str, Any]
|
1248
|
+
|
905
1249
|
@pulumi.input_type
|
906
1250
|
class CsiVolumeTopologyRequestRequiredArgs:
|
907
1251
|
def __init__(__self__, *,
|
@@ -924,6 +1268,15 @@ class CsiVolumeTopologyRequestRequiredArgs:
|
|
924
1268
|
pulumi.set(self, "topologies", value)
|
925
1269
|
|
926
1270
|
|
1271
|
+
if not MYPY:
|
1272
|
+
class CsiVolumeTopologyRequestRequiredTopologyArgsDict(TypedDict):
|
1273
|
+
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
1274
|
+
"""
|
1275
|
+
Define the attributes for the topology request.
|
1276
|
+
"""
|
1277
|
+
elif False:
|
1278
|
+
CsiVolumeTopologyRequestRequiredTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
1279
|
+
|
927
1280
|
@pulumi.input_type
|
928
1281
|
class CsiVolumeTopologyRequestRequiredTopologyArgs:
|
929
1282
|
def __init__(__self__, *,
|
@@ -946,6 +1299,26 @@ class CsiVolumeTopologyRequestRequiredTopologyArgs:
|
|
946
1299
|
pulumi.set(self, "segments", value)
|
947
1300
|
|
948
1301
|
|
1302
|
+
if not MYPY:
|
1303
|
+
class ExternalVolumeCapabilityArgsDict(TypedDict):
|
1304
|
+
access_mode: pulumi.Input[str]
|
1305
|
+
"""
|
1306
|
+
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
1307
|
+
- `single-node-reader-only`
|
1308
|
+
- `single-node-writer`
|
1309
|
+
- `multi-node-reader-only`
|
1310
|
+
- `multi-node-single-writer`
|
1311
|
+
- `multi-node-multi-writer`
|
1312
|
+
"""
|
1313
|
+
attachment_mode: pulumi.Input[str]
|
1314
|
+
"""
|
1315
|
+
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
1316
|
+
- `block-device`
|
1317
|
+
- `file-system`
|
1318
|
+
"""
|
1319
|
+
elif False:
|
1320
|
+
ExternalVolumeCapabilityArgsDict: TypeAlias = Mapping[str, Any]
|
1321
|
+
|
949
1322
|
@pulumi.input_type
|
950
1323
|
class ExternalVolumeCapabilityArgs:
|
951
1324
|
def __init__(__self__, *,
|
@@ -997,6 +1370,19 @@ class ExternalVolumeCapabilityArgs:
|
|
997
1370
|
pulumi.set(self, "attachment_mode", value)
|
998
1371
|
|
999
1372
|
|
1373
|
+
if not MYPY:
|
1374
|
+
class ExternalVolumeMountOptionsArgsDict(TypedDict):
|
1375
|
+
fs_type: NotRequired[pulumi.Input[str]]
|
1376
|
+
"""
|
1377
|
+
`(string: optional)` - The file system type.
|
1378
|
+
"""
|
1379
|
+
mount_flags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
1380
|
+
"""
|
1381
|
+
`[]string: optional` - The flags passed to `mount`.
|
1382
|
+
"""
|
1383
|
+
elif False:
|
1384
|
+
ExternalVolumeMountOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
1385
|
+
|
1000
1386
|
@pulumi.input_type
|
1001
1387
|
class ExternalVolumeMountOptionsArgs:
|
1002
1388
|
def __init__(__self__, *,
|
@@ -1036,6 +1422,18 @@ class ExternalVolumeMountOptionsArgs:
|
|
1036
1422
|
pulumi.set(self, "mount_flags", value)
|
1037
1423
|
|
1038
1424
|
|
1425
|
+
if not MYPY:
|
1426
|
+
class ExternalVolumeTopologyArgsDict(TypedDict):
|
1427
|
+
segments: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
1428
|
+
"""
|
1429
|
+
`(map[string]string)` - Define the attributes for the topology request.
|
1430
|
+
|
1431
|
+
In addition to the above arguments, the following attributes are exported and
|
1432
|
+
can be referenced:
|
1433
|
+
"""
|
1434
|
+
elif False:
|
1435
|
+
ExternalVolumeTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
1436
|
+
|
1039
1437
|
@pulumi.input_type
|
1040
1438
|
class ExternalVolumeTopologyArgs:
|
1041
1439
|
def __init__(__self__, *,
|
@@ -1065,6 +1463,19 @@ class ExternalVolumeTopologyArgs:
|
|
1065
1463
|
pulumi.set(self, "segments", value)
|
1066
1464
|
|
1067
1465
|
|
1466
|
+
if not MYPY:
|
1467
|
+
class ExternalVolumeTopologyRequestArgsDict(TypedDict):
|
1468
|
+
preferred: NotRequired[pulumi.Input['ExternalVolumeTopologyRequestPreferredArgsDict']]
|
1469
|
+
"""
|
1470
|
+
`(``Topology``: <optional>)` - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
|
1471
|
+
"""
|
1472
|
+
required: NotRequired[pulumi.Input['ExternalVolumeTopologyRequestRequiredArgsDict']]
|
1473
|
+
"""
|
1474
|
+
`(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
|
1475
|
+
"""
|
1476
|
+
elif False:
|
1477
|
+
ExternalVolumeTopologyRequestArgsDict: TypeAlias = Mapping[str, Any]
|
1478
|
+
|
1068
1479
|
@pulumi.input_type
|
1069
1480
|
class ExternalVolumeTopologyRequestArgs:
|
1070
1481
|
def __init__(__self__, *,
|
@@ -1104,6 +1515,15 @@ class ExternalVolumeTopologyRequestArgs:
|
|
1104
1515
|
pulumi.set(self, "required", value)
|
1105
1516
|
|
1106
1517
|
|
1518
|
+
if not MYPY:
|
1519
|
+
class ExternalVolumeTopologyRequestPreferredArgsDict(TypedDict):
|
1520
|
+
topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgsDict']]]
|
1521
|
+
"""
|
1522
|
+
Defines the location for the volume.
|
1523
|
+
"""
|
1524
|
+
elif False:
|
1525
|
+
ExternalVolumeTopologyRequestPreferredArgsDict: TypeAlias = Mapping[str, Any]
|
1526
|
+
|
1107
1527
|
@pulumi.input_type
|
1108
1528
|
class ExternalVolumeTopologyRequestPreferredArgs:
|
1109
1529
|
def __init__(__self__, *,
|
@@ -1126,6 +1546,15 @@ class ExternalVolumeTopologyRequestPreferredArgs:
|
|
1126
1546
|
pulumi.set(self, "topologies", value)
|
1127
1547
|
|
1128
1548
|
|
1549
|
+
if not MYPY:
|
1550
|
+
class ExternalVolumeTopologyRequestPreferredTopologyArgsDict(TypedDict):
|
1551
|
+
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
1552
|
+
"""
|
1553
|
+
Define the attributes for the topology request.
|
1554
|
+
"""
|
1555
|
+
elif False:
|
1556
|
+
ExternalVolumeTopologyRequestPreferredTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
1557
|
+
|
1129
1558
|
@pulumi.input_type
|
1130
1559
|
class ExternalVolumeTopologyRequestPreferredTopologyArgs:
|
1131
1560
|
def __init__(__self__, *,
|
@@ -1148,6 +1577,15 @@ class ExternalVolumeTopologyRequestPreferredTopologyArgs:
|
|
1148
1577
|
pulumi.set(self, "segments", value)
|
1149
1578
|
|
1150
1579
|
|
1580
|
+
if not MYPY:
|
1581
|
+
class ExternalVolumeTopologyRequestRequiredArgsDict(TypedDict):
|
1582
|
+
topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgsDict']]]
|
1583
|
+
"""
|
1584
|
+
Defines the location for the volume.
|
1585
|
+
"""
|
1586
|
+
elif False:
|
1587
|
+
ExternalVolumeTopologyRequestRequiredArgsDict: TypeAlias = Mapping[str, Any]
|
1588
|
+
|
1151
1589
|
@pulumi.input_type
|
1152
1590
|
class ExternalVolumeTopologyRequestRequiredArgs:
|
1153
1591
|
def __init__(__self__, *,
|
@@ -1170,6 +1608,15 @@ class ExternalVolumeTopologyRequestRequiredArgs:
|
|
1170
1608
|
pulumi.set(self, "topologies", value)
|
1171
1609
|
|
1172
1610
|
|
1611
|
+
if not MYPY:
|
1612
|
+
class ExternalVolumeTopologyRequestRequiredTopologyArgsDict(TypedDict):
|
1613
|
+
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
1614
|
+
"""
|
1615
|
+
Define the attributes for the topology request.
|
1616
|
+
"""
|
1617
|
+
elif False:
|
1618
|
+
ExternalVolumeTopologyRequestRequiredTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
1619
|
+
|
1173
1620
|
@pulumi.input_type
|
1174
1621
|
class ExternalVolumeTopologyRequestRequiredTopologyArgs:
|
1175
1622
|
def __init__(__self__, *,
|
@@ -1192,18 +1639,37 @@ class ExternalVolumeTopologyRequestRequiredTopologyArgs:
|
|
1192
1639
|
pulumi.set(self, "segments", value)
|
1193
1640
|
|
1194
1641
|
|
1642
|
+
if not MYPY:
|
1643
|
+
class JobHcl2ArgsDict(TypedDict):
|
1644
|
+
allow_fs: NotRequired[pulumi.Input[bool]]
|
1645
|
+
"""
|
1646
|
+
`(boolean: false)` - Set this to `true` to be able to use
|
1647
|
+
HCL2 filesystem functions
|
1648
|
+
"""
|
1649
|
+
enabled: NotRequired[pulumi.Input[bool]]
|
1650
|
+
"""
|
1651
|
+
`(boolean: false)` - **Deprecated** All HCL jobs are parsed as
|
1652
|
+
HCL2 by default.
|
1653
|
+
"""
|
1654
|
+
vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
1655
|
+
"""
|
1656
|
+
Additional variables to use when templating the job with HCL2
|
1657
|
+
"""
|
1658
|
+
elif False:
|
1659
|
+
JobHcl2ArgsDict: TypeAlias = Mapping[str, Any]
|
1660
|
+
|
1195
1661
|
@pulumi.input_type
|
1196
1662
|
class JobHcl2Args:
|
1197
1663
|
def __init__(__self__, *,
|
1198
1664
|
allow_fs: Optional[pulumi.Input[bool]] = None,
|
1199
1665
|
enabled: Optional[pulumi.Input[bool]] = None,
|
1200
|
-
vars: Optional[pulumi.Input[Mapping[str,
|
1666
|
+
vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
1201
1667
|
"""
|
1202
1668
|
:param pulumi.Input[bool] allow_fs: `(boolean: false)` - Set this to `true` to be able to use
|
1203
1669
|
HCL2 filesystem functions
|
1204
1670
|
:param pulumi.Input[bool] enabled: `(boolean: false)` - **Deprecated** All HCL jobs are parsed as
|
1205
1671
|
HCL2 by default.
|
1206
|
-
:param pulumi.Input[Mapping[str,
|
1672
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] vars: Additional variables to use when templating the job with HCL2
|
1207
1673
|
"""
|
1208
1674
|
if allow_fs is not None:
|
1209
1675
|
pulumi.set(__self__, "allow_fs", allow_fs)
|
@@ -1244,22 +1710,32 @@ class JobHcl2Args:
|
|
1244
1710
|
|
1245
1711
|
@property
|
1246
1712
|
@pulumi.getter
|
1247
|
-
def vars(self) -> Optional[pulumi.Input[Mapping[str,
|
1713
|
+
def vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1248
1714
|
"""
|
1249
1715
|
Additional variables to use when templating the job with HCL2
|
1250
1716
|
"""
|
1251
1717
|
return pulumi.get(self, "vars")
|
1252
1718
|
|
1253
1719
|
@vars.setter
|
1254
|
-
def vars(self, value: Optional[pulumi.Input[Mapping[str,
|
1720
|
+
def vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
1255
1721
|
pulumi.set(self, "vars", value)
|
1256
1722
|
|
1257
1723
|
|
1724
|
+
if not MYPY:
|
1725
|
+
class JobTaskGroupArgsDict(TypedDict):
|
1726
|
+
count: NotRequired[pulumi.Input[int]]
|
1727
|
+
meta: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
1728
|
+
name: NotRequired[pulumi.Input[str]]
|
1729
|
+
tasks: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskGroupTaskArgsDict']]]]
|
1730
|
+
volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskGroupVolumeArgsDict']]]]
|
1731
|
+
elif False:
|
1732
|
+
JobTaskGroupArgsDict: TypeAlias = Mapping[str, Any]
|
1733
|
+
|
1258
1734
|
@pulumi.input_type
|
1259
1735
|
class JobTaskGroupArgs:
|
1260
1736
|
def __init__(__self__, *,
|
1261
1737
|
count: Optional[pulumi.Input[int]] = None,
|
1262
|
-
meta: Optional[pulumi.Input[Mapping[str,
|
1738
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1263
1739
|
name: Optional[pulumi.Input[str]] = None,
|
1264
1740
|
tasks: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskGroupTaskArgs']]]] = None,
|
1265
1741
|
volumes: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskGroupVolumeArgs']]]] = None):
|
@@ -1285,11 +1761,11 @@ class JobTaskGroupArgs:
|
|
1285
1761
|
|
1286
1762
|
@property
|
1287
1763
|
@pulumi.getter
|
1288
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str,
|
1764
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1289
1765
|
return pulumi.get(self, "meta")
|
1290
1766
|
|
1291
1767
|
@meta.setter
|
1292
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str,
|
1768
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
1293
1769
|
pulumi.set(self, "meta", value)
|
1294
1770
|
|
1295
1771
|
@property
|
@@ -1320,11 +1796,20 @@ class JobTaskGroupArgs:
|
|
1320
1796
|
pulumi.set(self, "volumes", value)
|
1321
1797
|
|
1322
1798
|
|
1799
|
+
if not MYPY:
|
1800
|
+
class JobTaskGroupTaskArgsDict(TypedDict):
|
1801
|
+
driver: NotRequired[pulumi.Input[str]]
|
1802
|
+
meta: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
1803
|
+
name: NotRequired[pulumi.Input[str]]
|
1804
|
+
volume_mounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskGroupTaskVolumeMountArgsDict']]]]
|
1805
|
+
elif False:
|
1806
|
+
JobTaskGroupTaskArgsDict: TypeAlias = Mapping[str, Any]
|
1807
|
+
|
1323
1808
|
@pulumi.input_type
|
1324
1809
|
class JobTaskGroupTaskArgs:
|
1325
1810
|
def __init__(__self__, *,
|
1326
1811
|
driver: Optional[pulumi.Input[str]] = None,
|
1327
|
-
meta: Optional[pulumi.Input[Mapping[str,
|
1812
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1328
1813
|
name: Optional[pulumi.Input[str]] = None,
|
1329
1814
|
volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskGroupTaskVolumeMountArgs']]]] = None):
|
1330
1815
|
if driver is not None:
|
@@ -1347,11 +1832,11 @@ class JobTaskGroupTaskArgs:
|
|
1347
1832
|
|
1348
1833
|
@property
|
1349
1834
|
@pulumi.getter
|
1350
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str,
|
1835
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1351
1836
|
return pulumi.get(self, "meta")
|
1352
1837
|
|
1353
1838
|
@meta.setter
|
1354
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str,
|
1839
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
1355
1840
|
pulumi.set(self, "meta", value)
|
1356
1841
|
|
1357
1842
|
@property
|
@@ -1373,6 +1858,14 @@ class JobTaskGroupTaskArgs:
|
|
1373
1858
|
pulumi.set(self, "volume_mounts", value)
|
1374
1859
|
|
1375
1860
|
|
1861
|
+
if not MYPY:
|
1862
|
+
class JobTaskGroupTaskVolumeMountArgsDict(TypedDict):
|
1863
|
+
destination: NotRequired[pulumi.Input[str]]
|
1864
|
+
read_only: NotRequired[pulumi.Input[bool]]
|
1865
|
+
volume: NotRequired[pulumi.Input[str]]
|
1866
|
+
elif False:
|
1867
|
+
JobTaskGroupTaskVolumeMountArgsDict: TypeAlias = Mapping[str, Any]
|
1868
|
+
|
1376
1869
|
@pulumi.input_type
|
1377
1870
|
class JobTaskGroupTaskVolumeMountArgs:
|
1378
1871
|
def __init__(__self__, *,
|
@@ -1414,6 +1907,15 @@ class JobTaskGroupTaskVolumeMountArgs:
|
|
1414
1907
|
pulumi.set(self, "volume", value)
|
1415
1908
|
|
1416
1909
|
|
1910
|
+
if not MYPY:
|
1911
|
+
class JobTaskGroupVolumeArgsDict(TypedDict):
|
1912
|
+
name: NotRequired[pulumi.Input[str]]
|
1913
|
+
read_only: NotRequired[pulumi.Input[bool]]
|
1914
|
+
source: NotRequired[pulumi.Input[str]]
|
1915
|
+
type: NotRequired[pulumi.Input[str]]
|
1916
|
+
elif False:
|
1917
|
+
JobTaskGroupVolumeArgsDict: TypeAlias = Mapping[str, Any]
|
1918
|
+
|
1417
1919
|
@pulumi.input_type
|
1418
1920
|
class JobTaskGroupVolumeArgs:
|
1419
1921
|
def __init__(__self__, *,
|
@@ -1467,6 +1969,19 @@ class JobTaskGroupVolumeArgs:
|
|
1467
1969
|
pulumi.set(self, "type", value)
|
1468
1970
|
|
1469
1971
|
|
1972
|
+
if not MYPY:
|
1973
|
+
class NamespaceCapabilitiesArgsDict(TypedDict):
|
1974
|
+
disabled_task_drivers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
1975
|
+
"""
|
1976
|
+
`([]string: <optional>)` - Task drivers disabled for the namespace.
|
1977
|
+
"""
|
1978
|
+
enabled_task_drivers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
1979
|
+
"""
|
1980
|
+
`([]string: <optional>)` - Task drivers enabled for the namespace.
|
1981
|
+
"""
|
1982
|
+
elif False:
|
1983
|
+
NamespaceCapabilitiesArgsDict: TypeAlias = Mapping[str, Any]
|
1984
|
+
|
1470
1985
|
@pulumi.input_type
|
1471
1986
|
class NamespaceCapabilitiesArgs:
|
1472
1987
|
def __init__(__self__, *,
|
@@ -1506,6 +2021,23 @@ class NamespaceCapabilitiesArgs:
|
|
1506
2021
|
pulumi.set(self, "enabled_task_drivers", value)
|
1507
2022
|
|
1508
2023
|
|
2024
|
+
if not MYPY:
|
2025
|
+
class NamespaceNodePoolConfigArgsDict(TypedDict):
|
2026
|
+
alloweds: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
2027
|
+
"""
|
2028
|
+
`([]string: <optional>)` - The list of node pools that are allowed to be used in this namespace.
|
2029
|
+
"""
|
2030
|
+
default: NotRequired[pulumi.Input[str]]
|
2031
|
+
"""
|
2032
|
+
`(string: <optional>)` - The default node pool for jobs that don't define one.
|
2033
|
+
"""
|
2034
|
+
denieds: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
2035
|
+
"""
|
2036
|
+
`([]string: <optional>)` - The list of node pools that are not allowed to be used in this namespace.
|
2037
|
+
"""
|
2038
|
+
elif False:
|
2039
|
+
NamespaceNodePoolConfigArgsDict: TypeAlias = Mapping[str, Any]
|
2040
|
+
|
1509
2041
|
@pulumi.input_type
|
1510
2042
|
class NamespaceNodePoolConfigArgs:
|
1511
2043
|
def __init__(__self__, *,
|
@@ -1561,6 +2093,28 @@ class NamespaceNodePoolConfigArgs:
|
|
1561
2093
|
pulumi.set(self, "denieds", value)
|
1562
2094
|
|
1563
2095
|
|
2096
|
+
if not MYPY:
|
2097
|
+
class NodePoolSchedulerConfigArgsDict(TypedDict):
|
2098
|
+
memory_oversubscription: NotRequired[pulumi.Input[str]]
|
2099
|
+
"""
|
2100
|
+
`(string)` - Whether or not memory
|
2101
|
+
oversubscription is enabled in the node pool. Possible values are
|
2102
|
+
`"enabled"` or `"disabled"`. If not defined the global cluster
|
2103
|
+
configuration is used.
|
2104
|
+
|
2105
|
+
> This option differs from Nomad, where it's represented as a boolean, to
|
2106
|
+
allow distinguishing between memory oversubscription being disabled in the
|
2107
|
+
node pool and this property not being set.
|
2108
|
+
"""
|
2109
|
+
scheduler_algorithm: NotRequired[pulumi.Input[str]]
|
2110
|
+
"""
|
2111
|
+
`(string)` - The scheduler algorithm used in the node
|
2112
|
+
pool. Possible values are `binpack` or `spread`. If not defined the global
|
2113
|
+
cluster configuration is used.
|
2114
|
+
"""
|
2115
|
+
elif False:
|
2116
|
+
NodePoolSchedulerConfigArgsDict: TypeAlias = Mapping[str, Any]
|
2117
|
+
|
1564
2118
|
@pulumi.input_type
|
1565
2119
|
class NodePoolSchedulerConfigArgs:
|
1566
2120
|
def __init__(__self__, *,
|
@@ -1618,6 +2172,19 @@ class NodePoolSchedulerConfigArgs:
|
|
1618
2172
|
pulumi.set(self, "scheduler_algorithm", value)
|
1619
2173
|
|
1620
2174
|
|
2175
|
+
if not MYPY:
|
2176
|
+
class ProviderHeaderArgsDict(TypedDict):
|
2177
|
+
name: pulumi.Input[str]
|
2178
|
+
"""
|
2179
|
+
The header name
|
2180
|
+
"""
|
2181
|
+
value: pulumi.Input[str]
|
2182
|
+
"""
|
2183
|
+
The header value
|
2184
|
+
"""
|
2185
|
+
elif False:
|
2186
|
+
ProviderHeaderArgsDict: TypeAlias = Mapping[str, Any]
|
2187
|
+
|
1621
2188
|
@pulumi.input_type
|
1622
2189
|
class ProviderHeaderArgs:
|
1623
2190
|
def __init__(__self__, *,
|
@@ -1655,6 +2222,21 @@ class ProviderHeaderArgs:
|
|
1655
2222
|
pulumi.set(self, "value", value)
|
1656
2223
|
|
1657
2224
|
|
2225
|
+
if not MYPY:
|
2226
|
+
class QuoteSpecificationLimitArgsDict(TypedDict):
|
2227
|
+
region: pulumi.Input[str]
|
2228
|
+
"""
|
2229
|
+
`(string: <required>)` - The region these limits should apply to.
|
2230
|
+
"""
|
2231
|
+
region_limit: pulumi.Input['QuoteSpecificationLimitRegionLimitArgsDict']
|
2232
|
+
"""
|
2233
|
+
`(block: <required>)` - The limits to enforce. This block
|
2234
|
+
may only be specified once in the `limits` block. Its structure is
|
2235
|
+
documented below.
|
2236
|
+
"""
|
2237
|
+
elif False:
|
2238
|
+
QuoteSpecificationLimitArgsDict: TypeAlias = Mapping[str, Any]
|
2239
|
+
|
1658
2240
|
@pulumi.input_type
|
1659
2241
|
class QuoteSpecificationLimitArgs:
|
1660
2242
|
def __init__(__self__, *,
|
@@ -1696,6 +2278,22 @@ class QuoteSpecificationLimitArgs:
|
|
1696
2278
|
pulumi.set(self, "region_limit", value)
|
1697
2279
|
|
1698
2280
|
|
2281
|
+
if not MYPY:
|
2282
|
+
class QuoteSpecificationLimitRegionLimitArgsDict(TypedDict):
|
2283
|
+
cpu: NotRequired[pulumi.Input[int]]
|
2284
|
+
"""
|
2285
|
+
`(int: 0)` - The amount of CPU to limit allocations to. A value of zero
|
2286
|
+
is treated as unlimited, and a negative value is treated as fully disallowed.
|
2287
|
+
"""
|
2288
|
+
memory_mb: NotRequired[pulumi.Input[int]]
|
2289
|
+
"""
|
2290
|
+
`(int: 0)` - The amount of memory (in megabytes) to limit
|
2291
|
+
allocations to. A value of zero is treated as unlimited, and a negative value
|
2292
|
+
is treated as fully disallowed.
|
2293
|
+
"""
|
2294
|
+
elif False:
|
2295
|
+
QuoteSpecificationLimitRegionLimitArgsDict: TypeAlias = Mapping[str, Any]
|
2296
|
+
|
1699
2297
|
@pulumi.input_type
|
1700
2298
|
class QuoteSpecificationLimitRegionLimitArgs:
|
1701
2299
|
def __init__(__self__, *,
|
@@ -1741,6 +2339,26 @@ class QuoteSpecificationLimitRegionLimitArgs:
|
|
1741
2339
|
pulumi.set(self, "memory_mb", value)
|
1742
2340
|
|
1743
2341
|
|
2342
|
+
if not MYPY:
|
2343
|
+
class VolumeCapabilityArgsDict(TypedDict):
|
2344
|
+
access_mode: pulumi.Input[str]
|
2345
|
+
"""
|
2346
|
+
`(string: <required>)` - Defines whether a volume should be available concurrently. Possible values are:
|
2347
|
+
- `single-node-reader-only`
|
2348
|
+
- `single-node-writer`
|
2349
|
+
- `multi-node-reader-only`
|
2350
|
+
- `multi-node-single-writer`
|
2351
|
+
- `multi-node-multi-writer`
|
2352
|
+
"""
|
2353
|
+
attachment_mode: pulumi.Input[str]
|
2354
|
+
"""
|
2355
|
+
`(string: <required>)` - The storage API that will be used by the volume. Possible values are:
|
2356
|
+
- `block-device`
|
2357
|
+
- `file-system`
|
2358
|
+
"""
|
2359
|
+
elif False:
|
2360
|
+
VolumeCapabilityArgsDict: TypeAlias = Mapping[str, Any]
|
2361
|
+
|
1744
2362
|
@pulumi.input_type
|
1745
2363
|
class VolumeCapabilityArgs:
|
1746
2364
|
def __init__(__self__, *,
|
@@ -1792,6 +2410,19 @@ class VolumeCapabilityArgs:
|
|
1792
2410
|
pulumi.set(self, "attachment_mode", value)
|
1793
2411
|
|
1794
2412
|
|
2413
|
+
if not MYPY:
|
2414
|
+
class VolumeMountOptionsArgsDict(TypedDict):
|
2415
|
+
fs_type: NotRequired[pulumi.Input[str]]
|
2416
|
+
"""
|
2417
|
+
`(string: <optional>)` - The file system type.
|
2418
|
+
"""
|
2419
|
+
mount_flags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
2420
|
+
"""
|
2421
|
+
`([]string: <optional>)` - The flags passed to `mount`.
|
2422
|
+
"""
|
2423
|
+
elif False:
|
2424
|
+
VolumeMountOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
2425
|
+
|
1795
2426
|
@pulumi.input_type
|
1796
2427
|
class VolumeMountOptionsArgs:
|
1797
2428
|
def __init__(__self__, *,
|
@@ -1831,6 +2462,18 @@ class VolumeMountOptionsArgs:
|
|
1831
2462
|
pulumi.set(self, "mount_flags", value)
|
1832
2463
|
|
1833
2464
|
|
2465
|
+
if not MYPY:
|
2466
|
+
class VolumeTopologyArgsDict(TypedDict):
|
2467
|
+
segments: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
2468
|
+
"""
|
2469
|
+
`(map[string]string)` - Define the attributes for the topology request.
|
2470
|
+
|
2471
|
+
In addition to the above arguments, the following attributes are exported and
|
2472
|
+
can be referenced:
|
2473
|
+
"""
|
2474
|
+
elif False:
|
2475
|
+
VolumeTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
2476
|
+
|
1834
2477
|
@pulumi.input_type
|
1835
2478
|
class VolumeTopologyArgs:
|
1836
2479
|
def __init__(__self__, *,
|
@@ -1860,6 +2503,15 @@ class VolumeTopologyArgs:
|
|
1860
2503
|
pulumi.set(self, "segments", value)
|
1861
2504
|
|
1862
2505
|
|
2506
|
+
if not MYPY:
|
2507
|
+
class VolumeTopologyRequestArgsDict(TypedDict):
|
2508
|
+
required: NotRequired[pulumi.Input['VolumeTopologyRequestRequiredArgsDict']]
|
2509
|
+
"""
|
2510
|
+
`(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
|
2511
|
+
"""
|
2512
|
+
elif False:
|
2513
|
+
VolumeTopologyRequestArgsDict: TypeAlias = Mapping[str, Any]
|
2514
|
+
|
1863
2515
|
@pulumi.input_type
|
1864
2516
|
class VolumeTopologyRequestArgs:
|
1865
2517
|
def __init__(__self__, *,
|
@@ -1883,6 +2535,15 @@ class VolumeTopologyRequestArgs:
|
|
1883
2535
|
pulumi.set(self, "required", value)
|
1884
2536
|
|
1885
2537
|
|
2538
|
+
if not MYPY:
|
2539
|
+
class VolumeTopologyRequestRequiredArgsDict(TypedDict):
|
2540
|
+
topologies: pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgsDict']]]
|
2541
|
+
"""
|
2542
|
+
Defines the location for the volume.
|
2543
|
+
"""
|
2544
|
+
elif False:
|
2545
|
+
VolumeTopologyRequestRequiredArgsDict: TypeAlias = Mapping[str, Any]
|
2546
|
+
|
1886
2547
|
@pulumi.input_type
|
1887
2548
|
class VolumeTopologyRequestRequiredArgs:
|
1888
2549
|
def __init__(__self__, *,
|
@@ -1905,6 +2566,15 @@ class VolumeTopologyRequestRequiredArgs:
|
|
1905
2566
|
pulumi.set(self, "topologies", value)
|
1906
2567
|
|
1907
2568
|
|
2569
|
+
if not MYPY:
|
2570
|
+
class VolumeTopologyRequestRequiredTopologyArgsDict(TypedDict):
|
2571
|
+
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
2572
|
+
"""
|
2573
|
+
Define attributes for the topology request.
|
2574
|
+
"""
|
2575
|
+
elif False:
|
2576
|
+
VolumeTopologyRequestRequiredTopologyArgsDict: TypeAlias = Mapping[str, Any]
|
2577
|
+
|
1908
2578
|
@pulumi.input_type
|
1909
2579
|
class VolumeTopologyRequestRequiredTopologyArgs:
|
1910
2580
|
def __init__(__self__, *,
|