pulumi-alicloud 3.66.0__py3-none-any.whl → 3.66.0a1730783952__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-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -94
- pulumi_alicloud/alb/load_balancer.py +1 -1
- pulumi_alicloud/alikafka/instance.py +0 -112
- pulumi_alicloud/arms/environment.py +7 -7
- pulumi_alicloud/arms/get_remote_writes.py +4 -4
- pulumi_alicloud/arms/prometheus_alert_rule.py +0 -58
- pulumi_alicloud/arms/remote_write.py +2 -2
- pulumi_alicloud/cen/transit_router_vbr_attachment.py +74 -96
- pulumi_alicloud/cloudsso/_inputs.py +9 -9
- pulumi_alicloud/cloudsso/access_configuration.py +34 -100
- pulumi_alicloud/cloudsso/outputs.py +6 -6
- pulumi_alicloud/cms/hybrid_monitor_fc_task.py +26 -28
- pulumi_alicloud/cr/chain.py +14 -22
- pulumi_alicloud/cr/chart_repository.py +6 -14
- pulumi_alicloud/cr/repo.py +8 -8
- pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +6 -14
- pulumi_alicloud/databasefilesystem/instance_attachment.py +63 -59
- pulumi_alicloud/databasefilesystem/snapshot.py +109 -53
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/fc/_inputs.py +135 -243
- pulumi_alicloud/fc/outputs.py +90 -173
- pulumi_alicloud/fc/trigger.py +138 -202
- pulumi_alicloud/fc/v3_alias.py +0 -28
- pulumi_alicloud/fc/v3_async_invoke_config.py +0 -56
- pulumi_alicloud/fc/v3_concurrency_config.py +0 -28
- pulumi_alicloud/fc/v3_custom_domain.py +6 -118
- pulumi_alicloud/fc/v3_function.py +0 -308
- pulumi_alicloud/fc/v3_function_version.py +2 -30
- pulumi_alicloud/fc/v3_layer_version.py +1 -104
- pulumi_alicloud/fc/v3_provision_config.py +2 -86
- pulumi_alicloud/fc/v3_trigger.py +0 -114
- pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +44 -48
- pulumi_alicloud/governance/_inputs.py +0 -54
- pulumi_alicloud/governance/account.py +14 -49
- pulumi_alicloud/governance/outputs.py +0 -51
- pulumi_alicloud/gpdb/instance.py +15 -196
- pulumi_alicloud/kms/instance.py +0 -28
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/oss/__init__.py +0 -2
- pulumi_alicloud/oss/_inputs.py +0 -194
- pulumi_alicloud/oss/outputs.py +0 -141
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/quotas/_inputs.py +6 -6
- pulumi_alicloud/quotas/outputs.py +4 -4
- pulumi_alicloud/quotas/quota_application.py +28 -21
- pulumi_alicloud/redis/tair_instance.py +71 -1046
- pulumi_alicloud/threatdetection/honeypot_preset.py +0 -2
- pulumi_alicloud/vpc/__init__.py +0 -4
- pulumi_alicloud/vpn/gateway_vco_route.py +8 -28
- {pulumi_alicloud-3.66.0.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.66.0.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/RECORD +58 -73
- {pulumi_alicloud-3.66.0.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/WHEEL +1 -1
- pulumi_alicloud/esa/__init__.py +0 -9
- pulumi_alicloud/esa/rate_plan_instance.py +0 -626
- pulumi_alicloud/esa/site.py +0 -533
- pulumi_alicloud/gwlb/__init__.py +0 -12
- pulumi_alicloud/gwlb/_inputs.py +0 -673
- pulumi_alicloud/gwlb/listener.py +0 -434
- pulumi_alicloud/gwlb/load_balancer.py +0 -537
- pulumi_alicloud/gwlb/outputs.py +0 -533
- pulumi_alicloud/gwlb/server_group.py +0 -780
- pulumi_alicloud/oss/bucket_cname.py +0 -509
- pulumi_alicloud/oss/bucket_cname_token.py +0 -239
- pulumi_alicloud/vpc/ipam_ipam.py +0 -531
- pulumi_alicloud/vpc/ipam_ipam_pool.py +0 -850
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +0 -313
- pulumi_alicloud/vpc/ipam_ipam_scope.py +0 -537
- {pulumi_alicloud-3.66.0.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/top_level.txt +0 -0
pulumi_alicloud/gwlb/listener.py
DELETED
|
@@ -1,434 +0,0 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
|
|
5
|
-
import copy
|
|
6
|
-
import warnings
|
|
7
|
-
import sys
|
|
8
|
-
import pulumi
|
|
9
|
-
import pulumi.runtime
|
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
-
if sys.version_info >= (3, 11):
|
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
-
else:
|
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
-
from .. import _utilities
|
|
16
|
-
|
|
17
|
-
__all__ = ['ListenerArgs', 'Listener']
|
|
18
|
-
|
|
19
|
-
@pulumi.input_type
|
|
20
|
-
class ListenerArgs:
|
|
21
|
-
def __init__(__self__, *,
|
|
22
|
-
load_balancer_id: pulumi.Input[str],
|
|
23
|
-
server_group_id: pulumi.Input[str],
|
|
24
|
-
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
25
|
-
listener_description: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
27
|
-
"""
|
|
28
|
-
The set of arguments for constructing a Listener resource.
|
|
29
|
-
:param pulumi.Input[str] load_balancer_id: The ID of the gateway load balancer instance.
|
|
30
|
-
:param pulumi.Input[str] server_group_id: The ID of the server group.
|
|
31
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request.
|
|
32
|
-
:param pulumi.Input[str] listener_description: The custom listener description.
|
|
33
|
-
|
|
34
|
-
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
|
|
35
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
|
|
36
|
-
"""
|
|
37
|
-
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
|
|
38
|
-
pulumi.set(__self__, "server_group_id", server_group_id)
|
|
39
|
-
if dry_run is not None:
|
|
40
|
-
pulumi.set(__self__, "dry_run", dry_run)
|
|
41
|
-
if listener_description is not None:
|
|
42
|
-
pulumi.set(__self__, "listener_description", listener_description)
|
|
43
|
-
if tags is not None:
|
|
44
|
-
pulumi.set(__self__, "tags", tags)
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
@pulumi.getter(name="loadBalancerId")
|
|
48
|
-
def load_balancer_id(self) -> pulumi.Input[str]:
|
|
49
|
-
"""
|
|
50
|
-
The ID of the gateway load balancer instance.
|
|
51
|
-
"""
|
|
52
|
-
return pulumi.get(self, "load_balancer_id")
|
|
53
|
-
|
|
54
|
-
@load_balancer_id.setter
|
|
55
|
-
def load_balancer_id(self, value: pulumi.Input[str]):
|
|
56
|
-
pulumi.set(self, "load_balancer_id", value)
|
|
57
|
-
|
|
58
|
-
@property
|
|
59
|
-
@pulumi.getter(name="serverGroupId")
|
|
60
|
-
def server_group_id(self) -> pulumi.Input[str]:
|
|
61
|
-
"""
|
|
62
|
-
The ID of the server group.
|
|
63
|
-
"""
|
|
64
|
-
return pulumi.get(self, "server_group_id")
|
|
65
|
-
|
|
66
|
-
@server_group_id.setter
|
|
67
|
-
def server_group_id(self, value: pulumi.Input[str]):
|
|
68
|
-
pulumi.set(self, "server_group_id", value)
|
|
69
|
-
|
|
70
|
-
@property
|
|
71
|
-
@pulumi.getter(name="dryRun")
|
|
72
|
-
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
73
|
-
"""
|
|
74
|
-
Specifies whether to perform only a dry run, without performing the actual request.
|
|
75
|
-
"""
|
|
76
|
-
return pulumi.get(self, "dry_run")
|
|
77
|
-
|
|
78
|
-
@dry_run.setter
|
|
79
|
-
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
80
|
-
pulumi.set(self, "dry_run", value)
|
|
81
|
-
|
|
82
|
-
@property
|
|
83
|
-
@pulumi.getter(name="listenerDescription")
|
|
84
|
-
def listener_description(self) -> Optional[pulumi.Input[str]]:
|
|
85
|
-
"""
|
|
86
|
-
The custom listener description.
|
|
87
|
-
|
|
88
|
-
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
|
|
89
|
-
"""
|
|
90
|
-
return pulumi.get(self, "listener_description")
|
|
91
|
-
|
|
92
|
-
@listener_description.setter
|
|
93
|
-
def listener_description(self, value: Optional[pulumi.Input[str]]):
|
|
94
|
-
pulumi.set(self, "listener_description", value)
|
|
95
|
-
|
|
96
|
-
@property
|
|
97
|
-
@pulumi.getter
|
|
98
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
99
|
-
"""
|
|
100
|
-
The list of tags.
|
|
101
|
-
"""
|
|
102
|
-
return pulumi.get(self, "tags")
|
|
103
|
-
|
|
104
|
-
@tags.setter
|
|
105
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
106
|
-
pulumi.set(self, "tags", value)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@pulumi.input_type
|
|
110
|
-
class _ListenerState:
|
|
111
|
-
def __init__(__self__, *,
|
|
112
|
-
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
113
|
-
listener_description: Optional[pulumi.Input[str]] = None,
|
|
114
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
|
115
|
-
region_id: Optional[pulumi.Input[str]] = None,
|
|
116
|
-
server_group_id: Optional[pulumi.Input[str]] = None,
|
|
117
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
118
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
119
|
-
"""
|
|
120
|
-
Input properties used for looking up and filtering Listener resources.
|
|
121
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request.
|
|
122
|
-
:param pulumi.Input[str] listener_description: The custom listener description.
|
|
123
|
-
|
|
124
|
-
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
|
|
125
|
-
:param pulumi.Input[str] load_balancer_id: The ID of the gateway load balancer instance.
|
|
126
|
-
:param pulumi.Input[str] region_id: The ID of the region.
|
|
127
|
-
:param pulumi.Input[str] server_group_id: The ID of the server group.
|
|
128
|
-
:param pulumi.Input[str] status: The current status of the listener. Value:
|
|
129
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
|
|
130
|
-
"""
|
|
131
|
-
if dry_run is not None:
|
|
132
|
-
pulumi.set(__self__, "dry_run", dry_run)
|
|
133
|
-
if listener_description is not None:
|
|
134
|
-
pulumi.set(__self__, "listener_description", listener_description)
|
|
135
|
-
if load_balancer_id is not None:
|
|
136
|
-
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
|
|
137
|
-
if region_id is not None:
|
|
138
|
-
pulumi.set(__self__, "region_id", region_id)
|
|
139
|
-
if server_group_id is not None:
|
|
140
|
-
pulumi.set(__self__, "server_group_id", server_group_id)
|
|
141
|
-
if status is not None:
|
|
142
|
-
pulumi.set(__self__, "status", status)
|
|
143
|
-
if tags is not None:
|
|
144
|
-
pulumi.set(__self__, "tags", tags)
|
|
145
|
-
|
|
146
|
-
@property
|
|
147
|
-
@pulumi.getter(name="dryRun")
|
|
148
|
-
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
149
|
-
"""
|
|
150
|
-
Specifies whether to perform only a dry run, without performing the actual request.
|
|
151
|
-
"""
|
|
152
|
-
return pulumi.get(self, "dry_run")
|
|
153
|
-
|
|
154
|
-
@dry_run.setter
|
|
155
|
-
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
156
|
-
pulumi.set(self, "dry_run", value)
|
|
157
|
-
|
|
158
|
-
@property
|
|
159
|
-
@pulumi.getter(name="listenerDescription")
|
|
160
|
-
def listener_description(self) -> Optional[pulumi.Input[str]]:
|
|
161
|
-
"""
|
|
162
|
-
The custom listener description.
|
|
163
|
-
|
|
164
|
-
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
|
|
165
|
-
"""
|
|
166
|
-
return pulumi.get(self, "listener_description")
|
|
167
|
-
|
|
168
|
-
@listener_description.setter
|
|
169
|
-
def listener_description(self, value: Optional[pulumi.Input[str]]):
|
|
170
|
-
pulumi.set(self, "listener_description", value)
|
|
171
|
-
|
|
172
|
-
@property
|
|
173
|
-
@pulumi.getter(name="loadBalancerId")
|
|
174
|
-
def load_balancer_id(self) -> Optional[pulumi.Input[str]]:
|
|
175
|
-
"""
|
|
176
|
-
The ID of the gateway load balancer instance.
|
|
177
|
-
"""
|
|
178
|
-
return pulumi.get(self, "load_balancer_id")
|
|
179
|
-
|
|
180
|
-
@load_balancer_id.setter
|
|
181
|
-
def load_balancer_id(self, value: Optional[pulumi.Input[str]]):
|
|
182
|
-
pulumi.set(self, "load_balancer_id", value)
|
|
183
|
-
|
|
184
|
-
@property
|
|
185
|
-
@pulumi.getter(name="regionId")
|
|
186
|
-
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
187
|
-
"""
|
|
188
|
-
The ID of the region.
|
|
189
|
-
"""
|
|
190
|
-
return pulumi.get(self, "region_id")
|
|
191
|
-
|
|
192
|
-
@region_id.setter
|
|
193
|
-
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
194
|
-
pulumi.set(self, "region_id", value)
|
|
195
|
-
|
|
196
|
-
@property
|
|
197
|
-
@pulumi.getter(name="serverGroupId")
|
|
198
|
-
def server_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
199
|
-
"""
|
|
200
|
-
The ID of the server group.
|
|
201
|
-
"""
|
|
202
|
-
return pulumi.get(self, "server_group_id")
|
|
203
|
-
|
|
204
|
-
@server_group_id.setter
|
|
205
|
-
def server_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
206
|
-
pulumi.set(self, "server_group_id", value)
|
|
207
|
-
|
|
208
|
-
@property
|
|
209
|
-
@pulumi.getter
|
|
210
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
211
|
-
"""
|
|
212
|
-
The current status of the listener. Value:
|
|
213
|
-
"""
|
|
214
|
-
return pulumi.get(self, "status")
|
|
215
|
-
|
|
216
|
-
@status.setter
|
|
217
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
218
|
-
pulumi.set(self, "status", value)
|
|
219
|
-
|
|
220
|
-
@property
|
|
221
|
-
@pulumi.getter
|
|
222
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
223
|
-
"""
|
|
224
|
-
The list of tags.
|
|
225
|
-
"""
|
|
226
|
-
return pulumi.get(self, "tags")
|
|
227
|
-
|
|
228
|
-
@tags.setter
|
|
229
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
230
|
-
pulumi.set(self, "tags", value)
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
class Listener(pulumi.CustomResource):
|
|
234
|
-
@overload
|
|
235
|
-
def __init__(__self__,
|
|
236
|
-
resource_name: str,
|
|
237
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
238
|
-
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
239
|
-
listener_description: Optional[pulumi.Input[str]] = None,
|
|
240
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
|
241
|
-
server_group_id: Optional[pulumi.Input[str]] = None,
|
|
242
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
243
|
-
__props__=None):
|
|
244
|
-
"""
|
|
245
|
-
Provides a GWLB Listener resource.
|
|
246
|
-
|
|
247
|
-
For information about GWLB Listener and how to use it, see [What is Listener](https://www.alibabacloud.com/help/en/).
|
|
248
|
-
|
|
249
|
-
> **NOTE:** Available since v1.234.0.
|
|
250
|
-
|
|
251
|
-
## Import
|
|
252
|
-
|
|
253
|
-
GWLB Listener can be imported using the id, e.g.
|
|
254
|
-
|
|
255
|
-
```sh
|
|
256
|
-
$ pulumi import alicloud:gwlb/listener:Listener example <id>
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
:param str resource_name: The name of the resource.
|
|
260
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
261
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request.
|
|
262
|
-
:param pulumi.Input[str] listener_description: The custom listener description.
|
|
263
|
-
|
|
264
|
-
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
|
|
265
|
-
:param pulumi.Input[str] load_balancer_id: The ID of the gateway load balancer instance.
|
|
266
|
-
:param pulumi.Input[str] server_group_id: The ID of the server group.
|
|
267
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
|
|
268
|
-
"""
|
|
269
|
-
...
|
|
270
|
-
@overload
|
|
271
|
-
def __init__(__self__,
|
|
272
|
-
resource_name: str,
|
|
273
|
-
args: ListenerArgs,
|
|
274
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
275
|
-
"""
|
|
276
|
-
Provides a GWLB Listener resource.
|
|
277
|
-
|
|
278
|
-
For information about GWLB Listener and how to use it, see [What is Listener](https://www.alibabacloud.com/help/en/).
|
|
279
|
-
|
|
280
|
-
> **NOTE:** Available since v1.234.0.
|
|
281
|
-
|
|
282
|
-
## Import
|
|
283
|
-
|
|
284
|
-
GWLB Listener can be imported using the id, e.g.
|
|
285
|
-
|
|
286
|
-
```sh
|
|
287
|
-
$ pulumi import alicloud:gwlb/listener:Listener example <id>
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
:param str resource_name: The name of the resource.
|
|
291
|
-
:param ListenerArgs args: The arguments to use to populate this resource's properties.
|
|
292
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
293
|
-
"""
|
|
294
|
-
...
|
|
295
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
296
|
-
resource_args, opts = _utilities.get_resource_args_opts(ListenerArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
297
|
-
if resource_args is not None:
|
|
298
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
299
|
-
else:
|
|
300
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
301
|
-
|
|
302
|
-
def _internal_init(__self__,
|
|
303
|
-
resource_name: str,
|
|
304
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
305
|
-
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
306
|
-
listener_description: Optional[pulumi.Input[str]] = None,
|
|
307
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
|
308
|
-
server_group_id: Optional[pulumi.Input[str]] = None,
|
|
309
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
310
|
-
__props__=None):
|
|
311
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
312
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
313
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
314
|
-
if opts.id is None:
|
|
315
|
-
if __props__ is not None:
|
|
316
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
317
|
-
__props__ = ListenerArgs.__new__(ListenerArgs)
|
|
318
|
-
|
|
319
|
-
__props__.__dict__["dry_run"] = dry_run
|
|
320
|
-
__props__.__dict__["listener_description"] = listener_description
|
|
321
|
-
if load_balancer_id is None and not opts.urn:
|
|
322
|
-
raise TypeError("Missing required property 'load_balancer_id'")
|
|
323
|
-
__props__.__dict__["load_balancer_id"] = load_balancer_id
|
|
324
|
-
if server_group_id is None and not opts.urn:
|
|
325
|
-
raise TypeError("Missing required property 'server_group_id'")
|
|
326
|
-
__props__.__dict__["server_group_id"] = server_group_id
|
|
327
|
-
__props__.__dict__["tags"] = tags
|
|
328
|
-
__props__.__dict__["region_id"] = None
|
|
329
|
-
__props__.__dict__["status"] = None
|
|
330
|
-
super(Listener, __self__).__init__(
|
|
331
|
-
'alicloud:gwlb/listener:Listener',
|
|
332
|
-
resource_name,
|
|
333
|
-
__props__,
|
|
334
|
-
opts)
|
|
335
|
-
|
|
336
|
-
@staticmethod
|
|
337
|
-
def get(resource_name: str,
|
|
338
|
-
id: pulumi.Input[str],
|
|
339
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
340
|
-
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
341
|
-
listener_description: Optional[pulumi.Input[str]] = None,
|
|
342
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
|
343
|
-
region_id: Optional[pulumi.Input[str]] = None,
|
|
344
|
-
server_group_id: Optional[pulumi.Input[str]] = None,
|
|
345
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
346
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'Listener':
|
|
347
|
-
"""
|
|
348
|
-
Get an existing Listener resource's state with the given name, id, and optional extra
|
|
349
|
-
properties used to qualify the lookup.
|
|
350
|
-
|
|
351
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
352
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
353
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
354
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request.
|
|
355
|
-
:param pulumi.Input[str] listener_description: The custom listener description.
|
|
356
|
-
|
|
357
|
-
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
|
|
358
|
-
:param pulumi.Input[str] load_balancer_id: The ID of the gateway load balancer instance.
|
|
359
|
-
:param pulumi.Input[str] region_id: The ID of the region.
|
|
360
|
-
:param pulumi.Input[str] server_group_id: The ID of the server group.
|
|
361
|
-
:param pulumi.Input[str] status: The current status of the listener. Value:
|
|
362
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
|
|
363
|
-
"""
|
|
364
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
365
|
-
|
|
366
|
-
__props__ = _ListenerState.__new__(_ListenerState)
|
|
367
|
-
|
|
368
|
-
__props__.__dict__["dry_run"] = dry_run
|
|
369
|
-
__props__.__dict__["listener_description"] = listener_description
|
|
370
|
-
__props__.__dict__["load_balancer_id"] = load_balancer_id
|
|
371
|
-
__props__.__dict__["region_id"] = region_id
|
|
372
|
-
__props__.__dict__["server_group_id"] = server_group_id
|
|
373
|
-
__props__.__dict__["status"] = status
|
|
374
|
-
__props__.__dict__["tags"] = tags
|
|
375
|
-
return Listener(resource_name, opts=opts, __props__=__props__)
|
|
376
|
-
|
|
377
|
-
@property
|
|
378
|
-
@pulumi.getter(name="dryRun")
|
|
379
|
-
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
380
|
-
"""
|
|
381
|
-
Specifies whether to perform only a dry run, without performing the actual request.
|
|
382
|
-
"""
|
|
383
|
-
return pulumi.get(self, "dry_run")
|
|
384
|
-
|
|
385
|
-
@property
|
|
386
|
-
@pulumi.getter(name="listenerDescription")
|
|
387
|
-
def listener_description(self) -> pulumi.Output[Optional[str]]:
|
|
388
|
-
"""
|
|
389
|
-
The custom listener description.
|
|
390
|
-
|
|
391
|
-
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
|
|
392
|
-
"""
|
|
393
|
-
return pulumi.get(self, "listener_description")
|
|
394
|
-
|
|
395
|
-
@property
|
|
396
|
-
@pulumi.getter(name="loadBalancerId")
|
|
397
|
-
def load_balancer_id(self) -> pulumi.Output[str]:
|
|
398
|
-
"""
|
|
399
|
-
The ID of the gateway load balancer instance.
|
|
400
|
-
"""
|
|
401
|
-
return pulumi.get(self, "load_balancer_id")
|
|
402
|
-
|
|
403
|
-
@property
|
|
404
|
-
@pulumi.getter(name="regionId")
|
|
405
|
-
def region_id(self) -> pulumi.Output[str]:
|
|
406
|
-
"""
|
|
407
|
-
The ID of the region.
|
|
408
|
-
"""
|
|
409
|
-
return pulumi.get(self, "region_id")
|
|
410
|
-
|
|
411
|
-
@property
|
|
412
|
-
@pulumi.getter(name="serverGroupId")
|
|
413
|
-
def server_group_id(self) -> pulumi.Output[str]:
|
|
414
|
-
"""
|
|
415
|
-
The ID of the server group.
|
|
416
|
-
"""
|
|
417
|
-
return pulumi.get(self, "server_group_id")
|
|
418
|
-
|
|
419
|
-
@property
|
|
420
|
-
@pulumi.getter
|
|
421
|
-
def status(self) -> pulumi.Output[str]:
|
|
422
|
-
"""
|
|
423
|
-
The current status of the listener. Value:
|
|
424
|
-
"""
|
|
425
|
-
return pulumi.get(self, "status")
|
|
426
|
-
|
|
427
|
-
@property
|
|
428
|
-
@pulumi.getter
|
|
429
|
-
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
430
|
-
"""
|
|
431
|
-
The list of tags.
|
|
432
|
-
"""
|
|
433
|
-
return pulumi.get(self, "tags")
|
|
434
|
-
|