pulumi-nomad 2.2.0a1710156747__py3-none-any.whl → 2.2.1__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 +92 -146
- pulumi_nomad/acl_auth_method.py +46 -41
- pulumi_nomad/acl_policy.py +0 -64
- pulumi_nomad/acl_token.py +18 -26
- pulumi_nomad/csi_volume.py +0 -72
- pulumi_nomad/csi_volume_registration.py +7 -79
- pulumi_nomad/external_volume.py +6 -78
- pulumi_nomad/get_acl_policies.py +0 -4
- pulumi_nomad/get_acl_policy.py +0 -4
- pulumi_nomad/get_acl_role.py +0 -4
- pulumi_nomad/get_acl_roles.py +0 -4
- pulumi_nomad/get_acl_token.py +0 -4
- pulumi_nomad/get_acl_tokens.py +0 -4
- pulumi_nomad/get_allocations.py +21 -5
- pulumi_nomad/get_datacenters.py +4 -8
- pulumi_nomad/get_deployments.py +0 -4
- pulumi_nomad/get_job.py +4 -9
- pulumi_nomad/get_job_parser.py +0 -24
- pulumi_nomad/get_namespace.py +0 -4
- pulumi_nomad/get_namespaces.py +2 -4
- pulumi_nomad/get_node_pool.py +0 -4
- pulumi_nomad/get_node_pools.py +0 -4
- pulumi_nomad/get_plugin.py +0 -4
- pulumi_nomad/get_plugins.py +0 -4
- pulumi_nomad/get_regions.py +34 -0
- pulumi_nomad/get_scaling_policies.py +0 -4
- pulumi_nomad/get_scaling_policy.py +0 -4
- pulumi_nomad/get_scheduler_policy.py +0 -4
- pulumi_nomad/get_variable.py +0 -4
- pulumi_nomad/get_volumes.py +0 -4
- pulumi_nomad/job.py +16 -16
- pulumi_nomad/namespace.py +14 -16
- pulumi_nomad/node_pool.py +2 -4
- pulumi_nomad/outputs.py +94 -148
- pulumi_nomad/quote_specification.py +4 -6
- pulumi_nomad/scheduler_config.py +6 -10
- pulumi_nomad/sentinel_policy.py +6 -10
- pulumi_nomad/variable.py +14 -18
- pulumi_nomad/volume.py +15 -87
- {pulumi_nomad-2.2.0a1710156747.dist-info → pulumi_nomad-2.2.1.dist-info}/METADATA +1 -1
- pulumi_nomad-2.2.1.dist-info/RECORD +54 -0
- {pulumi_nomad-2.2.0a1710156747.dist-info → pulumi_nomad-2.2.1.dist-info}/WHEEL +1 -1
- pulumi_nomad-2.2.0a1710156747.dist-info/RECORD +0 -54
- {pulumi_nomad-2.2.0a1710156747.dist-info → pulumi_nomad-2.2.1.dist-info}/top_level.txt +0 -0
pulumi_nomad/_inputs.py
CHANGED
@@ -66,19 +66,33 @@ class AclAuthMethodConfigArgs:
|
|
66
66
|
claim_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
67
67
|
discovery_ca_pems: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
68
68
|
list_claim_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
69
|
+
oidc_disable_userinfo: Optional[pulumi.Input[bool]] = None,
|
69
70
|
oidc_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
70
71
|
signing_algs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
71
72
|
"""
|
72
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_redirect_uris: A list of allowed values
|
73
|
-
|
74
|
-
:param pulumi.Input[str]
|
75
|
-
|
76
|
-
:param pulumi.Input[
|
77
|
-
|
78
|
-
:param pulumi.Input[
|
79
|
-
|
80
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]]
|
81
|
-
|
73
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_redirect_uris: `([]string: <optional>)` - A list of allowed values
|
74
|
+
that can be used for the redirect URI.
|
75
|
+
:param pulumi.Input[str] oidc_client_id: `(string: <required>)` - The OAuth Client ID configured
|
76
|
+
with the OIDC provider.
|
77
|
+
:param pulumi.Input[str] oidc_client_secret: `(string: <required>)` - The OAuth Client Secret
|
78
|
+
configured with the OIDC provider.
|
79
|
+
:param pulumi.Input[str] oidc_discovery_url: `(string: <required>)` - The OIDC Discovery URL,
|
80
|
+
without any .well-known component (base path).
|
81
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] bound_audiences: `([]string: <optional>)` - List of auth claims that are
|
82
|
+
valid for login.
|
83
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] claim_mappings: `(map[string]string: <optional>)` - Mappings of claims (key)
|
84
|
+
that will be copied to a metadata field (value).
|
85
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] discovery_ca_pems: `([]string: <optional>)` - PEM encoded CA certs for use
|
86
|
+
by the TLS client used to talk with the OIDC Discovery URL.
|
87
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] list_claim_mappings: `(map[string]string: <optional>)` - Mappings of list
|
88
|
+
claims (key) that will be copied to a metadata field (value).
|
89
|
+
:param pulumi.Input[bool] oidc_disable_userinfo: `(bool: false)` - When set to `true`, Nomad will
|
90
|
+
not make a request to the identity provider to get OIDC `UserInfo`.
|
91
|
+
You may wish to set this if your identity provider doesn't send any
|
92
|
+
additional claims from the `UserInfo` endpoint.
|
93
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] oidc_scopes: `([]string: <optional>)` - List of OIDC scopes.
|
94
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] signing_algs: `([]string: <optional>)` - A list of supported signing
|
95
|
+
algorithms.
|
82
96
|
"""
|
83
97
|
pulumi.set(__self__, "allowed_redirect_uris", allowed_redirect_uris)
|
84
98
|
pulumi.set(__self__, "oidc_client_id", oidc_client_id)
|
@@ -92,6 +106,8 @@ class AclAuthMethodConfigArgs:
|
|
92
106
|
pulumi.set(__self__, "discovery_ca_pems", discovery_ca_pems)
|
93
107
|
if list_claim_mappings is not None:
|
94
108
|
pulumi.set(__self__, "list_claim_mappings", list_claim_mappings)
|
109
|
+
if oidc_disable_userinfo is not None:
|
110
|
+
pulumi.set(__self__, "oidc_disable_userinfo", oidc_disable_userinfo)
|
95
111
|
if oidc_scopes is not None:
|
96
112
|
pulumi.set(__self__, "oidc_scopes", oidc_scopes)
|
97
113
|
if signing_algs is not None:
|
@@ -101,7 +117,8 @@ class AclAuthMethodConfigArgs:
|
|
101
117
|
@pulumi.getter(name="allowedRedirectUris")
|
102
118
|
def allowed_redirect_uris(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
103
119
|
"""
|
104
|
-
A list of allowed values
|
120
|
+
`([]string: <optional>)` - A list of allowed values
|
121
|
+
that can be used for the redirect URI.
|
105
122
|
"""
|
106
123
|
return pulumi.get(self, "allowed_redirect_uris")
|
107
124
|
|
@@ -113,7 +130,8 @@ class AclAuthMethodConfigArgs:
|
|
113
130
|
@pulumi.getter(name="oidcClientId")
|
114
131
|
def oidc_client_id(self) -> pulumi.Input[str]:
|
115
132
|
"""
|
116
|
-
The OAuth Client ID configured
|
133
|
+
`(string: <required>)` - The OAuth Client ID configured
|
134
|
+
with the OIDC provider.
|
117
135
|
"""
|
118
136
|
return pulumi.get(self, "oidc_client_id")
|
119
137
|
|
@@ -125,7 +143,8 @@ class AclAuthMethodConfigArgs:
|
|
125
143
|
@pulumi.getter(name="oidcClientSecret")
|
126
144
|
def oidc_client_secret(self) -> pulumi.Input[str]:
|
127
145
|
"""
|
128
|
-
The OAuth Client Secret
|
146
|
+
`(string: <required>)` - The OAuth Client Secret
|
147
|
+
configured with the OIDC provider.
|
129
148
|
"""
|
130
149
|
return pulumi.get(self, "oidc_client_secret")
|
131
150
|
|
@@ -137,7 +156,8 @@ class AclAuthMethodConfigArgs:
|
|
137
156
|
@pulumi.getter(name="oidcDiscoveryUrl")
|
138
157
|
def oidc_discovery_url(self) -> pulumi.Input[str]:
|
139
158
|
"""
|
140
|
-
The OIDC Discovery URL,
|
159
|
+
`(string: <required>)` - The OIDC Discovery URL,
|
160
|
+
without any .well-known component (base path).
|
141
161
|
"""
|
142
162
|
return pulumi.get(self, "oidc_discovery_url")
|
143
163
|
|
@@ -149,7 +169,8 @@ class AclAuthMethodConfigArgs:
|
|
149
169
|
@pulumi.getter(name="boundAudiences")
|
150
170
|
def bound_audiences(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
151
171
|
"""
|
152
|
-
List of auth claims that are
|
172
|
+
`([]string: <optional>)` - List of auth claims that are
|
173
|
+
valid for login.
|
153
174
|
"""
|
154
175
|
return pulumi.get(self, "bound_audiences")
|
155
176
|
|
@@ -161,7 +182,8 @@ class AclAuthMethodConfigArgs:
|
|
161
182
|
@pulumi.getter(name="claimMappings")
|
162
183
|
def claim_mappings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
163
184
|
"""
|
164
|
-
Mappings of claims (key)
|
185
|
+
`(map[string]string: <optional>)` - Mappings of claims (key)
|
186
|
+
that will be copied to a metadata field (value).
|
165
187
|
"""
|
166
188
|
return pulumi.get(self, "claim_mappings")
|
167
189
|
|
@@ -173,7 +195,8 @@ class AclAuthMethodConfigArgs:
|
|
173
195
|
@pulumi.getter(name="discoveryCaPems")
|
174
196
|
def discovery_ca_pems(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
175
197
|
"""
|
176
|
-
PEM encoded CA certs for use
|
198
|
+
`([]string: <optional>)` - PEM encoded CA certs for use
|
199
|
+
by the TLS client used to talk with the OIDC Discovery URL.
|
177
200
|
"""
|
178
201
|
return pulumi.get(self, "discovery_ca_pems")
|
179
202
|
|
@@ -185,7 +208,8 @@ class AclAuthMethodConfigArgs:
|
|
185
208
|
@pulumi.getter(name="listClaimMappings")
|
186
209
|
def list_claim_mappings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
187
210
|
"""
|
188
|
-
|
211
|
+
`(map[string]string: <optional>)` - Mappings of list
|
212
|
+
claims (key) that will be copied to a metadata field (value).
|
189
213
|
"""
|
190
214
|
return pulumi.get(self, "list_claim_mappings")
|
191
215
|
|
@@ -193,11 +217,26 @@ class AclAuthMethodConfigArgs:
|
|
193
217
|
def list_claim_mappings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
194
218
|
pulumi.set(self, "list_claim_mappings", value)
|
195
219
|
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="oidcDisableUserinfo")
|
222
|
+
def oidc_disable_userinfo(self) -> Optional[pulumi.Input[bool]]:
|
223
|
+
"""
|
224
|
+
`(bool: false)` - When set to `true`, Nomad will
|
225
|
+
not make a request to the identity provider to get OIDC `UserInfo`.
|
226
|
+
You may wish to set this if your identity provider doesn't send any
|
227
|
+
additional claims from the `UserInfo` endpoint.
|
228
|
+
"""
|
229
|
+
return pulumi.get(self, "oidc_disable_userinfo")
|
230
|
+
|
231
|
+
@oidc_disable_userinfo.setter
|
232
|
+
def oidc_disable_userinfo(self, value: Optional[pulumi.Input[bool]]):
|
233
|
+
pulumi.set(self, "oidc_disable_userinfo", value)
|
234
|
+
|
196
235
|
@property
|
197
236
|
@pulumi.getter(name="oidcScopes")
|
198
237
|
def oidc_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
199
238
|
"""
|
200
|
-
List of OIDC scopes.
|
239
|
+
`([]string: <optional>)` - List of OIDC scopes.
|
201
240
|
"""
|
202
241
|
return pulumi.get(self, "oidc_scopes")
|
203
242
|
|
@@ -209,7 +248,8 @@ class AclAuthMethodConfigArgs:
|
|
209
248
|
@pulumi.getter(name="signingAlgs")
|
210
249
|
def signing_algs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
211
250
|
"""
|
212
|
-
A list of supported signing
|
251
|
+
`([]string: <optional>)` - A list of supported signing
|
252
|
+
algorithms.
|
213
253
|
"""
|
214
254
|
return pulumi.get(self, "signing_algs")
|
215
255
|
|
@@ -226,15 +266,10 @@ class AclPolicyJobAclArgs:
|
|
226
266
|
namespace: Optional[pulumi.Input[str]] = None,
|
227
267
|
task: Optional[pulumi.Input[str]] = None):
|
228
268
|
"""
|
229
|
-
:param pulumi.Input[str] job_id:
|
230
|
-
|
231
|
-
:param pulumi.Input[str]
|
232
|
-
|
233
|
-
:param pulumi.Input[str] namespace: `(string: "default")` - The namespace to attach the policy.
|
234
|
-
Required if `job_id` is set.
|
235
|
-
:param pulumi.Input[str] task: `(string: <optional>` - The task to attach the policy.
|
236
|
-
|
237
|
-
[nomad_docs_wi]: https://www.nomadproject.io/docs/concepts/workload-identity#workload-associated-acl-policies
|
269
|
+
:param pulumi.Input[str] job_id: Job
|
270
|
+
:param pulumi.Input[str] group: Group
|
271
|
+
:param pulumi.Input[str] namespace: Namespace
|
272
|
+
:param pulumi.Input[str] task: Task
|
238
273
|
"""
|
239
274
|
pulumi.set(__self__, "job_id", job_id)
|
240
275
|
if group is not None:
|
@@ -248,8 +283,7 @@ class AclPolicyJobAclArgs:
|
|
248
283
|
@pulumi.getter(name="jobId")
|
249
284
|
def job_id(self) -> pulumi.Input[str]:
|
250
285
|
"""
|
251
|
-
|
252
|
-
`group` is set.
|
286
|
+
Job
|
253
287
|
"""
|
254
288
|
return pulumi.get(self, "job_id")
|
255
289
|
|
@@ -261,8 +295,7 @@ class AclPolicyJobAclArgs:
|
|
261
295
|
@pulumi.getter
|
262
296
|
def group(self) -> Optional[pulumi.Input[str]]:
|
263
297
|
"""
|
264
|
-
|
265
|
-
`task` is set.
|
298
|
+
Group
|
266
299
|
"""
|
267
300
|
return pulumi.get(self, "group")
|
268
301
|
|
@@ -274,8 +307,7 @@ class AclPolicyJobAclArgs:
|
|
274
307
|
@pulumi.getter
|
275
308
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
276
309
|
"""
|
277
|
-
|
278
|
-
Required if `job_id` is set.
|
310
|
+
Namespace
|
279
311
|
"""
|
280
312
|
return pulumi.get(self, "namespace")
|
281
313
|
|
@@ -287,9 +319,7 @@ class AclPolicyJobAclArgs:
|
|
287
319
|
@pulumi.getter
|
288
320
|
def task(self) -> Optional[pulumi.Input[str]]:
|
289
321
|
"""
|
290
|
-
|
291
|
-
|
292
|
-
[nomad_docs_wi]: https://www.nomadproject.io/docs/concepts/workload-identity#workload-associated-acl-policies
|
322
|
+
Task
|
293
323
|
"""
|
294
324
|
return pulumi.get(self, "task")
|
295
325
|
|
@@ -542,24 +572,12 @@ class CsiVolumeRegistrationMountOptionsArgs:
|
|
542
572
|
class CsiVolumeRegistrationTopologyArgs:
|
543
573
|
def __init__(__self__, *,
|
544
574
|
segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
545
|
-
"""
|
546
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
|
547
|
-
|
548
|
-
In addition to the above arguments, the following attributes are exported and
|
549
|
-
can be referenced:
|
550
|
-
"""
|
551
575
|
if segments is not None:
|
552
576
|
pulumi.set(__self__, "segments", segments)
|
553
577
|
|
554
578
|
@property
|
555
579
|
@pulumi.getter
|
556
580
|
def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
557
|
-
"""
|
558
|
-
`(map[string]string)` - Define the attributes for the topology request.
|
559
|
-
|
560
|
-
In addition to the above arguments, the following attributes are exported and
|
561
|
-
can be referenced:
|
562
|
-
"""
|
563
581
|
return pulumi.get(self, "segments")
|
564
582
|
|
565
583
|
@segments.setter
|
@@ -595,7 +613,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredArgs:
|
|
595
613
|
def __init__(__self__, *,
|
596
614
|
topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]]):
|
597
615
|
"""
|
598
|
-
:param pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]] topologies:
|
616
|
+
:param pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
|
599
617
|
"""
|
600
618
|
pulumi.set(__self__, "topologies", topologies)
|
601
619
|
|
@@ -603,7 +621,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredArgs:
|
|
603
621
|
@pulumi.getter
|
604
622
|
def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]]:
|
605
623
|
"""
|
606
|
-
|
624
|
+
Defines the location for the volume.
|
607
625
|
"""
|
608
626
|
return pulumi.get(self, "topologies")
|
609
627
|
|
@@ -617,10 +635,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
|
|
617
635
|
def __init__(__self__, *,
|
618
636
|
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
619
637
|
"""
|
620
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments:
|
621
|
-
|
622
|
-
In addition to the above arguments, the following attributes are exported and
|
623
|
-
can be referenced:
|
638
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define attributes for the topology request.
|
624
639
|
"""
|
625
640
|
pulumi.set(__self__, "segments", segments)
|
626
641
|
|
@@ -628,10 +643,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
|
|
628
643
|
@pulumi.getter
|
629
644
|
def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
630
645
|
"""
|
631
|
-
|
632
|
-
|
633
|
-
In addition to the above arguments, the following attributes are exported and
|
634
|
-
can be referenced:
|
646
|
+
Define attributes for the topology request.
|
635
647
|
"""
|
636
648
|
return pulumi.get(self, "segments")
|
637
649
|
|
@@ -644,24 +656,12 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
|
|
644
656
|
class CsiVolumeTopologyArgs:
|
645
657
|
def __init__(__self__, *,
|
646
658
|
segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
647
|
-
"""
|
648
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
|
649
|
-
|
650
|
-
In addition to the above arguments, the following attributes are exported and
|
651
|
-
can be referenced:
|
652
|
-
"""
|
653
659
|
if segments is not None:
|
654
660
|
pulumi.set(__self__, "segments", segments)
|
655
661
|
|
656
662
|
@property
|
657
663
|
@pulumi.getter
|
658
664
|
def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
659
|
-
"""
|
660
|
-
`(map[string]string)` - Define the attributes for the topology request.
|
661
|
-
|
662
|
-
In addition to the above arguments, the following attributes are exported and
|
663
|
-
can be referenced:
|
664
|
-
"""
|
665
665
|
return pulumi.get(self, "segments")
|
666
666
|
|
667
667
|
@segments.setter
|
@@ -713,7 +713,7 @@ class CsiVolumeTopologyRequestPreferredArgs:
|
|
713
713
|
def __init__(__self__, *,
|
714
714
|
topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]]):
|
715
715
|
"""
|
716
|
-
:param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]] topologies:
|
716
|
+
:param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]] topologies: Defines the location for the volume.
|
717
717
|
"""
|
718
718
|
pulumi.set(__self__, "topologies", topologies)
|
719
719
|
|
@@ -721,7 +721,7 @@ class CsiVolumeTopologyRequestPreferredArgs:
|
|
721
721
|
@pulumi.getter
|
722
722
|
def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]]:
|
723
723
|
"""
|
724
|
-
|
724
|
+
Defines the location for the volume.
|
725
725
|
"""
|
726
726
|
return pulumi.get(self, "topologies")
|
727
727
|
|
@@ -735,10 +735,7 @@ class CsiVolumeTopologyRequestPreferredTopologyArgs:
|
|
735
735
|
def __init__(__self__, *,
|
736
736
|
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
737
737
|
"""
|
738
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments:
|
739
|
-
|
740
|
-
In addition to the above arguments, the following attributes are exported and
|
741
|
-
can be referenced:
|
738
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
|
742
739
|
"""
|
743
740
|
pulumi.set(__self__, "segments", segments)
|
744
741
|
|
@@ -746,10 +743,7 @@ class CsiVolumeTopologyRequestPreferredTopologyArgs:
|
|
746
743
|
@pulumi.getter
|
747
744
|
def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
748
745
|
"""
|
749
|
-
|
750
|
-
|
751
|
-
In addition to the above arguments, the following attributes are exported and
|
752
|
-
can be referenced:
|
746
|
+
Define the attributes for the topology request.
|
753
747
|
"""
|
754
748
|
return pulumi.get(self, "segments")
|
755
749
|
|
@@ -763,7 +757,7 @@ class CsiVolumeTopologyRequestRequiredArgs:
|
|
763
757
|
def __init__(__self__, *,
|
764
758
|
topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]]):
|
765
759
|
"""
|
766
|
-
:param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]] topologies:
|
760
|
+
:param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
|
767
761
|
"""
|
768
762
|
pulumi.set(__self__, "topologies", topologies)
|
769
763
|
|
@@ -771,7 +765,7 @@ class CsiVolumeTopologyRequestRequiredArgs:
|
|
771
765
|
@pulumi.getter
|
772
766
|
def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]]:
|
773
767
|
"""
|
774
|
-
|
768
|
+
Defines the location for the volume.
|
775
769
|
"""
|
776
770
|
return pulumi.get(self, "topologies")
|
777
771
|
|
@@ -785,10 +779,7 @@ class CsiVolumeTopologyRequestRequiredTopologyArgs:
|
|
785
779
|
def __init__(__self__, *,
|
786
780
|
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
787
781
|
"""
|
788
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments:
|
789
|
-
|
790
|
-
In addition to the above arguments, the following attributes are exported and
|
791
|
-
can be referenced:
|
782
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
|
792
783
|
"""
|
793
784
|
pulumi.set(__self__, "segments", segments)
|
794
785
|
|
@@ -796,10 +787,7 @@ class CsiVolumeTopologyRequestRequiredTopologyArgs:
|
|
796
787
|
@pulumi.getter
|
797
788
|
def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
798
789
|
"""
|
799
|
-
|
800
|
-
|
801
|
-
In addition to the above arguments, the following attributes are exported and
|
802
|
-
can be referenced:
|
790
|
+
Define the attributes for the topology request.
|
803
791
|
"""
|
804
792
|
return pulumi.get(self, "segments")
|
805
793
|
|
@@ -902,24 +890,12 @@ class ExternalVolumeMountOptionsArgs:
|
|
902
890
|
class ExternalVolumeTopologyArgs:
|
903
891
|
def __init__(__self__, *,
|
904
892
|
segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
905
|
-
"""
|
906
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
|
907
|
-
|
908
|
-
In addition to the above arguments, the following attributes are exported and
|
909
|
-
can be referenced:
|
910
|
-
"""
|
911
893
|
if segments is not None:
|
912
894
|
pulumi.set(__self__, "segments", segments)
|
913
895
|
|
914
896
|
@property
|
915
897
|
@pulumi.getter
|
916
898
|
def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
917
|
-
"""
|
918
|
-
`(map[string]string)` - Define the attributes for the topology request.
|
919
|
-
|
920
|
-
In addition to the above arguments, the following attributes are exported and
|
921
|
-
can be referenced:
|
922
|
-
"""
|
923
899
|
return pulumi.get(self, "segments")
|
924
900
|
|
925
901
|
@segments.setter
|
@@ -971,7 +947,7 @@ class ExternalVolumeTopologyRequestPreferredArgs:
|
|
971
947
|
def __init__(__self__, *,
|
972
948
|
topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]]):
|
973
949
|
"""
|
974
|
-
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]] topologies:
|
950
|
+
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]] topologies: Defines the location for the volume.
|
975
951
|
"""
|
976
952
|
pulumi.set(__self__, "topologies", topologies)
|
977
953
|
|
@@ -979,7 +955,7 @@ class ExternalVolumeTopologyRequestPreferredArgs:
|
|
979
955
|
@pulumi.getter
|
980
956
|
def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]]:
|
981
957
|
"""
|
982
|
-
|
958
|
+
Defines the location for the volume.
|
983
959
|
"""
|
984
960
|
return pulumi.get(self, "topologies")
|
985
961
|
|
@@ -993,10 +969,7 @@ class ExternalVolumeTopologyRequestPreferredTopologyArgs:
|
|
993
969
|
def __init__(__self__, *,
|
994
970
|
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
995
971
|
"""
|
996
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments:
|
997
|
-
|
998
|
-
In addition to the above arguments, the following attributes are exported and
|
999
|
-
can be referenced:
|
972
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
|
1000
973
|
"""
|
1001
974
|
pulumi.set(__self__, "segments", segments)
|
1002
975
|
|
@@ -1004,10 +977,7 @@ class ExternalVolumeTopologyRequestPreferredTopologyArgs:
|
|
1004
977
|
@pulumi.getter
|
1005
978
|
def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
1006
979
|
"""
|
1007
|
-
|
1008
|
-
|
1009
|
-
In addition to the above arguments, the following attributes are exported and
|
1010
|
-
can be referenced:
|
980
|
+
Define the attributes for the topology request.
|
1011
981
|
"""
|
1012
982
|
return pulumi.get(self, "segments")
|
1013
983
|
|
@@ -1021,7 +991,7 @@ class ExternalVolumeTopologyRequestRequiredArgs:
|
|
1021
991
|
def __init__(__self__, *,
|
1022
992
|
topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]]):
|
1023
993
|
"""
|
1024
|
-
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]] topologies:
|
994
|
+
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
|
1025
995
|
"""
|
1026
996
|
pulumi.set(__self__, "topologies", topologies)
|
1027
997
|
|
@@ -1029,7 +999,7 @@ class ExternalVolumeTopologyRequestRequiredArgs:
|
|
1029
999
|
@pulumi.getter
|
1030
1000
|
def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]]:
|
1031
1001
|
"""
|
1032
|
-
|
1002
|
+
Defines the location for the volume.
|
1033
1003
|
"""
|
1034
1004
|
return pulumi.get(self, "topologies")
|
1035
1005
|
|
@@ -1043,10 +1013,7 @@ class ExternalVolumeTopologyRequestRequiredTopologyArgs:
|
|
1043
1013
|
def __init__(__self__, *,
|
1044
1014
|
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
1045
1015
|
"""
|
1046
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments:
|
1047
|
-
|
1048
|
-
In addition to the above arguments, the following attributes are exported and
|
1049
|
-
can be referenced:
|
1016
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
|
1050
1017
|
"""
|
1051
1018
|
pulumi.set(__self__, "segments", segments)
|
1052
1019
|
|
@@ -1054,10 +1021,7 @@ class ExternalVolumeTopologyRequestRequiredTopologyArgs:
|
|
1054
1021
|
@pulumi.getter
|
1055
1022
|
def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
1056
1023
|
"""
|
1057
|
-
|
1058
|
-
|
1059
|
-
In addition to the above arguments, the following attributes are exported and
|
1060
|
-
can be referenced:
|
1024
|
+
Define the attributes for the topology request.
|
1061
1025
|
"""
|
1062
1026
|
return pulumi.get(self, "segments")
|
1063
1027
|
|
@@ -1711,24 +1675,12 @@ class VolumeMountOptionsArgs:
|
|
1711
1675
|
class VolumeTopologyArgs:
|
1712
1676
|
def __init__(__self__, *,
|
1713
1677
|
segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
1714
|
-
"""
|
1715
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
|
1716
|
-
|
1717
|
-
In addition to the above arguments, the following attributes are exported and
|
1718
|
-
can be referenced:
|
1719
|
-
"""
|
1720
1678
|
if segments is not None:
|
1721
1679
|
pulumi.set(__self__, "segments", segments)
|
1722
1680
|
|
1723
1681
|
@property
|
1724
1682
|
@pulumi.getter
|
1725
1683
|
def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1726
|
-
"""
|
1727
|
-
`(map[string]string)` - Define the attributes for the topology request.
|
1728
|
-
|
1729
|
-
In addition to the above arguments, the following attributes are exported and
|
1730
|
-
can be referenced:
|
1731
|
-
"""
|
1732
1684
|
return pulumi.get(self, "segments")
|
1733
1685
|
|
1734
1686
|
@segments.setter
|
@@ -1764,7 +1716,7 @@ class VolumeTopologyRequestRequiredArgs:
|
|
1764
1716
|
def __init__(__self__, *,
|
1765
1717
|
topologies: pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]]):
|
1766
1718
|
"""
|
1767
|
-
:param pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]] topologies:
|
1719
|
+
:param pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
|
1768
1720
|
"""
|
1769
1721
|
pulumi.set(__self__, "topologies", topologies)
|
1770
1722
|
|
@@ -1772,7 +1724,7 @@ class VolumeTopologyRequestRequiredArgs:
|
|
1772
1724
|
@pulumi.getter
|
1773
1725
|
def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]]:
|
1774
1726
|
"""
|
1775
|
-
|
1727
|
+
Defines the location for the volume.
|
1776
1728
|
"""
|
1777
1729
|
return pulumi.get(self, "topologies")
|
1778
1730
|
|
@@ -1786,10 +1738,7 @@ class VolumeTopologyRequestRequiredTopologyArgs:
|
|
1786
1738
|
def __init__(__self__, *,
|
1787
1739
|
segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
1788
1740
|
"""
|
1789
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments:
|
1790
|
-
|
1791
|
-
In addition to the above arguments, the following attributes are exported and
|
1792
|
-
can be referenced:
|
1741
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define attributes for the topology request.
|
1793
1742
|
"""
|
1794
1743
|
pulumi.set(__self__, "segments", segments)
|
1795
1744
|
|
@@ -1797,10 +1746,7 @@ class VolumeTopologyRequestRequiredTopologyArgs:
|
|
1797
1746
|
@pulumi.getter
|
1798
1747
|
def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
1799
1748
|
"""
|
1800
|
-
|
1801
|
-
|
1802
|
-
In addition to the above arguments, the following attributes are exported and
|
1803
|
-
can be referenced:
|
1749
|
+
Define attributes for the topology request.
|
1804
1750
|
"""
|
1805
1751
|
return pulumi.get(self, "segments")
|
1806
1752
|
|