pulumi-consul 3.12.4a1739378040__py3-none-any.whl → 3.12.5__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 +144 -140
- pulumi_consul/acl_binding_rule.py +102 -98
- pulumi_consul/acl_policy.py +88 -84
- pulumi_consul/acl_role.py +74 -70
- pulumi_consul/acl_role_policy_attachment.py +32 -28
- pulumi_consul/acl_token.py +116 -112
- pulumi_consul/acl_token_policy_attachment.py +32 -28
- pulumi_consul/acl_token_role_attachment.py +32 -28
- pulumi_consul/admin_partition.py +32 -28
- pulumi_consul/agent_service.py +60 -56
- pulumi_consul/autopilot_config.py +116 -112
- pulumi_consul/catalog_entry.py +60 -56
- pulumi_consul/certificate_authority.py +38 -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 +74 -70
- pulumi_consul/config_entry_service_defaults.py +172 -168
- pulumi_consul/config_entry_service_intentions.py +60 -56
- pulumi_consul/config_entry_service_resolver.py +102 -98
- pulumi_consul/config_entry_service_router.py +60 -56
- pulumi_consul/config_entry_service_splitter.py +60 -56
- pulumi_consul/config_entry_v2_exported_services.py +116 -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 +116 -112
- pulumi_consul/key_prefix.py +88 -84
- pulumi_consul/keys.py +65 -61
- pulumi_consul/license.py +102 -98
- pulumi_consul/namespace.py +88 -84
- pulumi_consul/namespace_policy_attachment.py +32 -28
- pulumi_consul/namespace_role_attachment.py +32 -28
- pulumi_consul/network_area.py +74 -70
- pulumi_consul/node.py +84 -80
- pulumi_consul/outputs.py +1054 -1053
- pulumi_consul/peering.py +86 -82
- pulumi_consul/peering_token.py +63 -59
- pulumi_consul/prepared_query.py +186 -182
- pulumi_consul/provider.py +113 -109
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +168 -164
- {pulumi_consul-3.12.4a1739378040.dist-info → pulumi_consul-3.12.5.dist-info}/METADATA +2 -2
- pulumi_consul-3.12.5.dist-info/RECORD +72 -0
- {pulumi_consul-3.12.4a1739378040.dist-info → pulumi_consul-3.12.5.dist-info}/WHEEL +1 -1
- pulumi_consul-3.12.4a1739378040.dist-info/RECORD +0 -72
- {pulumi_consul-3.12.4a1739378040.dist-info → pulumi_consul-3.12.5.dist-info}/top_level.txt +0 -0
pulumi_consul/peering_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
|
|
@@ -19,15 +20,15 @@ __all__ = ['PeeringTokenArgs', 'PeeringToken']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class PeeringTokenArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
peer_name: pulumi.Input[str],
|
|
23
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
24
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
23
|
+
peer_name: pulumi.Input[builtins.str],
|
|
24
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
25
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
26
27
|
"""
|
|
27
28
|
The set of arguments for constructing a PeeringToken resource.
|
|
28
|
-
:param pulumi.Input[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[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[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.
|
|
29
|
+
: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.
|
|
30
|
+
: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.
|
|
31
|
+
: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.
|
|
31
32
|
"""
|
|
32
33
|
pulumi.set(__self__, "peer_name", peer_name)
|
|
33
34
|
if meta is not None:
|
|
@@ -39,64 +40,64 @@ class PeeringTokenArgs:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter(name="peerName")
|
|
42
|
-
def peer_name(self) -> pulumi.Input[str]:
|
|
43
|
+
def peer_name(self) -> pulumi.Input[builtins.str]:
|
|
43
44
|
"""
|
|
44
45
|
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.
|
|
45
46
|
"""
|
|
46
47
|
return pulumi.get(self, "peer_name")
|
|
47
48
|
|
|
48
49
|
@peer_name.setter
|
|
49
|
-
def peer_name(self, value: pulumi.Input[str]):
|
|
50
|
+
def peer_name(self, value: pulumi.Input[builtins.str]):
|
|
50
51
|
pulumi.set(self, "peer_name", value)
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
55
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
55
56
|
"""
|
|
56
57
|
Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
57
58
|
"""
|
|
58
59
|
return pulumi.get(self, "meta")
|
|
59
60
|
|
|
60
61
|
@meta.setter
|
|
61
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
62
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
62
63
|
pulumi.set(self, "meta", value)
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter
|
|
66
|
-
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
67
|
+
def partition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
67
68
|
return pulumi.get(self, "partition")
|
|
68
69
|
|
|
69
70
|
@partition.setter
|
|
70
|
-
def partition(self, value: Optional[pulumi.Input[str]]):
|
|
71
|
+
def partition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
71
72
|
pulumi.set(self, "partition", value)
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter(name="serverExternalAddresses")
|
|
75
|
-
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
76
|
+
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
76
77
|
"""
|
|
77
78
|
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.
|
|
78
79
|
"""
|
|
79
80
|
return pulumi.get(self, "server_external_addresses")
|
|
80
81
|
|
|
81
82
|
@server_external_addresses.setter
|
|
82
|
-
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
83
|
+
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
83
84
|
pulumi.set(self, "server_external_addresses", value)
|
|
84
85
|
|
|
85
86
|
|
|
86
87
|
@pulumi.input_type
|
|
87
88
|
class _PeeringTokenState:
|
|
88
89
|
def __init__(__self__, *,
|
|
89
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
90
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
91
|
-
peer_name: Optional[pulumi.Input[str]] = None,
|
|
92
|
-
peering_token: Optional[pulumi.Input[str]] = None,
|
|
93
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
90
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
91
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
92
|
+
peer_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
93
|
+
peering_token: Optional[pulumi.Input[builtins.str]] = None,
|
|
94
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
94
95
|
"""
|
|
95
96
|
Input properties used for looking up and filtering PeeringToken resources.
|
|
96
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[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[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[str] peering_token: The generated peering token
|
|
99
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
97
|
+
: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.
|
|
98
|
+
: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.
|
|
99
|
+
:param pulumi.Input[builtins.str] peering_token: The generated peering token
|
|
100
|
+
: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.
|
|
100
101
|
"""
|
|
101
102
|
if meta is not None:
|
|
102
103
|
pulumi.set(__self__, "meta", meta)
|
|
@@ -111,71 +112,74 @@ class _PeeringTokenState:
|
|
|
111
112
|
|
|
112
113
|
@property
|
|
113
114
|
@pulumi.getter
|
|
114
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
115
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
115
116
|
"""
|
|
116
117
|
Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
117
118
|
"""
|
|
118
119
|
return pulumi.get(self, "meta")
|
|
119
120
|
|
|
120
121
|
@meta.setter
|
|
121
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
122
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
122
123
|
pulumi.set(self, "meta", value)
|
|
123
124
|
|
|
124
125
|
@property
|
|
125
126
|
@pulumi.getter
|
|
126
|
-
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
127
|
+
def partition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
127
128
|
return pulumi.get(self, "partition")
|
|
128
129
|
|
|
129
130
|
@partition.setter
|
|
130
|
-
def partition(self, value: Optional[pulumi.Input[str]]):
|
|
131
|
+
def partition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
131
132
|
pulumi.set(self, "partition", value)
|
|
132
133
|
|
|
133
134
|
@property
|
|
134
135
|
@pulumi.getter(name="peerName")
|
|
135
|
-
def peer_name(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def peer_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
136
137
|
"""
|
|
137
138
|
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.
|
|
138
139
|
"""
|
|
139
140
|
return pulumi.get(self, "peer_name")
|
|
140
141
|
|
|
141
142
|
@peer_name.setter
|
|
142
|
-
def peer_name(self, value: Optional[pulumi.Input[str]]):
|
|
143
|
+
def peer_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
143
144
|
pulumi.set(self, "peer_name", value)
|
|
144
145
|
|
|
145
146
|
@property
|
|
146
147
|
@pulumi.getter(name="peeringToken")
|
|
147
|
-
def peering_token(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
def peering_token(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
148
149
|
"""
|
|
149
150
|
The generated peering token
|
|
150
151
|
"""
|
|
151
152
|
return pulumi.get(self, "peering_token")
|
|
152
153
|
|
|
153
154
|
@peering_token.setter
|
|
154
|
-
def peering_token(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def peering_token(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
155
156
|
pulumi.set(self, "peering_token", value)
|
|
156
157
|
|
|
157
158
|
@property
|
|
158
159
|
@pulumi.getter(name="serverExternalAddresses")
|
|
159
|
-
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
160
|
+
def server_external_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
160
161
|
"""
|
|
161
162
|
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.
|
|
162
163
|
"""
|
|
163
164
|
return pulumi.get(self, "server_external_addresses")
|
|
164
165
|
|
|
165
166
|
@server_external_addresses.setter
|
|
166
|
-
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
167
|
+
def server_external_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
167
168
|
pulumi.set(self, "server_external_addresses", value)
|
|
168
169
|
|
|
169
170
|
|
|
170
171
|
class PeeringToken(pulumi.CustomResource):
|
|
172
|
+
|
|
173
|
+
pulumi_type = "consul:index/peeringToken:PeeringToken"
|
|
174
|
+
|
|
171
175
|
@overload
|
|
172
176
|
def __init__(__self__,
|
|
173
177
|
resource_name: str,
|
|
174
178
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
175
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
176
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
177
|
-
peer_name: Optional[pulumi.Input[str]] = None,
|
|
178
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
179
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
180
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
181
|
+
peer_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
182
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
179
183
|
__props__=None):
|
|
180
184
|
"""
|
|
181
185
|
[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.
|
|
@@ -193,9 +197,9 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
193
197
|
|
|
194
198
|
:param str resource_name: The name of the resource.
|
|
195
199
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
196
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
197
|
-
:param pulumi.Input[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.
|
|
198
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
200
|
+
: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.
|
|
201
|
+
: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.
|
|
202
|
+
: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.
|
|
199
203
|
"""
|
|
200
204
|
...
|
|
201
205
|
@overload
|
|
@@ -232,10 +236,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
232
236
|
def _internal_init(__self__,
|
|
233
237
|
resource_name: str,
|
|
234
238
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
235
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
236
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
237
|
-
peer_name: Optional[pulumi.Input[str]] = None,
|
|
238
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
239
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
240
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
241
|
+
peer_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
242
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
239
243
|
__props__=None):
|
|
240
244
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
241
245
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -264,11 +268,11 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
264
268
|
def get(resource_name: str,
|
|
265
269
|
id: pulumi.Input[str],
|
|
266
270
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
267
|
-
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
268
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
269
|
-
peer_name: Optional[pulumi.Input[str]] = None,
|
|
270
|
-
peering_token: Optional[pulumi.Input[str]] = None,
|
|
271
|
-
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'PeeringToken':
|
|
271
|
+
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
272
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
273
|
+
peer_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
274
|
+
peering_token: Optional[pulumi.Input[builtins.str]] = None,
|
|
275
|
+
server_external_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'PeeringToken':
|
|
272
276
|
"""
|
|
273
277
|
Get an existing PeeringToken resource's state with the given name, id, and optional extra
|
|
274
278
|
properties used to qualify the lookup.
|
|
@@ -276,10 +280,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
276
280
|
:param str resource_name: The unique name of the resulting resource.
|
|
277
281
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
278
282
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
279
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
280
|
-
:param pulumi.Input[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.
|
|
281
|
-
:param pulumi.Input[str] peering_token: The generated peering token
|
|
282
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
283
|
+
: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.
|
|
284
|
+
: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.
|
|
285
|
+
:param pulumi.Input[builtins.str] peering_token: The generated peering token
|
|
286
|
+
: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.
|
|
283
287
|
"""
|
|
284
288
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
285
289
|
|
|
@@ -294,7 +298,7 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
294
298
|
|
|
295
299
|
@property
|
|
296
300
|
@pulumi.getter
|
|
297
|
-
def meta(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
301
|
+
def meta(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
298
302
|
"""
|
|
299
303
|
Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
300
304
|
"""
|
|
@@ -302,12 +306,12 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
302
306
|
|
|
303
307
|
@property
|
|
304
308
|
@pulumi.getter
|
|
305
|
-
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
309
|
+
def partition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
306
310
|
return pulumi.get(self, "partition")
|
|
307
311
|
|
|
308
312
|
@property
|
|
309
313
|
@pulumi.getter(name="peerName")
|
|
310
|
-
def peer_name(self) -> pulumi.Output[str]:
|
|
314
|
+
def peer_name(self) -> pulumi.Output[builtins.str]:
|
|
311
315
|
"""
|
|
312
316
|
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.
|
|
313
317
|
"""
|
|
@@ -315,7 +319,7 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
315
319
|
|
|
316
320
|
@property
|
|
317
321
|
@pulumi.getter(name="peeringToken")
|
|
318
|
-
def peering_token(self) -> pulumi.Output[str]:
|
|
322
|
+
def peering_token(self) -> pulumi.Output[builtins.str]:
|
|
319
323
|
"""
|
|
320
324
|
The generated peering token
|
|
321
325
|
"""
|
|
@@ -323,7 +327,7 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
323
327
|
|
|
324
328
|
@property
|
|
325
329
|
@pulumi.getter(name="serverExternalAddresses")
|
|
326
|
-
def server_external_addresses(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
330
|
+
def server_external_addresses(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
327
331
|
"""
|
|
328
332
|
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.
|
|
329
333
|
"""
|