pulumi-consul 3.13.0a1743485707__py3-none-any.whl → 3.13.0a1744182998__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.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/METADATA +1 -1
- pulumi_consul-3.13.0a1744182998.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1743485707.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.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,59 +112,59 @@ 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
|
|
|
@@ -172,10 +173,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
172
173
|
def __init__(__self__,
|
|
173
174
|
resource_name: str,
|
|
174
175
|
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,
|
|
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,
|
|
179
180
|
__props__=None):
|
|
180
181
|
"""
|
|
181
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.
|
|
@@ -193,9 +194,9 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
193
194
|
|
|
194
195
|
:param str resource_name: The name of the resource.
|
|
195
196
|
: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.
|
|
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.
|
|
199
200
|
"""
|
|
200
201
|
...
|
|
201
202
|
@overload
|
|
@@ -232,10 +233,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
232
233
|
def _internal_init(__self__,
|
|
233
234
|
resource_name: str,
|
|
234
235
|
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,
|
|
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,
|
|
239
240
|
__props__=None):
|
|
240
241
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
241
242
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -264,11 +265,11 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
264
265
|
def get(resource_name: str,
|
|
265
266
|
id: pulumi.Input[str],
|
|
266
267
|
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':
|
|
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':
|
|
272
273
|
"""
|
|
273
274
|
Get an existing PeeringToken resource's state with the given name, id, and optional extra
|
|
274
275
|
properties used to qualify the lookup.
|
|
@@ -276,10 +277,10 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
276
277
|
:param str resource_name: The unique name of the resulting resource.
|
|
277
278
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
278
279
|
: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.
|
|
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.
|
|
283
284
|
"""
|
|
284
285
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
285
286
|
|
|
@@ -294,7 +295,7 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
294
295
|
|
|
295
296
|
@property
|
|
296
297
|
@pulumi.getter
|
|
297
|
-
def meta(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
298
|
+
def meta(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
298
299
|
"""
|
|
299
300
|
Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
|
|
300
301
|
"""
|
|
@@ -302,12 +303,12 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
302
303
|
|
|
303
304
|
@property
|
|
304
305
|
@pulumi.getter
|
|
305
|
-
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
306
|
+
def partition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
306
307
|
return pulumi.get(self, "partition")
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter(name="peerName")
|
|
310
|
-
def peer_name(self) -> pulumi.Output[str]:
|
|
311
|
+
def peer_name(self) -> pulumi.Output[builtins.str]:
|
|
311
312
|
"""
|
|
312
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.
|
|
313
314
|
"""
|
|
@@ -315,7 +316,7 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
315
316
|
|
|
316
317
|
@property
|
|
317
318
|
@pulumi.getter(name="peeringToken")
|
|
318
|
-
def peering_token(self) -> pulumi.Output[str]:
|
|
319
|
+
def peering_token(self) -> pulumi.Output[builtins.str]:
|
|
319
320
|
"""
|
|
320
321
|
The generated peering token
|
|
321
322
|
"""
|
|
@@ -323,7 +324,7 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
323
324
|
|
|
324
325
|
@property
|
|
325
326
|
@pulumi.getter(name="serverExternalAddresses")
|
|
326
|
-
def server_external_addresses(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
327
|
+
def server_external_addresses(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
327
328
|
"""
|
|
328
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.
|
|
329
330
|
"""
|