pulumi-alicloud 3.86.0a1758000634__py3-none-any.whl → 3.86.1__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 +56 -0
- pulumi_alicloud/actiontrail/get_sasl_users.py +106 -21
- pulumi_alicloud/actiontrail/outputs.py +18 -0
- pulumi_alicloud/alikafka/instance.py +28 -28
- pulumi_alicloud/apig/_inputs.py +80 -6
- pulumi_alicloud/apig/gateway.py +111 -3
- pulumi_alicloud/apig/outputs.py +67 -4
- pulumi_alicloud/cas/certificate.py +248 -35
- pulumi_alicloud/cas/service_certificate.py +454 -168
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +61 -29
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/threat_intelligence_switch.py +257 -0
- pulumi_alicloud/cloudsso/__init__.py +1 -0
- pulumi_alicloud/cloudsso/_inputs.py +54 -0
- pulumi_alicloud/cloudsso/outputs.py +51 -0
- pulumi_alicloud/cloudsso/user_provisioning.py +723 -0
- pulumi_alicloud/dms/__init__.py +1 -0
- pulumi_alicloud/dms/airflow.py +990 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +21 -7
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +189 -0
- pulumi_alicloud/esa/outputs.py +137 -0
- pulumi_alicloud/esa/transport_layer_application.py +459 -0
- pulumi_alicloud/esa/waf_ruleset.py +437 -0
- pulumi_alicloud/fc/_inputs.py +13 -0
- pulumi_alicloud/fc/function.py +0 -156
- pulumi_alicloud/fc/outputs.py +8 -0
- pulumi_alicloud/fc/v3_function.py +54 -7
- pulumi_alicloud/hbr/policy_binding.py +7 -0
- pulumi_alicloud/kvstore/account.py +4 -4
- pulumi_alicloud/lindorm/__init__.py +2 -0
- pulumi_alicloud/lindorm/_inputs.py +459 -0
- pulumi_alicloud/lindorm/instance_v2.py +1119 -0
- pulumi_alicloud/lindorm/outputs.py +319 -0
- pulumi_alicloud/log/etl.py +6 -0
- pulumi_alicloud/mongodb/sharding_instance.py +235 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_service.py +12 -8
- pulumi_alicloud/resourcemanager/control_policy.py +169 -31
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +39 -7
- pulumi_alicloud/resourcemanager/handshake.py +118 -56
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +111 -0
- pulumi_alicloud/sls/index.py +646 -0
- pulumi_alicloud/sls/outputs.py +86 -0
- pulumi_alicloud/vpc/bgp_network.py +83 -36
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/RECORD +51 -43
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/top_level.txt +0 -0
pulumi_alicloud/apig/_inputs.py
CHANGED
|
@@ -25,6 +25,8 @@ __all__ = [
|
|
|
25
25
|
'GatewayVpcArgsDict',
|
|
26
26
|
'GatewayVswitchArgs',
|
|
27
27
|
'GatewayVswitchArgsDict',
|
|
28
|
+
'GatewayZoneArgs',
|
|
29
|
+
'GatewayZoneArgsDict',
|
|
28
30
|
'GatewayZoneConfigArgs',
|
|
29
31
|
'GatewayZoneConfigArgsDict',
|
|
30
32
|
]
|
|
@@ -135,7 +137,7 @@ if not MYPY:
|
|
|
135
137
|
"""
|
|
136
138
|
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
137
139
|
"""
|
|
138
|
-
The name
|
|
140
|
+
The zone name.
|
|
139
141
|
"""
|
|
140
142
|
elif False:
|
|
141
143
|
GatewayVpcArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -147,7 +149,7 @@ class GatewayVpcArgs:
|
|
|
147
149
|
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
148
150
|
"""
|
|
149
151
|
:param pulumi.Input[_builtins.str] vpc_id: The VPC network ID.
|
|
150
|
-
:param pulumi.Input[_builtins.str] name: The name
|
|
152
|
+
:param pulumi.Input[_builtins.str] name: The zone name.
|
|
151
153
|
"""
|
|
152
154
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
153
155
|
if name is not None:
|
|
@@ -169,7 +171,7 @@ class GatewayVpcArgs:
|
|
|
169
171
|
@pulumi.getter
|
|
170
172
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
171
173
|
"""
|
|
172
|
-
The name
|
|
174
|
+
The zone name.
|
|
173
175
|
"""
|
|
174
176
|
return pulumi.get(self, "name")
|
|
175
177
|
|
|
@@ -182,7 +184,7 @@ if not MYPY:
|
|
|
182
184
|
class GatewayVswitchArgsDict(TypedDict):
|
|
183
185
|
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
184
186
|
"""
|
|
185
|
-
The name
|
|
187
|
+
The zone name.
|
|
186
188
|
"""
|
|
187
189
|
vswitch_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
188
190
|
"""
|
|
@@ -197,7 +199,7 @@ class GatewayVswitchArgs:
|
|
|
197
199
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
200
|
vswitch_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
199
201
|
"""
|
|
200
|
-
:param pulumi.Input[_builtins.str] name: The name
|
|
202
|
+
:param pulumi.Input[_builtins.str] name: The zone name.
|
|
201
203
|
:param pulumi.Input[_builtins.str] vswitch_id: The ID of the virtual switch.
|
|
202
204
|
"""
|
|
203
205
|
if name is not None:
|
|
@@ -209,7 +211,7 @@ class GatewayVswitchArgs:
|
|
|
209
211
|
@pulumi.getter
|
|
210
212
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
211
213
|
"""
|
|
212
|
-
The name
|
|
214
|
+
The zone name.
|
|
213
215
|
"""
|
|
214
216
|
return pulumi.get(self, "name")
|
|
215
217
|
|
|
@@ -230,6 +232,78 @@ class GatewayVswitchArgs:
|
|
|
230
232
|
pulumi.set(self, "vswitch_id", value)
|
|
231
233
|
|
|
232
234
|
|
|
235
|
+
if not MYPY:
|
|
236
|
+
class GatewayZoneArgsDict(TypedDict):
|
|
237
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
238
|
+
"""
|
|
239
|
+
The zone name.
|
|
240
|
+
"""
|
|
241
|
+
vswitch_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
242
|
+
"""
|
|
243
|
+
The vswitch ID.
|
|
244
|
+
"""
|
|
245
|
+
zone_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
246
|
+
"""
|
|
247
|
+
The zone ID.
|
|
248
|
+
"""
|
|
249
|
+
elif False:
|
|
250
|
+
GatewayZoneArgsDict: TypeAlias = Mapping[str, Any]
|
|
251
|
+
|
|
252
|
+
@pulumi.input_type
|
|
253
|
+
class GatewayZoneArgs:
|
|
254
|
+
def __init__(__self__, *,
|
|
255
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
256
|
+
vswitch_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
|
+
zone_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
258
|
+
"""
|
|
259
|
+
:param pulumi.Input[_builtins.str] name: The zone name.
|
|
260
|
+
:param pulumi.Input[_builtins.str] vswitch_id: The vswitch ID.
|
|
261
|
+
:param pulumi.Input[_builtins.str] zone_id: The zone ID.
|
|
262
|
+
"""
|
|
263
|
+
if name is not None:
|
|
264
|
+
pulumi.set(__self__, "name", name)
|
|
265
|
+
if vswitch_id is not None:
|
|
266
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
267
|
+
if zone_id is not None:
|
|
268
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
269
|
+
|
|
270
|
+
@_builtins.property
|
|
271
|
+
@pulumi.getter
|
|
272
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
273
|
+
"""
|
|
274
|
+
The zone name.
|
|
275
|
+
"""
|
|
276
|
+
return pulumi.get(self, "name")
|
|
277
|
+
|
|
278
|
+
@name.setter
|
|
279
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
280
|
+
pulumi.set(self, "name", value)
|
|
281
|
+
|
|
282
|
+
@_builtins.property
|
|
283
|
+
@pulumi.getter(name="vswitchId")
|
|
284
|
+
def vswitch_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
285
|
+
"""
|
|
286
|
+
The vswitch ID.
|
|
287
|
+
"""
|
|
288
|
+
return pulumi.get(self, "vswitch_id")
|
|
289
|
+
|
|
290
|
+
@vswitch_id.setter
|
|
291
|
+
def vswitch_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
292
|
+
pulumi.set(self, "vswitch_id", value)
|
|
293
|
+
|
|
294
|
+
@_builtins.property
|
|
295
|
+
@pulumi.getter(name="zoneId")
|
|
296
|
+
def zone_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
297
|
+
"""
|
|
298
|
+
The zone ID.
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "zone_id")
|
|
301
|
+
|
|
302
|
+
@zone_id.setter
|
|
303
|
+
def zone_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
304
|
+
pulumi.set(self, "zone_id", value)
|
|
305
|
+
|
|
306
|
+
|
|
233
307
|
if not MYPY:
|
|
234
308
|
class GatewayZoneConfigArgsDict(TypedDict):
|
|
235
309
|
select_option: pulumi.Input[_builtins.str]
|
pulumi_alicloud/apig/gateway.py
CHANGED
|
@@ -24,18 +24,23 @@ class GatewayArgs:
|
|
|
24
24
|
payment_type: pulumi.Input[_builtins.str],
|
|
25
25
|
zone_config: pulumi.Input['GatewayZoneConfigArgs'],
|
|
26
26
|
gateway_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
gateway_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
28
|
log_config: Optional[pulumi.Input['GatewayLogConfigArgs']] = None,
|
|
28
29
|
network_access_config: Optional[pulumi.Input['GatewayNetworkAccessConfigArgs']] = None,
|
|
29
30
|
resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
31
|
spec: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
32
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
32
33
|
vpc: Optional[pulumi.Input['GatewayVpcArgs']] = None,
|
|
33
|
-
vswitch: Optional[pulumi.Input['GatewayVswitchArgs']] = None
|
|
34
|
+
vswitch: Optional[pulumi.Input['GatewayVswitchArgs']] = None,
|
|
35
|
+
zones: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]]] = None):
|
|
34
36
|
"""
|
|
35
37
|
The set of arguments for constructing a Gateway resource.
|
|
36
38
|
:param pulumi.Input[_builtins.str] payment_type: The payment type of the resource
|
|
37
39
|
:param pulumi.Input['GatewayZoneConfigArgs'] zone_config: Availability Zone Configuration See `zone_config` below.
|
|
38
40
|
:param pulumi.Input[_builtins.str] gateway_name: The name of the resource
|
|
41
|
+
:param pulumi.Input[_builtins.str] gateway_type: Describes the gateway type, which is categorized into the following two types:
|
|
42
|
+
- API: indicates an API gateway
|
|
43
|
+
- AI: Indicates an AI gateway
|
|
39
44
|
:param pulumi.Input['GatewayLogConfigArgs'] log_config: Log Configuration See `log_config` below.
|
|
40
45
|
:param pulumi.Input['GatewayNetworkAccessConfigArgs'] network_access_config: Network Access Configuration See `network_access_config` below.
|
|
41
46
|
:param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group
|
|
@@ -43,11 +48,14 @@ class GatewayArgs:
|
|
|
43
48
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tag of the resource
|
|
44
49
|
:param pulumi.Input['GatewayVpcArgs'] vpc: The VPC associated with the Gateway. See `vpc` below.
|
|
45
50
|
:param pulumi.Input['GatewayVswitchArgs'] vswitch: The virtual switch associated with the Gateway. See `vswitch` below.
|
|
51
|
+
:param pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]] zones: The List of zones associated with the Gateway. See `zones` below.
|
|
46
52
|
"""
|
|
47
53
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
48
54
|
pulumi.set(__self__, "zone_config", zone_config)
|
|
49
55
|
if gateway_name is not None:
|
|
50
56
|
pulumi.set(__self__, "gateway_name", gateway_name)
|
|
57
|
+
if gateway_type is not None:
|
|
58
|
+
pulumi.set(__self__, "gateway_type", gateway_type)
|
|
51
59
|
if log_config is not None:
|
|
52
60
|
pulumi.set(__self__, "log_config", log_config)
|
|
53
61
|
if network_access_config is not None:
|
|
@@ -62,6 +70,8 @@ class GatewayArgs:
|
|
|
62
70
|
pulumi.set(__self__, "vpc", vpc)
|
|
63
71
|
if vswitch is not None:
|
|
64
72
|
pulumi.set(__self__, "vswitch", vswitch)
|
|
73
|
+
if zones is not None:
|
|
74
|
+
pulumi.set(__self__, "zones", zones)
|
|
65
75
|
|
|
66
76
|
@_builtins.property
|
|
67
77
|
@pulumi.getter(name="paymentType")
|
|
@@ -99,6 +109,20 @@ class GatewayArgs:
|
|
|
99
109
|
def gateway_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
100
110
|
pulumi.set(self, "gateway_name", value)
|
|
101
111
|
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter(name="gatewayType")
|
|
114
|
+
def gateway_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
115
|
+
"""
|
|
116
|
+
Describes the gateway type, which is categorized into the following two types:
|
|
117
|
+
- API: indicates an API gateway
|
|
118
|
+
- AI: Indicates an AI gateway
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "gateway_type")
|
|
121
|
+
|
|
122
|
+
@gateway_type.setter
|
|
123
|
+
def gateway_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
124
|
+
pulumi.set(self, "gateway_type", value)
|
|
125
|
+
|
|
102
126
|
@_builtins.property
|
|
103
127
|
@pulumi.getter(name="logConfig")
|
|
104
128
|
def log_config(self) -> Optional[pulumi.Input['GatewayLogConfigArgs']]:
|
|
@@ -183,12 +207,25 @@ class GatewayArgs:
|
|
|
183
207
|
def vswitch(self, value: Optional[pulumi.Input['GatewayVswitchArgs']]):
|
|
184
208
|
pulumi.set(self, "vswitch", value)
|
|
185
209
|
|
|
210
|
+
@_builtins.property
|
|
211
|
+
@pulumi.getter
|
|
212
|
+
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]]]:
|
|
213
|
+
"""
|
|
214
|
+
The List of zones associated with the Gateway. See `zones` below.
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "zones")
|
|
217
|
+
|
|
218
|
+
@zones.setter
|
|
219
|
+
def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]]]):
|
|
220
|
+
pulumi.set(self, "zones", value)
|
|
221
|
+
|
|
186
222
|
|
|
187
223
|
@pulumi.input_type
|
|
188
224
|
class _GatewayState:
|
|
189
225
|
def __init__(__self__, *,
|
|
190
226
|
create_time: Optional[pulumi.Input[_builtins.int]] = None,
|
|
191
227
|
gateway_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
|
+
gateway_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
192
229
|
log_config: Optional[pulumi.Input['GatewayLogConfigArgs']] = None,
|
|
193
230
|
network_access_config: Optional[pulumi.Input['GatewayNetworkAccessConfigArgs']] = None,
|
|
194
231
|
payment_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -198,11 +235,15 @@ class _GatewayState:
|
|
|
198
235
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
199
236
|
vpc: Optional[pulumi.Input['GatewayVpcArgs']] = None,
|
|
200
237
|
vswitch: Optional[pulumi.Input['GatewayVswitchArgs']] = None,
|
|
201
|
-
zone_config: Optional[pulumi.Input['GatewayZoneConfigArgs']] = None
|
|
238
|
+
zone_config: Optional[pulumi.Input['GatewayZoneConfigArgs']] = None,
|
|
239
|
+
zones: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]]] = None):
|
|
202
240
|
"""
|
|
203
241
|
Input properties used for looking up and filtering Gateway resources.
|
|
204
242
|
:param pulumi.Input[_builtins.int] create_time: The creation timestamp. Unit: milliseconds.
|
|
205
243
|
:param pulumi.Input[_builtins.str] gateway_name: The name of the resource
|
|
244
|
+
:param pulumi.Input[_builtins.str] gateway_type: Describes the gateway type, which is categorized into the following two types:
|
|
245
|
+
- API: indicates an API gateway
|
|
246
|
+
- AI: Indicates an AI gateway
|
|
206
247
|
:param pulumi.Input['GatewayLogConfigArgs'] log_config: Log Configuration See `log_config` below.
|
|
207
248
|
:param pulumi.Input['GatewayNetworkAccessConfigArgs'] network_access_config: Network Access Configuration See `network_access_config` below.
|
|
208
249
|
:param pulumi.Input[_builtins.str] payment_type: The payment type of the resource
|
|
@@ -213,11 +254,14 @@ class _GatewayState:
|
|
|
213
254
|
:param pulumi.Input['GatewayVpcArgs'] vpc: The VPC associated with the Gateway. See `vpc` below.
|
|
214
255
|
:param pulumi.Input['GatewayVswitchArgs'] vswitch: The virtual switch associated with the Gateway. See `vswitch` below.
|
|
215
256
|
:param pulumi.Input['GatewayZoneConfigArgs'] zone_config: Availability Zone Configuration See `zone_config` below.
|
|
257
|
+
:param pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]] zones: The List of zones associated with the Gateway. See `zones` below.
|
|
216
258
|
"""
|
|
217
259
|
if create_time is not None:
|
|
218
260
|
pulumi.set(__self__, "create_time", create_time)
|
|
219
261
|
if gateway_name is not None:
|
|
220
262
|
pulumi.set(__self__, "gateway_name", gateway_name)
|
|
263
|
+
if gateway_type is not None:
|
|
264
|
+
pulumi.set(__self__, "gateway_type", gateway_type)
|
|
221
265
|
if log_config is not None:
|
|
222
266
|
pulumi.set(__self__, "log_config", log_config)
|
|
223
267
|
if network_access_config is not None:
|
|
@@ -238,6 +282,8 @@ class _GatewayState:
|
|
|
238
282
|
pulumi.set(__self__, "vswitch", vswitch)
|
|
239
283
|
if zone_config is not None:
|
|
240
284
|
pulumi.set(__self__, "zone_config", zone_config)
|
|
285
|
+
if zones is not None:
|
|
286
|
+
pulumi.set(__self__, "zones", zones)
|
|
241
287
|
|
|
242
288
|
@_builtins.property
|
|
243
289
|
@pulumi.getter(name="createTime")
|
|
@@ -263,6 +309,20 @@ class _GatewayState:
|
|
|
263
309
|
def gateway_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
264
310
|
pulumi.set(self, "gateway_name", value)
|
|
265
311
|
|
|
312
|
+
@_builtins.property
|
|
313
|
+
@pulumi.getter(name="gatewayType")
|
|
314
|
+
def gateway_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
315
|
+
"""
|
|
316
|
+
Describes the gateway type, which is categorized into the following two types:
|
|
317
|
+
- API: indicates an API gateway
|
|
318
|
+
- AI: Indicates an AI gateway
|
|
319
|
+
"""
|
|
320
|
+
return pulumi.get(self, "gateway_type")
|
|
321
|
+
|
|
322
|
+
@gateway_type.setter
|
|
323
|
+
def gateway_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
324
|
+
pulumi.set(self, "gateway_type", value)
|
|
325
|
+
|
|
266
326
|
@_builtins.property
|
|
267
327
|
@pulumi.getter(name="logConfig")
|
|
268
328
|
def log_config(self) -> Optional[pulumi.Input['GatewayLogConfigArgs']]:
|
|
@@ -383,6 +443,18 @@ class _GatewayState:
|
|
|
383
443
|
def zone_config(self, value: Optional[pulumi.Input['GatewayZoneConfigArgs']]):
|
|
384
444
|
pulumi.set(self, "zone_config", value)
|
|
385
445
|
|
|
446
|
+
@_builtins.property
|
|
447
|
+
@pulumi.getter
|
|
448
|
+
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]]]:
|
|
449
|
+
"""
|
|
450
|
+
The List of zones associated with the Gateway. See `zones` below.
|
|
451
|
+
"""
|
|
452
|
+
return pulumi.get(self, "zones")
|
|
453
|
+
|
|
454
|
+
@zones.setter
|
|
455
|
+
def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayZoneArgs']]]]):
|
|
456
|
+
pulumi.set(self, "zones", value)
|
|
457
|
+
|
|
386
458
|
|
|
387
459
|
@pulumi.type_token("alicloud:apig/gateway:Gateway")
|
|
388
460
|
class Gateway(pulumi.CustomResource):
|
|
@@ -391,6 +463,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
391
463
|
resource_name: str,
|
|
392
464
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
393
465
|
gateway_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
466
|
+
gateway_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
394
467
|
log_config: Optional[pulumi.Input[Union['GatewayLogConfigArgs', 'GatewayLogConfigArgsDict']]] = None,
|
|
395
468
|
network_access_config: Optional[pulumi.Input[Union['GatewayNetworkAccessConfigArgs', 'GatewayNetworkAccessConfigArgsDict']]] = None,
|
|
396
469
|
payment_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -400,6 +473,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
400
473
|
vpc: Optional[pulumi.Input[Union['GatewayVpcArgs', 'GatewayVpcArgsDict']]] = None,
|
|
401
474
|
vswitch: Optional[pulumi.Input[Union['GatewayVswitchArgs', 'GatewayVswitchArgsDict']]] = None,
|
|
402
475
|
zone_config: Optional[pulumi.Input[Union['GatewayZoneConfigArgs', 'GatewayZoneConfigArgsDict']]] = None,
|
|
476
|
+
zones: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayZoneArgs', 'GatewayZoneArgsDict']]]]] = None,
|
|
403
477
|
__props__=None):
|
|
404
478
|
"""
|
|
405
479
|
## Import
|
|
@@ -413,6 +487,9 @@ class Gateway(pulumi.CustomResource):
|
|
|
413
487
|
:param str resource_name: The name of the resource.
|
|
414
488
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
415
489
|
:param pulumi.Input[_builtins.str] gateway_name: The name of the resource
|
|
490
|
+
:param pulumi.Input[_builtins.str] gateway_type: Describes the gateway type, which is categorized into the following two types:
|
|
491
|
+
- API: indicates an API gateway
|
|
492
|
+
- AI: Indicates an AI gateway
|
|
416
493
|
:param pulumi.Input[Union['GatewayLogConfigArgs', 'GatewayLogConfigArgsDict']] log_config: Log Configuration See `log_config` below.
|
|
417
494
|
:param pulumi.Input[Union['GatewayNetworkAccessConfigArgs', 'GatewayNetworkAccessConfigArgsDict']] network_access_config: Network Access Configuration See `network_access_config` below.
|
|
418
495
|
:param pulumi.Input[_builtins.str] payment_type: The payment type of the resource
|
|
@@ -422,6 +499,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
422
499
|
:param pulumi.Input[Union['GatewayVpcArgs', 'GatewayVpcArgsDict']] vpc: The VPC associated with the Gateway. See `vpc` below.
|
|
423
500
|
:param pulumi.Input[Union['GatewayVswitchArgs', 'GatewayVswitchArgsDict']] vswitch: The virtual switch associated with the Gateway. See `vswitch` below.
|
|
424
501
|
:param pulumi.Input[Union['GatewayZoneConfigArgs', 'GatewayZoneConfigArgsDict']] zone_config: Availability Zone Configuration See `zone_config` below.
|
|
502
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GatewayZoneArgs', 'GatewayZoneArgsDict']]]] zones: The List of zones associated with the Gateway. See `zones` below.
|
|
425
503
|
"""
|
|
426
504
|
...
|
|
427
505
|
@overload
|
|
@@ -454,6 +532,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
454
532
|
resource_name: str,
|
|
455
533
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
456
534
|
gateway_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
535
|
+
gateway_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
457
536
|
log_config: Optional[pulumi.Input[Union['GatewayLogConfigArgs', 'GatewayLogConfigArgsDict']]] = None,
|
|
458
537
|
network_access_config: Optional[pulumi.Input[Union['GatewayNetworkAccessConfigArgs', 'GatewayNetworkAccessConfigArgsDict']]] = None,
|
|
459
538
|
payment_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -463,6 +542,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
463
542
|
vpc: Optional[pulumi.Input[Union['GatewayVpcArgs', 'GatewayVpcArgsDict']]] = None,
|
|
464
543
|
vswitch: Optional[pulumi.Input[Union['GatewayVswitchArgs', 'GatewayVswitchArgsDict']]] = None,
|
|
465
544
|
zone_config: Optional[pulumi.Input[Union['GatewayZoneConfigArgs', 'GatewayZoneConfigArgsDict']]] = None,
|
|
545
|
+
zones: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayZoneArgs', 'GatewayZoneArgsDict']]]]] = None,
|
|
466
546
|
__props__=None):
|
|
467
547
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
468
548
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -473,6 +553,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
473
553
|
__props__ = GatewayArgs.__new__(GatewayArgs)
|
|
474
554
|
|
|
475
555
|
__props__.__dict__["gateway_name"] = gateway_name
|
|
556
|
+
__props__.__dict__["gateway_type"] = gateway_type
|
|
476
557
|
__props__.__dict__["log_config"] = log_config
|
|
477
558
|
__props__.__dict__["network_access_config"] = network_access_config
|
|
478
559
|
if payment_type is None and not opts.urn:
|
|
@@ -486,6 +567,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
486
567
|
if zone_config is None and not opts.urn:
|
|
487
568
|
raise TypeError("Missing required property 'zone_config'")
|
|
488
569
|
__props__.__dict__["zone_config"] = zone_config
|
|
570
|
+
__props__.__dict__["zones"] = zones
|
|
489
571
|
__props__.__dict__["create_time"] = None
|
|
490
572
|
__props__.__dict__["status"] = None
|
|
491
573
|
super(Gateway, __self__).__init__(
|
|
@@ -500,6 +582,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
500
582
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
501
583
|
create_time: Optional[pulumi.Input[_builtins.int]] = None,
|
|
502
584
|
gateway_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
585
|
+
gateway_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
503
586
|
log_config: Optional[pulumi.Input[Union['GatewayLogConfigArgs', 'GatewayLogConfigArgsDict']]] = None,
|
|
504
587
|
network_access_config: Optional[pulumi.Input[Union['GatewayNetworkAccessConfigArgs', 'GatewayNetworkAccessConfigArgsDict']]] = None,
|
|
505
588
|
payment_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -509,7 +592,8 @@ class Gateway(pulumi.CustomResource):
|
|
|
509
592
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
510
593
|
vpc: Optional[pulumi.Input[Union['GatewayVpcArgs', 'GatewayVpcArgsDict']]] = None,
|
|
511
594
|
vswitch: Optional[pulumi.Input[Union['GatewayVswitchArgs', 'GatewayVswitchArgsDict']]] = None,
|
|
512
|
-
zone_config: Optional[pulumi.Input[Union['GatewayZoneConfigArgs', 'GatewayZoneConfigArgsDict']]] = None
|
|
595
|
+
zone_config: Optional[pulumi.Input[Union['GatewayZoneConfigArgs', 'GatewayZoneConfigArgsDict']]] = None,
|
|
596
|
+
zones: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayZoneArgs', 'GatewayZoneArgsDict']]]]] = None) -> 'Gateway':
|
|
513
597
|
"""
|
|
514
598
|
Get an existing Gateway resource's state with the given name, id, and optional extra
|
|
515
599
|
properties used to qualify the lookup.
|
|
@@ -519,6 +603,9 @@ class Gateway(pulumi.CustomResource):
|
|
|
519
603
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
520
604
|
:param pulumi.Input[_builtins.int] create_time: The creation timestamp. Unit: milliseconds.
|
|
521
605
|
:param pulumi.Input[_builtins.str] gateway_name: The name of the resource
|
|
606
|
+
:param pulumi.Input[_builtins.str] gateway_type: Describes the gateway type, which is categorized into the following two types:
|
|
607
|
+
- API: indicates an API gateway
|
|
608
|
+
- AI: Indicates an AI gateway
|
|
522
609
|
:param pulumi.Input[Union['GatewayLogConfigArgs', 'GatewayLogConfigArgsDict']] log_config: Log Configuration See `log_config` below.
|
|
523
610
|
:param pulumi.Input[Union['GatewayNetworkAccessConfigArgs', 'GatewayNetworkAccessConfigArgsDict']] network_access_config: Network Access Configuration See `network_access_config` below.
|
|
524
611
|
:param pulumi.Input[_builtins.str] payment_type: The payment type of the resource
|
|
@@ -529,6 +616,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
529
616
|
:param pulumi.Input[Union['GatewayVpcArgs', 'GatewayVpcArgsDict']] vpc: The VPC associated with the Gateway. See `vpc` below.
|
|
530
617
|
:param pulumi.Input[Union['GatewayVswitchArgs', 'GatewayVswitchArgsDict']] vswitch: The virtual switch associated with the Gateway. See `vswitch` below.
|
|
531
618
|
:param pulumi.Input[Union['GatewayZoneConfigArgs', 'GatewayZoneConfigArgsDict']] zone_config: Availability Zone Configuration See `zone_config` below.
|
|
619
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GatewayZoneArgs', 'GatewayZoneArgsDict']]]] zones: The List of zones associated with the Gateway. See `zones` below.
|
|
532
620
|
"""
|
|
533
621
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
534
622
|
|
|
@@ -536,6 +624,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
536
624
|
|
|
537
625
|
__props__.__dict__["create_time"] = create_time
|
|
538
626
|
__props__.__dict__["gateway_name"] = gateway_name
|
|
627
|
+
__props__.__dict__["gateway_type"] = gateway_type
|
|
539
628
|
__props__.__dict__["log_config"] = log_config
|
|
540
629
|
__props__.__dict__["network_access_config"] = network_access_config
|
|
541
630
|
__props__.__dict__["payment_type"] = payment_type
|
|
@@ -546,6 +635,7 @@ class Gateway(pulumi.CustomResource):
|
|
|
546
635
|
__props__.__dict__["vpc"] = vpc
|
|
547
636
|
__props__.__dict__["vswitch"] = vswitch
|
|
548
637
|
__props__.__dict__["zone_config"] = zone_config
|
|
638
|
+
__props__.__dict__["zones"] = zones
|
|
549
639
|
return Gateway(resource_name, opts=opts, __props__=__props__)
|
|
550
640
|
|
|
551
641
|
@_builtins.property
|
|
@@ -564,6 +654,16 @@ class Gateway(pulumi.CustomResource):
|
|
|
564
654
|
"""
|
|
565
655
|
return pulumi.get(self, "gateway_name")
|
|
566
656
|
|
|
657
|
+
@_builtins.property
|
|
658
|
+
@pulumi.getter(name="gatewayType")
|
|
659
|
+
def gateway_type(self) -> pulumi.Output[_builtins.str]:
|
|
660
|
+
"""
|
|
661
|
+
Describes the gateway type, which is categorized into the following two types:
|
|
662
|
+
- API: indicates an API gateway
|
|
663
|
+
- AI: Indicates an AI gateway
|
|
664
|
+
"""
|
|
665
|
+
return pulumi.get(self, "gateway_type")
|
|
666
|
+
|
|
567
667
|
@_builtins.property
|
|
568
668
|
@pulumi.getter(name="logConfig")
|
|
569
669
|
def log_config(self) -> pulumi.Output[Optional['outputs.GatewayLogConfig']]:
|
|
@@ -644,3 +744,11 @@ class Gateway(pulumi.CustomResource):
|
|
|
644
744
|
"""
|
|
645
745
|
return pulumi.get(self, "zone_config")
|
|
646
746
|
|
|
747
|
+
@_builtins.property
|
|
748
|
+
@pulumi.getter
|
|
749
|
+
def zones(self) -> pulumi.Output[Sequence['outputs.GatewayZone']]:
|
|
750
|
+
"""
|
|
751
|
+
The List of zones associated with the Gateway. See `zones` below.
|
|
752
|
+
"""
|
|
753
|
+
return pulumi.get(self, "zones")
|
|
754
|
+
|
pulumi_alicloud/apig/outputs.py
CHANGED
|
@@ -21,6 +21,7 @@ __all__ = [
|
|
|
21
21
|
'GatewayNetworkAccessConfig',
|
|
22
22
|
'GatewayVpc',
|
|
23
23
|
'GatewayVswitch',
|
|
24
|
+
'GatewayZone',
|
|
24
25
|
'GatewayZoneConfig',
|
|
25
26
|
]
|
|
26
27
|
|
|
@@ -105,7 +106,7 @@ class GatewayVpc(dict):
|
|
|
105
106
|
name: Optional[_builtins.str] = None):
|
|
106
107
|
"""
|
|
107
108
|
:param _builtins.str vpc_id: The VPC network ID.
|
|
108
|
-
:param _builtins.str name: The name
|
|
109
|
+
:param _builtins.str name: The zone name.
|
|
109
110
|
"""
|
|
110
111
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
111
112
|
if name is not None:
|
|
@@ -123,7 +124,7 @@ class GatewayVpc(dict):
|
|
|
123
124
|
@pulumi.getter
|
|
124
125
|
def name(self) -> Optional[_builtins.str]:
|
|
125
126
|
"""
|
|
126
|
-
The name
|
|
127
|
+
The zone name.
|
|
127
128
|
"""
|
|
128
129
|
return pulumi.get(self, "name")
|
|
129
130
|
|
|
@@ -151,7 +152,7 @@ class GatewayVswitch(dict):
|
|
|
151
152
|
name: Optional[_builtins.str] = None,
|
|
152
153
|
vswitch_id: Optional[_builtins.str] = None):
|
|
153
154
|
"""
|
|
154
|
-
:param _builtins.str name: The name
|
|
155
|
+
:param _builtins.str name: The zone name.
|
|
155
156
|
:param _builtins.str vswitch_id: The ID of the virtual switch.
|
|
156
157
|
"""
|
|
157
158
|
if name is not None:
|
|
@@ -163,7 +164,7 @@ class GatewayVswitch(dict):
|
|
|
163
164
|
@pulumi.getter
|
|
164
165
|
def name(self) -> Optional[_builtins.str]:
|
|
165
166
|
"""
|
|
166
|
-
The name
|
|
167
|
+
The zone name.
|
|
167
168
|
"""
|
|
168
169
|
return pulumi.get(self, "name")
|
|
169
170
|
|
|
@@ -176,6 +177,68 @@ class GatewayVswitch(dict):
|
|
|
176
177
|
return pulumi.get(self, "vswitch_id")
|
|
177
178
|
|
|
178
179
|
|
|
180
|
+
@pulumi.output_type
|
|
181
|
+
class GatewayZone(dict):
|
|
182
|
+
@staticmethod
|
|
183
|
+
def __key_warning(key: str):
|
|
184
|
+
suggest = None
|
|
185
|
+
if key == "vswitchId":
|
|
186
|
+
suggest = "vswitch_id"
|
|
187
|
+
elif key == "zoneId":
|
|
188
|
+
suggest = "zone_id"
|
|
189
|
+
|
|
190
|
+
if suggest:
|
|
191
|
+
pulumi.log.warn(f"Key '{key}' not found in GatewayZone. Access the value via the '{suggest}' property getter instead.")
|
|
192
|
+
|
|
193
|
+
def __getitem__(self, key: str) -> Any:
|
|
194
|
+
GatewayZone.__key_warning(key)
|
|
195
|
+
return super().__getitem__(key)
|
|
196
|
+
|
|
197
|
+
def get(self, key: str, default = None) -> Any:
|
|
198
|
+
GatewayZone.__key_warning(key)
|
|
199
|
+
return super().get(key, default)
|
|
200
|
+
|
|
201
|
+
def __init__(__self__, *,
|
|
202
|
+
name: Optional[_builtins.str] = None,
|
|
203
|
+
vswitch_id: Optional[_builtins.str] = None,
|
|
204
|
+
zone_id: Optional[_builtins.str] = None):
|
|
205
|
+
"""
|
|
206
|
+
:param _builtins.str name: The zone name.
|
|
207
|
+
:param _builtins.str vswitch_id: The vswitch ID.
|
|
208
|
+
:param _builtins.str zone_id: The zone ID.
|
|
209
|
+
"""
|
|
210
|
+
if name is not None:
|
|
211
|
+
pulumi.set(__self__, "name", name)
|
|
212
|
+
if vswitch_id is not None:
|
|
213
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
214
|
+
if zone_id is not None:
|
|
215
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
216
|
+
|
|
217
|
+
@_builtins.property
|
|
218
|
+
@pulumi.getter
|
|
219
|
+
def name(self) -> Optional[_builtins.str]:
|
|
220
|
+
"""
|
|
221
|
+
The zone name.
|
|
222
|
+
"""
|
|
223
|
+
return pulumi.get(self, "name")
|
|
224
|
+
|
|
225
|
+
@_builtins.property
|
|
226
|
+
@pulumi.getter(name="vswitchId")
|
|
227
|
+
def vswitch_id(self) -> Optional[_builtins.str]:
|
|
228
|
+
"""
|
|
229
|
+
The vswitch ID.
|
|
230
|
+
"""
|
|
231
|
+
return pulumi.get(self, "vswitch_id")
|
|
232
|
+
|
|
233
|
+
@_builtins.property
|
|
234
|
+
@pulumi.getter(name="zoneId")
|
|
235
|
+
def zone_id(self) -> Optional[_builtins.str]:
|
|
236
|
+
"""
|
|
237
|
+
The zone ID.
|
|
238
|
+
"""
|
|
239
|
+
return pulumi.get(self, "zone_id")
|
|
240
|
+
|
|
241
|
+
|
|
179
242
|
@pulumi.output_type
|
|
180
243
|
class GatewayZoneConfig(dict):
|
|
181
244
|
@staticmethod
|