pulumi-consul 3.12.4__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.4.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.4.dist-info → pulumi_consul-3.12.5.dist-info}/WHEEL +1 -1
- pulumi_consul-3.12.4.dist-info/RECORD +0 -72
- {pulumi_consul-3.12.4.dist-info → pulumi_consul-3.12.5.dist-info}/top_level.txt +0 -0
pulumi_consul/license.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,12 +20,12 @@ __all__ = ['LicenseArgs', 'License']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class LicenseArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
license: pulumi.Input[str],
|
|
23
|
-
datacenter: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
license: pulumi.Input[builtins.str],
|
|
24
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None):
|
|
24
25
|
"""
|
|
25
26
|
The set of arguments for constructing a License resource.
|
|
26
|
-
:param pulumi.Input[str] license: The Consul license to use.
|
|
27
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
27
|
+
:param pulumi.Input[builtins.str] license: The Consul license to use.
|
|
28
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
28
29
|
agent's default datacenter and the datacenter in the provider setup.
|
|
29
30
|
"""
|
|
30
31
|
pulumi.set(__self__, "license", license)
|
|
@@ -33,19 +34,19 @@ class LicenseArgs:
|
|
|
33
34
|
|
|
34
35
|
@property
|
|
35
36
|
@pulumi.getter
|
|
36
|
-
def license(self) -> pulumi.Input[str]:
|
|
37
|
+
def license(self) -> pulumi.Input[builtins.str]:
|
|
37
38
|
"""
|
|
38
39
|
The Consul license to use.
|
|
39
40
|
"""
|
|
40
41
|
return pulumi.get(self, "license")
|
|
41
42
|
|
|
42
43
|
@license.setter
|
|
43
|
-
def license(self, value: pulumi.Input[str]):
|
|
44
|
+
def license(self, value: pulumi.Input[builtins.str]):
|
|
44
45
|
pulumi.set(self, "license", value)
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter
|
|
48
|
-
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
49
|
+
def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
49
50
|
"""
|
|
50
51
|
The datacenter to use. This overrides the
|
|
51
52
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -53,40 +54,40 @@ class LicenseArgs:
|
|
|
53
54
|
return pulumi.get(self, "datacenter")
|
|
54
55
|
|
|
55
56
|
@datacenter.setter
|
|
56
|
-
def datacenter(self, value: Optional[pulumi.Input[str]]):
|
|
57
|
+
def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
57
58
|
pulumi.set(self, "datacenter", value)
|
|
58
59
|
|
|
59
60
|
|
|
60
61
|
@pulumi.input_type
|
|
61
62
|
class _LicenseState:
|
|
62
63
|
def __init__(__self__, *,
|
|
63
|
-
customer_id: Optional[pulumi.Input[str]] = None,
|
|
64
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
65
|
-
expiration_time: Optional[pulumi.Input[str]] = None,
|
|
66
|
-
features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
67
|
-
installation_id: Optional[pulumi.Input[str]] = None,
|
|
68
|
-
issue_time: Optional[pulumi.Input[str]] = None,
|
|
69
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
70
|
-
license_id: Optional[pulumi.Input[str]] = None,
|
|
71
|
-
product: Optional[pulumi.Input[str]] = None,
|
|
72
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
|
73
|
-
valid: Optional[pulumi.Input[bool]] = None,
|
|
74
|
-
warnings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
64
|
+
customer_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
65
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
66
|
+
expiration_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
67
|
+
features: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
68
|
+
installation_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
69
|
+
issue_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
70
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
71
|
+
license_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
72
|
+
product: Optional[pulumi.Input[builtins.str]] = None,
|
|
73
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
74
|
+
valid: Optional[pulumi.Input[builtins.bool]] = None,
|
|
75
|
+
warnings: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
75
76
|
"""
|
|
76
77
|
Input properties used for looking up and filtering License resources.
|
|
77
|
-
:param pulumi.Input[str] customer_id: The ID of the customer the license is attached to.
|
|
78
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
78
|
+
:param pulumi.Input[builtins.str] customer_id: The ID of the customer the license is attached to.
|
|
79
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
79
80
|
agent's default datacenter and the datacenter in the provider setup.
|
|
80
|
-
:param pulumi.Input[str] expiration_time: The expiration time of the license.
|
|
81
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] features: The features for which the license is valid.
|
|
82
|
-
:param pulumi.Input[str] installation_id: The ID of the current installation.
|
|
83
|
-
:param pulumi.Input[str] issue_time: The date the license was issued.
|
|
84
|
-
:param pulumi.Input[str] license: The Consul license to use.
|
|
85
|
-
:param pulumi.Input[str] license_id: The ID of the license used.
|
|
86
|
-
:param pulumi.Input[str] product: The product for which the license is valid.
|
|
87
|
-
:param pulumi.Input[str] start_time: The start time of the license.
|
|
88
|
-
:param pulumi.Input[bool] valid: Whether the license is valid.
|
|
89
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] warnings: A list of warning messages regarding the license validity.
|
|
81
|
+
:param pulumi.Input[builtins.str] expiration_time: The expiration time of the license.
|
|
82
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] features: The features for which the license is valid.
|
|
83
|
+
:param pulumi.Input[builtins.str] installation_id: The ID of the current installation.
|
|
84
|
+
:param pulumi.Input[builtins.str] issue_time: The date the license was issued.
|
|
85
|
+
:param pulumi.Input[builtins.str] license: The Consul license to use.
|
|
86
|
+
:param pulumi.Input[builtins.str] license_id: The ID of the license used.
|
|
87
|
+
:param pulumi.Input[builtins.str] product: The product for which the license is valid.
|
|
88
|
+
:param pulumi.Input[builtins.str] start_time: The start time of the license.
|
|
89
|
+
:param pulumi.Input[builtins.bool] valid: Whether the license is valid.
|
|
90
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] warnings: A list of warning messages regarding the license validity.
|
|
90
91
|
"""
|
|
91
92
|
if customer_id is not None:
|
|
92
93
|
pulumi.set(__self__, "customer_id", customer_id)
|
|
@@ -115,19 +116,19 @@ class _LicenseState:
|
|
|
115
116
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter(name="customerId")
|
|
118
|
-
def customer_id(self) -> Optional[pulumi.Input[str]]:
|
|
119
|
+
def customer_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
119
120
|
"""
|
|
120
121
|
The ID of the customer the license is attached to.
|
|
121
122
|
"""
|
|
122
123
|
return pulumi.get(self, "customer_id")
|
|
123
124
|
|
|
124
125
|
@customer_id.setter
|
|
125
|
-
def customer_id(self, value: Optional[pulumi.Input[str]]):
|
|
126
|
+
def customer_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
126
127
|
pulumi.set(self, "customer_id", value)
|
|
127
128
|
|
|
128
129
|
@property
|
|
129
130
|
@pulumi.getter
|
|
130
|
-
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
131
132
|
"""
|
|
132
133
|
The datacenter to use. This overrides the
|
|
133
134
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -135,137 +136,140 @@ class _LicenseState:
|
|
|
135
136
|
return pulumi.get(self, "datacenter")
|
|
136
137
|
|
|
137
138
|
@datacenter.setter
|
|
138
|
-
def datacenter(self, value: Optional[pulumi.Input[str]]):
|
|
139
|
+
def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
139
140
|
pulumi.set(self, "datacenter", value)
|
|
140
141
|
|
|
141
142
|
@property
|
|
142
143
|
@pulumi.getter(name="expirationTime")
|
|
143
|
-
def expiration_time(self) -> Optional[pulumi.Input[str]]:
|
|
144
|
+
def expiration_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
144
145
|
"""
|
|
145
146
|
The expiration time of the license.
|
|
146
147
|
"""
|
|
147
148
|
return pulumi.get(self, "expiration_time")
|
|
148
149
|
|
|
149
150
|
@expiration_time.setter
|
|
150
|
-
def expiration_time(self, value: Optional[pulumi.Input[str]]):
|
|
151
|
+
def expiration_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
151
152
|
pulumi.set(self, "expiration_time", value)
|
|
152
153
|
|
|
153
154
|
@property
|
|
154
155
|
@pulumi.getter
|
|
155
|
-
def features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
156
|
+
def features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
156
157
|
"""
|
|
157
158
|
The features for which the license is valid.
|
|
158
159
|
"""
|
|
159
160
|
return pulumi.get(self, "features")
|
|
160
161
|
|
|
161
162
|
@features.setter
|
|
162
|
-
def features(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
163
|
+
def features(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
163
164
|
pulumi.set(self, "features", value)
|
|
164
165
|
|
|
165
166
|
@property
|
|
166
167
|
@pulumi.getter(name="installationId")
|
|
167
|
-
def installation_id(self) -> Optional[pulumi.Input[str]]:
|
|
168
|
+
def installation_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
168
169
|
"""
|
|
169
170
|
The ID of the current installation.
|
|
170
171
|
"""
|
|
171
172
|
return pulumi.get(self, "installation_id")
|
|
172
173
|
|
|
173
174
|
@installation_id.setter
|
|
174
|
-
def installation_id(self, value: Optional[pulumi.Input[str]]):
|
|
175
|
+
def installation_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
175
176
|
pulumi.set(self, "installation_id", value)
|
|
176
177
|
|
|
177
178
|
@property
|
|
178
179
|
@pulumi.getter(name="issueTime")
|
|
179
|
-
def issue_time(self) -> Optional[pulumi.Input[str]]:
|
|
180
|
+
def issue_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
180
181
|
"""
|
|
181
182
|
The date the license was issued.
|
|
182
183
|
"""
|
|
183
184
|
return pulumi.get(self, "issue_time")
|
|
184
185
|
|
|
185
186
|
@issue_time.setter
|
|
186
|
-
def issue_time(self, value: Optional[pulumi.Input[str]]):
|
|
187
|
+
def issue_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
187
188
|
pulumi.set(self, "issue_time", value)
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter
|
|
191
|
-
def license(self) -> Optional[pulumi.Input[str]]:
|
|
192
|
+
def license(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
192
193
|
"""
|
|
193
194
|
The Consul license to use.
|
|
194
195
|
"""
|
|
195
196
|
return pulumi.get(self, "license")
|
|
196
197
|
|
|
197
198
|
@license.setter
|
|
198
|
-
def license(self, value: Optional[pulumi.Input[str]]):
|
|
199
|
+
def license(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
199
200
|
pulumi.set(self, "license", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
202
203
|
@pulumi.getter(name="licenseId")
|
|
203
|
-
def license_id(self) -> Optional[pulumi.Input[str]]:
|
|
204
|
+
def license_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
204
205
|
"""
|
|
205
206
|
The ID of the license used.
|
|
206
207
|
"""
|
|
207
208
|
return pulumi.get(self, "license_id")
|
|
208
209
|
|
|
209
210
|
@license_id.setter
|
|
210
|
-
def license_id(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
+
def license_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
211
212
|
pulumi.set(self, "license_id", value)
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter
|
|
215
|
-
def product(self) -> Optional[pulumi.Input[str]]:
|
|
216
|
+
def product(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
216
217
|
"""
|
|
217
218
|
The product for which the license is valid.
|
|
218
219
|
"""
|
|
219
220
|
return pulumi.get(self, "product")
|
|
220
221
|
|
|
221
222
|
@product.setter
|
|
222
|
-
def product(self, value: Optional[pulumi.Input[str]]):
|
|
223
|
+
def product(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
223
224
|
pulumi.set(self, "product", value)
|
|
224
225
|
|
|
225
226
|
@property
|
|
226
227
|
@pulumi.getter(name="startTime")
|
|
227
|
-
def start_time(self) -> Optional[pulumi.Input[str]]:
|
|
228
|
+
def start_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
228
229
|
"""
|
|
229
230
|
The start time of the license.
|
|
230
231
|
"""
|
|
231
232
|
return pulumi.get(self, "start_time")
|
|
232
233
|
|
|
233
234
|
@start_time.setter
|
|
234
|
-
def start_time(self, value: Optional[pulumi.Input[str]]):
|
|
235
|
+
def start_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
235
236
|
pulumi.set(self, "start_time", value)
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter
|
|
239
|
-
def valid(self) -> Optional[pulumi.Input[bool]]:
|
|
240
|
+
def valid(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
240
241
|
"""
|
|
241
242
|
Whether the license is valid.
|
|
242
243
|
"""
|
|
243
244
|
return pulumi.get(self, "valid")
|
|
244
245
|
|
|
245
246
|
@valid.setter
|
|
246
|
-
def valid(self, value: Optional[pulumi.Input[bool]]):
|
|
247
|
+
def valid(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
247
248
|
pulumi.set(self, "valid", value)
|
|
248
249
|
|
|
249
250
|
@property
|
|
250
251
|
@pulumi.getter
|
|
251
|
-
def warnings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
252
|
+
def warnings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
252
253
|
"""
|
|
253
254
|
A list of warning messages regarding the license validity.
|
|
254
255
|
"""
|
|
255
256
|
return pulumi.get(self, "warnings")
|
|
256
257
|
|
|
257
258
|
@warnings.setter
|
|
258
|
-
def warnings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
259
|
+
def warnings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
259
260
|
pulumi.set(self, "warnings", value)
|
|
260
261
|
|
|
261
262
|
|
|
262
263
|
class License(pulumi.CustomResource):
|
|
264
|
+
|
|
265
|
+
pulumi_type = "consul:index/license:License"
|
|
266
|
+
|
|
263
267
|
@overload
|
|
264
268
|
def __init__(__self__,
|
|
265
269
|
resource_name: str,
|
|
266
270
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
267
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
268
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
271
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
272
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
269
273
|
__props__=None):
|
|
270
274
|
"""
|
|
271
275
|
> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).
|
|
@@ -286,9 +290,9 @@ class License(pulumi.CustomResource):
|
|
|
286
290
|
|
|
287
291
|
:param str resource_name: The name of the resource.
|
|
288
292
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
289
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
293
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
290
294
|
agent's default datacenter and the datacenter in the provider setup.
|
|
291
|
-
:param pulumi.Input[str] license: The Consul license to use.
|
|
295
|
+
:param pulumi.Input[builtins.str] license: The Consul license to use.
|
|
292
296
|
"""
|
|
293
297
|
...
|
|
294
298
|
@overload
|
|
@@ -328,8 +332,8 @@ class License(pulumi.CustomResource):
|
|
|
328
332
|
def _internal_init(__self__,
|
|
329
333
|
resource_name: str,
|
|
330
334
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
331
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
335
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
336
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
337
|
__props__=None):
|
|
334
338
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
335
339
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -365,18 +369,18 @@ class License(pulumi.CustomResource):
|
|
|
365
369
|
def get(resource_name: str,
|
|
366
370
|
id: pulumi.Input[str],
|
|
367
371
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
368
|
-
customer_id: Optional[pulumi.Input[str]] = None,
|
|
369
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
370
|
-
expiration_time: Optional[pulumi.Input[str]] = None,
|
|
371
|
-
features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
372
|
-
installation_id: Optional[pulumi.Input[str]] = None,
|
|
373
|
-
issue_time: Optional[pulumi.Input[str]] = None,
|
|
374
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
license_id: Optional[pulumi.Input[str]] = None,
|
|
376
|
-
product: Optional[pulumi.Input[str]] = None,
|
|
377
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
|
378
|
-
valid: Optional[pulumi.Input[bool]] = None,
|
|
379
|
-
warnings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'License':
|
|
372
|
+
customer_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
373
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
374
|
+
expiration_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
375
|
+
features: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
376
|
+
installation_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
377
|
+
issue_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
378
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
379
|
+
license_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
380
|
+
product: Optional[pulumi.Input[builtins.str]] = None,
|
|
381
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
382
|
+
valid: Optional[pulumi.Input[builtins.bool]] = None,
|
|
383
|
+
warnings: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'License':
|
|
380
384
|
"""
|
|
381
385
|
Get an existing License resource's state with the given name, id, and optional extra
|
|
382
386
|
properties used to qualify the lookup.
|
|
@@ -384,19 +388,19 @@ class License(pulumi.CustomResource):
|
|
|
384
388
|
:param str resource_name: The unique name of the resulting resource.
|
|
385
389
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
386
390
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
387
|
-
:param pulumi.Input[str] customer_id: The ID of the customer the license is attached to.
|
|
388
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
391
|
+
:param pulumi.Input[builtins.str] customer_id: The ID of the customer the license is attached to.
|
|
392
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
389
393
|
agent's default datacenter and the datacenter in the provider setup.
|
|
390
|
-
:param pulumi.Input[str] expiration_time: The expiration time of the license.
|
|
391
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] features: The features for which the license is valid.
|
|
392
|
-
:param pulumi.Input[str] installation_id: The ID of the current installation.
|
|
393
|
-
:param pulumi.Input[str] issue_time: The date the license was issued.
|
|
394
|
-
:param pulumi.Input[str] license: The Consul license to use.
|
|
395
|
-
:param pulumi.Input[str] license_id: The ID of the license used.
|
|
396
|
-
:param pulumi.Input[str] product: The product for which the license is valid.
|
|
397
|
-
:param pulumi.Input[str] start_time: The start time of the license.
|
|
398
|
-
:param pulumi.Input[bool] valid: Whether the license is valid.
|
|
399
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] warnings: A list of warning messages regarding the license validity.
|
|
394
|
+
:param pulumi.Input[builtins.str] expiration_time: The expiration time of the license.
|
|
395
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] features: The features for which the license is valid.
|
|
396
|
+
:param pulumi.Input[builtins.str] installation_id: The ID of the current installation.
|
|
397
|
+
:param pulumi.Input[builtins.str] issue_time: The date the license was issued.
|
|
398
|
+
:param pulumi.Input[builtins.str] license: The Consul license to use.
|
|
399
|
+
:param pulumi.Input[builtins.str] license_id: The ID of the license used.
|
|
400
|
+
:param pulumi.Input[builtins.str] product: The product for which the license is valid.
|
|
401
|
+
:param pulumi.Input[builtins.str] start_time: The start time of the license.
|
|
402
|
+
:param pulumi.Input[builtins.bool] valid: Whether the license is valid.
|
|
403
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] warnings: A list of warning messages regarding the license validity.
|
|
400
404
|
"""
|
|
401
405
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
402
406
|
|
|
@@ -418,7 +422,7 @@ class License(pulumi.CustomResource):
|
|
|
418
422
|
|
|
419
423
|
@property
|
|
420
424
|
@pulumi.getter(name="customerId")
|
|
421
|
-
def customer_id(self) -> pulumi.Output[str]:
|
|
425
|
+
def customer_id(self) -> pulumi.Output[builtins.str]:
|
|
422
426
|
"""
|
|
423
427
|
The ID of the customer the license is attached to.
|
|
424
428
|
"""
|
|
@@ -426,7 +430,7 @@ class License(pulumi.CustomResource):
|
|
|
426
430
|
|
|
427
431
|
@property
|
|
428
432
|
@pulumi.getter
|
|
429
|
-
def datacenter(self) -> pulumi.Output[Optional[str]]:
|
|
433
|
+
def datacenter(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
430
434
|
"""
|
|
431
435
|
The datacenter to use. This overrides the
|
|
432
436
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -435,7 +439,7 @@ class License(pulumi.CustomResource):
|
|
|
435
439
|
|
|
436
440
|
@property
|
|
437
441
|
@pulumi.getter(name="expirationTime")
|
|
438
|
-
def expiration_time(self) -> pulumi.Output[str]:
|
|
442
|
+
def expiration_time(self) -> pulumi.Output[builtins.str]:
|
|
439
443
|
"""
|
|
440
444
|
The expiration time of the license.
|
|
441
445
|
"""
|
|
@@ -443,7 +447,7 @@ class License(pulumi.CustomResource):
|
|
|
443
447
|
|
|
444
448
|
@property
|
|
445
449
|
@pulumi.getter
|
|
446
|
-
def features(self) -> pulumi.Output[Sequence[str]]:
|
|
450
|
+
def features(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
447
451
|
"""
|
|
448
452
|
The features for which the license is valid.
|
|
449
453
|
"""
|
|
@@ -451,7 +455,7 @@ class License(pulumi.CustomResource):
|
|
|
451
455
|
|
|
452
456
|
@property
|
|
453
457
|
@pulumi.getter(name="installationId")
|
|
454
|
-
def installation_id(self) -> pulumi.Output[str]:
|
|
458
|
+
def installation_id(self) -> pulumi.Output[builtins.str]:
|
|
455
459
|
"""
|
|
456
460
|
The ID of the current installation.
|
|
457
461
|
"""
|
|
@@ -459,7 +463,7 @@ class License(pulumi.CustomResource):
|
|
|
459
463
|
|
|
460
464
|
@property
|
|
461
465
|
@pulumi.getter(name="issueTime")
|
|
462
|
-
def issue_time(self) -> pulumi.Output[str]:
|
|
466
|
+
def issue_time(self) -> pulumi.Output[builtins.str]:
|
|
463
467
|
"""
|
|
464
468
|
The date the license was issued.
|
|
465
469
|
"""
|
|
@@ -467,7 +471,7 @@ class License(pulumi.CustomResource):
|
|
|
467
471
|
|
|
468
472
|
@property
|
|
469
473
|
@pulumi.getter
|
|
470
|
-
def license(self) -> pulumi.Output[str]:
|
|
474
|
+
def license(self) -> pulumi.Output[builtins.str]:
|
|
471
475
|
"""
|
|
472
476
|
The Consul license to use.
|
|
473
477
|
"""
|
|
@@ -475,7 +479,7 @@ class License(pulumi.CustomResource):
|
|
|
475
479
|
|
|
476
480
|
@property
|
|
477
481
|
@pulumi.getter(name="licenseId")
|
|
478
|
-
def license_id(self) -> pulumi.Output[str]:
|
|
482
|
+
def license_id(self) -> pulumi.Output[builtins.str]:
|
|
479
483
|
"""
|
|
480
484
|
The ID of the license used.
|
|
481
485
|
"""
|
|
@@ -483,7 +487,7 @@ class License(pulumi.CustomResource):
|
|
|
483
487
|
|
|
484
488
|
@property
|
|
485
489
|
@pulumi.getter
|
|
486
|
-
def product(self) -> pulumi.Output[str]:
|
|
490
|
+
def product(self) -> pulumi.Output[builtins.str]:
|
|
487
491
|
"""
|
|
488
492
|
The product for which the license is valid.
|
|
489
493
|
"""
|
|
@@ -491,7 +495,7 @@ class License(pulumi.CustomResource):
|
|
|
491
495
|
|
|
492
496
|
@property
|
|
493
497
|
@pulumi.getter(name="startTime")
|
|
494
|
-
def start_time(self) -> pulumi.Output[str]:
|
|
498
|
+
def start_time(self) -> pulumi.Output[builtins.str]:
|
|
495
499
|
"""
|
|
496
500
|
The start time of the license.
|
|
497
501
|
"""
|
|
@@ -499,7 +503,7 @@ class License(pulumi.CustomResource):
|
|
|
499
503
|
|
|
500
504
|
@property
|
|
501
505
|
@pulumi.getter
|
|
502
|
-
def valid(self) -> pulumi.Output[bool]:
|
|
506
|
+
def valid(self) -> pulumi.Output[builtins.bool]:
|
|
503
507
|
"""
|
|
504
508
|
Whether the license is valid.
|
|
505
509
|
"""
|
|
@@ -507,7 +511,7 @@ class License(pulumi.CustomResource):
|
|
|
507
511
|
|
|
508
512
|
@property
|
|
509
513
|
@pulumi.getter
|
|
510
|
-
def warnings(self) -> pulumi.Output[Sequence[str]]:
|
|
514
|
+
def warnings(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
511
515
|
"""
|
|
512
516
|
A list of warning messages regarding the license validity.
|
|
513
517
|
"""
|