pulumi-consul 3.13.0a1749706342__py3-none-any.whl → 3.14.0a1768432677__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_consul/__init__.py +1 -1
- pulumi_consul/_inputs.py +1604 -1605
- pulumi_consul/acl_auth_method.py +174 -175
- pulumi_consul/acl_binding_rule.py +123 -124
- pulumi_consul/acl_policy.py +107 -108
- pulumi_consul/acl_role.py +95 -96
- pulumi_consul/acl_role_policy_attachment.py +35 -36
- pulumi_consul/acl_token.py +154 -155
- pulumi_consul/acl_token_policy_attachment.py +35 -36
- pulumi_consul/acl_token_role_attachment.py +35 -36
- pulumi_consul/admin_partition.py +82 -36
- pulumi_consul/agent_service.py +69 -70
- pulumi_consul/autopilot_config.py +137 -138
- pulumi_consul/catalog_entry.py +114 -73
- pulumi_consul/certificate_authority.py +44 -45
- pulumi_consul/config/__init__.py +1 -1
- pulumi_consul/config/__init__.pyi +6 -12
- pulumi_consul/config/outputs.py +24 -25
- pulumi_consul/config/vars.py +22 -28
- pulumi_consul/config_entry.py +86 -87
- pulumi_consul/config_entry_service_defaults.py +275 -224
- pulumi_consul/config_entry_service_intentions.py +75 -76
- pulumi_consul/config_entry_service_resolver.py +132 -133
- pulumi_consul/config_entry_service_router.py +72 -73
- pulumi_consul/config_entry_service_splitter.py +72 -73
- pulumi_consul/config_entry_v2_exported_services.py +137 -138
- pulumi_consul/get_acl_auth_method.py +36 -37
- pulumi_consul/get_acl_policy.py +27 -28
- pulumi_consul/get_acl_role.py +27 -28
- pulumi_consul/get_acl_token.py +32 -33
- pulumi_consul/get_acl_token_secret_id.py +29 -30
- pulumi_consul/get_agent_config.py +15 -16
- pulumi_consul/get_agent_self.py +149 -146
- pulumi_consul/get_autopilot_health.py +14 -15
- pulumi_consul/get_catalog_nodes.py +45 -12
- pulumi_consul/get_catalog_service.py +27 -28
- pulumi_consul/get_catalog_services.py +12 -13
- pulumi_consul/get_config_entry.py +29 -30
- pulumi_consul/get_config_entry_v2_exported_services.py +51 -52
- pulumi_consul/get_datacenters.py +73 -6
- pulumi_consul/get_key_prefix.py +38 -39
- pulumi_consul/get_keys.py +36 -37
- pulumi_consul/get_network_area_members.py +22 -23
- pulumi_consul/get_network_segments.py +17 -18
- pulumi_consul/get_nodes.py +45 -12
- pulumi_consul/get_peering.py +25 -26
- pulumi_consul/get_peerings.py +8 -9
- pulumi_consul/get_service.py +27 -28
- pulumi_consul/get_service_health.py +54 -51
- pulumi_consul/get_services.py +12 -13
- pulumi_consul/intention.py +137 -138
- pulumi_consul/key_prefix.py +106 -107
- pulumi_consul/keys.py +79 -80
- pulumi_consul/license.py +125 -126
- pulumi_consul/namespace.py +103 -104
- pulumi_consul/namespace_policy_attachment.py +35 -36
- pulumi_consul/namespace_role_attachment.py +35 -36
- pulumi_consul/network_area.py +86 -87
- pulumi_consul/node.py +99 -100
- pulumi_consul/outputs.py +1464 -1465
- pulumi_consul/peering.py +107 -108
- pulumi_consul/peering_token.py +74 -75
- pulumi_consul/prepared_query.py +231 -232
- pulumi_consul/provider.py +150 -169
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +251 -205
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/METADATA +1 -1
- pulumi_consul-3.14.0a1768432677.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1749706342.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -66,10 +65,10 @@ class GetAclAuthMethodResult:
|
|
|
66
65
|
raise TypeError("Expected argument 'type' to be a str")
|
|
67
66
|
pulumi.set(__self__, "type", type)
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
@pulumi.getter
|
|
71
70
|
@_utilities.deprecated("""The config attribute is deprecated, please use config_json instead.""")
|
|
72
|
-
def config(self) -> Mapping[str,
|
|
71
|
+
def config(self) -> Mapping[str, _builtins.str]:
|
|
73
72
|
"""
|
|
74
73
|
The configuration options of the ACL Auth Method. This attribute is
|
|
75
74
|
deprecated and will be removed in a future version. If the configuration is
|
|
@@ -78,58 +77,58 @@ class GetAclAuthMethodResult:
|
|
|
78
77
|
"""
|
|
79
78
|
return pulumi.get(self, "config")
|
|
80
79
|
|
|
81
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
82
81
|
@pulumi.getter(name="configJson")
|
|
83
|
-
def config_json(self) ->
|
|
82
|
+
def config_json(self) -> _builtins.str:
|
|
84
83
|
"""
|
|
85
84
|
The configuration options of the ACL Auth Method.
|
|
86
85
|
"""
|
|
87
86
|
return pulumi.get(self, "config_json")
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter
|
|
91
|
-
def description(self) ->
|
|
90
|
+
def description(self) -> _builtins.str:
|
|
92
91
|
"""
|
|
93
92
|
The description of the ACL Auth Method.
|
|
94
93
|
"""
|
|
95
94
|
return pulumi.get(self, "description")
|
|
96
95
|
|
|
97
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
98
97
|
@pulumi.getter(name="displayName")
|
|
99
|
-
def display_name(self) ->
|
|
98
|
+
def display_name(self) -> _builtins.str:
|
|
100
99
|
"""
|
|
101
100
|
An optional name to use instead of the name attribute when
|
|
102
101
|
displaying information about this auth method.
|
|
103
102
|
"""
|
|
104
103
|
return pulumi.get(self, "display_name")
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
@pulumi.getter
|
|
108
|
-
def id(self) ->
|
|
107
|
+
def id(self) -> _builtins.str:
|
|
109
108
|
"""
|
|
110
109
|
The provider-assigned unique ID for this managed resource.
|
|
111
110
|
"""
|
|
112
111
|
return pulumi.get(self, "id")
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
@pulumi.getter(name="maxTokenTtl")
|
|
116
|
-
def max_token_ttl(self) ->
|
|
115
|
+
def max_token_ttl(self) -> _builtins.str:
|
|
117
116
|
"""
|
|
118
117
|
The maximum life of any token created by this auth method.
|
|
119
118
|
"""
|
|
120
119
|
return pulumi.get(self, "max_token_ttl")
|
|
121
120
|
|
|
122
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
123
122
|
@pulumi.getter
|
|
124
|
-
def name(self) ->
|
|
123
|
+
def name(self) -> _builtins.str:
|
|
125
124
|
return pulumi.get(self, "name")
|
|
126
125
|
|
|
127
|
-
@property
|
|
126
|
+
@_builtins.property
|
|
128
127
|
@pulumi.getter
|
|
129
|
-
def namespace(self) -> Optional[
|
|
128
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
130
129
|
return pulumi.get(self, "namespace")
|
|
131
130
|
|
|
132
|
-
@property
|
|
131
|
+
@_builtins.property
|
|
133
132
|
@pulumi.getter(name="namespaceRules")
|
|
134
133
|
def namespace_rules(self) -> Sequence['outputs.GetAclAuthMethodNamespaceRuleResult']:
|
|
135
134
|
"""
|
|
@@ -138,23 +137,23 @@ class GetAclAuthMethodResult:
|
|
|
138
137
|
"""
|
|
139
138
|
return pulumi.get(self, "namespace_rules")
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter
|
|
143
|
-
def partition(self) -> Optional[
|
|
142
|
+
def partition(self) -> Optional[_builtins.str]:
|
|
144
143
|
return pulumi.get(self, "partition")
|
|
145
144
|
|
|
146
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
147
146
|
@pulumi.getter(name="tokenLocality")
|
|
148
|
-
def token_locality(self) ->
|
|
147
|
+
def token_locality(self) -> _builtins.str:
|
|
149
148
|
"""
|
|
150
149
|
The kind of token that this auth method produces. This can
|
|
151
150
|
be either 'local' or 'global'.
|
|
152
151
|
"""
|
|
153
152
|
return pulumi.get(self, "token_locality")
|
|
154
153
|
|
|
155
|
-
@property
|
|
154
|
+
@_builtins.property
|
|
156
155
|
@pulumi.getter
|
|
157
|
-
def type(self) ->
|
|
156
|
+
def type(self) -> _builtins.str:
|
|
158
157
|
"""
|
|
159
158
|
The type of the ACL Auth Method.
|
|
160
159
|
"""
|
|
@@ -181,9 +180,9 @@ class AwaitableGetAclAuthMethodResult(GetAclAuthMethodResult):
|
|
|
181
180
|
type=self.type)
|
|
182
181
|
|
|
183
182
|
|
|
184
|
-
def get_acl_auth_method(name: Optional[
|
|
185
|
-
namespace: Optional[
|
|
186
|
-
partition: Optional[
|
|
183
|
+
def get_acl_auth_method(name: Optional[_builtins.str] = None,
|
|
184
|
+
namespace: Optional[_builtins.str] = None,
|
|
185
|
+
partition: Optional[_builtins.str] = None,
|
|
187
186
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclAuthMethodResult:
|
|
188
187
|
"""
|
|
189
188
|
The `AclAuthMethod` data source returns the information related to a
|
|
@@ -200,9 +199,9 @@ def get_acl_auth_method(name: Optional[builtins.str] = None,
|
|
|
200
199
|
```
|
|
201
200
|
|
|
202
201
|
|
|
203
|
-
:param
|
|
204
|
-
:param
|
|
205
|
-
:param
|
|
202
|
+
:param _builtins.str name: The name of the ACL Auth Method.
|
|
203
|
+
:param _builtins.str namespace: The namespace to lookup the auth method.
|
|
204
|
+
:param _builtins.str partition: The partition to lookup the auth method.
|
|
206
205
|
"""
|
|
207
206
|
__args__ = dict()
|
|
208
207
|
__args__['name'] = name
|
|
@@ -224,9 +223,9 @@ def get_acl_auth_method(name: Optional[builtins.str] = None,
|
|
|
224
223
|
partition=pulumi.get(__ret__, 'partition'),
|
|
225
224
|
token_locality=pulumi.get(__ret__, 'token_locality'),
|
|
226
225
|
type=pulumi.get(__ret__, 'type'))
|
|
227
|
-
def get_acl_auth_method_output(name: Optional[pulumi.Input[
|
|
228
|
-
namespace: Optional[pulumi.Input[Optional[
|
|
229
|
-
partition: Optional[pulumi.Input[Optional[
|
|
226
|
+
def get_acl_auth_method_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
227
|
+
namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
228
|
+
partition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
230
229
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclAuthMethodResult]:
|
|
231
230
|
"""
|
|
232
231
|
The `AclAuthMethod` data source returns the information related to a
|
|
@@ -243,9 +242,9 @@ def get_acl_auth_method_output(name: Optional[pulumi.Input[builtins.str]] = None
|
|
|
243
242
|
```
|
|
244
243
|
|
|
245
244
|
|
|
246
|
-
:param
|
|
247
|
-
:param
|
|
248
|
-
:param
|
|
245
|
+
:param _builtins.str name: The name of the ACL Auth Method.
|
|
246
|
+
:param _builtins.str namespace: The namespace to lookup the auth method.
|
|
247
|
+
:param _builtins.str partition: The partition to lookup the auth method.
|
|
249
248
|
"""
|
|
250
249
|
__args__ = dict()
|
|
251
250
|
__args__['name'] = name
|
pulumi_consul/get_acl_policy.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -50,48 +49,48 @@ class GetAclPolicyResult:
|
|
|
50
49
|
raise TypeError("Expected argument 'rules' to be a str")
|
|
51
50
|
pulumi.set(__self__, "rules", rules)
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter
|
|
55
|
-
def datacenters(self) -> Sequence[
|
|
54
|
+
def datacenters(self) -> Sequence[_builtins.str]:
|
|
56
55
|
"""
|
|
57
56
|
The datacenters associated with the ACL Policy.
|
|
58
57
|
"""
|
|
59
58
|
return pulumi.get(self, "datacenters")
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter
|
|
63
|
-
def description(self) ->
|
|
62
|
+
def description(self) -> _builtins.str:
|
|
64
63
|
"""
|
|
65
64
|
The description of the ACL Policy.
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "description")
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
@pulumi.getter
|
|
71
|
-
def id(self) ->
|
|
70
|
+
def id(self) -> _builtins.str:
|
|
72
71
|
"""
|
|
73
72
|
The provider-assigned unique ID for this managed resource.
|
|
74
73
|
"""
|
|
75
74
|
return pulumi.get(self, "id")
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter
|
|
79
|
-
def name(self) ->
|
|
78
|
+
def name(self) -> _builtins.str:
|
|
80
79
|
return pulumi.get(self, "name")
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter
|
|
84
|
-
def namespace(self) -> Optional[
|
|
83
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
85
84
|
return pulumi.get(self, "namespace")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter
|
|
89
|
-
def partition(self) -> Optional[
|
|
88
|
+
def partition(self) -> Optional[_builtins.str]:
|
|
90
89
|
return pulumi.get(self, "partition")
|
|
91
90
|
|
|
92
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
93
92
|
@pulumi.getter
|
|
94
|
-
def rules(self) ->
|
|
93
|
+
def rules(self) -> _builtins.str:
|
|
95
94
|
"""
|
|
96
95
|
The rules associated with the ACL Policy.
|
|
97
96
|
"""
|
|
@@ -113,9 +112,9 @@ class AwaitableGetAclPolicyResult(GetAclPolicyResult):
|
|
|
113
112
|
rules=self.rules)
|
|
114
113
|
|
|
115
114
|
|
|
116
|
-
def get_acl_policy(name: Optional[
|
|
117
|
-
namespace: Optional[
|
|
118
|
-
partition: Optional[
|
|
115
|
+
def get_acl_policy(name: Optional[_builtins.str] = None,
|
|
116
|
+
namespace: Optional[_builtins.str] = None,
|
|
117
|
+
partition: Optional[_builtins.str] = None,
|
|
119
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclPolicyResult:
|
|
120
119
|
"""
|
|
121
120
|
The `AclPolicy` data source returns the information related to a
|
|
@@ -132,9 +131,9 @@ def get_acl_policy(name: Optional[builtins.str] = None,
|
|
|
132
131
|
```
|
|
133
132
|
|
|
134
133
|
|
|
135
|
-
:param
|
|
136
|
-
:param
|
|
137
|
-
:param
|
|
134
|
+
:param _builtins.str name: The name of the ACL Policy.
|
|
135
|
+
:param _builtins.str namespace: The namespace to lookup the policy.
|
|
136
|
+
:param _builtins.str partition: The partition to lookup the policy.
|
|
138
137
|
"""
|
|
139
138
|
__args__ = dict()
|
|
140
139
|
__args__['name'] = name
|
|
@@ -151,9 +150,9 @@ def get_acl_policy(name: Optional[builtins.str] = None,
|
|
|
151
150
|
namespace=pulumi.get(__ret__, 'namespace'),
|
|
152
151
|
partition=pulumi.get(__ret__, 'partition'),
|
|
153
152
|
rules=pulumi.get(__ret__, 'rules'))
|
|
154
|
-
def get_acl_policy_output(name: Optional[pulumi.Input[
|
|
155
|
-
namespace: Optional[pulumi.Input[Optional[
|
|
156
|
-
partition: Optional[pulumi.Input[Optional[
|
|
153
|
+
def get_acl_policy_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
154
|
+
namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
155
|
+
partition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
157
156
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclPolicyResult]:
|
|
158
157
|
"""
|
|
159
158
|
The `AclPolicy` data source returns the information related to a
|
|
@@ -170,9 +169,9 @@ def get_acl_policy_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
170
169
|
```
|
|
171
170
|
|
|
172
171
|
|
|
173
|
-
:param
|
|
174
|
-
:param
|
|
175
|
-
:param
|
|
172
|
+
:param _builtins.str name: The name of the ACL Policy.
|
|
173
|
+
:param _builtins.str namespace: The namespace to lookup the policy.
|
|
174
|
+
:param _builtins.str partition: The partition to lookup the policy.
|
|
176
175
|
"""
|
|
177
176
|
__args__ = dict()
|
|
178
177
|
__args__['name'] = name
|
pulumi_consul/get_acl_role.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -57,39 +56,39 @@ class GetAclRoleResult:
|
|
|
57
56
|
raise TypeError("Expected argument 'templated_policies' to be a list")
|
|
58
57
|
pulumi.set(__self__, "templated_policies", templated_policies)
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter
|
|
62
|
-
def description(self) ->
|
|
61
|
+
def description(self) -> _builtins.str:
|
|
63
62
|
"""
|
|
64
63
|
The description of the ACL Role.
|
|
65
64
|
"""
|
|
66
65
|
return pulumi.get(self, "description")
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def id(self) ->
|
|
69
|
+
def id(self) -> _builtins.str:
|
|
71
70
|
"""
|
|
72
71
|
The provider-assigned unique ID for this managed resource.
|
|
73
72
|
"""
|
|
74
73
|
return pulumi.get(self, "id")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter
|
|
78
|
-
def name(self) ->
|
|
77
|
+
def name(self) -> _builtins.str:
|
|
79
78
|
"""
|
|
80
79
|
The name of the ACL Role.
|
|
81
80
|
"""
|
|
82
81
|
return pulumi.get(self, "name")
|
|
83
82
|
|
|
84
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
85
84
|
@pulumi.getter
|
|
86
|
-
def namespace(self) -> Optional[
|
|
85
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
87
86
|
"""
|
|
88
87
|
The namespace to lookup the role.
|
|
89
88
|
"""
|
|
90
89
|
return pulumi.get(self, "namespace")
|
|
91
90
|
|
|
92
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
93
92
|
@pulumi.getter(name="nodeIdentities")
|
|
94
93
|
def node_identities(self) -> Sequence['outputs.GetAclRoleNodeIdentityResult']:
|
|
95
94
|
"""
|
|
@@ -97,15 +96,15 @@ class GetAclRoleResult:
|
|
|
97
96
|
"""
|
|
98
97
|
return pulumi.get(self, "node_identities")
|
|
99
98
|
|
|
100
|
-
@property
|
|
99
|
+
@_builtins.property
|
|
101
100
|
@pulumi.getter
|
|
102
|
-
def partition(self) -> Optional[
|
|
101
|
+
def partition(self) -> Optional[_builtins.str]:
|
|
103
102
|
"""
|
|
104
103
|
The partition to lookup the role.
|
|
105
104
|
"""
|
|
106
105
|
return pulumi.get(self, "partition")
|
|
107
106
|
|
|
108
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
109
108
|
@pulumi.getter
|
|
110
109
|
def policies(self) -> Sequence['outputs.GetAclRolePolicyResult']:
|
|
111
110
|
"""
|
|
@@ -113,7 +112,7 @@ class GetAclRoleResult:
|
|
|
113
112
|
"""
|
|
114
113
|
return pulumi.get(self, "policies")
|
|
115
114
|
|
|
116
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
117
116
|
@pulumi.getter(name="serviceIdentities")
|
|
118
117
|
def service_identities(self) -> Sequence['outputs.GetAclRoleServiceIdentityResult']:
|
|
119
118
|
"""
|
|
@@ -121,7 +120,7 @@ class GetAclRoleResult:
|
|
|
121
120
|
"""
|
|
122
121
|
return pulumi.get(self, "service_identities")
|
|
123
122
|
|
|
124
|
-
@property
|
|
123
|
+
@_builtins.property
|
|
125
124
|
@pulumi.getter(name="templatedPolicies")
|
|
126
125
|
def templated_policies(self) -> Sequence['outputs.GetAclRoleTemplatedPolicyResult']:
|
|
127
126
|
"""
|
|
@@ -147,9 +146,9 @@ class AwaitableGetAclRoleResult(GetAclRoleResult):
|
|
|
147
146
|
templated_policies=self.templated_policies)
|
|
148
147
|
|
|
149
148
|
|
|
150
|
-
def get_acl_role(name: Optional[
|
|
151
|
-
namespace: Optional[
|
|
152
|
-
partition: Optional[
|
|
149
|
+
def get_acl_role(name: Optional[_builtins.str] = None,
|
|
150
|
+
namespace: Optional[_builtins.str] = None,
|
|
151
|
+
partition: Optional[_builtins.str] = None,
|
|
153
152
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclRoleResult:
|
|
154
153
|
"""
|
|
155
154
|
The `AclRole` data source returns the information related to a [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
|
|
@@ -165,9 +164,9 @@ def get_acl_role(name: Optional[builtins.str] = None,
|
|
|
165
164
|
```
|
|
166
165
|
|
|
167
166
|
|
|
168
|
-
:param
|
|
169
|
-
:param
|
|
170
|
-
:param
|
|
167
|
+
:param _builtins.str name: The name of the ACL Role.
|
|
168
|
+
:param _builtins.str namespace: The namespace to lookup the role.
|
|
169
|
+
:param _builtins.str partition: The partition to lookup the role.
|
|
171
170
|
"""
|
|
172
171
|
__args__ = dict()
|
|
173
172
|
__args__['name'] = name
|
|
@@ -186,9 +185,9 @@ def get_acl_role(name: Optional[builtins.str] = None,
|
|
|
186
185
|
policies=pulumi.get(__ret__, 'policies'),
|
|
187
186
|
service_identities=pulumi.get(__ret__, 'service_identities'),
|
|
188
187
|
templated_policies=pulumi.get(__ret__, 'templated_policies'))
|
|
189
|
-
def get_acl_role_output(name: Optional[pulumi.Input[
|
|
190
|
-
namespace: Optional[pulumi.Input[Optional[
|
|
191
|
-
partition: Optional[pulumi.Input[Optional[
|
|
188
|
+
def get_acl_role_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
189
|
+
namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
190
|
+
partition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
192
191
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclRoleResult]:
|
|
193
192
|
"""
|
|
194
193
|
The `AclRole` data source returns the information related to a [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
|
|
@@ -204,9 +203,9 @@ def get_acl_role_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
204
203
|
```
|
|
205
204
|
|
|
206
205
|
|
|
207
|
-
:param
|
|
208
|
-
:param
|
|
209
|
-
:param
|
|
206
|
+
:param _builtins.str name: The name of the ACL Role.
|
|
207
|
+
:param _builtins.str namespace: The namespace to lookup the role.
|
|
208
|
+
:param _builtins.str partition: The partition to lookup the role.
|
|
210
209
|
"""
|
|
211
210
|
__args__ = dict()
|
|
212
211
|
__args__['name'] = name
|
pulumi_consul/get_acl_token.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -66,55 +65,55 @@ class GetAclTokenResult:
|
|
|
66
65
|
raise TypeError("Expected argument 'templated_policies' to be a list")
|
|
67
66
|
pulumi.set(__self__, "templated_policies", templated_policies)
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
@pulumi.getter(name="accessorId")
|
|
71
|
-
def accessor_id(self) ->
|
|
70
|
+
def accessor_id(self) -> _builtins.str:
|
|
72
71
|
"""
|
|
73
72
|
The accessor ID of the ACL token.
|
|
74
73
|
"""
|
|
75
74
|
return pulumi.get(self, "accessor_id")
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter
|
|
79
|
-
def description(self) ->
|
|
78
|
+
def description(self) -> _builtins.str:
|
|
80
79
|
"""
|
|
81
80
|
The description of the ACL token.
|
|
82
81
|
"""
|
|
83
82
|
return pulumi.get(self, "description")
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter(name="expirationTime")
|
|
87
|
-
def expiration_time(self) ->
|
|
86
|
+
def expiration_time(self) -> _builtins.str:
|
|
88
87
|
"""
|
|
89
88
|
If set this represents the point after which a token should be considered revoked and is eligible for destruction.
|
|
90
89
|
"""
|
|
91
90
|
return pulumi.get(self, "expiration_time")
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter
|
|
95
|
-
def id(self) ->
|
|
94
|
+
def id(self) -> _builtins.str:
|
|
96
95
|
"""
|
|
97
96
|
The provider-assigned unique ID for this managed resource.
|
|
98
97
|
"""
|
|
99
98
|
return pulumi.get(self, "id")
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter
|
|
103
|
-
def local(self) ->
|
|
102
|
+
def local(self) -> _builtins.bool:
|
|
104
103
|
"""
|
|
105
104
|
Whether the ACL token is local to the datacenter it was created within.
|
|
106
105
|
"""
|
|
107
106
|
return pulumi.get(self, "local")
|
|
108
107
|
|
|
109
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
110
109
|
@pulumi.getter
|
|
111
|
-
def namespace(self) -> Optional[
|
|
110
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
112
111
|
"""
|
|
113
112
|
The namespace to lookup the ACL token.
|
|
114
113
|
"""
|
|
115
114
|
return pulumi.get(self, "namespace")
|
|
116
115
|
|
|
117
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
118
117
|
@pulumi.getter(name="nodeIdentities")
|
|
119
118
|
def node_identities(self) -> Sequence['outputs.GetAclTokenNodeIdentityResult']:
|
|
120
119
|
"""
|
|
@@ -122,15 +121,15 @@ class GetAclTokenResult:
|
|
|
122
121
|
"""
|
|
123
122
|
return pulumi.get(self, "node_identities")
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter
|
|
127
|
-
def partition(self) -> Optional[
|
|
126
|
+
def partition(self) -> Optional[_builtins.str]:
|
|
128
127
|
"""
|
|
129
128
|
The partition to lookup the ACL token.
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "partition")
|
|
132
131
|
|
|
133
|
-
@property
|
|
132
|
+
@_builtins.property
|
|
134
133
|
@pulumi.getter
|
|
135
134
|
def policies(self) -> Sequence['outputs.GetAclTokenPolicyResult']:
|
|
136
135
|
"""
|
|
@@ -138,7 +137,7 @@ class GetAclTokenResult:
|
|
|
138
137
|
"""
|
|
139
138
|
return pulumi.get(self, "policies")
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter
|
|
143
142
|
def roles(self) -> Sequence['outputs.GetAclTokenRoleResult']:
|
|
144
143
|
"""
|
|
@@ -146,7 +145,7 @@ class GetAclTokenResult:
|
|
|
146
145
|
"""
|
|
147
146
|
return pulumi.get(self, "roles")
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter(name="serviceIdentities")
|
|
151
150
|
def service_identities(self) -> Sequence['outputs.GetAclTokenServiceIdentityResult']:
|
|
152
151
|
"""
|
|
@@ -154,7 +153,7 @@ class GetAclTokenResult:
|
|
|
154
153
|
"""
|
|
155
154
|
return pulumi.get(self, "service_identities")
|
|
156
155
|
|
|
157
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
158
157
|
@pulumi.getter(name="templatedPolicies")
|
|
159
158
|
def templated_policies(self) -> Sequence['outputs.GetAclTokenTemplatedPolicyResult']:
|
|
160
159
|
"""
|
|
@@ -183,9 +182,9 @@ class AwaitableGetAclTokenResult(GetAclTokenResult):
|
|
|
183
182
|
templated_policies=self.templated_policies)
|
|
184
183
|
|
|
185
184
|
|
|
186
|
-
def get_acl_token(accessor_id: Optional[
|
|
187
|
-
namespace: Optional[
|
|
188
|
-
partition: Optional[
|
|
185
|
+
def get_acl_token(accessor_id: Optional[_builtins.str] = None,
|
|
186
|
+
namespace: Optional[_builtins.str] = None,
|
|
187
|
+
partition: Optional[_builtins.str] = None,
|
|
189
188
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclTokenResult:
|
|
190
189
|
"""
|
|
191
190
|
The `AclToken` data source returns the information related to the `AclToken` resource with the exception of its secret ID.
|
|
@@ -203,9 +202,9 @@ def get_acl_token(accessor_id: Optional[builtins.str] = None,
|
|
|
203
202
|
```
|
|
204
203
|
|
|
205
204
|
|
|
206
|
-
:param
|
|
207
|
-
:param
|
|
208
|
-
:param
|
|
205
|
+
:param _builtins.str accessor_id: The accessor ID of the ACL token.
|
|
206
|
+
:param _builtins.str namespace: The namespace to lookup the ACL token.
|
|
207
|
+
:param _builtins.str partition: The partition to lookup the ACL token.
|
|
209
208
|
"""
|
|
210
209
|
__args__ = dict()
|
|
211
210
|
__args__['accessorId'] = accessor_id
|
|
@@ -227,9 +226,9 @@ def get_acl_token(accessor_id: Optional[builtins.str] = None,
|
|
|
227
226
|
roles=pulumi.get(__ret__, 'roles'),
|
|
228
227
|
service_identities=pulumi.get(__ret__, 'service_identities'),
|
|
229
228
|
templated_policies=pulumi.get(__ret__, 'templated_policies'))
|
|
230
|
-
def get_acl_token_output(accessor_id: Optional[pulumi.Input[
|
|
231
|
-
namespace: Optional[pulumi.Input[Optional[
|
|
232
|
-
partition: Optional[pulumi.Input[Optional[
|
|
229
|
+
def get_acl_token_output(accessor_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
230
|
+
namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
231
|
+
partition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
233
232
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAclTokenResult]:
|
|
234
233
|
"""
|
|
235
234
|
The `AclToken` data source returns the information related to the `AclToken` resource with the exception of its secret ID.
|
|
@@ -247,9 +246,9 @@ def get_acl_token_output(accessor_id: Optional[pulumi.Input[builtins.str]] = Non
|
|
|
247
246
|
```
|
|
248
247
|
|
|
249
248
|
|
|
250
|
-
:param
|
|
251
|
-
:param
|
|
252
|
-
:param
|
|
249
|
+
:param _builtins.str accessor_id: The accessor ID of the ACL token.
|
|
250
|
+
:param _builtins.str namespace: The namespace to lookup the ACL token.
|
|
251
|
+
:param _builtins.str partition: The partition to lookup the ACL token.
|
|
253
252
|
"""
|
|
254
253
|
__args__ = dict()
|
|
255
254
|
__args__['accessorId'] = accessor_id
|