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
|
@@ -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
|
|
@@ -55,7 +56,7 @@ class GetCatalogServiceResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def datacenter(self) -> Optional[str]:
|
|
59
|
+
def datacenter(self) -> Optional[builtins.str]:
|
|
59
60
|
"""
|
|
60
61
|
The datacenter the keys are being read from to.
|
|
61
62
|
"""
|
|
@@ -63,12 +64,12 @@ class GetCatalogServiceResult:
|
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter
|
|
66
|
-
def filter(self) -> Optional[str]:
|
|
67
|
+
def filter(self) -> Optional[builtins.str]:
|
|
67
68
|
return pulumi.get(self, "filter")
|
|
68
69
|
|
|
69
70
|
@property
|
|
70
71
|
@pulumi.getter
|
|
71
|
-
def id(self) -> str:
|
|
72
|
+
def id(self) -> builtins.str:
|
|
72
73
|
"""
|
|
73
74
|
The provider-assigned unique ID for this managed resource.
|
|
74
75
|
"""
|
|
@@ -76,7 +77,7 @@ class GetCatalogServiceResult:
|
|
|
76
77
|
|
|
77
78
|
@property
|
|
78
79
|
@pulumi.getter
|
|
79
|
-
def name(self) -> str:
|
|
80
|
+
def name(self) -> builtins.str:
|
|
80
81
|
"""
|
|
81
82
|
The name of the service
|
|
82
83
|
"""
|
|
@@ -99,7 +100,7 @@ class GetCatalogServiceResult:
|
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter
|
|
102
|
-
def tag(self) -> Optional[str]:
|
|
103
|
+
def tag(self) -> Optional[builtins.str]:
|
|
103
104
|
"""
|
|
104
105
|
The name of the tag used to filter the list of nodes in `service`.
|
|
105
106
|
"""
|
|
@@ -121,11 +122,11 @@ class AwaitableGetCatalogServiceResult(GetCatalogServiceResult):
|
|
|
121
122
|
tag=self.tag)
|
|
122
123
|
|
|
123
124
|
|
|
124
|
-
def get_catalog_service(datacenter: Optional[str] = None,
|
|
125
|
-
filter: Optional[str] = None,
|
|
126
|
-
name: Optional[str] = None,
|
|
125
|
+
def get_catalog_service(datacenter: Optional[builtins.str] = None,
|
|
126
|
+
filter: Optional[builtins.str] = None,
|
|
127
|
+
name: Optional[builtins.str] = None,
|
|
127
128
|
query_options: Optional[Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']]] = None,
|
|
128
|
-
tag: Optional[str] = None,
|
|
129
|
+
tag: Optional[builtins.str] = None,
|
|
129
130
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogServiceResult:
|
|
130
131
|
"""
|
|
131
132
|
`Service` provides details about a specific Consul service in a
|
|
@@ -153,13 +154,13 @@ def get_catalog_service(datacenter: Optional[str] = None,
|
|
|
153
154
|
```
|
|
154
155
|
|
|
155
156
|
|
|
156
|
-
:param str datacenter: The Consul datacenter to query. Defaults to the
|
|
157
|
+
:param builtins.str datacenter: The Consul datacenter to query. Defaults to the
|
|
157
158
|
same value found in `query_options` parameter specified below, or if that is
|
|
158
159
|
empty, the `datacenter` value found in the Consul agent that this provider is
|
|
159
160
|
configured to talk to.
|
|
160
|
-
:param str name: The service name to select.
|
|
161
|
+
:param builtins.str name: The service name to select.
|
|
161
162
|
:param Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']] query_options: See below.
|
|
162
|
-
:param str tag: A single tag that can be used to filter the list of nodes
|
|
163
|
+
:param builtins.str tag: A single tag that can be used to filter the list of nodes
|
|
163
164
|
to return based on a single matching tag..
|
|
164
165
|
"""
|
|
165
166
|
pulumi.log.warn("""get_catalog_service is deprecated: getCatalogService has been deprecated in favor of getService""")
|
|
@@ -180,11 +181,11 @@ def get_catalog_service(datacenter: Optional[str] = None,
|
|
|
180
181
|
query_options=pulumi.get(__ret__, 'query_options'),
|
|
181
182
|
services=pulumi.get(__ret__, 'services'),
|
|
182
183
|
tag=pulumi.get(__ret__, 'tag'))
|
|
183
|
-
def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
184
|
-
filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
185
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
184
|
+
def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
185
|
+
filter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
186
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
186
187
|
query_options: Optional[pulumi.Input[Optional[Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']]]]] = None,
|
|
187
|
-
tag: Optional[pulumi.Input[Optional[str]]] = None,
|
|
188
|
+
tag: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
188
189
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCatalogServiceResult]:
|
|
189
190
|
"""
|
|
190
191
|
`Service` provides details about a specific Consul service in a
|
|
@@ -212,13 +213,13 @@ def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[str]]]
|
|
|
212
213
|
```
|
|
213
214
|
|
|
214
215
|
|
|
215
|
-
:param str datacenter: The Consul datacenter to query. Defaults to the
|
|
216
|
+
:param builtins.str datacenter: The Consul datacenter to query. Defaults to the
|
|
216
217
|
same value found in `query_options` parameter specified below, or if that is
|
|
217
218
|
empty, the `datacenter` value found in the Consul agent that this provider is
|
|
218
219
|
configured to talk to.
|
|
219
|
-
:param str name: The service name to select.
|
|
220
|
+
:param builtins.str name: The service name to select.
|
|
220
221
|
:param Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']] query_options: See below.
|
|
221
|
-
:param str tag: A single tag that can be used to filter the list of nodes
|
|
222
|
+
:param builtins.str tag: A single tag that can be used to filter the list of nodes
|
|
222
223
|
to return based on a single matching tag..
|
|
223
224
|
"""
|
|
224
225
|
pulumi.log.warn("""get_catalog_service is deprecated: getCatalogService has been deprecated in favor of getService""")
|
|
@@ -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
|
|
@@ -52,7 +53,7 @@ class GetCatalogServicesResult:
|
|
|
52
53
|
|
|
53
54
|
@property
|
|
54
55
|
@pulumi.getter
|
|
55
|
-
def datacenter(self) -> str:
|
|
56
|
+
def datacenter(self) -> builtins.str:
|
|
56
57
|
"""
|
|
57
58
|
The datacenter the keys are being read from to.
|
|
58
59
|
"""
|
|
@@ -60,7 +61,7 @@ class GetCatalogServicesResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def id(self) -> str:
|
|
64
|
+
def id(self) -> builtins.str:
|
|
64
65
|
"""
|
|
65
66
|
The provider-assigned unique ID for this managed resource.
|
|
66
67
|
"""
|
|
@@ -68,7 +69,7 @@ class GetCatalogServicesResult:
|
|
|
68
69
|
|
|
69
70
|
@property
|
|
70
71
|
@pulumi.getter
|
|
71
|
-
def names(self) -> Sequence[str]:
|
|
72
|
+
def names(self) -> Sequence[builtins.str]:
|
|
72
73
|
return pulumi.get(self, "names")
|
|
73
74
|
|
|
74
75
|
@property
|
|
@@ -78,12 +79,12 @@ class GetCatalogServicesResult:
|
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def services(self) -> Mapping[str, str]:
|
|
82
|
+
def services(self) -> Mapping[str, builtins.str]:
|
|
82
83
|
return pulumi.get(self, "services")
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter
|
|
86
|
-
def tags(self) -> Mapping[str, str]:
|
|
87
|
+
def tags(self) -> Mapping[str, builtins.str]:
|
|
87
88
|
"""
|
|
88
89
|
A map of the tags found for each service. If more than one service
|
|
89
90
|
shares the same tag, unique service names will be joined by whitespace (this
|
|
@@ -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
|
|
@@ -48,7 +49,7 @@ class GetConfigEntryResult:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter(name="configJson")
|
|
51
|
-
def config_json(self) -> str:
|
|
52
|
+
def config_json(self) -> builtins.str:
|
|
52
53
|
"""
|
|
53
54
|
The configuration of the config entry.
|
|
54
55
|
"""
|
|
@@ -56,7 +57,7 @@ class GetConfigEntryResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter
|
|
59
|
-
def id(self) -> str:
|
|
60
|
+
def id(self) -> builtins.str:
|
|
60
61
|
"""
|
|
61
62
|
The provider-assigned unique ID for this managed resource.
|
|
62
63
|
"""
|
|
@@ -64,7 +65,7 @@ class GetConfigEntryResult:
|
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def kind(self) -> str:
|
|
68
|
+
def kind(self) -> builtins.str:
|
|
68
69
|
"""
|
|
69
70
|
The kind of config entry to read.
|
|
70
71
|
"""
|
|
@@ -72,7 +73,7 @@ class GetConfigEntryResult:
|
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter
|
|
75
|
-
def name(self) -> str:
|
|
76
|
+
def name(self) -> builtins.str:
|
|
76
77
|
"""
|
|
77
78
|
The name of the config entry to read.
|
|
78
79
|
"""
|
|
@@ -80,7 +81,7 @@ class GetConfigEntryResult:
|
|
|
80
81
|
|
|
81
82
|
@property
|
|
82
83
|
@pulumi.getter
|
|
83
|
-
def namespace(self) -> Optional[str]:
|
|
84
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
84
85
|
"""
|
|
85
86
|
The namespace the config entry is associated with.
|
|
86
87
|
"""
|
|
@@ -88,7 +89,7 @@ class GetConfigEntryResult:
|
|
|
88
89
|
|
|
89
90
|
@property
|
|
90
91
|
@pulumi.getter
|
|
91
|
-
def partition(self) -> Optional[str]:
|
|
92
|
+
def partition(self) -> Optional[builtins.str]:
|
|
92
93
|
"""
|
|
93
94
|
The partition the config entry is associated with.
|
|
94
95
|
"""
|
|
@@ -109,18 +110,18 @@ class AwaitableGetConfigEntryResult(GetConfigEntryResult):
|
|
|
109
110
|
partition=self.partition)
|
|
110
111
|
|
|
111
112
|
|
|
112
|
-
def get_config_entry(kind: Optional[str] = None,
|
|
113
|
-
name: Optional[str] = None,
|
|
114
|
-
namespace: Optional[str] = None,
|
|
115
|
-
partition: Optional[str] = None,
|
|
113
|
+
def get_config_entry(kind: Optional[builtins.str] = None,
|
|
114
|
+
name: Optional[builtins.str] = None,
|
|
115
|
+
namespace: Optional[builtins.str] = None,
|
|
116
|
+
partition: Optional[builtins.str] = None,
|
|
116
117
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigEntryResult:
|
|
117
118
|
"""
|
|
118
119
|
Use this data source to access information about an existing resource.
|
|
119
120
|
|
|
120
|
-
:param str kind: The kind of config entry to read.
|
|
121
|
-
:param str name: The name of the config entry to read.
|
|
122
|
-
:param str namespace: The namespace the config entry is associated with.
|
|
123
|
-
:param str partition: The partition the config entry is associated with.
|
|
121
|
+
:param builtins.str kind: The kind of config entry to read.
|
|
122
|
+
:param builtins.str name: The name of the config entry to read.
|
|
123
|
+
:param builtins.str namespace: The namespace the config entry is associated with.
|
|
124
|
+
:param builtins.str partition: The partition the config entry is associated with.
|
|
124
125
|
"""
|
|
125
126
|
__args__ = dict()
|
|
126
127
|
__args__['kind'] = kind
|
|
@@ -137,18 +138,18 @@ def get_config_entry(kind: Optional[str] = None,
|
|
|
137
138
|
name=pulumi.get(__ret__, 'name'),
|
|
138
139
|
namespace=pulumi.get(__ret__, 'namespace'),
|
|
139
140
|
partition=pulumi.get(__ret__, 'partition'))
|
|
140
|
-
def get_config_entry_output(kind: Optional[pulumi.Input[str]] = None,
|
|
141
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
142
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
143
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
141
|
+
def get_config_entry_output(kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
142
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
143
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
144
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
144
145
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConfigEntryResult]:
|
|
145
146
|
"""
|
|
146
147
|
Use this data source to access information about an existing resource.
|
|
147
148
|
|
|
148
|
-
:param str kind: The kind of config entry to read.
|
|
149
|
-
:param str name: The name of the config entry to read.
|
|
150
|
-
:param str namespace: The namespace the config entry is associated with.
|
|
151
|
-
:param str partition: The partition the config entry is associated with.
|
|
149
|
+
:param builtins.str kind: The kind of config entry to read.
|
|
150
|
+
:param builtins.str name: The name of the config entry to read.
|
|
151
|
+
:param builtins.str namespace: The namespace the config entry is associated with.
|
|
152
|
+
:param builtins.str partition: The partition the config entry is associated with.
|
|
152
153
|
"""
|
|
153
154
|
__args__ = dict()
|
|
154
155
|
__args__['kind'] = kind
|
|
@@ -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
|
|
@@ -57,7 +58,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
57
58
|
|
|
58
59
|
@property
|
|
59
60
|
@pulumi.getter
|
|
60
|
-
def id(self) -> str:
|
|
61
|
+
def id(self) -> builtins.str:
|
|
61
62
|
"""
|
|
62
63
|
The provider-assigned unique ID for this managed resource.
|
|
63
64
|
"""
|
|
@@ -65,7 +66,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter
|
|
68
|
-
def kind(self) -> str:
|
|
69
|
+
def kind(self) -> builtins.str:
|
|
69
70
|
"""
|
|
70
71
|
The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
|
|
71
72
|
"""
|
|
@@ -73,7 +74,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter
|
|
76
|
-
def name(self) -> str:
|
|
77
|
+
def name(self) -> builtins.str:
|
|
77
78
|
"""
|
|
78
79
|
The name of the config entry to read.
|
|
79
80
|
"""
|
|
@@ -81,7 +82,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
81
82
|
|
|
82
83
|
@property
|
|
83
84
|
@pulumi.getter
|
|
84
|
-
def namespace(self) -> Optional[str]:
|
|
85
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
85
86
|
"""
|
|
86
87
|
The namespace the config entry is associated with.
|
|
87
88
|
"""
|
|
@@ -89,7 +90,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
89
90
|
|
|
90
91
|
@property
|
|
91
92
|
@pulumi.getter
|
|
92
|
-
def partition(self) -> Optional[str]:
|
|
93
|
+
def partition(self) -> Optional[builtins.str]:
|
|
93
94
|
"""
|
|
94
95
|
The partition the config entry is associated with.
|
|
95
96
|
"""
|
|
@@ -97,7 +98,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
97
98
|
|
|
98
99
|
@property
|
|
99
100
|
@pulumi.getter(name="partitionConsumers")
|
|
100
|
-
def partition_consumers(self) -> Optional[Sequence[str]]:
|
|
101
|
+
def partition_consumers(self) -> Optional[Sequence[builtins.str]]:
|
|
101
102
|
"""
|
|
102
103
|
The exported service partition consumers.
|
|
103
104
|
"""
|
|
@@ -105,7 +106,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
105
106
|
|
|
106
107
|
@property
|
|
107
108
|
@pulumi.getter(name="peerConsumers")
|
|
108
|
-
def peer_consumers(self) -> Optional[Sequence[str]]:
|
|
109
|
+
def peer_consumers(self) -> Optional[Sequence[builtins.str]]:
|
|
109
110
|
"""
|
|
110
111
|
The exported service peer consumers.
|
|
111
112
|
"""
|
|
@@ -113,7 +114,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
113
114
|
|
|
114
115
|
@property
|
|
115
116
|
@pulumi.getter(name="samenessGroupConsumers")
|
|
116
|
-
def sameness_group_consumers(self) -> Optional[Sequence[str]]:
|
|
117
|
+
def sameness_group_consumers(self) -> Optional[Sequence[builtins.str]]:
|
|
117
118
|
"""
|
|
118
119
|
The exported service sameness group consumers.
|
|
119
120
|
"""
|
|
@@ -121,7 +122,7 @@ class GetConfigEntryV2ExportedServicesResult:
|
|
|
121
122
|
|
|
122
123
|
@property
|
|
123
124
|
@pulumi.getter
|
|
124
|
-
def services(self) -> Optional[Sequence[str]]:
|
|
125
|
+
def services(self) -> Optional[Sequence[builtins.str]]:
|
|
125
126
|
"""
|
|
126
127
|
The exported services.
|
|
127
128
|
"""
|
|
@@ -145,26 +146,26 @@ class AwaitableGetConfigEntryV2ExportedServicesResult(GetConfigEntryV2ExportedSe
|
|
|
145
146
|
services=self.services)
|
|
146
147
|
|
|
147
148
|
|
|
148
|
-
def get_config_entry_v2_exported_services(kind: Optional[str] = None,
|
|
149
|
-
name: Optional[str] = None,
|
|
150
|
-
namespace: Optional[str] = None,
|
|
151
|
-
partition: Optional[str] = None,
|
|
152
|
-
partition_consumers: Optional[Sequence[str]] = None,
|
|
153
|
-
peer_consumers: Optional[Sequence[str]] = None,
|
|
154
|
-
sameness_group_consumers: Optional[Sequence[str]] = None,
|
|
155
|
-
services: Optional[Sequence[str]] = None,
|
|
149
|
+
def get_config_entry_v2_exported_services(kind: Optional[builtins.str] = None,
|
|
150
|
+
name: Optional[builtins.str] = None,
|
|
151
|
+
namespace: Optional[builtins.str] = None,
|
|
152
|
+
partition: Optional[builtins.str] = None,
|
|
153
|
+
partition_consumers: Optional[Sequence[builtins.str]] = None,
|
|
154
|
+
peer_consumers: Optional[Sequence[builtins.str]] = None,
|
|
155
|
+
sameness_group_consumers: Optional[Sequence[builtins.str]] = None,
|
|
156
|
+
services: Optional[Sequence[builtins.str]] = None,
|
|
156
157
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigEntryV2ExportedServicesResult:
|
|
157
158
|
"""
|
|
158
159
|
Use this data source to access information about an existing resource.
|
|
159
160
|
|
|
160
|
-
:param str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
|
|
161
|
-
:param str name: The name of the config entry to read.
|
|
162
|
-
:param str namespace: The namespace the config entry is associated with.
|
|
163
|
-
:param str partition: The partition the config entry is associated with.
|
|
164
|
-
:param Sequence[str] partition_consumers: The exported service partition consumers.
|
|
165
|
-
:param Sequence[str] peer_consumers: The exported service peer consumers.
|
|
166
|
-
:param Sequence[str] sameness_group_consumers: The exported service sameness group consumers.
|
|
167
|
-
:param Sequence[str] services: The exported services.
|
|
161
|
+
:param builtins.str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
|
|
162
|
+
:param builtins.str name: The name of the config entry to read.
|
|
163
|
+
:param builtins.str namespace: The namespace the config entry is associated with.
|
|
164
|
+
:param builtins.str partition: The partition the config entry is associated with.
|
|
165
|
+
:param Sequence[builtins.str] partition_consumers: The exported service partition consumers.
|
|
166
|
+
:param Sequence[builtins.str] peer_consumers: The exported service peer consumers.
|
|
167
|
+
:param Sequence[builtins.str] sameness_group_consumers: The exported service sameness group consumers.
|
|
168
|
+
:param Sequence[builtins.str] services: The exported services.
|
|
168
169
|
"""
|
|
169
170
|
__args__ = dict()
|
|
170
171
|
__args__['kind'] = kind
|
|
@@ -188,26 +189,26 @@ def get_config_entry_v2_exported_services(kind: Optional[str] = None,
|
|
|
188
189
|
peer_consumers=pulumi.get(__ret__, 'peer_consumers'),
|
|
189
190
|
sameness_group_consumers=pulumi.get(__ret__, 'sameness_group_consumers'),
|
|
190
191
|
services=pulumi.get(__ret__, 'services'))
|
|
191
|
-
def get_config_entry_v2_exported_services_output(kind: Optional[pulumi.Input[str]] = None,
|
|
192
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
193
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
194
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
195
|
-
partition_consumers: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
196
|
-
peer_consumers: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
197
|
-
sameness_group_consumers: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
198
|
-
services: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
192
|
+
def get_config_entry_v2_exported_services_output(kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
193
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
194
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
195
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
196
|
+
partition_consumers: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
197
|
+
peer_consumers: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
198
|
+
sameness_group_consumers: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
199
|
+
services: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
199
200
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConfigEntryV2ExportedServicesResult]:
|
|
200
201
|
"""
|
|
201
202
|
Use this data source to access information about an existing resource.
|
|
202
203
|
|
|
203
|
-
:param str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
|
|
204
|
-
:param str name: The name of the config entry to read.
|
|
205
|
-
:param str namespace: The namespace the config entry is associated with.
|
|
206
|
-
:param str partition: The partition the config entry is associated with.
|
|
207
|
-
:param Sequence[str] partition_consumers: The exported service partition consumers.
|
|
208
|
-
:param Sequence[str] peer_consumers: The exported service peer consumers.
|
|
209
|
-
:param Sequence[str] sameness_group_consumers: The exported service sameness group consumers.
|
|
210
|
-
:param Sequence[str] services: The exported services.
|
|
204
|
+
:param builtins.str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
|
|
205
|
+
:param builtins.str name: The name of the config entry to read.
|
|
206
|
+
:param builtins.str namespace: The namespace the config entry is associated with.
|
|
207
|
+
:param builtins.str partition: The partition the config entry is associated with.
|
|
208
|
+
:param Sequence[builtins.str] partition_consumers: The exported service partition consumers.
|
|
209
|
+
:param Sequence[builtins.str] peer_consumers: The exported service peer consumers.
|
|
210
|
+
:param Sequence[builtins.str] sameness_group_consumers: The exported service sameness group consumers.
|
|
211
|
+
:param Sequence[builtins.str] services: The exported services.
|
|
211
212
|
"""
|
|
212
213
|
__args__ = dict()
|
|
213
214
|
__args__['kind'] = kind
|
pulumi_consul/get_datacenters.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
|
|
@@ -36,7 +37,7 @@ class GetDatacentersResult:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter
|
|
39
|
-
def datacenters(self) -> Sequence[str]:
|
|
40
|
+
def datacenters(self) -> Sequence[builtins.str]:
|
|
40
41
|
"""
|
|
41
42
|
The list of datacenters known. The datacenters will be sorted
|
|
42
43
|
in ascending order based on the estimated median round trip time from the server
|
|
@@ -46,7 +47,7 @@ class GetDatacentersResult:
|
|
|
46
47
|
|
|
47
48
|
@property
|
|
48
49
|
@pulumi.getter
|
|
49
|
-
def id(self) -> str:
|
|
50
|
+
def id(self) -> builtins.str:
|
|
50
51
|
"""
|
|
51
52
|
The provider-assigned unique ID for this managed resource.
|
|
52
53
|
"""
|
pulumi_consul/get_key_prefix.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
|
|
@@ -59,7 +60,7 @@ class GetKeyPrefixResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def datacenter(self) -> str:
|
|
63
|
+
def datacenter(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The datacenter the keys are being read from.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetKeyPrefixResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def id(self) -> str:
|
|
71
|
+
def id(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The provider-assigned unique ID for this managed resource.
|
|
73
74
|
"""
|
|
@@ -75,17 +76,17 @@ class GetKeyPrefixResult:
|
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter
|
|
78
|
-
def namespace(self) -> Optional[str]:
|
|
79
|
+
def namespace(self) -> Optional[builtins.str]:
|
|
79
80
|
return pulumi.get(self, "namespace")
|
|
80
81
|
|
|
81
82
|
@property
|
|
82
83
|
@pulumi.getter
|
|
83
|
-
def partition(self) -> Optional[str]:
|
|
84
|
+
def partition(self) -> Optional[builtins.str]:
|
|
84
85
|
return pulumi.get(self, "partition")
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter(name="pathPrefix")
|
|
88
|
-
def path_prefix(self) -> str:
|
|
89
|
+
def path_prefix(self) -> builtins.str:
|
|
89
90
|
"""
|
|
90
91
|
the common prefix shared by all keys being read.
|
|
91
92
|
* `var.<name>` - For each name given, the corresponding attribute
|
|
@@ -100,7 +101,7 @@ class GetKeyPrefixResult:
|
|
|
100
101
|
|
|
101
102
|
@property
|
|
102
103
|
@pulumi.getter
|
|
103
|
-
def subkeys(self) -> Mapping[str, str]:
|
|
104
|
+
def subkeys(self) -> Mapping[str, builtins.str]:
|
|
104
105
|
"""
|
|
105
106
|
A map of the subkeys and values is set if no `subkey`
|
|
106
107
|
block is provided.
|
|
@@ -111,12 +112,12 @@ class GetKeyPrefixResult:
|
|
|
111
112
|
@pulumi.getter
|
|
112
113
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
113
114
|
Please use the token argument in the provider configuration""")
|
|
114
|
-
def token(self) -> Optional[str]:
|
|
115
|
+
def token(self) -> Optional[builtins.str]:
|
|
115
116
|
return pulumi.get(self, "token")
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter
|
|
119
|
-
def var(self) -> Mapping[str, str]:
|
|
120
|
+
def var(self) -> Mapping[str, builtins.str]:
|
|
120
121
|
return pulumi.get(self, "var")
|
|
121
122
|
|
|
122
123
|
|
|
@@ -137,12 +138,12 @@ class AwaitableGetKeyPrefixResult(GetKeyPrefixResult):
|
|
|
137
138
|
var=self.var)
|
|
138
139
|
|
|
139
140
|
|
|
140
|
-
def get_key_prefix(datacenter: Optional[str] = None,
|
|
141
|
-
namespace: Optional[str] = None,
|
|
142
|
-
partition: Optional[str] = None,
|
|
143
|
-
path_prefix: Optional[str] = None,
|
|
141
|
+
def get_key_prefix(datacenter: Optional[builtins.str] = None,
|
|
142
|
+
namespace: Optional[builtins.str] = None,
|
|
143
|
+
partition: Optional[builtins.str] = None,
|
|
144
|
+
path_prefix: Optional[builtins.str] = None,
|
|
144
145
|
subkey_collection: Optional[Sequence[Union['GetKeyPrefixSubkeyCollectionArgs', 'GetKeyPrefixSubkeyCollectionArgsDict']]] = None,
|
|
145
|
-
token: Optional[str] = None,
|
|
146
|
+
token: Optional[builtins.str] = None,
|
|
146
147
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyPrefixResult:
|
|
147
148
|
"""
|
|
148
149
|
## Example Usage
|
|
@@ -177,16 +178,16 @@ def get_key_prefix(datacenter: Optional[str] = None,
|
|
|
177
178
|
```
|
|
178
179
|
|
|
179
180
|
|
|
180
|
-
:param str datacenter: The datacenter to use. This overrides the
|
|
181
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the
|
|
181
182
|
agent's default datacenter and the datacenter in the provider setup.
|
|
182
|
-
:param str namespace: The namespace to lookup the keys within.
|
|
183
|
-
:param str partition: The namespace to lookup the keys within.
|
|
184
|
-
:param str path_prefix: Specifies the common prefix shared by all keys
|
|
183
|
+
:param builtins.str namespace: The namespace to lookup the keys within.
|
|
184
|
+
:param builtins.str partition: The namespace to lookup the keys within.
|
|
185
|
+
:param builtins.str path_prefix: Specifies the common prefix shared by all keys
|
|
185
186
|
that will be read by this data source instance. In most cases, this will
|
|
186
187
|
end with a slash to read a "folder" of subkeys.
|
|
187
188
|
:param Sequence[Union['GetKeyPrefixSubkeyCollectionArgs', 'GetKeyPrefixSubkeyCollectionArgsDict']] subkey_collection: Specifies a subkey in Consul to be read. Supported
|
|
188
189
|
values documented below. Multiple blocks supported.
|
|
189
|
-
:param str token: The ACL token to use. This overrides the
|
|
190
|
+
:param builtins.str token: The ACL token to use. This overrides the
|
|
190
191
|
token that the agent provides by default.
|
|
191
192
|
"""
|
|
192
193
|
__args__ = dict()
|
|
@@ -209,12 +210,12 @@ def get_key_prefix(datacenter: Optional[str] = None,
|
|
|
209
210
|
subkeys=pulumi.get(__ret__, 'subkeys'),
|
|
210
211
|
token=pulumi.get(__ret__, 'token'),
|
|
211
212
|
var=pulumi.get(__ret__, 'var'))
|
|
212
|
-
def get_key_prefix_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
213
|
-
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
|
214
|
-
partition: Optional[pulumi.Input[Optional[str]]] = None,
|
|
215
|
-
path_prefix: Optional[pulumi.Input[str]] = None,
|
|
213
|
+
def get_key_prefix_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
214
|
+
namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
215
|
+
partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
216
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
216
217
|
subkey_collection: Optional[pulumi.Input[Optional[Sequence[Union['GetKeyPrefixSubkeyCollectionArgs', 'GetKeyPrefixSubkeyCollectionArgsDict']]]]] = None,
|
|
217
|
-
token: Optional[pulumi.Input[Optional[str]]] = None,
|
|
218
|
+
token: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
218
219
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeyPrefixResult]:
|
|
219
220
|
"""
|
|
220
221
|
## Example Usage
|
|
@@ -249,16 +250,16 @@ def get_key_prefix_output(datacenter: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
249
250
|
```
|
|
250
251
|
|
|
251
252
|
|
|
252
|
-
:param str datacenter: The datacenter to use. This overrides the
|
|
253
|
+
:param builtins.str datacenter: The datacenter to use. This overrides the
|
|
253
254
|
agent's default datacenter and the datacenter in the provider setup.
|
|
254
|
-
:param str namespace: The namespace to lookup the keys within.
|
|
255
|
-
:param str partition: The namespace to lookup the keys within.
|
|
256
|
-
:param str path_prefix: Specifies the common prefix shared by all keys
|
|
255
|
+
:param builtins.str namespace: The namespace to lookup the keys within.
|
|
256
|
+
:param builtins.str partition: The namespace to lookup the keys within.
|
|
257
|
+
:param builtins.str path_prefix: Specifies the common prefix shared by all keys
|
|
257
258
|
that will be read by this data source instance. In most cases, this will
|
|
258
259
|
end with a slash to read a "folder" of subkeys.
|
|
259
260
|
:param Sequence[Union['GetKeyPrefixSubkeyCollectionArgs', 'GetKeyPrefixSubkeyCollectionArgsDict']] subkey_collection: Specifies a subkey in Consul to be read. Supported
|
|
260
261
|
values documented below. Multiple blocks supported.
|
|
261
|
-
:param str token: The ACL token to use. This overrides the
|
|
262
|
+
:param builtins.str token: The ACL token to use. This overrides the
|
|
262
263
|
token that the agent provides by default.
|
|
263
264
|
"""
|
|
264
265
|
__args__ = dict()
|