pulumi-consul 3.13.0a1743571864__py3-none-any.whl → 3.13.0a1744263036__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.0a1743571864.dist-info → pulumi_consul-3.13.0a1744263036.dist-info}/METADATA +1 -1
- pulumi_consul-3.13.0a1744263036.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1743571864.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744263036.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744263036.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,127 +136,127 @@ 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
|
|
|
@@ -264,8 +265,8 @@ class License(pulumi.CustomResource):
|
|
|
264
265
|
def __init__(__self__,
|
|
265
266
|
resource_name: str,
|
|
266
267
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
267
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
268
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
268
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
269
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
269
270
|
__props__=None):
|
|
270
271
|
"""
|
|
271
272
|
> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).
|
|
@@ -286,9 +287,9 @@ class License(pulumi.CustomResource):
|
|
|
286
287
|
|
|
287
288
|
:param str resource_name: The name of the resource.
|
|
288
289
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
289
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
290
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
290
291
|
agent's default datacenter and the datacenter in the provider setup.
|
|
291
|
-
:param pulumi.Input[str] license: The Consul license to use.
|
|
292
|
+
:param pulumi.Input[builtins.str] license: The Consul license to use.
|
|
292
293
|
"""
|
|
293
294
|
...
|
|
294
295
|
@overload
|
|
@@ -328,8 +329,8 @@ class License(pulumi.CustomResource):
|
|
|
328
329
|
def _internal_init(__self__,
|
|
329
330
|
resource_name: str,
|
|
330
331
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
331
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
license: Optional[pulumi.Input[str]] = None,
|
|
332
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
334
|
__props__=None):
|
|
334
335
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
335
336
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -365,18 +366,18 @@ class License(pulumi.CustomResource):
|
|
|
365
366
|
def get(resource_name: str,
|
|
366
367
|
id: pulumi.Input[str],
|
|
367
368
|
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':
|
|
369
|
+
customer_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
370
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
371
|
+
expiration_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
372
|
+
features: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
373
|
+
installation_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
374
|
+
issue_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
375
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
376
|
+
license_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
377
|
+
product: Optional[pulumi.Input[builtins.str]] = None,
|
|
378
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
379
|
+
valid: Optional[pulumi.Input[builtins.bool]] = None,
|
|
380
|
+
warnings: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'License':
|
|
380
381
|
"""
|
|
381
382
|
Get an existing License resource's state with the given name, id, and optional extra
|
|
382
383
|
properties used to qualify the lookup.
|
|
@@ -384,19 +385,19 @@ class License(pulumi.CustomResource):
|
|
|
384
385
|
:param str resource_name: The unique name of the resulting resource.
|
|
385
386
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
386
387
|
: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
|
|
388
|
+
:param pulumi.Input[builtins.str] customer_id: The ID of the customer the license is attached to.
|
|
389
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
389
390
|
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.
|
|
391
|
+
:param pulumi.Input[builtins.str] expiration_time: The expiration time of the license.
|
|
392
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] features: The features for which the license is valid.
|
|
393
|
+
:param pulumi.Input[builtins.str] installation_id: The ID of the current installation.
|
|
394
|
+
:param pulumi.Input[builtins.str] issue_time: The date the license was issued.
|
|
395
|
+
:param pulumi.Input[builtins.str] license: The Consul license to use.
|
|
396
|
+
:param pulumi.Input[builtins.str] license_id: The ID of the license used.
|
|
397
|
+
:param pulumi.Input[builtins.str] product: The product for which the license is valid.
|
|
398
|
+
:param pulumi.Input[builtins.str] start_time: The start time of the license.
|
|
399
|
+
:param pulumi.Input[builtins.bool] valid: Whether the license is valid.
|
|
400
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] warnings: A list of warning messages regarding the license validity.
|
|
400
401
|
"""
|
|
401
402
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
402
403
|
|
|
@@ -418,7 +419,7 @@ class License(pulumi.CustomResource):
|
|
|
418
419
|
|
|
419
420
|
@property
|
|
420
421
|
@pulumi.getter(name="customerId")
|
|
421
|
-
def customer_id(self) -> pulumi.Output[str]:
|
|
422
|
+
def customer_id(self) -> pulumi.Output[builtins.str]:
|
|
422
423
|
"""
|
|
423
424
|
The ID of the customer the license is attached to.
|
|
424
425
|
"""
|
|
@@ -426,7 +427,7 @@ class License(pulumi.CustomResource):
|
|
|
426
427
|
|
|
427
428
|
@property
|
|
428
429
|
@pulumi.getter
|
|
429
|
-
def datacenter(self) -> pulumi.Output[Optional[str]]:
|
|
430
|
+
def datacenter(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
430
431
|
"""
|
|
431
432
|
The datacenter to use. This overrides the
|
|
432
433
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -435,7 +436,7 @@ class License(pulumi.CustomResource):
|
|
|
435
436
|
|
|
436
437
|
@property
|
|
437
438
|
@pulumi.getter(name="expirationTime")
|
|
438
|
-
def expiration_time(self) -> pulumi.Output[str]:
|
|
439
|
+
def expiration_time(self) -> pulumi.Output[builtins.str]:
|
|
439
440
|
"""
|
|
440
441
|
The expiration time of the license.
|
|
441
442
|
"""
|
|
@@ -443,7 +444,7 @@ class License(pulumi.CustomResource):
|
|
|
443
444
|
|
|
444
445
|
@property
|
|
445
446
|
@pulumi.getter
|
|
446
|
-
def features(self) -> pulumi.Output[Sequence[str]]:
|
|
447
|
+
def features(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
447
448
|
"""
|
|
448
449
|
The features for which the license is valid.
|
|
449
450
|
"""
|
|
@@ -451,7 +452,7 @@ class License(pulumi.CustomResource):
|
|
|
451
452
|
|
|
452
453
|
@property
|
|
453
454
|
@pulumi.getter(name="installationId")
|
|
454
|
-
def installation_id(self) -> pulumi.Output[str]:
|
|
455
|
+
def installation_id(self) -> pulumi.Output[builtins.str]:
|
|
455
456
|
"""
|
|
456
457
|
The ID of the current installation.
|
|
457
458
|
"""
|
|
@@ -459,7 +460,7 @@ class License(pulumi.CustomResource):
|
|
|
459
460
|
|
|
460
461
|
@property
|
|
461
462
|
@pulumi.getter(name="issueTime")
|
|
462
|
-
def issue_time(self) -> pulumi.Output[str]:
|
|
463
|
+
def issue_time(self) -> pulumi.Output[builtins.str]:
|
|
463
464
|
"""
|
|
464
465
|
The date the license was issued.
|
|
465
466
|
"""
|
|
@@ -467,7 +468,7 @@ class License(pulumi.CustomResource):
|
|
|
467
468
|
|
|
468
469
|
@property
|
|
469
470
|
@pulumi.getter
|
|
470
|
-
def license(self) -> pulumi.Output[str]:
|
|
471
|
+
def license(self) -> pulumi.Output[builtins.str]:
|
|
471
472
|
"""
|
|
472
473
|
The Consul license to use.
|
|
473
474
|
"""
|
|
@@ -475,7 +476,7 @@ class License(pulumi.CustomResource):
|
|
|
475
476
|
|
|
476
477
|
@property
|
|
477
478
|
@pulumi.getter(name="licenseId")
|
|
478
|
-
def license_id(self) -> pulumi.Output[str]:
|
|
479
|
+
def license_id(self) -> pulumi.Output[builtins.str]:
|
|
479
480
|
"""
|
|
480
481
|
The ID of the license used.
|
|
481
482
|
"""
|
|
@@ -483,7 +484,7 @@ class License(pulumi.CustomResource):
|
|
|
483
484
|
|
|
484
485
|
@property
|
|
485
486
|
@pulumi.getter
|
|
486
|
-
def product(self) -> pulumi.Output[str]:
|
|
487
|
+
def product(self) -> pulumi.Output[builtins.str]:
|
|
487
488
|
"""
|
|
488
489
|
The product for which the license is valid.
|
|
489
490
|
"""
|
|
@@ -491,7 +492,7 @@ class License(pulumi.CustomResource):
|
|
|
491
492
|
|
|
492
493
|
@property
|
|
493
494
|
@pulumi.getter(name="startTime")
|
|
494
|
-
def start_time(self) -> pulumi.Output[str]:
|
|
495
|
+
def start_time(self) -> pulumi.Output[builtins.str]:
|
|
495
496
|
"""
|
|
496
497
|
The start time of the license.
|
|
497
498
|
"""
|
|
@@ -499,7 +500,7 @@ class License(pulumi.CustomResource):
|
|
|
499
500
|
|
|
500
501
|
@property
|
|
501
502
|
@pulumi.getter
|
|
502
|
-
def valid(self) -> pulumi.Output[bool]:
|
|
503
|
+
def valid(self) -> pulumi.Output[builtins.bool]:
|
|
503
504
|
"""
|
|
504
505
|
Whether the license is valid.
|
|
505
506
|
"""
|
|
@@ -507,7 +508,7 @@ class License(pulumi.CustomResource):
|
|
|
507
508
|
|
|
508
509
|
@property
|
|
509
510
|
@pulumi.getter
|
|
510
|
-
def warnings(self) -> pulumi.Output[Sequence[str]]:
|
|
511
|
+
def warnings(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
511
512
|
"""
|
|
512
513
|
A list of warning messages regarding the license validity.
|
|
513
514
|
"""
|