pulumi-consul 3.13.0a1743571864__py3-none-any.whl → 3.13.0a1744263036__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.
Potentially problematic release.
This version of pulumi-consul might be problematic. Click here for more details.
- pulumi_consul/__init__.py +1 -0
- pulumi_consul/_inputs.py +1306 -1305
- pulumi_consul/acl_auth_method.py +141 -140
- pulumi_consul/acl_binding_rule.py +99 -98
- pulumi_consul/acl_policy.py +85 -84
- pulumi_consul/acl_role.py +71 -70
- pulumi_consul/acl_role_policy_attachment.py +29 -28
- pulumi_consul/acl_token.py +113 -112
- pulumi_consul/acl_token_policy_attachment.py +29 -28
- pulumi_consul/acl_token_role_attachment.py +29 -28
- pulumi_consul/admin_partition.py +29 -28
- pulumi_consul/agent_service.py +57 -56
- pulumi_consul/autopilot_config.py +113 -112
- pulumi_consul/catalog_entry.py +57 -56
- pulumi_consul/certificate_authority.py +35 -34
- pulumi_consul/config/__init__.py +1 -0
- pulumi_consul/config/__init__.pyi +1 -0
- pulumi_consul/config/outputs.py +18 -17
- pulumi_consul/config/vars.py +1 -0
- pulumi_consul/config_entry.py +71 -70
- pulumi_consul/config_entry_service_defaults.py +169 -168
- pulumi_consul/config_entry_service_intentions.py +57 -56
- pulumi_consul/config_entry_service_resolver.py +99 -98
- pulumi_consul/config_entry_service_router.py +57 -56
- pulumi_consul/config_entry_service_splitter.py +57 -56
- pulumi_consul/config_entry_v2_exported_services.py +113 -112
- pulumi_consul/get_acl_auth_method.py +24 -23
- pulumi_consul/get_acl_policy.py +20 -19
- pulumi_consul/get_acl_role.py +18 -17
- pulumi_consul/get_acl_token.py +20 -19
- pulumi_consul/get_acl_token_secret_id.py +22 -21
- pulumi_consul/get_agent_config.py +8 -7
- pulumi_consul/get_agent_self.py +73 -72
- pulumi_consul/get_autopilot_health.py +9 -8
- pulumi_consul/get_catalog_nodes.py +5 -4
- pulumi_consul/get_catalog_service.py +20 -19
- pulumi_consul/get_catalog_services.py +6 -5
- pulumi_consul/get_config_entry.py +23 -22
- pulumi_consul/get_config_entry_v2_exported_services.py +42 -41
- pulumi_consul/get_datacenters.py +3 -2
- pulumi_consul/get_key_prefix.py +29 -28
- pulumi_consul/get_keys.py +28 -27
- pulumi_consul/get_network_area_members.py +17 -16
- pulumi_consul/get_network_segments.py +13 -12
- pulumi_consul/get_nodes.py +5 -4
- pulumi_consul/get_peering.py +15 -14
- pulumi_consul/get_peerings.py +5 -4
- pulumi_consul/get_service.py +20 -19
- pulumi_consul/get_service_health.py +40 -39
- pulumi_consul/get_services.py +6 -5
- pulumi_consul/intention.py +113 -112
- pulumi_consul/key_prefix.py +85 -84
- pulumi_consul/keys.py +62 -61
- pulumi_consul/license.py +99 -98
- pulumi_consul/namespace.py +85 -84
- pulumi_consul/namespace_policy_attachment.py +29 -28
- pulumi_consul/namespace_role_attachment.py +29 -28
- pulumi_consul/network_area.py +71 -70
- pulumi_consul/node.py +81 -80
- pulumi_consul/outputs.py +1054 -1053
- pulumi_consul/peering.py +83 -82
- pulumi_consul/peering_token.py +60 -59
- pulumi_consul/prepared_query.py +183 -182
- pulumi_consul/provider.py +110 -109
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +165 -164
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744263036.dist-info}/METADATA +1 -1
- pulumi_consul-3.13.0a1744263036.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1743571864.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744263036.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744263036.dist-info}/top_level.txt +0 -0
pulumi_consul/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
|
|
@@ -51,7 +52,7 @@ class GetAclPolicyResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def datacenters(self) -> Sequence[str]:
|
|
55
|
+
def datacenters(self) -> Sequence[builtins.str]:
|
|
55
56
|
"""
|
|
56
57
|
The datacenters associated with the ACL Policy.
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetAclPolicyResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def description(self) -> str:
|
|
63
|
+
def description(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The description of the ACL Policy.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetAclPolicyResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def id(self) -> str:
|
|
71
|
+
def id(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The provider-assigned unique ID for this managed resource.
|
|
73
74
|
"""
|
|
@@ -75,22 +76,22 @@ class GetAclPolicyResult:
|
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter
|
|
78
|
-
def name(self) -> str:
|
|
79
|
+
def name(self) -> builtins.str:
|
|
79
80
|
return pulumi.get(self, "name")
|
|
80
81
|
|
|
81
82
|
@property
|
|
82
83
|
@pulumi.getter
|
|
83
|
-
def namespace(self) -> Optional[str]:
|
|
84
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
84
85
|
return pulumi.get(self, "namespace")
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter
|
|
88
|
-
def partition(self) -> Optional[str]:
|
|
89
|
+
def partition(self) -> Optional[builtins.str]:
|
|
89
90
|
return pulumi.get(self, "partition")
|
|
90
91
|
|
|
91
92
|
@property
|
|
92
93
|
@pulumi.getter
|
|
93
|
-
def rules(self) -> str:
|
|
94
|
+
def rules(self) -> builtins.str:
|
|
94
95
|
"""
|
|
95
96
|
The rules associated with the ACL Policy.
|
|
96
97
|
"""
|
|
@@ -112,9 +113,9 @@ class AwaitableGetAclPolicyResult(GetAclPolicyResult):
|
|
|
112
113
|
rules=self.rules)
|
|
113
114
|
|
|
114
115
|
|
|
115
|
-
def get_acl_policy(name: Optional[str] = None,
|
|
116
|
-
namespace: Optional[str] = None,
|
|
117
|
-
partition: Optional[str] = None,
|
|
116
|
+
def get_acl_policy(name: Optional[builtins.str] = None,
|
|
117
|
+
namespace: Optional[builtins.str] = None,
|
|
118
|
+
partition: Optional[builtins.str] = None,
|
|
118
119
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclPolicyResult:
|
|
119
120
|
"""
|
|
120
121
|
The `AclPolicy` data source returns the information related to a
|
|
@@ -131,9 +132,9 @@ def get_acl_policy(name: Optional[str] = None,
|
|
|
131
132
|
```
|
|
132
133
|
|
|
133
134
|
|
|
134
|
-
:param str name: The name of the ACL Policy.
|
|
135
|
-
:param str namespace: The namespace to lookup the policy.
|
|
136
|
-
:param str partition: The partition to lookup the policy.
|
|
135
|
+
:param builtins.str name: The name of the ACL Policy.
|
|
136
|
+
:param builtins.str namespace: The namespace to lookup the policy.
|
|
137
|
+
:param builtins.str partition: The partition to lookup the policy.
|
|
137
138
|
"""
|
|
138
139
|
__args__ = dict()
|
|
139
140
|
__args__['name'] = name
|
|
@@ -150,9 +151,9 @@ def get_acl_policy(name: Optional[str] = None,
|
|
|
150
151
|
namespace=pulumi.get(__ret__, 'namespace'),
|
|
151
152
|
partition=pulumi.get(__ret__, 'partition'),
|
|
152
153
|
rules=pulumi.get(__ret__, 'rules'))
|
|
153
|
-
def get_acl_policy_output(name: Optional[pulumi.Input[str]] = None,
|
|
154
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
155
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
154
|
+
def get_acl_policy_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
155
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
156
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
156
157
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclPolicyResult]:
|
|
157
158
|
"""
|
|
158
159
|
The `AclPolicy` data source returns the information related to a
|
|
@@ -169,9 +170,9 @@ def get_acl_policy_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
169
170
|
```
|
|
170
171
|
|
|
171
172
|
|
|
172
|
-
:param str name: The name of the ACL Policy.
|
|
173
|
-
:param str namespace: The namespace to lookup the policy.
|
|
174
|
-
:param str partition: The partition to lookup the policy.
|
|
173
|
+
:param builtins.str name: The name of the ACL Policy.
|
|
174
|
+
:param builtins.str namespace: The namespace to lookup the policy.
|
|
175
|
+
:param builtins.str partition: The partition to lookup the policy.
|
|
175
176
|
"""
|
|
176
177
|
__args__ = dict()
|
|
177
178
|
__args__['name'] = name
|
pulumi_consul/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
|
|
@@ -58,7 +59,7 @@ class GetAclRoleResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def description(self) -> str:
|
|
62
|
+
def description(self) -> builtins.str:
|
|
62
63
|
"""
|
|
63
64
|
The description of the ACL Role.
|
|
64
65
|
"""
|
|
@@ -66,7 +67,7 @@ class GetAclRoleResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter
|
|
69
|
-
def id(self) -> str:
|
|
70
|
+
def id(self) -> builtins.str:
|
|
70
71
|
"""
|
|
71
72
|
The provider-assigned unique ID for this managed resource.
|
|
72
73
|
"""
|
|
@@ -74,7 +75,7 @@ class GetAclRoleResult:
|
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter
|
|
77
|
-
def name(self) -> str:
|
|
78
|
+
def name(self) -> builtins.str:
|
|
78
79
|
"""
|
|
79
80
|
The name of the ACL Role.
|
|
80
81
|
"""
|
|
@@ -82,7 +83,7 @@ class GetAclRoleResult:
|
|
|
82
83
|
|
|
83
84
|
@property
|
|
84
85
|
@pulumi.getter
|
|
85
|
-
def namespace(self) -> Optional[str]:
|
|
86
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
86
87
|
"""
|
|
87
88
|
The namespace to lookup the role.
|
|
88
89
|
"""
|
|
@@ -98,7 +99,7 @@ class GetAclRoleResult:
|
|
|
98
99
|
|
|
99
100
|
@property
|
|
100
101
|
@pulumi.getter
|
|
101
|
-
def partition(self) -> Optional[str]:
|
|
102
|
+
def partition(self) -> Optional[builtins.str]:
|
|
102
103
|
"""
|
|
103
104
|
The partition to lookup the role.
|
|
104
105
|
"""
|
|
@@ -146,9 +147,9 @@ class AwaitableGetAclRoleResult(GetAclRoleResult):
|
|
|
146
147
|
templated_policies=self.templated_policies)
|
|
147
148
|
|
|
148
149
|
|
|
149
|
-
def get_acl_role(name: Optional[str] = None,
|
|
150
|
-
namespace: Optional[str] = None,
|
|
151
|
-
partition: Optional[str] = None,
|
|
150
|
+
def get_acl_role(name: Optional[builtins.str] = None,
|
|
151
|
+
namespace: Optional[builtins.str] = None,
|
|
152
|
+
partition: Optional[builtins.str] = None,
|
|
152
153
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclRoleResult:
|
|
153
154
|
"""
|
|
154
155
|
The `AclRole` data source returns the information related to a [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
|
|
@@ -164,9 +165,9 @@ def get_acl_role(name: Optional[str] = None,
|
|
|
164
165
|
```
|
|
165
166
|
|
|
166
167
|
|
|
167
|
-
:param str name: The name of the ACL Role.
|
|
168
|
-
:param str namespace: The namespace to lookup the role.
|
|
169
|
-
:param str partition: The partition to lookup the role.
|
|
168
|
+
:param builtins.str name: The name of the ACL Role.
|
|
169
|
+
:param builtins.str namespace: The namespace to lookup the role.
|
|
170
|
+
:param builtins.str partition: The partition to lookup the role.
|
|
170
171
|
"""
|
|
171
172
|
__args__ = dict()
|
|
172
173
|
__args__['name'] = name
|
|
@@ -185,9 +186,9 @@ def get_acl_role(name: Optional[str] = None,
|
|
|
185
186
|
policies=pulumi.get(__ret__, 'policies'),
|
|
186
187
|
service_identities=pulumi.get(__ret__, 'service_identities'),
|
|
187
188
|
templated_policies=pulumi.get(__ret__, 'templated_policies'))
|
|
188
|
-
def get_acl_role_output(name: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
190
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
189
|
+
def get_acl_role_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
190
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
191
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
191
192
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclRoleResult]:
|
|
192
193
|
"""
|
|
193
194
|
The `AclRole` data source returns the information related to a [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
|
|
@@ -203,9 +204,9 @@ def get_acl_role_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
203
204
|
```
|
|
204
205
|
|
|
205
206
|
|
|
206
|
-
:param str name: The name of the ACL Role.
|
|
207
|
-
:param str namespace: The namespace to lookup the role.
|
|
208
|
-
:param str partition: The partition to lookup the role.
|
|
207
|
+
:param builtins.str name: The name of the ACL Role.
|
|
208
|
+
:param builtins.str namespace: The namespace to lookup the role.
|
|
209
|
+
:param builtins.str partition: The partition to lookup the role.
|
|
209
210
|
"""
|
|
210
211
|
__args__ = dict()
|
|
211
212
|
__args__['name'] = name
|
pulumi_consul/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
|
|
@@ -67,7 +68,7 @@ class GetAclTokenResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter(name="accessorId")
|
|
70
|
-
def accessor_id(self) -> str:
|
|
71
|
+
def accessor_id(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The accessor ID of the ACL token.
|
|
73
74
|
"""
|
|
@@ -75,7 +76,7 @@ class GetAclTokenResult:
|
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter
|
|
78
|
-
def description(self) -> str:
|
|
79
|
+
def description(self) -> builtins.str:
|
|
79
80
|
"""
|
|
80
81
|
The description of the ACL token.
|
|
81
82
|
"""
|
|
@@ -83,7 +84,7 @@ class GetAclTokenResult:
|
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter(name="expirationTime")
|
|
86
|
-
def expiration_time(self) -> str:
|
|
87
|
+
def expiration_time(self) -> builtins.str:
|
|
87
88
|
"""
|
|
88
89
|
If set this represents the point after which a token should be considered revoked and is eligible for destruction.
|
|
89
90
|
"""
|
|
@@ -91,7 +92,7 @@ class GetAclTokenResult:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def id(self) -> str:
|
|
95
|
+
def id(self) -> builtins.str:
|
|
95
96
|
"""
|
|
96
97
|
The provider-assigned unique ID for this managed resource.
|
|
97
98
|
"""
|
|
@@ -99,7 +100,7 @@ class GetAclTokenResult:
|
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter
|
|
102
|
-
def local(self) -> bool:
|
|
103
|
+
def local(self) -> builtins.bool:
|
|
103
104
|
"""
|
|
104
105
|
Whether the ACL token is local to the datacenter it was created within.
|
|
105
106
|
"""
|
|
@@ -107,7 +108,7 @@ class GetAclTokenResult:
|
|
|
107
108
|
|
|
108
109
|
@property
|
|
109
110
|
@pulumi.getter
|
|
110
|
-
def namespace(self) -> Optional[str]:
|
|
111
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
111
112
|
"""
|
|
112
113
|
The namespace to lookup the ACL token.
|
|
113
114
|
"""
|
|
@@ -123,7 +124,7 @@ class GetAclTokenResult:
|
|
|
123
124
|
|
|
124
125
|
@property
|
|
125
126
|
@pulumi.getter
|
|
126
|
-
def partition(self) -> Optional[str]:
|
|
127
|
+
def partition(self) -> Optional[builtins.str]:
|
|
127
128
|
"""
|
|
128
129
|
The partition to lookup the ACL token.
|
|
129
130
|
"""
|
|
@@ -182,9 +183,9 @@ class AwaitableGetAclTokenResult(GetAclTokenResult):
|
|
|
182
183
|
templated_policies=self.templated_policies)
|
|
183
184
|
|
|
184
185
|
|
|
185
|
-
def get_acl_token(accessor_id: Optional[str] = None,
|
|
186
|
-
namespace: Optional[str] = None,
|
|
187
|
-
partition: Optional[str] = None,
|
|
186
|
+
def get_acl_token(accessor_id: Optional[builtins.str] = None,
|
|
187
|
+
namespace: Optional[builtins.str] = None,
|
|
188
|
+
partition: Optional[builtins.str] = None,
|
|
188
189
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclTokenResult:
|
|
189
190
|
"""
|
|
190
191
|
The `AclToken` data source returns the information related to the `AclToken` resource with the exception of its secret ID.
|
|
@@ -202,9 +203,9 @@ def get_acl_token(accessor_id: Optional[str] = None,
|
|
|
202
203
|
```
|
|
203
204
|
|
|
204
205
|
|
|
205
|
-
:param str accessor_id: The accessor ID of the ACL token.
|
|
206
|
-
:param str namespace: The namespace to lookup the ACL token.
|
|
207
|
-
:param str partition: The partition to lookup the ACL token.
|
|
206
|
+
:param builtins.str accessor_id: The accessor ID of the ACL token.
|
|
207
|
+
:param builtins.str namespace: The namespace to lookup the ACL token.
|
|
208
|
+
:param builtins.str partition: The partition to lookup the ACL token.
|
|
208
209
|
"""
|
|
209
210
|
__args__ = dict()
|
|
210
211
|
__args__['accessorId'] = accessor_id
|
|
@@ -226,9 +227,9 @@ def get_acl_token(accessor_id: Optional[str] = None,
|
|
|
226
227
|
roles=pulumi.get(__ret__, 'roles'),
|
|
227
228
|
service_identities=pulumi.get(__ret__, 'service_identities'),
|
|
228
229
|
templated_policies=pulumi.get(__ret__, 'templated_policies'))
|
|
229
|
-
def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
|
|
230
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
231
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
230
|
+
def get_acl_token_output(accessor_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
231
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
232
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
232
233
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclTokenResult]:
|
|
233
234
|
"""
|
|
234
235
|
The `AclToken` data source returns the information related to the `AclToken` resource with the exception of its secret ID.
|
|
@@ -246,9 +247,9 @@ def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
|
|
|
246
247
|
```
|
|
247
248
|
|
|
248
249
|
|
|
249
|
-
:param str accessor_id: The accessor ID of the ACL token.
|
|
250
|
-
:param str namespace: The namespace to lookup the ACL token.
|
|
251
|
-
:param str partition: The partition to lookup the ACL token.
|
|
250
|
+
:param builtins.str accessor_id: The accessor ID of the ACL token.
|
|
251
|
+
:param builtins.str namespace: The namespace to lookup the ACL token.
|
|
252
|
+
:param builtins.str partition: The partition to lookup the ACL token.
|
|
252
253
|
"""
|
|
253
254
|
__args__ = dict()
|
|
254
255
|
__args__['accessorId'] = accessor_id
|
|
@@ -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
|
|
@@ -51,17 +52,17 @@ class GetAclTokenSecretIdResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="accessorId")
|
|
54
|
-
def accessor_id(self) -> str:
|
|
55
|
+
def accessor_id(self) -> builtins.str:
|
|
55
56
|
return pulumi.get(self, "accessor_id")
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter(name="encryptedSecretId")
|
|
59
|
-
def encrypted_secret_id(self) -> str:
|
|
60
|
+
def encrypted_secret_id(self) -> builtins.str:
|
|
60
61
|
return pulumi.get(self, "encrypted_secret_id")
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def id(self) -> str:
|
|
65
|
+
def id(self) -> builtins.str:
|
|
65
66
|
"""
|
|
66
67
|
The provider-assigned unique ID for this managed resource.
|
|
67
68
|
"""
|
|
@@ -69,22 +70,22 @@ class GetAclTokenSecretIdResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def namespace(self) -> Optional[str]:
|
|
73
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
73
74
|
return pulumi.get(self, "namespace")
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter
|
|
77
|
-
def partition(self) -> Optional[str]:
|
|
78
|
+
def partition(self) -> Optional[builtins.str]:
|
|
78
79
|
return pulumi.get(self, "partition")
|
|
79
80
|
|
|
80
81
|
@property
|
|
81
82
|
@pulumi.getter(name="pgpKey")
|
|
82
|
-
def pgp_key(self) -> Optional[str]:
|
|
83
|
+
def pgp_key(self) -> Optional[builtins.str]:
|
|
83
84
|
return pulumi.get(self, "pgp_key")
|
|
84
85
|
|
|
85
86
|
@property
|
|
86
87
|
@pulumi.getter(name="secretId")
|
|
87
|
-
def secret_id(self) -> str:
|
|
88
|
+
def secret_id(self) -> builtins.str:
|
|
88
89
|
"""
|
|
89
90
|
The secret ID of the ACL token if `pgp_key` has not been set.
|
|
90
91
|
"""
|
|
@@ -106,10 +107,10 @@ class AwaitableGetAclTokenSecretIdResult(GetAclTokenSecretIdResult):
|
|
|
106
107
|
secret_id=self.secret_id)
|
|
107
108
|
|
|
108
109
|
|
|
109
|
-
def get_acl_token_secret_id(accessor_id: Optional[str] = None,
|
|
110
|
-
namespace: Optional[str] = None,
|
|
111
|
-
partition: Optional[str] = None,
|
|
112
|
-
pgp_key: Optional[str] = None,
|
|
110
|
+
def get_acl_token_secret_id(accessor_id: Optional[builtins.str] = None,
|
|
111
|
+
namespace: Optional[builtins.str] = None,
|
|
112
|
+
partition: Optional[builtins.str] = None,
|
|
113
|
+
pgp_key: Optional[builtins.str] = None,
|
|
113
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclTokenSecretIdResult:
|
|
114
115
|
"""
|
|
115
116
|
## Example Usage
|
|
@@ -132,9 +133,9 @@ def get_acl_token_secret_id(accessor_id: Optional[str] = None,
|
|
|
132
133
|
```
|
|
133
134
|
|
|
134
135
|
|
|
135
|
-
:param str accessor_id: The accessor ID of the ACL token.
|
|
136
|
-
:param str namespace: The namespace to lookup the token.
|
|
137
|
-
:param str partition: The partition to lookup the token.
|
|
136
|
+
:param builtins.str accessor_id: The accessor ID of the ACL token.
|
|
137
|
+
:param builtins.str namespace: The namespace to lookup the token.
|
|
138
|
+
:param builtins.str partition: The partition to lookup the token.
|
|
138
139
|
"""
|
|
139
140
|
__args__ = dict()
|
|
140
141
|
__args__['accessorId'] = accessor_id
|
|
@@ -152,10 +153,10 @@ def get_acl_token_secret_id(accessor_id: Optional[str] = None,
|
|
|
152
153
|
partition=pulumi.get(__ret__, 'partition'),
|
|
153
154
|
pgp_key=pulumi.get(__ret__, 'pgp_key'),
|
|
154
155
|
secret_id=pulumi.get(__ret__, 'secret_id'))
|
|
155
|
-
def get_acl_token_secret_id_output(accessor_id: Optional[pulumi.Input[str]] = None,
|
|
156
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
157
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
158
|
-
pgp_key: Optional[pulumi.Input[Optional[str]]] = None,
|
|
156
|
+
def get_acl_token_secret_id_output(accessor_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
157
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
158
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
159
|
+
pgp_key: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
159
160
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclTokenSecretIdResult]:
|
|
160
161
|
"""
|
|
161
162
|
## Example Usage
|
|
@@ -178,9 +179,9 @@ def get_acl_token_secret_id_output(accessor_id: Optional[pulumi.Input[str]] = No
|
|
|
178
179
|
```
|
|
179
180
|
|
|
180
181
|
|
|
181
|
-
:param str accessor_id: The accessor ID of the ACL token.
|
|
182
|
-
:param str namespace: The namespace to lookup the token.
|
|
183
|
-
:param str partition: The partition to lookup the token.
|
|
182
|
+
:param builtins.str accessor_id: The accessor ID of the ACL token.
|
|
183
|
+
:param builtins.str namespace: The namespace to lookup the token.
|
|
184
|
+
:param builtins.str partition: The partition to lookup the token.
|
|
184
185
|
"""
|
|
185
186
|
__args__ = dict()
|
|
186
187
|
__args__['accessorId'] = accessor_id
|
|
@@ -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
|
|
@@ -51,7 +52,7 @@ class GetAgentConfigResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def datacenter(self) -> str:
|
|
55
|
+
def datacenter(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The datacenter the agent is running in
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetAgentConfigResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The provider-assigned unique ID for this managed resource.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetAgentConfigResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter(name="nodeId")
|
|
70
|
-
def node_id(self) -> str:
|
|
71
|
+
def node_id(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The ID of the node the agent is running on
|
|
73
74
|
"""
|
|
@@ -75,7 +76,7 @@ class GetAgentConfigResult:
|
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter(name="nodeName")
|
|
78
|
-
def node_name(self) -> str:
|
|
79
|
+
def node_name(self) -> builtins.str:
|
|
79
80
|
"""
|
|
80
81
|
The name of the node the agent is running on
|
|
81
82
|
"""
|
|
@@ -83,7 +84,7 @@ class GetAgentConfigResult:
|
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter
|
|
86
|
-
def revision(self) -> str:
|
|
87
|
+
def revision(self) -> builtins.str:
|
|
87
88
|
"""
|
|
88
89
|
The first 9 characters of the VCS revision of the build of Consul that is running
|
|
89
90
|
"""
|
|
@@ -91,7 +92,7 @@ class GetAgentConfigResult:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def server(self) -> bool:
|
|
95
|
+
def server(self) -> builtins.bool:
|
|
95
96
|
"""
|
|
96
97
|
Boolean if the agent is a server or not
|
|
97
98
|
"""
|
|
@@ -99,7 +100,7 @@ class GetAgentConfigResult:
|
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter
|
|
102
|
-
def version(self) -> str:
|
|
103
|
+
def version(self) -> builtins.str:
|
|
103
104
|
"""
|
|
104
105
|
The version of the build of Consul that is running
|
|
105
106
|
"""
|