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_keys.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
|
|
@@ -56,7 +57,7 @@ class GetKeysResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter
|
|
59
|
-
def datacenter(self) -> str:
|
|
60
|
+
def datacenter(self) -> builtins.str:
|
|
60
61
|
"""
|
|
61
62
|
The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
62
63
|
"""
|
|
@@ -64,7 +65,7 @@ class GetKeysResult:
|
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter(name="errorOnMissingKeys")
|
|
67
|
-
def error_on_missing_keys(self) -> Optional[bool]:
|
|
68
|
+
def error_on_missing_keys(self) -> Optional[builtins.bool]:
|
|
68
69
|
"""
|
|
69
70
|
Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
|
|
70
71
|
"""
|
|
@@ -72,7 +73,7 @@ class GetKeysResult:
|
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter
|
|
75
|
-
def id(self) -> str:
|
|
76
|
+
def id(self) -> builtins.str:
|
|
76
77
|
"""
|
|
77
78
|
The provider-assigned unique ID for this managed resource.
|
|
78
79
|
"""
|
|
@@ -88,7 +89,7 @@ class GetKeysResult:
|
|
|
88
89
|
|
|
89
90
|
@property
|
|
90
91
|
@pulumi.getter
|
|
91
|
-
def namespace(self) -> Optional[str]:
|
|
92
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
92
93
|
"""
|
|
93
94
|
The namespace to lookup the keys.
|
|
94
95
|
"""
|
|
@@ -96,7 +97,7 @@ class GetKeysResult:
|
|
|
96
97
|
|
|
97
98
|
@property
|
|
98
99
|
@pulumi.getter
|
|
99
|
-
def partition(self) -> Optional[str]:
|
|
100
|
+
def partition(self) -> Optional[builtins.str]:
|
|
100
101
|
"""
|
|
101
102
|
The partition to lookup the keys.
|
|
102
103
|
"""
|
|
@@ -106,7 +107,7 @@ class GetKeysResult:
|
|
|
106
107
|
@pulumi.getter
|
|
107
108
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
108
109
|
Please use the token argument in the provider configuration""")
|
|
109
|
-
def token(self) -> Optional[str]:
|
|
110
|
+
def token(self) -> Optional[builtins.str]:
|
|
110
111
|
"""
|
|
111
112
|
The ACL token to use. This overrides the token that the agent provides by default.
|
|
112
113
|
"""
|
|
@@ -114,7 +115,7 @@ Please use the token argument in the provider configuration""")
|
|
|
114
115
|
|
|
115
116
|
@property
|
|
116
117
|
@pulumi.getter
|
|
117
|
-
def var(self) -> Mapping[str, str]:
|
|
118
|
+
def var(self) -> Mapping[str, builtins.str]:
|
|
118
119
|
"""
|
|
119
120
|
For each name given, the corresponding attribute has the value of the key.
|
|
120
121
|
"""
|
|
@@ -137,12 +138,12 @@ class AwaitableGetKeysResult(GetKeysResult):
|
|
|
137
138
|
var=self.var)
|
|
138
139
|
|
|
139
140
|
|
|
140
|
-
def get_keys(datacenter: Optional[str] = None,
|
|
141
|
-
error_on_missing_keys: Optional[bool] = None,
|
|
141
|
+
def get_keys(datacenter: Optional[builtins.str] = None,
|
|
142
|
+
error_on_missing_keys: Optional[builtins.bool] = None,
|
|
142
143
|
keys: Optional[Sequence[Union['GetKeysKeyArgs', 'GetKeysKeyArgsDict']]] = None,
|
|
143
|
-
namespace: Optional[str] = None,
|
|
144
|
-
partition: Optional[str] = None,
|
|
145
|
-
token: Optional[str] = None,
|
|
144
|
+
namespace: Optional[builtins.str] = None,
|
|
145
|
+
partition: Optional[builtins.str] = None,
|
|
146
|
+
token: Optional[builtins.str] = None,
|
|
146
147
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeysResult:
|
|
147
148
|
"""
|
|
148
149
|
The `Keys` datasource reads values from the Consul key/value store. This is a powerful way to dynamically set values in templates.
|
|
@@ -165,12 +166,12 @@ def get_keys(datacenter: Optional[str] = None,
|
|
|
165
166
|
```
|
|
166
167
|
|
|
167
168
|
|
|
168
|
-
:param str datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
169
|
-
:param bool error_on_missing_keys: Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
|
|
169
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
170
|
+
:param builtins.bool error_on_missing_keys: Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
|
|
170
171
|
:param Sequence[Union['GetKeysKeyArgs', 'GetKeysKeyArgsDict']] keys: Specifies a key in Consul to be read. Supported values documented below. Multiple blocks supported.
|
|
171
|
-
:param str namespace: The namespace to lookup the keys.
|
|
172
|
-
:param str partition: The partition to lookup the keys.
|
|
173
|
-
:param str token: The ACL token to use. This overrides the token that the agent provides by default.
|
|
172
|
+
:param builtins.str namespace: The namespace to lookup the keys.
|
|
173
|
+
:param builtins.str partition: The partition to lookup the keys.
|
|
174
|
+
:param builtins.str token: The ACL token to use. This overrides the token that the agent provides by default.
|
|
174
175
|
"""
|
|
175
176
|
__args__ = dict()
|
|
176
177
|
__args__['datacenter'] = datacenter
|
|
@@ -191,12 +192,12 @@ def get_keys(datacenter: Optional[str] = None,
|
|
|
191
192
|
partition=pulumi.get(__ret__, 'partition'),
|
|
192
193
|
token=pulumi.get(__ret__, 'token'),
|
|
193
194
|
var=pulumi.get(__ret__, 'var'))
|
|
194
|
-
def get_keys_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
195
|
-
error_on_missing_keys: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
195
|
+
def get_keys_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
196
|
+
error_on_missing_keys: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
196
197
|
keys: Optional[pulumi.Input[Optional[Sequence[Union['GetKeysKeyArgs', 'GetKeysKeyArgsDict']]]]] = None,
|
|
197
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
198
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
199
|
-
token: Optional[pulumi.Input[Optional[str]]] = None,
|
|
198
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
199
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
200
|
+
token: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
200
201
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeysResult]:
|
|
201
202
|
"""
|
|
202
203
|
The `Keys` datasource reads values from the Consul key/value store. This is a powerful way to dynamically set values in templates.
|
|
@@ -219,12 +220,12 @@ def get_keys_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
219
220
|
```
|
|
220
221
|
|
|
221
222
|
|
|
222
|
-
:param str datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
223
|
-
:param bool error_on_missing_keys: Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
|
|
223
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
224
|
+
:param builtins.bool error_on_missing_keys: Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
|
|
224
225
|
:param Sequence[Union['GetKeysKeyArgs', 'GetKeysKeyArgsDict']] keys: Specifies a key in Consul to be read. Supported values documented below. Multiple blocks supported.
|
|
225
|
-
:param str namespace: The namespace to lookup the keys.
|
|
226
|
-
:param str partition: The partition to lookup the keys.
|
|
227
|
-
:param str token: The ACL token to use. This overrides the token that the agent provides by default.
|
|
226
|
+
:param builtins.str namespace: The namespace to lookup the keys.
|
|
227
|
+
:param builtins.str partition: The partition to lookup the keys.
|
|
228
|
+
:param builtins.str token: The ACL token to use. This overrides the token that the agent provides by default.
|
|
228
229
|
"""
|
|
229
230
|
__args__ = dict()
|
|
230
231
|
__args__['datacenter'] = datacenter
|
|
@@ -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
|
|
@@ -46,7 +47,7 @@ class GetNetworkAreaMembersResult:
|
|
|
46
47
|
|
|
47
48
|
@property
|
|
48
49
|
@pulumi.getter
|
|
49
|
-
def datacenter(self) -> str:
|
|
50
|
+
def datacenter(self) -> builtins.str:
|
|
50
51
|
"""
|
|
51
52
|
The node's Consul datacenter.
|
|
52
53
|
"""
|
|
@@ -54,7 +55,7 @@ class GetNetworkAreaMembersResult:
|
|
|
54
55
|
|
|
55
56
|
@property
|
|
56
57
|
@pulumi.getter
|
|
57
|
-
def id(self) -> str:
|
|
58
|
+
def id(self) -> builtins.str:
|
|
58
59
|
"""
|
|
59
60
|
The provider-assigned unique ID for this managed resource.
|
|
60
61
|
"""
|
|
@@ -72,12 +73,12 @@ class GetNetworkAreaMembersResult:
|
|
|
72
73
|
@pulumi.getter
|
|
73
74
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
74
75
|
Please use the token argument in the provider configuration""")
|
|
75
|
-
def token(self) -> Optional[str]:
|
|
76
|
+
def token(self) -> Optional[builtins.str]:
|
|
76
77
|
return pulumi.get(self, "token")
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter
|
|
80
|
-
def uuid(self) -> str:
|
|
81
|
+
def uuid(self) -> builtins.str:
|
|
81
82
|
"""
|
|
82
83
|
The UUID of the Network Area being queried.
|
|
83
84
|
"""
|
|
@@ -97,9 +98,9 @@ class AwaitableGetNetworkAreaMembersResult(GetNetworkAreaMembersResult):
|
|
|
97
98
|
uuid=self.uuid)
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
def get_network_area_members(datacenter: Optional[str] = None,
|
|
101
|
-
token: Optional[str] = None,
|
|
102
|
-
uuid: Optional[str] = None,
|
|
101
|
+
def get_network_area_members(datacenter: Optional[builtins.str] = None,
|
|
102
|
+
token: Optional[builtins.str] = None,
|
|
103
|
+
uuid: Optional[builtins.str] = None,
|
|
103
104
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkAreaMembersResult:
|
|
104
105
|
"""
|
|
105
106
|
> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).
|
|
@@ -122,11 +123,11 @@ def get_network_area_members(datacenter: Optional[str] = None,
|
|
|
122
123
|
```
|
|
123
124
|
|
|
124
125
|
|
|
125
|
-
:param str datacenter: The datacenter to use. This overrides the
|
|
126
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the
|
|
126
127
|
agent's default datacenter and the datacenter in the provider setup.
|
|
127
|
-
:param str token: The ACL token to use. This overrides the
|
|
128
|
+
:param builtins.str token: The ACL token to use. This overrides the
|
|
128
129
|
token that the agent provides by default.
|
|
129
|
-
:param str uuid: The UUID of the area to list.
|
|
130
|
+
:param builtins.str uuid: The UUID of the area to list.
|
|
130
131
|
"""
|
|
131
132
|
__args__ = dict()
|
|
132
133
|
__args__['datacenter'] = datacenter
|
|
@@ -141,9 +142,9 @@ def get_network_area_members(datacenter: Optional[str] = None,
|
|
|
141
142
|
members=pulumi.get(__ret__, 'members'),
|
|
142
143
|
token=pulumi.get(__ret__, 'token'),
|
|
143
144
|
uuid=pulumi.get(__ret__, 'uuid'))
|
|
144
|
-
def get_network_area_members_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
|
-
token: Optional[pulumi.Input[Optional[str]]] = None,
|
|
146
|
-
uuid: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
def get_network_area_members_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
146
|
+
token: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
147
|
+
uuid: Optional[pulumi.Input[builtins.str]] = None,
|
|
147
148
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkAreaMembersResult]:
|
|
148
149
|
"""
|
|
149
150
|
> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).
|
|
@@ -166,11 +167,11 @@ def get_network_area_members_output(datacenter: Optional[pulumi.Input[Optional[s
|
|
|
166
167
|
```
|
|
167
168
|
|
|
168
169
|
|
|
169
|
-
:param str datacenter: The datacenter to use. This overrides the
|
|
170
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the
|
|
170
171
|
agent's default datacenter and the datacenter in the provider setup.
|
|
171
|
-
:param str token: The ACL token to use. This overrides the
|
|
172
|
+
:param builtins.str token: The ACL token to use. This overrides the
|
|
172
173
|
token that the agent provides by default.
|
|
173
|
-
:param str uuid: The UUID of the area to list.
|
|
174
|
+
:param builtins.str uuid: The UUID of the area to list.
|
|
174
175
|
"""
|
|
175
176
|
__args__ = dict()
|
|
176
177
|
__args__['datacenter'] = datacenter
|
|
@@ -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 GetNetworkSegmentsResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def datacenter(self) -> str:
|
|
46
|
+
def datacenter(self) -> builtins.str:
|
|
46
47
|
"""
|
|
47
48
|
The datacenter the segments are being read from.
|
|
48
49
|
"""
|
|
@@ -50,7 +51,7 @@ class GetNetworkSegmentsResult:
|
|
|
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 GetNetworkSegmentsResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def segments(self) -> Sequence[str]:
|
|
62
|
+
def segments(self) -> Sequence[builtins.str]:
|
|
62
63
|
"""
|
|
63
64
|
The list of network segments.
|
|
64
65
|
"""
|
|
@@ -68,7 +69,7 @@ class GetNetworkSegmentsResult:
|
|
|
68
69
|
@pulumi.getter
|
|
69
70
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
70
71
|
Please use the token argument in the provider configuration""")
|
|
71
|
-
def token(self) -> Optional[str]:
|
|
72
|
+
def token(self) -> Optional[builtins.str]:
|
|
72
73
|
return pulumi.get(self, "token")
|
|
73
74
|
|
|
74
75
|
|
|
@@ -84,8 +85,8 @@ class AwaitableGetNetworkSegmentsResult(GetNetworkSegmentsResult):
|
|
|
84
85
|
token=self.token)
|
|
85
86
|
|
|
86
87
|
|
|
87
|
-
def get_network_segments(datacenter: Optional[str] = None,
|
|
88
|
-
token: Optional[str] = None,
|
|
88
|
+
def get_network_segments(datacenter: Optional[builtins.str] = None,
|
|
89
|
+
token: Optional[builtins.str] = None,
|
|
89
90
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkSegmentsResult:
|
|
90
91
|
"""
|
|
91
92
|
> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).
|
|
@@ -104,9 +105,9 @@ def get_network_segments(datacenter: Optional[str] = None,
|
|
|
104
105
|
```
|
|
105
106
|
|
|
106
107
|
|
|
107
|
-
:param str datacenter: The datacenter to use. This overrides the
|
|
108
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the
|
|
108
109
|
agent's default datacenter and the datacenter in the provider setup.
|
|
109
|
-
:param str token: The ACL token to use. This overrides the
|
|
110
|
+
:param builtins.str token: The ACL token to use. This overrides the
|
|
110
111
|
token that the agent provides by default.
|
|
111
112
|
"""
|
|
112
113
|
__args__ = dict()
|
|
@@ -120,8 +121,8 @@ def get_network_segments(datacenter: Optional[str] = None,
|
|
|
120
121
|
id=pulumi.get(__ret__, 'id'),
|
|
121
122
|
segments=pulumi.get(__ret__, 'segments'),
|
|
122
123
|
token=pulumi.get(__ret__, 'token'))
|
|
123
|
-
def get_network_segments_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
124
|
-
token: Optional[pulumi.Input[Optional[str]]] = None,
|
|
124
|
+
def get_network_segments_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
125
|
+
token: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
125
126
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkSegmentsResult]:
|
|
126
127
|
"""
|
|
127
128
|
> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).
|
|
@@ -140,9 +141,9 @@ def get_network_segments_output(datacenter: Optional[pulumi.Input[Optional[str]]
|
|
|
140
141
|
```
|
|
141
142
|
|
|
142
143
|
|
|
143
|
-
:param str datacenter: The datacenter to use. This overrides the
|
|
144
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the
|
|
144
145
|
agent's default datacenter and the datacenter in the provider setup.
|
|
145
|
-
:param str token: The ACL token to use. This overrides the
|
|
146
|
+
:param builtins.str token: The ACL token to use. This overrides the
|
|
146
147
|
token that the agent provides by default.
|
|
147
148
|
"""
|
|
148
149
|
__args__ = dict()
|
pulumi_consul/get_nodes.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
|
|
@@ -50,7 +51,7 @@ class GetNodesResult:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter
|
|
53
|
-
def datacenter(self) -> str:
|
|
54
|
+
def datacenter(self) -> builtins.str:
|
|
54
55
|
"""
|
|
55
56
|
The datacenter the keys are being read from to.
|
|
56
57
|
"""
|
|
@@ -58,7 +59,7 @@ class GetNodesResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def id(self) -> str:
|
|
62
|
+
def id(self) -> builtins.str:
|
|
62
63
|
"""
|
|
63
64
|
The provider-assigned unique ID for this managed resource.
|
|
64
65
|
"""
|
|
@@ -66,7 +67,7 @@ class GetNodesResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter(name="nodeIds")
|
|
69
|
-
def node_ids(self) -> Sequence[str]:
|
|
70
|
+
def node_ids(self) -> Sequence[builtins.str]:
|
|
70
71
|
"""
|
|
71
72
|
A list of the Consul node IDs.
|
|
72
73
|
"""
|
|
@@ -74,7 +75,7 @@ class GetNodesResult:
|
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter(name="nodeNames")
|
|
77
|
-
def node_names(self) -> Sequence[str]:
|
|
78
|
+
def node_names(self) -> Sequence[builtins.str]:
|
|
78
79
|
"""
|
|
79
80
|
A list of the Consul node names.
|
|
80
81
|
"""
|
pulumi_consul/get_peering.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
|
|
@@ -60,12 +61,12 @@ class GetPeeringResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter(name="deletedAt")
|
|
63
|
-
def deleted_at(self) -> str:
|
|
64
|
+
def deleted_at(self) -> builtins.str:
|
|
64
65
|
return pulumi.get(self, "deleted_at")
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter
|
|
68
|
-
def id(self) -> str:
|
|
69
|
+
def id(self) -> builtins.str:
|
|
69
70
|
"""
|
|
70
71
|
The provider-assigned unique ID for this managed resource.
|
|
71
72
|
"""
|
|
@@ -73,42 +74,42 @@ class GetPeeringResult:
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter
|
|
76
|
-
def meta(self) -> Mapping[str, str]:
|
|
77
|
+
def meta(self) -> Mapping[str, builtins.str]:
|
|
77
78
|
return pulumi.get(self, "meta")
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def partition(self) -> Optional[str]:
|
|
82
|
+
def partition(self) -> Optional[builtins.str]:
|
|
82
83
|
return pulumi.get(self, "partition")
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter(name="peerCaPems")
|
|
86
|
-
def peer_ca_pems(self) -> Sequence[str]:
|
|
87
|
+
def peer_ca_pems(self) -> Sequence[builtins.str]:
|
|
87
88
|
return pulumi.get(self, "peer_ca_pems")
|
|
88
89
|
|
|
89
90
|
@property
|
|
90
91
|
@pulumi.getter(name="peerId")
|
|
91
|
-
def peer_id(self) -> str:
|
|
92
|
+
def peer_id(self) -> builtins.str:
|
|
92
93
|
return pulumi.get(self, "peer_id")
|
|
93
94
|
|
|
94
95
|
@property
|
|
95
96
|
@pulumi.getter(name="peerName")
|
|
96
|
-
def peer_name(self) -> str:
|
|
97
|
+
def peer_name(self) -> builtins.str:
|
|
97
98
|
return pulumi.get(self, "peer_name")
|
|
98
99
|
|
|
99
100
|
@property
|
|
100
101
|
@pulumi.getter(name="peerServerAddresses")
|
|
101
|
-
def peer_server_addresses(self) -> Sequence[str]:
|
|
102
|
+
def peer_server_addresses(self) -> Sequence[builtins.str]:
|
|
102
103
|
return pulumi.get(self, "peer_server_addresses")
|
|
103
104
|
|
|
104
105
|
@property
|
|
105
106
|
@pulumi.getter(name="peerServerName")
|
|
106
|
-
def peer_server_name(self) -> str:
|
|
107
|
+
def peer_server_name(self) -> builtins.str:
|
|
107
108
|
return pulumi.get(self, "peer_server_name")
|
|
108
109
|
|
|
109
110
|
@property
|
|
110
111
|
@pulumi.getter
|
|
111
|
-
def state(self) -> str:
|
|
112
|
+
def state(self) -> builtins.str:
|
|
112
113
|
return pulumi.get(self, "state")
|
|
113
114
|
|
|
114
115
|
|
|
@@ -130,8 +131,8 @@ class AwaitableGetPeeringResult(GetPeeringResult):
|
|
|
130
131
|
state=self.state)
|
|
131
132
|
|
|
132
133
|
|
|
133
|
-
def get_peering(partition: Optional[str] = None,
|
|
134
|
-
peer_name: Optional[str] = None,
|
|
134
|
+
def get_peering(partition: Optional[builtins.str] = None,
|
|
135
|
+
peer_name: Optional[builtins.str] = None,
|
|
135
136
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPeeringResult:
|
|
136
137
|
"""
|
|
137
138
|
## Example Usage
|
|
@@ -160,8 +161,8 @@ def get_peering(partition: Optional[str] = None,
|
|
|
160
161
|
peer_server_addresses=pulumi.get(__ret__, 'peer_server_addresses'),
|
|
161
162
|
peer_server_name=pulumi.get(__ret__, 'peer_server_name'),
|
|
162
163
|
state=pulumi.get(__ret__, 'state'))
|
|
163
|
-
def get_peering_output(partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
164
|
-
peer_name: Optional[pulumi.Input[str]] = None,
|
|
164
|
+
def get_peering_output(partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
165
|
+
peer_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
165
166
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPeeringResult]:
|
|
166
167
|
"""
|
|
167
168
|
## Example Usage
|
pulumi_consul/get_peerings.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 GetPeeringsResult:
|
|
|
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
|
"""
|
|
@@ -48,7 +49,7 @@ class GetPeeringsResult:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter
|
|
51
|
-
def partition(self) -> Optional[str]:
|
|
52
|
+
def partition(self) -> Optional[builtins.str]:
|
|
52
53
|
return pulumi.get(self, "partition")
|
|
53
54
|
|
|
54
55
|
@property
|
|
@@ -68,7 +69,7 @@ class AwaitableGetPeeringsResult(GetPeeringsResult):
|
|
|
68
69
|
peers=self.peers)
|
|
69
70
|
|
|
70
71
|
|
|
71
|
-
def get_peerings(partition: Optional[str] = None,
|
|
72
|
+
def get_peerings(partition: Optional[builtins.str] = None,
|
|
72
73
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPeeringsResult:
|
|
73
74
|
"""
|
|
74
75
|
## Example Usage
|
|
@@ -89,7 +90,7 @@ def get_peerings(partition: Optional[str] = None,
|
|
|
89
90
|
id=pulumi.get(__ret__, 'id'),
|
|
90
91
|
partition=pulumi.get(__ret__, 'partition'),
|
|
91
92
|
peers=pulumi.get(__ret__, 'peers'))
|
|
92
|
-
def get_peerings_output(partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
93
|
+
def get_peerings_output(partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
93
94
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPeeringsResult]:
|
|
94
95
|
"""
|
|
95
96
|
## Example Usage
|
pulumi_consul/get_service.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
|
|
@@ -53,7 +54,7 @@ class GetServiceResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def datacenter(self) -> Optional[str]:
|
|
57
|
+
def datacenter(self) -> Optional[builtins.str]:
|
|
57
58
|
"""
|
|
58
59
|
The datacenter the keys are being read from to.
|
|
59
60
|
"""
|
|
@@ -61,12 +62,12 @@ class GetServiceResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def filter(self) -> Optional[str]:
|
|
65
|
+
def filter(self) -> Optional[builtins.str]:
|
|
65
66
|
return pulumi.get(self, "filter")
|
|
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 GetServiceResult:
|
|
|
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 service
|
|
80
81
|
"""
|
|
@@ -97,7 +98,7 @@ class GetServiceResult:
|
|
|
97
98
|
|
|
98
99
|
@property
|
|
99
100
|
@pulumi.getter
|
|
100
|
-
def tag(self) -> Optional[str]:
|
|
101
|
+
def tag(self) -> Optional[builtins.str]:
|
|
101
102
|
"""
|
|
102
103
|
The name of the tag used to filter the list of nodes in `service`.
|
|
103
104
|
"""
|
|
@@ -119,11 +120,11 @@ class AwaitableGetServiceResult(GetServiceResult):
|
|
|
119
120
|
tag=self.tag)
|
|
120
121
|
|
|
121
122
|
|
|
122
|
-
def get_service(datacenter: Optional[str] = None,
|
|
123
|
-
filter: Optional[str] = None,
|
|
124
|
-
name: Optional[str] = None,
|
|
123
|
+
def get_service(datacenter: Optional[builtins.str] = None,
|
|
124
|
+
filter: Optional[builtins.str] = None,
|
|
125
|
+
name: Optional[builtins.str] = None,
|
|
125
126
|
query_options: Optional[Sequence[Union['GetServiceQueryOptionArgs', 'GetServiceQueryOptionArgsDict']]] = None,
|
|
126
|
-
tag: Optional[str] = None,
|
|
127
|
+
tag: Optional[builtins.str] = None,
|
|
127
128
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceResult:
|
|
128
129
|
"""
|
|
129
130
|
`Service` provides details about a specific Consul service in a
|
|
@@ -151,13 +152,13 @@ def get_service(datacenter: Optional[str] = None,
|
|
|
151
152
|
```
|
|
152
153
|
|
|
153
154
|
|
|
154
|
-
:param str datacenter: The Consul datacenter to query. Defaults to the
|
|
155
|
+
:param builtins.str datacenter: The Consul datacenter to query. Defaults to the
|
|
155
156
|
same value found in `query_options` parameter specified below, or if that is
|
|
156
157
|
empty, the `datacenter` value found in the Consul agent that this provider is
|
|
157
158
|
configured to talk to.
|
|
158
|
-
:param str name: The service name to select.
|
|
159
|
+
:param builtins.str name: The service name to select.
|
|
159
160
|
:param Sequence[Union['GetServiceQueryOptionArgs', 'GetServiceQueryOptionArgsDict']] query_options: See below.
|
|
160
|
-
:param str tag: A single tag that can be used to filter the list of nodes
|
|
161
|
+
:param builtins.str tag: A single tag that can be used to filter the list of nodes
|
|
161
162
|
to return based on a single matching tag..
|
|
162
163
|
"""
|
|
163
164
|
__args__ = dict()
|
|
@@ -177,11 +178,11 @@ def get_service(datacenter: Optional[str] = None,
|
|
|
177
178
|
query_options=pulumi.get(__ret__, 'query_options'),
|
|
178
179
|
services=pulumi.get(__ret__, 'services'),
|
|
179
180
|
tag=pulumi.get(__ret__, 'tag'))
|
|
180
|
-
def get_service_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
181
|
-
filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
182
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
181
|
+
def get_service_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
182
|
+
filter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
183
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
183
184
|
query_options: Optional[pulumi.Input[Optional[Sequence[Union['GetServiceQueryOptionArgs', 'GetServiceQueryOptionArgsDict']]]]] = None,
|
|
184
|
-
tag: Optional[pulumi.Input[Optional[str]]] = None,
|
|
185
|
+
tag: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
185
186
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceResult]:
|
|
186
187
|
"""
|
|
187
188
|
`Service` provides details about a specific Consul service in a
|
|
@@ -209,13 +210,13 @@ def get_service_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
209
210
|
```
|
|
210
211
|
|
|
211
212
|
|
|
212
|
-
:param str datacenter: The Consul datacenter to query. Defaults to the
|
|
213
|
+
:param builtins.str datacenter: The Consul datacenter to query. Defaults to the
|
|
213
214
|
same value found in `query_options` parameter specified below, or if that is
|
|
214
215
|
empty, the `datacenter` value found in the Consul agent that this provider is
|
|
215
216
|
configured to talk to.
|
|
216
|
-
:param str name: The service name to select.
|
|
217
|
+
:param builtins.str name: The service name to select.
|
|
217
218
|
:param Sequence[Union['GetServiceQueryOptionArgs', 'GetServiceQueryOptionArgsDict']] query_options: See below.
|
|
218
|
-
:param str tag: A single tag that can be used to filter the list of nodes
|
|
219
|
+
:param builtins.str tag: A single tag that can be used to filter the list of nodes
|
|
219
220
|
to return based on a single matching tag..
|
|
220
221
|
"""
|
|
221
222
|
__args__ = dict()
|