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
pulumi_consul/peering_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
|
|
@@ -20,15 +19,15 @@ __all__ = ['PeeringTokenArgs', 'PeeringToken']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class PeeringTokenArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
peer_name: pulumi.Input[
|
|
24
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
25
|
-
partition: Optional[pulumi.Input[
|
|
26
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
22
|
+
peer_name: pulumi.Input[_builtins.str],
|
|
23
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
24
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a PeeringToken resource.
|
|
29
|
-
:param pulumi.Input[
|
|
30
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
31
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
28
|
+
:param pulumi.Input[_builtins.str] peer_name: The name assigned to the peer cluster. The `peer_name` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
|
|
29
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
30
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] server_external_addresses: The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
|
|
32
31
|
"""
|
|
33
32
|
pulumi.set(__self__, "peer_name", peer_name)
|
|
34
33
|
if meta is not None:
|
|
@@ -38,66 +37,66 @@ class PeeringTokenArgs:
|
|
|
38
37
|
if server_external_addresses is not None:
|
|
39
38
|
pulumi.set(__self__, "server_external_addresses", server_external_addresses)
|
|
40
39
|
|
|
41
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
42
41
|
@pulumi.getter(name="peerName")
|
|
43
|
-
def peer_name(self) -> pulumi.Input[
|
|
42
|
+
def peer_name(self) -> pulumi.Input[_builtins.str]:
|
|
44
43
|
"""
|
|
45
44
|
The name assigned to the peer cluster. The `peer_name` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
|
|
46
45
|
"""
|
|
47
46
|
return pulumi.get(self, "peer_name")
|
|
48
47
|
|
|
49
48
|
@peer_name.setter
|
|
50
|
-
def peer_name(self, value: pulumi.Input[
|
|
49
|
+
def peer_name(self, value: pulumi.Input[_builtins.str]):
|
|
51
50
|
pulumi.set(self, "peer_name", value)
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter
|
|
55
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
54
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
56
55
|
"""
|
|
57
56
|
Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
58
57
|
"""
|
|
59
58
|
return pulumi.get(self, "meta")
|
|
60
59
|
|
|
61
60
|
@meta.setter
|
|
62
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
61
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
63
62
|
pulumi.set(self, "meta", value)
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter
|
|
67
|
-
def partition(self) -> Optional[pulumi.Input[
|
|
66
|
+
def partition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
68
67
|
return pulumi.get(self, "partition")
|
|
69
68
|
|
|
70
69
|
@partition.setter
|
|
71
|
-
def partition(self, value: Optional[pulumi.Input[
|
|
70
|
+
def partition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
72
71
|
pulumi.set(self, "partition", value)
|
|
73
72
|
|
|
74
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
75
74
|
@pulumi.getter(name="serverExternalAddresses")
|
|
76
|
-
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
75
|
+
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
77
76
|
"""
|
|
78
77
|
The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
|
|
79
78
|
"""
|
|
80
79
|
return pulumi.get(self, "server_external_addresses")
|
|
81
80
|
|
|
82
81
|
@server_external_addresses.setter
|
|
83
|
-
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
82
|
+
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
84
83
|
pulumi.set(self, "server_external_addresses", value)
|
|
85
84
|
|
|
86
85
|
|
|
87
86
|
@pulumi.input_type
|
|
88
87
|
class _PeeringTokenState:
|
|
89
88
|
def __init__(__self__, *,
|
|
90
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
91
|
-
partition: Optional[pulumi.Input[
|
|
92
|
-
peer_name: Optional[pulumi.Input[
|
|
93
|
-
peering_token: Optional[pulumi.Input[
|
|
94
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
89
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
90
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
91
|
+
peer_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
92
|
+
peering_token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
95
94
|
"""
|
|
96
95
|
Input properties used for looking up and filtering PeeringToken resources.
|
|
97
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
98
|
-
:param pulumi.Input[
|
|
99
|
-
:param pulumi.Input[
|
|
100
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
96
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
97
|
+
:param pulumi.Input[_builtins.str] peer_name: The name assigned to the peer cluster. The `peer_name` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
|
|
98
|
+
:param pulumi.Input[_builtins.str] peering_token: The generated peering token
|
|
99
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] server_external_addresses: The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
|
|
101
100
|
"""
|
|
102
101
|
if meta is not None:
|
|
103
102
|
pulumi.set(__self__, "meta", meta)
|
|
@@ -110,61 +109,61 @@ class _PeeringTokenState:
|
|
|
110
109
|
if server_external_addresses is not None:
|
|
111
110
|
pulumi.set(__self__, "server_external_addresses", server_external_addresses)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter
|
|
115
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
114
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
116
115
|
"""
|
|
117
116
|
Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "meta")
|
|
120
119
|
|
|
121
120
|
@meta.setter
|
|
122
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
121
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
123
122
|
pulumi.set(self, "meta", value)
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter
|
|
127
|
-
def partition(self) -> Optional[pulumi.Input[
|
|
126
|
+
def partition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
127
|
return pulumi.get(self, "partition")
|
|
129
128
|
|
|
130
129
|
@partition.setter
|
|
131
|
-
def partition(self, value: Optional[pulumi.Input[
|
|
130
|
+
def partition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
132
131
|
pulumi.set(self, "partition", value)
|
|
133
132
|
|
|
134
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
135
134
|
@pulumi.getter(name="peerName")
|
|
136
|
-
def peer_name(self) -> Optional[pulumi.Input[
|
|
135
|
+
def peer_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
136
|
"""
|
|
138
137
|
The name assigned to the peer cluster. The `peer_name` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
|
|
139
138
|
"""
|
|
140
139
|
return pulumi.get(self, "peer_name")
|
|
141
140
|
|
|
142
141
|
@peer_name.setter
|
|
143
|
-
def peer_name(self, value: Optional[pulumi.Input[
|
|
142
|
+
def peer_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
144
143
|
pulumi.set(self, "peer_name", value)
|
|
145
144
|
|
|
146
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
147
146
|
@pulumi.getter(name="peeringToken")
|
|
148
|
-
def peering_token(self) -> Optional[pulumi.Input[
|
|
147
|
+
def peering_token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
149
148
|
"""
|
|
150
149
|
The generated peering token
|
|
151
150
|
"""
|
|
152
151
|
return pulumi.get(self, "peering_token")
|
|
153
152
|
|
|
154
153
|
@peering_token.setter
|
|
155
|
-
def peering_token(self, value: Optional[pulumi.Input[
|
|
154
|
+
def peering_token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
156
155
|
pulumi.set(self, "peering_token", value)
|
|
157
156
|
|
|
158
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
159
158
|
@pulumi.getter(name="serverExternalAddresses")
|
|
160
|
-
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
159
|
+
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
161
160
|
"""
|
|
162
161
|
The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
|
|
163
162
|
"""
|
|
164
163
|
return pulumi.get(self, "server_external_addresses")
|
|
165
164
|
|
|
166
165
|
@server_external_addresses.setter
|
|
167
|
-
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
166
|
+
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
168
167
|
pulumi.set(self, "server_external_addresses", value)
|
|
169
168
|
|
|
170
169
|
|
|
@@ -174,10 +173,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
174
173
|
def __init__(__self__,
|
|
175
174
|
resource_name: str,
|
|
176
175
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
177
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
178
|
-
partition: Optional[pulumi.Input[
|
|
179
|
-
peer_name: Optional[pulumi.Input[
|
|
180
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
176
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
177
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
178
|
+
peer_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
179
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
181
180
|
__props__=None):
|
|
182
181
|
"""
|
|
183
182
|
[Cluster Peering](https://www.consul.io/docs/connect/cluster-peering) can be used to create connections between two or more independent clusters so that services deployed to different partitions or datacenters can communicate.
|
|
@@ -195,9 +194,9 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
195
194
|
|
|
196
195
|
:param str resource_name: The name of the resource.
|
|
197
196
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
199
|
-
:param pulumi.Input[
|
|
200
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
197
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
198
|
+
:param pulumi.Input[_builtins.str] peer_name: The name assigned to the peer cluster. The `peer_name` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
|
|
199
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] server_external_addresses: The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
|
|
201
200
|
"""
|
|
202
201
|
...
|
|
203
202
|
@overload
|
|
@@ -234,10 +233,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
234
233
|
def _internal_init(__self__,
|
|
235
234
|
resource_name: str,
|
|
236
235
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
237
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
238
|
-
partition: Optional[pulumi.Input[
|
|
239
|
-
peer_name: Optional[pulumi.Input[
|
|
240
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
236
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
237
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
peer_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
239
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
241
240
|
__props__=None):
|
|
242
241
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
243
242
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -266,11 +265,11 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
266
265
|
def get(resource_name: str,
|
|
267
266
|
id: pulumi.Input[str],
|
|
268
267
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
269
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
270
|
-
partition: Optional[pulumi.Input[
|
|
271
|
-
peer_name: Optional[pulumi.Input[
|
|
272
|
-
peering_token: Optional[pulumi.Input[
|
|
273
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
268
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
269
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
270
|
+
peer_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
271
|
+
peering_token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
272
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'PeeringToken':
|
|
274
273
|
"""
|
|
275
274
|
Get an existing PeeringToken resource's state with the given name, id, and optional extra
|
|
276
275
|
properties used to qualify the lookup.
|
|
@@ -278,10 +277,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
278
277
|
:param str resource_name: The unique name of the resulting resource.
|
|
279
278
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
280
279
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
281
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
282
|
-
:param pulumi.Input[
|
|
283
|
-
:param pulumi.Input[
|
|
284
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
280
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
281
|
+
:param pulumi.Input[_builtins.str] peer_name: The name assigned to the peer cluster. The `peer_name` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
|
|
282
|
+
:param pulumi.Input[_builtins.str] peering_token: The generated peering token
|
|
283
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] server_external_addresses: The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
|
|
285
284
|
"""
|
|
286
285
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
287
286
|
|
|
@@ -294,38 +293,38 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
294
293
|
__props__.__dict__["server_external_addresses"] = server_external_addresses
|
|
295
294
|
return PeeringToken(resource_name, opts=opts, __props__=__props__)
|
|
296
295
|
|
|
297
|
-
@property
|
|
296
|
+
@_builtins.property
|
|
298
297
|
@pulumi.getter
|
|
299
|
-
def meta(self) -> pulumi.Output[Optional[Mapping[str,
|
|
298
|
+
def meta(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
300
299
|
"""
|
|
301
300
|
Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
302
301
|
"""
|
|
303
302
|
return pulumi.get(self, "meta")
|
|
304
303
|
|
|
305
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
306
305
|
@pulumi.getter
|
|
307
|
-
def partition(self) -> pulumi.Output[Optional[
|
|
306
|
+
def partition(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
308
307
|
return pulumi.get(self, "partition")
|
|
309
308
|
|
|
310
|
-
@property
|
|
309
|
+
@_builtins.property
|
|
311
310
|
@pulumi.getter(name="peerName")
|
|
312
|
-
def peer_name(self) -> pulumi.Output[
|
|
311
|
+
def peer_name(self) -> pulumi.Output[_builtins.str]:
|
|
313
312
|
"""
|
|
314
313
|
The name assigned to the peer cluster. The `peer_name` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
|
|
315
314
|
"""
|
|
316
315
|
return pulumi.get(self, "peer_name")
|
|
317
316
|
|
|
318
|
-
@property
|
|
317
|
+
@_builtins.property
|
|
319
318
|
@pulumi.getter(name="peeringToken")
|
|
320
|
-
def peering_token(self) -> pulumi.Output[
|
|
319
|
+
def peering_token(self) -> pulumi.Output[_builtins.str]:
|
|
321
320
|
"""
|
|
322
321
|
The generated peering token
|
|
323
322
|
"""
|
|
324
323
|
return pulumi.get(self, "peering_token")
|
|
325
324
|
|
|
326
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
327
326
|
@pulumi.getter(name="serverExternalAddresses")
|
|
328
|
-
def server_external_addresses(self) -> pulumi.Output[Optional[Sequence[
|
|
327
|
+
def server_external_addresses(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
329
328
|
"""
|
|
330
329
|
The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
|
|
331
330
|
"""
|