pulumi-nomad 2.5.0a1743574125__py3-none-any.whl → 2.5.0a1744183236__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_nomad/__init__.py +1 -0
- pulumi_nomad/_inputs.py +379 -378
- pulumi_nomad/acl_auth_method.py +85 -84
- pulumi_nomad/acl_binding_rule.py +71 -70
- pulumi_nomad/acl_policy.py +43 -42
- pulumi_nomad/acl_role.py +29 -28
- pulumi_nomad/acl_token.py +99 -98
- pulumi_nomad/config/__init__.py +1 -0
- pulumi_nomad/config/__init__.pyi +1 -0
- pulumi_nomad/config/outputs.py +7 -6
- pulumi_nomad/config/vars.py +1 -0
- pulumi_nomad/csi_volume.py +203 -202
- pulumi_nomad/csi_volume_registration.py +210 -209
- pulumi_nomad/external_volume.py +195 -194
- pulumi_nomad/get_acl_policies.py +7 -6
- pulumi_nomad/get_acl_policy.py +9 -8
- pulumi_nomad/get_acl_role.py +8 -7
- pulumi_nomad/get_acl_roles.py +7 -6
- pulumi_nomad/get_acl_token.py +15 -14
- pulumi_nomad/get_acl_tokens.py +7 -6
- pulumi_nomad/get_allocations.py +17 -16
- pulumi_nomad/get_datacenters.py +13 -12
- pulumi_nomad/get_deployments.py +3 -2
- pulumi_nomad/get_job.py +28 -27
- pulumi_nomad/get_job_parser.py +13 -12
- pulumi_nomad/get_jwks.py +3 -2
- pulumi_nomad/get_namespace.py +10 -9
- pulumi_nomad/get_namespaces.py +3 -2
- pulumi_nomad/get_node_pool.py +9 -8
- pulumi_nomad/get_node_pools.py +12 -11
- pulumi_nomad/get_plugin.py +24 -23
- pulumi_nomad/get_plugins.py +6 -5
- pulumi_nomad/get_regions.py +3 -2
- pulumi_nomad/get_scaling_policies.py +12 -11
- pulumi_nomad/get_scaling_policy.py +12 -11
- pulumi_nomad/get_scheduler_policy.py +5 -4
- pulumi_nomad/get_variable.py +13 -12
- pulumi_nomad/get_volumes.py +23 -22
- pulumi_nomad/job.py +221 -220
- pulumi_nomad/namespace.py +57 -56
- pulumi_nomad/node_pool.py +43 -42
- pulumi_nomad/outputs.py +452 -451
- pulumi_nomad/provider.py +111 -110
- pulumi_nomad/pulumi-plugin.json +1 -1
- pulumi_nomad/quote_specification.py +29 -28
- pulumi_nomad/scheduler_config.py +43 -42
- pulumi_nomad/sentinel_policy.py +71 -70
- pulumi_nomad/variable.py +43 -42
- pulumi_nomad/volume.py +209 -208
- {pulumi_nomad-2.5.0a1743574125.dist-info → pulumi_nomad-2.5.0a1744183236.dist-info}/METADATA +1 -1
- pulumi_nomad-2.5.0a1744183236.dist-info/RECORD +55 -0
- pulumi_nomad-2.5.0a1743574125.dist-info/RECORD +0 -55
- {pulumi_nomad-2.5.0a1743574125.dist-info → pulumi_nomad-2.5.0a1744183236.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.5.0a1743574125.dist-info → pulumi_nomad-2.5.0a1744183236.dist-info}/top_level.txt +0 -0
pulumi_nomad/get_acl_policies.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
|
@@ -40,7 +41,7 @@ class GetAclPoliciesResult:
|
|
40
41
|
|
41
42
|
@property
|
42
43
|
@pulumi.getter
|
43
|
-
def id(self) -> str:
|
44
|
+
def id(self) -> builtins.str:
|
44
45
|
"""
|
45
46
|
The provider-assigned unique ID for this managed resource.
|
46
47
|
"""
|
@@ -56,7 +57,7 @@ class GetAclPoliciesResult:
|
|
56
57
|
|
57
58
|
@property
|
58
59
|
@pulumi.getter
|
59
|
-
def prefix(self) -> Optional[str]:
|
60
|
+
def prefix(self) -> Optional[builtins.str]:
|
60
61
|
return pulumi.get(self, "prefix")
|
61
62
|
|
62
63
|
|
@@ -71,7 +72,7 @@ class AwaitableGetAclPoliciesResult(GetAclPoliciesResult):
|
|
71
72
|
prefix=self.prefix)
|
72
73
|
|
73
74
|
|
74
|
-
def get_acl_policies(prefix: Optional[str] = None,
|
75
|
+
def get_acl_policies(prefix: Optional[builtins.str] = None,
|
75
76
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclPoliciesResult:
|
76
77
|
"""
|
77
78
|
Retrieve a list of ACL Policies.
|
@@ -86,7 +87,7 @@ def get_acl_policies(prefix: Optional[str] = None,
|
|
86
87
|
```
|
87
88
|
|
88
89
|
|
89
|
-
:param str prefix: `(string)` An optional string to filter ACL policies based on name prefix. If not provided, all policies are returned.
|
90
|
+
:param builtins.str prefix: `(string)` An optional string to filter ACL policies based on name prefix. If not provided, all policies are returned.
|
90
91
|
"""
|
91
92
|
__args__ = dict()
|
92
93
|
__args__['prefix'] = prefix
|
@@ -97,7 +98,7 @@ def get_acl_policies(prefix: Optional[str] = None,
|
|
97
98
|
id=pulumi.get(__ret__, 'id'),
|
98
99
|
policies=pulumi.get(__ret__, 'policies'),
|
99
100
|
prefix=pulumi.get(__ret__, 'prefix'))
|
100
|
-
def get_acl_policies_output(prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
101
|
+
def get_acl_policies_output(prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
101
102
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclPoliciesResult]:
|
102
103
|
"""
|
103
104
|
Retrieve a list of ACL Policies.
|
@@ -112,7 +113,7 @@ def get_acl_policies_output(prefix: Optional[pulumi.Input[Optional[str]]] = None
|
|
112
113
|
```
|
113
114
|
|
114
115
|
|
115
|
-
:param str prefix: `(string)` An optional string to filter ACL policies based on name prefix. If not provided, all policies are returned.
|
116
|
+
:param builtins.str prefix: `(string)` An optional string to filter ACL policies based on name prefix. If not provided, all policies are returned.
|
116
117
|
"""
|
117
118
|
__args__ = dict()
|
118
119
|
__args__['prefix'] = prefix
|
pulumi_nomad/get_acl_policy.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
|
@@ -42,7 +43,7 @@ class GetAclPolicyResult:
|
|
42
43
|
|
43
44
|
@property
|
44
45
|
@pulumi.getter
|
45
|
-
def description(self) -> str:
|
46
|
+
def description(self) -> builtins.str:
|
46
47
|
"""
|
47
48
|
`(string)` - the description of the ACL Policy.
|
48
49
|
"""
|
@@ -50,7 +51,7 @@ class GetAclPolicyResult:
|
|
50
51
|
|
51
52
|
@property
|
52
53
|
@pulumi.getter
|
53
|
-
def id(self) -> str:
|
54
|
+
def id(self) -> builtins.str:
|
54
55
|
"""
|
55
56
|
The provider-assigned unique ID for this managed resource.
|
56
57
|
"""
|
@@ -58,7 +59,7 @@ class GetAclPolicyResult:
|
|
58
59
|
|
59
60
|
@property
|
60
61
|
@pulumi.getter
|
61
|
-
def name(self) -> str:
|
62
|
+
def name(self) -> builtins.str:
|
62
63
|
"""
|
63
64
|
`(string)` - the name of the ACL Policy.
|
64
65
|
"""
|
@@ -66,7 +67,7 @@ class GetAclPolicyResult:
|
|
66
67
|
|
67
68
|
@property
|
68
69
|
@pulumi.getter
|
69
|
-
def rules(self) -> str:
|
70
|
+
def rules(self) -> builtins.str:
|
70
71
|
"""
|
71
72
|
`(string)` - the ACL Policy rules in HCL format.
|
72
73
|
"""
|
@@ -85,7 +86,7 @@ class AwaitableGetAclPolicyResult(GetAclPolicyResult):
|
|
85
86
|
rules=self.rules)
|
86
87
|
|
87
88
|
|
88
|
-
def get_acl_policy(name: Optional[str] = None,
|
89
|
+
def get_acl_policy(name: Optional[builtins.str] = None,
|
89
90
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclPolicyResult:
|
90
91
|
"""
|
91
92
|
Retrieve information on an ACL Policy.
|
@@ -100,7 +101,7 @@ def get_acl_policy(name: Optional[str] = None,
|
|
100
101
|
```
|
101
102
|
|
102
103
|
|
103
|
-
:param str name: `(string)` - the name of the ACL Policy.
|
104
|
+
:param builtins.str name: `(string)` - the name of the ACL Policy.
|
104
105
|
"""
|
105
106
|
__args__ = dict()
|
106
107
|
__args__['name'] = name
|
@@ -112,7 +113,7 @@ def get_acl_policy(name: Optional[str] = None,
|
|
112
113
|
id=pulumi.get(__ret__, 'id'),
|
113
114
|
name=pulumi.get(__ret__, 'name'),
|
114
115
|
rules=pulumi.get(__ret__, 'rules'))
|
115
|
-
def get_acl_policy_output(name: Optional[pulumi.Input[str]] = None,
|
116
|
+
def get_acl_policy_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
116
117
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclPolicyResult]:
|
117
118
|
"""
|
118
119
|
Retrieve information on an ACL Policy.
|
@@ -127,7 +128,7 @@ def get_acl_policy_output(name: Optional[pulumi.Input[str]] = None,
|
|
127
128
|
```
|
128
129
|
|
129
130
|
|
130
|
-
:param str name: `(string)` - the name of the ACL Policy.
|
131
|
+
:param builtins.str name: `(string)` - the name of the ACL Policy.
|
131
132
|
"""
|
132
133
|
__args__ = dict()
|
133
134
|
__args__['name'] = name
|
pulumi_nomad/get_acl_role.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
|
@@ -43,7 +44,7 @@ class GetAclRoleResult:
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
@pulumi.getter
|
46
|
-
def description(self) -> str:
|
47
|
+
def description(self) -> builtins.str:
|
47
48
|
"""
|
48
49
|
`(string)` - The description of the ACL Role.
|
49
50
|
"""
|
@@ -51,7 +52,7 @@ class GetAclRoleResult:
|
|
51
52
|
|
52
53
|
@property
|
53
54
|
@pulumi.getter
|
54
|
-
def id(self) -> str:
|
55
|
+
def id(self) -> builtins.str:
|
55
56
|
"""
|
56
57
|
`(string)` - The ACL Role unique identifier.
|
57
58
|
"""
|
@@ -59,7 +60,7 @@ class GetAclRoleResult:
|
|
59
60
|
|
60
61
|
@property
|
61
62
|
@pulumi.getter
|
62
|
-
def name(self) -> str:
|
63
|
+
def name(self) -> builtins.str:
|
63
64
|
"""
|
64
65
|
`(string)` - Unique name of the ACL role.
|
65
66
|
"""
|
@@ -86,7 +87,7 @@ class AwaitableGetAclRoleResult(GetAclRoleResult):
|
|
86
87
|
policies=self.policies)
|
87
88
|
|
88
89
|
|
89
|
-
def get_acl_role(id: Optional[str] = None,
|
90
|
+
def get_acl_role(id: Optional[builtins.str] = None,
|
90
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclRoleResult:
|
91
92
|
"""
|
92
93
|
Get information on an ACL Role.
|
@@ -101,7 +102,7 @@ def get_acl_role(id: Optional[str] = None,
|
|
101
102
|
```
|
102
103
|
|
103
104
|
|
104
|
-
:param str id: `(string)` The unique identifier of the ACL Role.
|
105
|
+
:param builtins.str id: `(string)` The unique identifier of the ACL Role.
|
105
106
|
"""
|
106
107
|
__args__ = dict()
|
107
108
|
__args__['id'] = id
|
@@ -113,7 +114,7 @@ def get_acl_role(id: Optional[str] = None,
|
|
113
114
|
id=pulumi.get(__ret__, 'id'),
|
114
115
|
name=pulumi.get(__ret__, 'name'),
|
115
116
|
policies=pulumi.get(__ret__, 'policies'))
|
116
|
-
def get_acl_role_output(id: Optional[pulumi.Input[str]] = None,
|
117
|
+
def get_acl_role_output(id: Optional[pulumi.Input[builtins.str]] = None,
|
117
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclRoleResult]:
|
118
119
|
"""
|
119
120
|
Get information on an ACL Role.
|
@@ -128,7 +129,7 @@ def get_acl_role_output(id: Optional[pulumi.Input[str]] = None,
|
|
128
129
|
```
|
129
130
|
|
130
131
|
|
131
|
-
:param str id: `(string)` The unique identifier of the ACL Role.
|
132
|
+
:param builtins.str id: `(string)` The unique identifier of the ACL Role.
|
132
133
|
"""
|
133
134
|
__args__ = dict()
|
134
135
|
__args__['id'] = id
|
pulumi_nomad/get_acl_roles.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
|
@@ -45,7 +46,7 @@ class GetAclRolesResult:
|
|
45
46
|
|
46
47
|
@property
|
47
48
|
@pulumi.getter
|
48
|
-
def id(self) -> str:
|
49
|
+
def id(self) -> builtins.str:
|
49
50
|
"""
|
50
51
|
The provider-assigned unique ID for this managed resource.
|
51
52
|
"""
|
@@ -53,7 +54,7 @@ class GetAclRolesResult:
|
|
53
54
|
|
54
55
|
@property
|
55
56
|
@pulumi.getter
|
56
|
-
def prefix(self) -> Optional[str]:
|
57
|
+
def prefix(self) -> Optional[builtins.str]:
|
57
58
|
return pulumi.get(self, "prefix")
|
58
59
|
|
59
60
|
|
@@ -68,7 +69,7 @@ class AwaitableGetAclRolesResult(GetAclRolesResult):
|
|
68
69
|
prefix=self.prefix)
|
69
70
|
|
70
71
|
|
71
|
-
def get_acl_roles(prefix: Optional[str] = None,
|
72
|
+
def get_acl_roles(prefix: Optional[builtins.str] = None,
|
72
73
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclRolesResult:
|
73
74
|
"""
|
74
75
|
Retrieve a list of ACL Roles.
|
@@ -83,7 +84,7 @@ def get_acl_roles(prefix: Optional[str] = None,
|
|
83
84
|
```
|
84
85
|
|
85
86
|
|
86
|
-
:param str prefix: `(string)` An optional string to filter ACL Roles based on ID
|
87
|
+
:param builtins.str prefix: `(string)` An optional string to filter ACL Roles based on ID
|
87
88
|
prefix. If not provided, all policies are returned.
|
88
89
|
"""
|
89
90
|
__args__ = dict()
|
@@ -95,7 +96,7 @@ def get_acl_roles(prefix: Optional[str] = None,
|
|
95
96
|
acl_roles=pulumi.get(__ret__, 'acl_roles'),
|
96
97
|
id=pulumi.get(__ret__, 'id'),
|
97
98
|
prefix=pulumi.get(__ret__, 'prefix'))
|
98
|
-
def get_acl_roles_output(prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
99
|
+
def get_acl_roles_output(prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
99
100
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclRolesResult]:
|
100
101
|
"""
|
101
102
|
Retrieve a list of ACL Roles.
|
@@ -110,7 +111,7 @@ def get_acl_roles_output(prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
|
110
111
|
```
|
111
112
|
|
112
113
|
|
113
|
-
:param str prefix: `(string)` An optional string to filter ACL Roles based on ID
|
114
|
+
:param builtins.str prefix: `(string)` An optional string to filter ACL Roles based on ID
|
114
115
|
prefix. If not provided, all policies are returned.
|
115
116
|
"""
|
116
117
|
__args__ = dict()
|
pulumi_nomad/get_acl_token.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
|
@@ -64,7 +65,7 @@ class GetAclTokenResult:
|
|
64
65
|
|
65
66
|
@property
|
66
67
|
@pulumi.getter(name="accessorId")
|
67
|
-
def accessor_id(self) -> str:
|
68
|
+
def accessor_id(self) -> builtins.str:
|
68
69
|
"""
|
69
70
|
`(string)` Non-sensitive identifier for this token.
|
70
71
|
"""
|
@@ -72,7 +73,7 @@ class GetAclTokenResult:
|
|
72
73
|
|
73
74
|
@property
|
74
75
|
@pulumi.getter(name="createTime")
|
75
|
-
def create_time(self) -> str:
|
76
|
+
def create_time(self) -> builtins.str:
|
76
77
|
"""
|
77
78
|
`(string)` Date and time the token was created.
|
78
79
|
"""
|
@@ -80,7 +81,7 @@ class GetAclTokenResult:
|
|
80
81
|
|
81
82
|
@property
|
82
83
|
@pulumi.getter(name="expirationTime")
|
83
|
-
def expiration_time(self) -> str:
|
84
|
+
def expiration_time(self) -> builtins.str:
|
84
85
|
"""
|
85
86
|
`(string)` - The timestamp after which the token is
|
86
87
|
considered expired and eligible for destruction.
|
@@ -89,7 +90,7 @@ class GetAclTokenResult:
|
|
89
90
|
|
90
91
|
@property
|
91
92
|
@pulumi.getter(name="expirationTtl")
|
92
|
-
def expiration_ttl(self) -> str:
|
93
|
+
def expiration_ttl(self) -> builtins.str:
|
93
94
|
"""
|
94
95
|
`(string)` The expiration TTL for the token.
|
95
96
|
"""
|
@@ -97,7 +98,7 @@ class GetAclTokenResult:
|
|
97
98
|
|
98
99
|
@property
|
99
100
|
@pulumi.getter(name="global")
|
100
|
-
def global_(self) -> bool:
|
101
|
+
def global_(self) -> builtins.bool:
|
101
102
|
"""
|
102
103
|
`(bool)` Whether the token is replicated to all regions, or if it
|
103
104
|
will only be used in the region it was created.
|
@@ -106,7 +107,7 @@ class GetAclTokenResult:
|
|
106
107
|
|
107
108
|
@property
|
108
109
|
@pulumi.getter
|
109
|
-
def id(self) -> str:
|
110
|
+
def id(self) -> builtins.str:
|
110
111
|
"""
|
111
112
|
The provider-assigned unique ID for this managed resource.
|
112
113
|
"""
|
@@ -114,7 +115,7 @@ class GetAclTokenResult:
|
|
114
115
|
|
115
116
|
@property
|
116
117
|
@pulumi.getter
|
117
|
-
def name(self) -> str:
|
118
|
+
def name(self) -> builtins.str:
|
118
119
|
"""
|
119
120
|
`(string)` Non-sensitive identifier for this token.
|
120
121
|
"""
|
@@ -122,7 +123,7 @@ class GetAclTokenResult:
|
|
122
123
|
|
123
124
|
@property
|
124
125
|
@pulumi.getter
|
125
|
-
def policies(self) -> Sequence[str]:
|
126
|
+
def policies(self) -> Sequence[builtins.str]:
|
126
127
|
"""
|
127
128
|
`(list of strings)` List of policy names associated with this token.
|
128
129
|
"""
|
@@ -139,7 +140,7 @@ class GetAclTokenResult:
|
|
139
140
|
|
140
141
|
@property
|
141
142
|
@pulumi.getter(name="secretId")
|
142
|
-
def secret_id(self) -> str:
|
143
|
+
def secret_id(self) -> builtins.str:
|
143
144
|
"""
|
144
145
|
`(string)` The token value itself.
|
145
146
|
"""
|
@@ -147,7 +148,7 @@ class GetAclTokenResult:
|
|
147
148
|
|
148
149
|
@property
|
149
150
|
@pulumi.getter
|
150
|
-
def type(self) -> str:
|
151
|
+
def type(self) -> builtins.str:
|
151
152
|
"""
|
152
153
|
`(string)` The type of the token.
|
153
154
|
"""
|
@@ -173,7 +174,7 @@ class AwaitableGetAclTokenResult(GetAclTokenResult):
|
|
173
174
|
type=self.type)
|
174
175
|
|
175
176
|
|
176
|
-
def get_acl_token(accessor_id: Optional[str] = None,
|
177
|
+
def get_acl_token(accessor_id: Optional[builtins.str] = None,
|
177
178
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclTokenResult:
|
178
179
|
"""
|
179
180
|
## Example Usage
|
@@ -186,7 +187,7 @@ def get_acl_token(accessor_id: Optional[str] = None,
|
|
186
187
|
```
|
187
188
|
|
188
189
|
|
189
|
-
:param str accessor_id: `(string)` Non-sensitive identifier for this token.
|
190
|
+
:param builtins.str accessor_id: `(string)` Non-sensitive identifier for this token.
|
190
191
|
"""
|
191
192
|
__args__ = dict()
|
192
193
|
__args__['accessorId'] = accessor_id
|
@@ -205,7 +206,7 @@ def get_acl_token(accessor_id: Optional[str] = None,
|
|
205
206
|
roles=pulumi.get(__ret__, 'roles'),
|
206
207
|
secret_id=pulumi.get(__ret__, 'secret_id'),
|
207
208
|
type=pulumi.get(__ret__, 'type'))
|
208
|
-
def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
|
209
|
+
def get_acl_token_output(accessor_id: Optional[pulumi.Input[builtins.str]] = None,
|
209
210
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclTokenResult]:
|
210
211
|
"""
|
211
212
|
## Example Usage
|
@@ -218,7 +219,7 @@ def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
|
|
218
219
|
```
|
219
220
|
|
220
221
|
|
221
|
-
:param str accessor_id: `(string)` Non-sensitive identifier for this token.
|
222
|
+
:param builtins.str accessor_id: `(string)` Non-sensitive identifier for this token.
|
222
223
|
"""
|
223
224
|
__args__ = dict()
|
224
225
|
__args__['accessorId'] = accessor_id
|
pulumi_nomad/get_acl_tokens.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
|
@@ -48,7 +49,7 @@ class GetAclTokensResult:
|
|
48
49
|
|
49
50
|
@property
|
50
51
|
@pulumi.getter
|
51
|
-
def id(self) -> str:
|
52
|
+
def id(self) -> builtins.str:
|
52
53
|
"""
|
53
54
|
The provider-assigned unique ID for this managed resource.
|
54
55
|
"""
|
@@ -56,7 +57,7 @@ class GetAclTokensResult:
|
|
56
57
|
|
57
58
|
@property
|
58
59
|
@pulumi.getter
|
59
|
-
def prefix(self) -> Optional[str]:
|
60
|
+
def prefix(self) -> Optional[builtins.str]:
|
60
61
|
return pulumi.get(self, "prefix")
|
61
62
|
|
62
63
|
|
@@ -71,7 +72,7 @@ class AwaitableGetAclTokensResult(GetAclTokensResult):
|
|
71
72
|
prefix=self.prefix)
|
72
73
|
|
73
74
|
|
74
|
-
def get_acl_tokens(prefix: Optional[str] = None,
|
75
|
+
def get_acl_tokens(prefix: Optional[builtins.str] = None,
|
75
76
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclTokensResult:
|
76
77
|
"""
|
77
78
|
Get a list of ACL tokens.
|
@@ -86,7 +87,7 @@ def get_acl_tokens(prefix: Optional[str] = None,
|
|
86
87
|
```
|
87
88
|
|
88
89
|
|
89
|
-
:param str prefix: `(string)` Optional prefix to filter the tokens.
|
90
|
+
:param builtins.str prefix: `(string)` Optional prefix to filter the tokens.
|
90
91
|
"""
|
91
92
|
__args__ = dict()
|
92
93
|
__args__['prefix'] = prefix
|
@@ -97,7 +98,7 @@ def get_acl_tokens(prefix: Optional[str] = None,
|
|
97
98
|
acl_tokens=pulumi.get(__ret__, 'acl_tokens'),
|
98
99
|
id=pulumi.get(__ret__, 'id'),
|
99
100
|
prefix=pulumi.get(__ret__, 'prefix'))
|
100
|
-
def get_acl_tokens_output(prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
101
|
+
def get_acl_tokens_output(prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
101
102
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclTokensResult]:
|
102
103
|
"""
|
103
104
|
Get a list of ACL tokens.
|
@@ -112,7 +113,7 @@ def get_acl_tokens_output(prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
|
112
113
|
```
|
113
114
|
|
114
115
|
|
115
|
-
:param str prefix: `(string)` Optional prefix to filter the tokens.
|
116
|
+
:param builtins.str prefix: `(string)` Optional prefix to filter the tokens.
|
116
117
|
"""
|
117
118
|
__args__ = dict()
|
118
119
|
__args__['prefix'] = prefix
|
pulumi_nomad/get_allocations.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
|
@@ -55,12 +56,12 @@ class GetAllocationsResult:
|
|
55
56
|
|
56
57
|
@property
|
57
58
|
@pulumi.getter
|
58
|
-
def filter(self) -> Optional[str]:
|
59
|
+
def filter(self) -> Optional[builtins.str]:
|
59
60
|
return pulumi.get(self, "filter")
|
60
61
|
|
61
62
|
@property
|
62
63
|
@pulumi.getter
|
63
|
-
def id(self) -> str:
|
64
|
+
def id(self) -> builtins.str:
|
64
65
|
"""
|
65
66
|
The provider-assigned unique ID for this managed resource.
|
66
67
|
"""
|
@@ -68,7 +69,7 @@ class GetAllocationsResult:
|
|
68
69
|
|
69
70
|
@property
|
70
71
|
@pulumi.getter
|
71
|
-
def namespace(self) -> Optional[str]:
|
72
|
+
def namespace(self) -> Optional[builtins.str]:
|
72
73
|
"""
|
73
74
|
`(string)` - The namespace the allocation belongs to.
|
74
75
|
"""
|
@@ -76,7 +77,7 @@ class GetAllocationsResult:
|
|
76
77
|
|
77
78
|
@property
|
78
79
|
@pulumi.getter
|
79
|
-
def prefix(self) -> Optional[str]:
|
80
|
+
def prefix(self) -> Optional[builtins.str]:
|
80
81
|
return pulumi.get(self, "prefix")
|
81
82
|
|
82
83
|
|
@@ -93,9 +94,9 @@ class AwaitableGetAllocationsResult(GetAllocationsResult):
|
|
93
94
|
prefix=self.prefix)
|
94
95
|
|
95
96
|
|
96
|
-
def get_allocations(filter: Optional[str] = None,
|
97
|
-
namespace: Optional[str] = None,
|
98
|
-
prefix: Optional[str] = None,
|
97
|
+
def get_allocations(filter: Optional[builtins.str] = None,
|
98
|
+
namespace: Optional[builtins.str] = None,
|
99
|
+
prefix: Optional[builtins.str] = None,
|
99
100
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAllocationsResult:
|
100
101
|
"""
|
101
102
|
Retrieve a list of allocations from Nomad.
|
@@ -110,11 +111,11 @@ def get_allocations(filter: Optional[str] = None,
|
|
110
111
|
```
|
111
112
|
|
112
113
|
|
113
|
-
:param str filter: `(string: <optional>)` - Specifies the
|
114
|
+
:param builtins.str filter: `(string: <optional>)` - Specifies the
|
114
115
|
[expression][nomad_api_filter] used to filter the results.
|
115
|
-
:param str namespace: `(string: <optional>)` - Specifies the namespace to search for
|
116
|
+
:param builtins.str namespace: `(string: <optional>)` - Specifies the namespace to search for
|
116
117
|
allocations in.
|
117
|
-
:param str prefix: `(string: <optional>)` - Specifies a string to filter allocations
|
118
|
+
:param builtins.str prefix: `(string: <optional>)` - Specifies a string to filter allocations
|
118
119
|
based on an ID prefix.
|
119
120
|
"""
|
120
121
|
__args__ = dict()
|
@@ -130,9 +131,9 @@ def get_allocations(filter: Optional[str] = None,
|
|
130
131
|
id=pulumi.get(__ret__, 'id'),
|
131
132
|
namespace=pulumi.get(__ret__, 'namespace'),
|
132
133
|
prefix=pulumi.get(__ret__, 'prefix'))
|
133
|
-
def get_allocations_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
134
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
135
|
-
prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
134
|
+
def get_allocations_output(filter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
135
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
136
|
+
prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
136
137
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAllocationsResult]:
|
137
138
|
"""
|
138
139
|
Retrieve a list of allocations from Nomad.
|
@@ -147,11 +148,11 @@ def get_allocations_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
147
148
|
```
|
148
149
|
|
149
150
|
|
150
|
-
:param str filter: `(string: <optional>)` - Specifies the
|
151
|
+
:param builtins.str filter: `(string: <optional>)` - Specifies the
|
151
152
|
[expression][nomad_api_filter] used to filter the results.
|
152
|
-
:param str namespace: `(string: <optional>)` - Specifies the namespace to search for
|
153
|
+
:param builtins.str namespace: `(string: <optional>)` - Specifies the namespace to search for
|
153
154
|
allocations in.
|
154
|
-
:param str prefix: `(string: <optional>)` - Specifies a string to filter allocations
|
155
|
+
:param builtins.str prefix: `(string: <optional>)` - Specifies a string to filter allocations
|
155
156
|
based on an ID prefix.
|
156
157
|
"""
|
157
158
|
__args__ = dict()
|
pulumi_nomad/get_datacenters.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
|
@@ -42,7 +43,7 @@ class GetDatacentersResult:
|
|
42
43
|
|
43
44
|
@property
|
44
45
|
@pulumi.getter
|
45
|
-
def datacenters(self) -> Sequence[str]:
|
46
|
+
def datacenters(self) -> Sequence[builtins.str]:
|
46
47
|
"""
|
47
48
|
`list(string)` a list of datacenters.
|
48
49
|
"""
|
@@ -50,7 +51,7 @@ class GetDatacentersResult:
|
|
50
51
|
|
51
52
|
@property
|
52
53
|
@pulumi.getter
|
53
|
-
def id(self) -> str:
|
54
|
+
def id(self) -> builtins.str:
|
54
55
|
"""
|
55
56
|
The provider-assigned unique ID for this managed resource.
|
56
57
|
"""
|
@@ -58,12 +59,12 @@ class GetDatacentersResult:
|
|
58
59
|
|
59
60
|
@property
|
60
61
|
@pulumi.getter(name="ignoreDownNodes")
|
61
|
-
def ignore_down_nodes(self) -> Optional[bool]:
|
62
|
+
def ignore_down_nodes(self) -> Optional[builtins.bool]:
|
62
63
|
return pulumi.get(self, "ignore_down_nodes")
|
63
64
|
|
64
65
|
@property
|
65
66
|
@pulumi.getter
|
66
|
-
def prefix(self) -> Optional[str]:
|
67
|
+
def prefix(self) -> Optional[builtins.str]:
|
67
68
|
return pulumi.get(self, "prefix")
|
68
69
|
|
69
70
|
|
@@ -79,8 +80,8 @@ class AwaitableGetDatacentersResult(GetDatacentersResult):
|
|
79
80
|
prefix=self.prefix)
|
80
81
|
|
81
82
|
|
82
|
-
def get_datacenters(ignore_down_nodes: Optional[bool] = None,
|
83
|
-
prefix: Optional[str] = None,
|
83
|
+
def get_datacenters(ignore_down_nodes: Optional[builtins.bool] = None,
|
84
|
+
prefix: Optional[builtins.str] = None,
|
84
85
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatacentersResult:
|
85
86
|
"""
|
86
87
|
Retrieve a list of datacenters.
|
@@ -96,8 +97,8 @@ def get_datacenters(ignore_down_nodes: Optional[bool] = None,
|
|
96
97
|
```
|
97
98
|
|
98
99
|
|
99
|
-
:param bool ignore_down_nodes: `(bool: false)`: An optional flag that, if set to `true` will ignore down nodes when compiling the list of datacenters.
|
100
|
-
:param str prefix: `(string)`: An optional string to filter datacenters based on name prefix. If not provided, all datacenters are returned.
|
100
|
+
:param builtins.bool ignore_down_nodes: `(bool: false)`: An optional flag that, if set to `true` will ignore down nodes when compiling the list of datacenters.
|
101
|
+
:param builtins.str prefix: `(string)`: An optional string to filter datacenters based on name prefix. If not provided, all datacenters are returned.
|
101
102
|
"""
|
102
103
|
__args__ = dict()
|
103
104
|
__args__['ignoreDownNodes'] = ignore_down_nodes
|
@@ -110,8 +111,8 @@ def get_datacenters(ignore_down_nodes: Optional[bool] = None,
|
|
110
111
|
id=pulumi.get(__ret__, 'id'),
|
111
112
|
ignore_down_nodes=pulumi.get(__ret__, 'ignore_down_nodes'),
|
112
113
|
prefix=pulumi.get(__ret__, 'prefix'))
|
113
|
-
def get_datacenters_output(ignore_down_nodes: Optional[pulumi.Input[Optional[bool]]] = None,
|
114
|
-
prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
114
|
+
def get_datacenters_output(ignore_down_nodes: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
115
|
+
prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
115
116
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatacentersResult]:
|
116
117
|
"""
|
117
118
|
Retrieve a list of datacenters.
|
@@ -127,8 +128,8 @@ def get_datacenters_output(ignore_down_nodes: Optional[pulumi.Input[Optional[boo
|
|
127
128
|
```
|
128
129
|
|
129
130
|
|
130
|
-
:param bool ignore_down_nodes: `(bool: false)`: An optional flag that, if set to `true` will ignore down nodes when compiling the list of datacenters.
|
131
|
-
:param str prefix: `(string)`: An optional string to filter datacenters based on name prefix. If not provided, all datacenters are returned.
|
131
|
+
:param builtins.bool ignore_down_nodes: `(bool: false)`: An optional flag that, if set to `true` will ignore down nodes when compiling the list of datacenters.
|
132
|
+
:param builtins.str prefix: `(string)`: An optional string to filter datacenters based on name prefix. If not provided, all datacenters are returned.
|
132
133
|
"""
|
133
134
|
__args__ = dict()
|
134
135
|
__args__['ignoreDownNodes'] = ignore_down_nodes
|
pulumi_nomad/get_deployments.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
|
@@ -36,7 +37,7 @@ class GetDeploymentsResult:
|
|
36
37
|
|
37
38
|
@property
|
38
39
|
@pulumi.getter
|
39
|
-
def deployments(self) -> Sequence[Mapping[str, str]]:
|
40
|
+
def deployments(self) -> Sequence[Mapping[str, builtins.str]]:
|
40
41
|
"""
|
41
42
|
`list of maps` a list of deployments in the cluster.
|
42
43
|
* `ID`: `string` Deployment ID.
|
@@ -49,7 +50,7 @@ class GetDeploymentsResult:
|
|
49
50
|
|
50
51
|
@property
|
51
52
|
@pulumi.getter
|
52
|
-
def id(self) -> str:
|
53
|
+
def id(self) -> builtins.str:
|
53
54
|
"""
|
54
55
|
The provider-assigned unique ID for this managed resource.
|
55
56
|
"""
|