alibabacloud-vpc20160428 6.15.0__py3-none-any.whl → 7.0.0__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.
- alibabacloud_vpc20160428/__init__.py +1 -1
- alibabacloud_vpc20160428/client.py +8 -466
- alibabacloud_vpc20160428/models/__init__.py +0 -30
- alibabacloud_vpc20160428/models/_create_full_nat_entry_request.py +8 -2
- alibabacloud_vpc20160428/models/_describe_physical_connection_loaresponse_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_response_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_request.py +8 -0
- alibabacloud_vpc20160428/models/_list_full_nat_entries_response_body.py +16 -0
- alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_request.py +8 -0
- {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/METADATA +1 -1
- {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/RECORD +14 -29
- alibabacloud_vpc20160428/models/_convert_bandwidth_package_request.py +0 -80
- alibabacloud_vpc20160428/models/_convert_bandwidth_package_response.py +0 -54
- alibabacloud_vpc20160428/models/_convert_bandwidth_package_response_body.py +0 -43
- alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_request.py +0 -60
- alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response.py +0 -54
- alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response_body.py +0 -34
- alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_request.py +0 -60
- alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response.py +0 -54
- alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response_body.py +0 -34
- alibabacloud_vpc20160428/models/_get_nat_ip_attribute_request.py +0 -99
- alibabacloud_vpc20160428/models/_get_nat_ip_attribute_response.py +0 -54
- alibabacloud_vpc20160428/models/_get_nat_ip_attribute_response_body.py +0 -109
- alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_request.py +0 -111
- alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_response.py +0 -54
- alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_response_body.py +0 -91
- {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/top_level.txt +0 -0
|
@@ -52,6 +52,7 @@ class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType(DaraMod
|
|
|
52
52
|
company_localized_name: str = None,
|
|
53
53
|
company_name: str = None,
|
|
54
54
|
construction_time: str = None,
|
|
55
|
+
description: str = None,
|
|
55
56
|
instance_id: str = None,
|
|
56
57
|
line_code: str = None,
|
|
57
58
|
line_label: str = None,
|
|
@@ -69,6 +70,7 @@ class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType(DaraMod
|
|
|
69
70
|
self.company_name = company_name
|
|
70
71
|
# The time when construction starts.
|
|
71
72
|
self.construction_time = construction_time
|
|
73
|
+
self.description = description
|
|
72
74
|
# The ID of the Express Connect circuit.
|
|
73
75
|
self.instance_id = instance_id
|
|
74
76
|
# The circuit code provided by the connectivity provider.
|
|
@@ -126,6 +128,9 @@ class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType(DaraMod
|
|
|
126
128
|
if self.construction_time is not None:
|
|
127
129
|
result['ConstructionTime'] = self.construction_time
|
|
128
130
|
|
|
131
|
+
if self.description is not None:
|
|
132
|
+
result['Description'] = self.description
|
|
133
|
+
|
|
129
134
|
if self.instance_id is not None:
|
|
130
135
|
result['InstanceId'] = self.instance_id
|
|
131
136
|
|
|
@@ -169,6 +174,9 @@ class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType(DaraMod
|
|
|
169
174
|
if m.get('ConstructionTime') is not None:
|
|
170
175
|
self.construction_time = m.get('ConstructionTime')
|
|
171
176
|
|
|
177
|
+
if m.get('Description') is not None:
|
|
178
|
+
self.description = m.get('Description')
|
|
179
|
+
|
|
172
180
|
if m.get('InstanceId') is not None:
|
|
173
181
|
self.instance_id = m.get('InstanceId')
|
|
174
182
|
|
|
@@ -132,6 +132,7 @@ class DescribeVirtualBorderRoutersForPhysicalConnectionResponseBodyVirtualBorder
|
|
|
132
132
|
termination_time: str = None,
|
|
133
133
|
type: str = None,
|
|
134
134
|
vbr_id: str = None,
|
|
135
|
+
vbr_name: str = None,
|
|
135
136
|
vbr_owner_uid: int = None,
|
|
136
137
|
vlan_id: int = None,
|
|
137
138
|
):
|
|
@@ -202,6 +203,7 @@ class DescribeVirtualBorderRoutersForPhysicalConnectionResponseBodyVirtualBorder
|
|
|
202
203
|
self.type = type
|
|
203
204
|
# The VBR ID.
|
|
204
205
|
self.vbr_id = vbr_id
|
|
206
|
+
self.vbr_name = vbr_name
|
|
205
207
|
# The ID of the Alibaba Cloud account to which the VBR belongs.
|
|
206
208
|
#
|
|
207
209
|
# If the owner of the VBR is the same as that of the Express Connect circuit, this parameter is empty.
|
|
@@ -280,6 +282,9 @@ class DescribeVirtualBorderRoutersForPhysicalConnectionResponseBodyVirtualBorder
|
|
|
280
282
|
if self.vbr_id is not None:
|
|
281
283
|
result['VbrId'] = self.vbr_id
|
|
282
284
|
|
|
285
|
+
if self.vbr_name is not None:
|
|
286
|
+
result['VbrName'] = self.vbr_name
|
|
287
|
+
|
|
283
288
|
if self.vbr_owner_uid is not None:
|
|
284
289
|
result['VbrOwnerUid'] = self.vbr_owner_uid
|
|
285
290
|
|
|
@@ -353,6 +358,9 @@ class DescribeVirtualBorderRoutersForPhysicalConnectionResponseBodyVirtualBorder
|
|
|
353
358
|
if m.get('VbrId') is not None:
|
|
354
359
|
self.vbr_id = m.get('VbrId')
|
|
355
360
|
|
|
361
|
+
if m.get('VbrName') is not None:
|
|
362
|
+
self.vbr_name = m.get('VbrName')
|
|
363
|
+
|
|
356
364
|
if m.get('VbrOwnerUid') is not None:
|
|
357
365
|
self.vbr_owner_uid = m.get('VbrOwnerUid')
|
|
358
366
|
|
|
@@ -8,6 +8,7 @@ class DescribeVpnGatewayAvailableZonesRequest(DaraModel):
|
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
10
|
accept_language: str = None,
|
|
11
|
+
gateway_type: str = None,
|
|
11
12
|
owner_account: str = None,
|
|
12
13
|
owner_id: int = None,
|
|
13
14
|
region_id: str = None,
|
|
@@ -20,6 +21,7 @@ class DescribeVpnGatewayAvailableZonesRequest(DaraModel):
|
|
|
20
21
|
# * **zh-CN**: Chinese
|
|
21
22
|
# * **en-US** (default): English
|
|
22
23
|
self.accept_language = accept_language
|
|
24
|
+
self.gateway_type = gateway_type
|
|
23
25
|
self.owner_account = owner_account
|
|
24
26
|
self.owner_id = owner_id
|
|
25
27
|
# The region ID.
|
|
@@ -58,6 +60,9 @@ class DescribeVpnGatewayAvailableZonesRequest(DaraModel):
|
|
|
58
60
|
if self.accept_language is not None:
|
|
59
61
|
result['AcceptLanguage'] = self.accept_language
|
|
60
62
|
|
|
63
|
+
if self.gateway_type is not None:
|
|
64
|
+
result['GatewayType'] = self.gateway_type
|
|
65
|
+
|
|
61
66
|
if self.owner_account is not None:
|
|
62
67
|
result['OwnerAccount'] = self.owner_account
|
|
63
68
|
|
|
@@ -83,6 +88,9 @@ class DescribeVpnGatewayAvailableZonesRequest(DaraModel):
|
|
|
83
88
|
if m.get('AcceptLanguage') is not None:
|
|
84
89
|
self.accept_language = m.get('AcceptLanguage')
|
|
85
90
|
|
|
91
|
+
if m.get('GatewayType') is not None:
|
|
92
|
+
self.gateway_type = m.get('GatewayType')
|
|
93
|
+
|
|
86
94
|
if m.get('OwnerAccount') is not None:
|
|
87
95
|
self.owner_account = m.get('OwnerAccount')
|
|
88
96
|
|
|
@@ -103,9 +103,11 @@ class ListFullNatEntriesResponseBody(DaraModel):
|
|
|
103
103
|
class ListFullNatEntriesResponseBodyFullNatEntries(DaraModel):
|
|
104
104
|
def __init__(
|
|
105
105
|
self,
|
|
106
|
+
access_domain: str = None,
|
|
106
107
|
access_ip: str = None,
|
|
107
108
|
access_port: str = None,
|
|
108
109
|
creation_time: str = None,
|
|
110
|
+
domain_resolve: str = None,
|
|
109
111
|
full_nat_entry_description: str = None,
|
|
110
112
|
full_nat_entry_id: str = None,
|
|
111
113
|
full_nat_entry_name: str = None,
|
|
@@ -117,12 +119,14 @@ class ListFullNatEntriesResponseBodyFullNatEntries(DaraModel):
|
|
|
117
119
|
network_interface_id: str = None,
|
|
118
120
|
network_interface_type: str = None,
|
|
119
121
|
):
|
|
122
|
+
self.access_domain = access_domain
|
|
120
123
|
# The backend IP address that is used for FULLNAT address translation in FULLNAT entries.
|
|
121
124
|
self.access_ip = access_ip
|
|
122
125
|
# The backend port that is used for port mapping in FULLNAT entries. Valid values: **1** to **65535**.
|
|
123
126
|
self.access_port = access_port
|
|
124
127
|
# The time when the FULLNAT entry was created.
|
|
125
128
|
self.creation_time = creation_time
|
|
129
|
+
self.domain_resolve = domain_resolve
|
|
126
130
|
# The description of the FULLNAT entry.
|
|
127
131
|
#
|
|
128
132
|
# The name must be 2 to 128 characters in length. It must start with a letter but cannot start with `http://` or `https://`.
|
|
@@ -164,6 +168,9 @@ class ListFullNatEntriesResponseBodyFullNatEntries(DaraModel):
|
|
|
164
168
|
_map = super().to_map()
|
|
165
169
|
if _map is not None:
|
|
166
170
|
result = _map
|
|
171
|
+
if self.access_domain is not None:
|
|
172
|
+
result['AccessDomain'] = self.access_domain
|
|
173
|
+
|
|
167
174
|
if self.access_ip is not None:
|
|
168
175
|
result['AccessIp'] = self.access_ip
|
|
169
176
|
|
|
@@ -173,6 +180,9 @@ class ListFullNatEntriesResponseBodyFullNatEntries(DaraModel):
|
|
|
173
180
|
if self.creation_time is not None:
|
|
174
181
|
result['CreationTime'] = self.creation_time
|
|
175
182
|
|
|
183
|
+
if self.domain_resolve is not None:
|
|
184
|
+
result['DomainResolve'] = self.domain_resolve
|
|
185
|
+
|
|
176
186
|
if self.full_nat_entry_description is not None:
|
|
177
187
|
result['FullNatEntryDescription'] = self.full_nat_entry_description
|
|
178
188
|
|
|
@@ -207,6 +217,9 @@ class ListFullNatEntriesResponseBodyFullNatEntries(DaraModel):
|
|
|
207
217
|
|
|
208
218
|
def from_map(self, m: dict = None):
|
|
209
219
|
m = m or dict()
|
|
220
|
+
if m.get('AccessDomain') is not None:
|
|
221
|
+
self.access_domain = m.get('AccessDomain')
|
|
222
|
+
|
|
210
223
|
if m.get('AccessIp') is not None:
|
|
211
224
|
self.access_ip = m.get('AccessIp')
|
|
212
225
|
|
|
@@ -216,6 +229,9 @@ class ListFullNatEntriesResponseBodyFullNatEntries(DaraModel):
|
|
|
216
229
|
if m.get('CreationTime') is not None:
|
|
217
230
|
self.creation_time = m.get('CreationTime')
|
|
218
231
|
|
|
232
|
+
if m.get('DomainResolve') is not None:
|
|
233
|
+
self.domain_resolve = m.get('DomainResolve')
|
|
234
|
+
|
|
219
235
|
if m.get('FullNatEntryDescription') is not None:
|
|
220
236
|
self.full_nat_entry_description = m.get('FullNatEntryDescription')
|
|
221
237
|
|
|
@@ -7,6 +7,7 @@ from darabonba.model import DaraModel
|
|
|
7
7
|
class ModifyFullNatEntryAttributeRequest(DaraModel):
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
|
+
access_domain: str = None,
|
|
10
11
|
access_ip: str = None,
|
|
11
12
|
access_port: str = None,
|
|
12
13
|
client_token: str = None,
|
|
@@ -25,6 +26,7 @@ class ModifyFullNatEntryAttributeRequest(DaraModel):
|
|
|
25
26
|
resource_owner_account: str = None,
|
|
26
27
|
resource_owner_id: int = None,
|
|
27
28
|
):
|
|
29
|
+
self.access_domain = access_domain
|
|
28
30
|
# The backend IP address to be modified in FULLNAT address translation.
|
|
29
31
|
self.access_ip = access_ip
|
|
30
32
|
# The backend port to be modified in FULLNAT port mapping. Valid values: **1** to **65535**.
|
|
@@ -86,6 +88,9 @@ class ModifyFullNatEntryAttributeRequest(DaraModel):
|
|
|
86
88
|
_map = super().to_map()
|
|
87
89
|
if _map is not None:
|
|
88
90
|
result = _map
|
|
91
|
+
if self.access_domain is not None:
|
|
92
|
+
result['AccessDomain'] = self.access_domain
|
|
93
|
+
|
|
89
94
|
if self.access_ip is not None:
|
|
90
95
|
result['AccessIp'] = self.access_ip
|
|
91
96
|
|
|
@@ -141,6 +146,9 @@ class ModifyFullNatEntryAttributeRequest(DaraModel):
|
|
|
141
146
|
|
|
142
147
|
def from_map(self, m: dict = None):
|
|
143
148
|
m = m or dict()
|
|
149
|
+
if m.get('AccessDomain') is not None:
|
|
150
|
+
self.access_domain = m.get('AccessDomain')
|
|
151
|
+
|
|
144
152
|
if m.get('AccessIp') is not None:
|
|
145
153
|
self.access_ip = m.get('AccessIp')
|
|
146
154
|
|
{alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_vpc20160428/__init__.py,sha256=
|
|
2
|
-
alibabacloud_vpc20160428/client.py,sha256=
|
|
3
|
-
alibabacloud_vpc20160428/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_vpc20160428/__init__.py,sha256=rNllIbCeIm46HfpJlsqxMxZQoLMA1CwTAS_WhvddQXQ,21
|
|
2
|
+
alibabacloud_vpc20160428/client.py,sha256=LR2-yTbRlKlacN6QPMZSV2WAaPK4QKkgKUuU83KnX2o,1877688
|
|
3
|
+
alibabacloud_vpc20160428/models/__init__.py,sha256=TgNGdO8f8B9pLpkb3BDe4rAqcOfGLuZILQ1Avr_up3w,239872
|
|
4
4
|
alibabacloud_vpc20160428/models/_activate_router_interface_request.py,sha256=RVaEhmMlEZQGumY5PQXMEszhjfR-gGE5slipXlUqriA,2347
|
|
5
5
|
alibabacloud_vpc20160428/models/_activate_router_interface_response.py,sha256=0DdFpClGckP_MsUgxlwOKycDdI3EGfcU-WJxq8jGXhI,1501
|
|
6
6
|
alibabacloud_vpc20160428/models/_activate_router_interface_response_body.py,sha256=l0_8iYkSsz09XxkI8ndnnzvQVdk4SD9h166DgC0pP4o,805
|
|
@@ -109,9 +109,6 @@ alibabacloud_vpc20160428/models/_confirm_physical_connection_response_body.py,sh
|
|
|
109
109
|
alibabacloud_vpc20160428/models/_connect_router_interface_request.py,sha256=mQBwat1ZPHj1cXN738HV09jl_GSXkQWSsMqYAzfzC-o,2378
|
|
110
110
|
alibabacloud_vpc20160428/models/_connect_router_interface_response.py,sha256=gCHJkpsEWHyYXwB_hxZzutjfhy0iSHlO87RK8klLbT8,1498
|
|
111
111
|
alibabacloud_vpc20160428/models/_connect_router_interface_response_body.py,sha256=G7l-4u5TTWmvBEnnJS38gHzZMmCF8-7xpUMHTrHLKAo,804
|
|
112
|
-
alibabacloud_vpc20160428/models/_convert_bandwidth_package_request.py,sha256=rVO63luGHtPh79CQ4PjZum5f6WwTRYN5ecfRhokW-6w,3003
|
|
113
|
-
alibabacloud_vpc20160428/models/_convert_bandwidth_package_response.py,sha256=ZKmwAsr1xcPBte6Brm9loW8CSxnemcXOlqeYnl_7ObA,1501
|
|
114
|
-
alibabacloud_vpc20160428/models/_convert_bandwidth_package_response_body.py,sha256=zdaIowIMymG73rcgYoi5TckfTl9wlMQeWCv3I2JCymg,1196
|
|
115
112
|
alibabacloud_vpc20160428/models/_copy_network_acl_entries_request.py,sha256=yxzEI2_1WYJZqbk1iPLjDh4Yo4oZmND6isGXsUdz7Vs,4602
|
|
116
113
|
alibabacloud_vpc20160428/models/_copy_network_acl_entries_response.py,sha256=AHR23LKbRtXw3ehli-KINMo0dfT8fb8ZZ0zzxze9Y1c,1495
|
|
117
114
|
alibabacloud_vpc20160428/models/_copy_network_acl_entries_response_body.py,sha256=WpMecli_2xTryO2u9Bo0j8jLjG1T5R6rUC66uTbx01A,803
|
|
@@ -157,7 +154,7 @@ alibabacloud_vpc20160428/models/_create_flow_log_response_body.py,sha256=wWpgC6g
|
|
|
157
154
|
alibabacloud_vpc20160428/models/_create_forward_entry_request.py,sha256=1a-LdMGTWScDyTa6MQaNJrNaRci99VHyscbeeewXtDk,8983
|
|
158
155
|
alibabacloud_vpc20160428/models/_create_forward_entry_response.py,sha256=wtQe-YuZwQ65sVuYLVN8bI168RRcJX6NxvdDzWPjLuY,1486
|
|
159
156
|
alibabacloud_vpc20160428/models/_create_forward_entry_response_body.py,sha256=r6TX2QF4wbWmMeNJaJ8IvzDz8ORAc7wN7qdYD6kJQNc,1140
|
|
160
|
-
alibabacloud_vpc20160428/models/_create_full_nat_entry_request.py,sha256=
|
|
157
|
+
alibabacloud_vpc20160428/models/_create_full_nat_entry_request.py,sha256=az_5gCXfGIPe_p3iOJbgibrqQapxH4rj2QivAZC8LcU,8032
|
|
161
158
|
alibabacloud_vpc20160428/models/_create_full_nat_entry_response.py,sha256=mIOl-_BY8qMgzqMkQGl8Kj8f24o5TyU8fi77-3YuXqQ,1486
|
|
162
159
|
alibabacloud_vpc20160428/models/_create_full_nat_entry_response_body.py,sha256=iA-I-JijpCvEYzfV8oWu0lhlEiSBPYQC5QEkjoGmo_4,1142
|
|
163
160
|
alibabacloud_vpc20160428/models/_create_global_acceleration_instance_request.py,sha256=WTqLPsbo4HI9m5Kuv3Iwstj8nhSqh4F_Ym-w401GcBY,5029
|
|
@@ -580,7 +577,7 @@ alibabacloud_vpc20160428/models/_describe_network_acls_response.py,sha256=3tM_55
|
|
|
580
577
|
alibabacloud_vpc20160428/models/_describe_network_acls_response_body.py,sha256=D9E69PsDYyaYJ48sBItzhXa88d-9SYC8UzwP39sDJN0,23660
|
|
581
578
|
alibabacloud_vpc20160428/models/_describe_physical_connection_loarequest.py,sha256=F5z-BOXfcAK1zk-4daEUHeTNY_rbdlEcIrPzf5jsmkk,3327
|
|
582
579
|
alibabacloud_vpc20160428/models/_describe_physical_connection_loaresponse.py,sha256=7GTwvFMQplqDAzNSaIhlzsPstq8FQXU6ahnnZKYGVTk,1519
|
|
583
|
-
alibabacloud_vpc20160428/models/_describe_physical_connection_loaresponse_body.py,sha256=
|
|
580
|
+
alibabacloud_vpc20160428/models/_describe_physical_connection_loaresponse_body.py,sha256=zWcDsGfoP5RSoRzR5SbDdl8hH6gmogsTQs0AsCNeAko,10813
|
|
584
581
|
alibabacloud_vpc20160428/models/_describe_physical_connections_request.py,sha256=OZ9SIG3-2ULh-di0nVT3hBRHoMw48ohJdFdUawgP5jY,10694
|
|
585
582
|
alibabacloud_vpc20160428/models/_describe_physical_connections_response.py,sha256=w69XLuvoUv9mB1LwfBnOyQvKVsiG8lKKgMyNz1YK2Co,1513
|
|
586
583
|
alibabacloud_vpc20160428/models/_describe_physical_connections_response_body.py,sha256=z7CKmM3v9LlV728b2Zfv2ZKFvym6BojcHlCRUH7bL2w,24203
|
|
@@ -640,7 +637,7 @@ alibabacloud_vpc20160428/models/_describe_vco_route_entries_response.py,sha256=d
|
|
|
640
637
|
alibabacloud_vpc20160428/models/_describe_vco_route_entries_response_body.py,sha256=3AQ9KFNTEj3uvNw0y6VepZG5tBB7t9j0ORNDVx8tkOI,9978
|
|
641
638
|
alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_request.py,sha256=T88mfRTcN5EsFMs_AFsan_1RA7MW8-Gp2k4P0BEp50k,5402
|
|
642
639
|
alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_response.py,sha256=oNtQgiKfWBJNhGUagGOxcQTBP_GKc16wr-q_30PqL3s,1579
|
|
643
|
-
alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_response_body.py,sha256=
|
|
640
|
+
alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_response_body.py,sha256=OA_KQHDMpFG3a-GEyzt8MIZ-8M5MnP4Ho_mp1YslfwI,14769
|
|
644
641
|
alibabacloud_vpc20160428/models/_describe_virtual_border_routers_request.py,sha256=ObFX5zNKAdBZTpRC4TMGmaNrr0ql4i5_fvWhh1iUED0,7785
|
|
645
642
|
alibabacloud_vpc20160428/models/_describe_virtual_border_routers_response.py,sha256=Lf19PBmcwZIWPM8ajQCCsn5PcvYThvUv89BrFhNk3F4,1516
|
|
646
643
|
alibabacloud_vpc20160428/models/_describe_virtual_border_routers_response_body.py,sha256=5M-seE2DrOtlQGCETQlTNtuJhYBfULwa6aPFLQei6QQ,36801
|
|
@@ -668,7 +665,7 @@ alibabacloud_vpc20160428/models/_describe_vpn_connections_response_body.py,sha25
|
|
|
668
665
|
alibabacloud_vpc20160428/models/_describe_vpn_cross_account_authorizations_request.py,sha256=o4HelepSL7iJgthGKl5OwATu07Cf20I8YujzycGtYSA,3800
|
|
669
666
|
alibabacloud_vpc20160428/models/_describe_vpn_cross_account_authorizations_response.py,sha256=CJLy4DKeTRqzQ-j-HJM7rXFY4OtSLE29X7NzIW-8-JQ,1543
|
|
670
667
|
alibabacloud_vpc20160428/models/_describe_vpn_cross_account_authorizations_response_body.py,sha256=Thzj_qpFkWNXvhCnds87nyvODtj2cID6YwjTz7GJlzc,5742
|
|
671
|
-
alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_request.py,sha256=
|
|
668
|
+
alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_request.py,sha256=0SrS3mgO_BFHY4hsm2pGv9U9S8ZnXKQaa4Qig8JcgcU,3715
|
|
672
669
|
alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_response.py,sha256=f_u9AKt55Jyj4K6R6rMhyY1FqoW-j0Frrso2CniLOHM,1528
|
|
673
670
|
alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_response_body.py,sha256=6yqSgT2tpzpgkKL3Bem9RHb7Qst03L4bat9hrjZ6iro,2985
|
|
674
671
|
alibabacloud_vpc20160428/models/_describe_vpn_gateway_request.py,sha256=8gX4A3Uc4quw6qJhFj5RnhpTZuWrEf4Ch4pOtW4xEkg,3096
|
|
@@ -707,9 +704,6 @@ alibabacloud_vpc20160428/models/_diagnose_vpn_connections_response_body.py,sha25
|
|
|
707
704
|
alibabacloud_vpc20160428/models/_diagnose_vpn_gateway_request.py,sha256=dsS63CfnAv8Jnu5W24T0fMUT3Lnv2YpKsaJudGr_88c,3553
|
|
708
705
|
alibabacloud_vpc20160428/models/_diagnose_vpn_gateway_response.py,sha256=Em6AYURM7Yh1GhwdEagPTIWUt06l7DeWhIcN26_F2Po,1486
|
|
709
706
|
alibabacloud_vpc20160428/models/_diagnose_vpn_gateway_response_body.py,sha256=OJ4B6CIs5iXY-orXxTEbpAWqEg30xYzzhDH6c6cwlB8,1276
|
|
710
|
-
alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_request.py,sha256=XdbSPdlE58uffxgfrGVKK6fVHZQf8ZZpMM7tg02YuHQ,2287
|
|
711
|
-
alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response.py,sha256=B6fSL_zihoBlGkkmuAI_sPdlD01Cz9abG0Rdh0p7sHM,1510
|
|
712
|
-
alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response_body.py,sha256=hddP5EL0CJv75OYOiWZ02mmgP_t6qjaEQ3bgn6UklM0,808
|
|
713
707
|
alibabacloud_vpc20160428/models/_disable_vpc_classic_link_request.py,sha256=HwKTYAhSU10zUec5GgeIFdeJDgjBlvihpgMNAYKxt_U,3298
|
|
714
708
|
alibabacloud_vpc20160428/models/_disable_vpc_classic_link_response.py,sha256=W1FPIdbdfUJdhwRfkCuXV8mFpJN58hMkWeX35L8n_DE,1495
|
|
715
709
|
alibabacloud_vpc20160428/models/_disable_vpc_classic_link_response_body.py,sha256=0A8d8hrA08TW0CWvGFLqemKmtDM8TqnHbxQQgKeYzz4,803
|
|
@@ -725,9 +719,6 @@ alibabacloud_vpc20160428/models/_dissociate_vpn_gateway_with_certificate_respons
|
|
|
725
719
|
alibabacloud_vpc20160428/models/_download_vpn_connection_config_request.py,sha256=njZa5f0N5xDO9cjqg23pa7NKTzlHBpg1HNEOMGVLh-M,2642
|
|
726
720
|
alibabacloud_vpc20160428/models/_download_vpn_connection_config_response.py,sha256=bUIDjjsOPrd-y4K-dJ6M1tWA2l-FiQgYuXqnYnD75D0,1513
|
|
727
721
|
alibabacloud_vpc20160428/models/_download_vpn_connection_config_response_body.py,sha256=hTruMlLmHErrpU2Z1YIf2e45xXl18DbUqlTlMJ3Id4w,22586
|
|
728
|
-
alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_request.py,sha256=vCDo-WKIcLOc4UtL3CSbWR1UXkl2HNeVXj1iqd6EHxQ,2285
|
|
729
|
-
alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response.py,sha256=kKbi_r4weBgLks-RPBhqqCSgWAP6yzJkxS41WCREL2A,1507
|
|
730
|
-
alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response_body.py,sha256=NyF8h49nUiC4pZVTqqKKBsA5E9fr2iENEeJIpTrrzIY,807
|
|
731
722
|
alibabacloud_vpc20160428/models/_enable_physical_connection_request.py,sha256=XSFPaUdxgBKh1pWqyHbJ2zzGVtd7em_JsUmGNsLSXAU,3675
|
|
732
723
|
alibabacloud_vpc20160428/models/_enable_physical_connection_response.py,sha256=U2xu2T4Mq5b9rNx0wbrrgb6AnHvfl9AsV8ndnmdO4Dc,1504
|
|
733
724
|
alibabacloud_vpc20160428/models/_enable_physical_connection_response_body.py,sha256=8JAHtGgb6q7-SEomX3q494BzYWbUZbRVL0d_AmKAmLI,806
|
|
@@ -749,12 +740,6 @@ alibabacloud_vpc20160428/models/_get_ipv_4gateway_attribute_response_body.py,sha
|
|
|
749
740
|
alibabacloud_vpc20160428/models/_get_nat_gateway_attribute_request.py,sha256=L1vCbmPCMh6wRzJXdMOojy5CtoBEus1VO_N7JSnc-kU,2593
|
|
750
741
|
alibabacloud_vpc20160428/models/_get_nat_gateway_attribute_response.py,sha256=Fd7S0j1_Z44gJZnCQFyz4vJ9NF4pmCcpZRvFoWZ6ePA,1498
|
|
751
742
|
alibabacloud_vpc20160428/models/_get_nat_gateway_attribute_response_body.py,sha256=fnfZYccoj1D4eWsKl5u1_U6cxrsKb0HVqHPOFNB7d0U,26419
|
|
752
|
-
alibabacloud_vpc20160428/models/_get_nat_ip_attribute_request.py,sha256=xpzVbVXUlt1ZnjZvwnaONx7yVACAy2D15JArwCDUefE,4055
|
|
753
|
-
alibabacloud_vpc20160428/models/_get_nat_ip_attribute_response.py,sha256=Zhml3VVcuHIyLCVz6aqZgBG5JiQ5UWH24noqJzIDRtk,1483
|
|
754
|
-
alibabacloud_vpc20160428/models/_get_nat_ip_attribute_response_body.py,sha256=sn3YYta3ccpAkec896iSSgc-bVEpZeuiOw5AyGrxhQc,3528
|
|
755
|
-
alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_request.py,sha256=CGhMszwI_KxphgUsJpx6nQOF-_--3ClArtBF8lc0zCI,4341
|
|
756
|
-
alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_response.py,sha256=6gG1WwWMCan_DXUeg3od4dHNQRRy-aahuu_lHNHs5TM,1495
|
|
757
|
-
alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_response_body.py,sha256=ss_etSxeRZpssI4EvlQT6K9EZ7E8-aiU-e5loKUSlns,3152
|
|
758
743
|
alibabacloud_vpc20160428/models/_get_physical_connection_service_status_request.py,sha256=aUUhQwwebQp1dXD3hTybWk74aVVaU4OtOdb4gQt8tmg,2272
|
|
759
744
|
alibabacloud_vpc20160428/models/_get_physical_connection_service_status_response.py,sha256=iMqAb8OU01N9kXQzzXQ8I9MJq_dgVuT-De0IJ-6sgfw,1534
|
|
760
745
|
alibabacloud_vpc20160428/models/_get_physical_connection_service_status_response_body.py,sha256=oAtD8Ot0x96XDVFLk1eCWFVIJrrx8miZYr4d5SH9YtU,1209
|
|
@@ -806,7 +791,7 @@ alibabacloud_vpc20160428/models/_list_enhanhced_nat_gateway_available_zones_resp
|
|
|
806
791
|
alibabacloud_vpc20160428/models/_list_enhanhced_nat_gateway_available_zones_response_body.py,sha256=ymlvhEUjDSOQA1cXsCsj15AYQJOrvd2BLcjFIlPmQKY,2554
|
|
807
792
|
alibabacloud_vpc20160428/models/_list_full_nat_entries_request.py,sha256=4o28gKgLGIbPXzUr7XjJpKvzlHj5Zju4eIFacg88NOI,7382
|
|
808
793
|
alibabacloud_vpc20160428/models/_list_full_nat_entries_response.py,sha256=b40Py-zR762WkQ0gp5OsuHaZYKwyjXMF6hdNzXsaDaM,1486
|
|
809
|
-
alibabacloud_vpc20160428/models/_list_full_nat_entries_response_body.py,sha256=
|
|
794
|
+
alibabacloud_vpc20160428/models/_list_full_nat_entries_response_body.py,sha256=4YGpuBbS1Zu4i0MBDKcwH34DVJJtguzNedl1CzVBRd8,9904
|
|
810
795
|
alibabacloud_vpc20160428/models/_list_gateway_route_table_entries_request.py,sha256=CG_5aC97X8e_4piD2TVhIpOlhSBWM4kOoItffW6g4OI,4085
|
|
811
796
|
alibabacloud_vpc20160428/models/_list_gateway_route_table_entries_response.py,sha256=wZld4eyf8-fOiqDE3dbONyPnEBbfcPmqhb_MwbBZPsQ,1516
|
|
812
797
|
alibabacloud_vpc20160428/models/_list_gateway_route_table_entries_response_body.py,sha256=U7HVQVm64ctaYi1QR0VRvPO_jV7FLiwu7sxgX2S1iXY,8361
|
|
@@ -917,7 +902,7 @@ alibabacloud_vpc20160428/models/_modify_flow_log_attribute_response_body.py,sha2
|
|
|
917
902
|
alibabacloud_vpc20160428/models/_modify_forward_entry_request.py,sha256=laBGCsrEBtfMg_kY7E0DIlt9dNejaa-gEq0kbntAx1k,8859
|
|
918
903
|
alibabacloud_vpc20160428/models/_modify_forward_entry_response.py,sha256=LqjNyHdn3oHxF_Pd_5kI-oK_KRuSwGrcFbpPUw9f-CE,1486
|
|
919
904
|
alibabacloud_vpc20160428/models/_modify_forward_entry_response_body.py,sha256=Uz1dAmpBEtjsDmn_YrcbC7We_ytqfawPGYIIWQg4Je4,800
|
|
920
|
-
alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_request.py,sha256=
|
|
905
|
+
alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_request.py,sha256=5HD1lcpzJ0mLXT-sBuSzvKWpUAhqYCI5eXmPcslNG7U,8267
|
|
921
906
|
alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_response.py,sha256=VhpRY5H6Fzwdhovwxoir3FGqsNfeJ2VUFJnW4nEXIf8,1513
|
|
922
907
|
alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_response_body.py,sha256=e0lO35omwrbM7LkdALHAur5ptnJDPuukF2cSv24M8ek,809
|
|
923
908
|
alibabacloud_vpc20160428/models/_modify_global_acceleration_instance_attributes_request.py,sha256=rKvuyi1XwMHZhpp9sa8uPxhmrNBC-03eOEnedUqnsOk,3638
|
|
@@ -1210,8 +1195,8 @@ alibabacloud_vpc20160428/models/_vpc_describe_vpc_nat_gateway_network_interface_
|
|
|
1210
1195
|
alibabacloud_vpc20160428/models/_withdraw_vpc_published_route_entries_request.py,sha256=GpHh2iNrvEUqH7n_9Ks0WTe03doXZTihnMz-ST2Sjuo,5753
|
|
1211
1196
|
alibabacloud_vpc20160428/models/_withdraw_vpc_published_route_entries_response.py,sha256=VihHnKuXihBHZF7j0rZsnkj5Rv27G9ec1XSlMWuNjdU,1528
|
|
1212
1197
|
alibabacloud_vpc20160428/models/_withdraw_vpc_published_route_entries_response_body.py,sha256=y758cQVu54CwDn1NpTaBw83CDAH-3q1lzxoSswQPUY8,814
|
|
1213
|
-
alibabacloud_vpc20160428-
|
|
1214
|
-
alibabacloud_vpc20160428-
|
|
1215
|
-
alibabacloud_vpc20160428-
|
|
1216
|
-
alibabacloud_vpc20160428-
|
|
1217
|
-
alibabacloud_vpc20160428-
|
|
1198
|
+
alibabacloud_vpc20160428-7.0.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
1199
|
+
alibabacloud_vpc20160428-7.0.0.dist-info/METADATA,sha256=OEjrEg-1PUEo-2dt32nq3u5YRISKEdLe26qPAOx3Pk4,2307
|
|
1200
|
+
alibabacloud_vpc20160428-7.0.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
1201
|
+
alibabacloud_vpc20160428-7.0.0.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
|
|
1202
|
+
alibabacloud_vpc20160428-7.0.0.dist-info/RECORD,,
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from darabonba.model import DaraModel
|
|
6
|
-
|
|
7
|
-
class ConvertBandwidthPackageRequest(DaraModel):
|
|
8
|
-
def __init__(
|
|
9
|
-
self,
|
|
10
|
-
bandwidth_package_id: str = None,
|
|
11
|
-
client_token: str = None,
|
|
12
|
-
owner_id: int = None,
|
|
13
|
-
region_id: str = None,
|
|
14
|
-
resource_owner_account: str = None,
|
|
15
|
-
resource_owner_id: int = None,
|
|
16
|
-
):
|
|
17
|
-
# The ID of the NAT service plan.
|
|
18
|
-
#
|
|
19
|
-
# This parameter is required.
|
|
20
|
-
self.bandwidth_package_id = bandwidth_package_id
|
|
21
|
-
# The client token that is used to ensure the idempotency of the request. You can use the client to generate a client token. Make sure that a unique client token is used for each request. The **token** can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/36569.html).
|
|
22
|
-
self.client_token = client_token
|
|
23
|
-
self.owner_id = owner_id
|
|
24
|
-
# The region where the NAT gateway resides. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
25
|
-
#
|
|
26
|
-
# This parameter is required.
|
|
27
|
-
self.region_id = region_id
|
|
28
|
-
self.resource_owner_account = resource_owner_account
|
|
29
|
-
self.resource_owner_id = resource_owner_id
|
|
30
|
-
|
|
31
|
-
def validate(self):
|
|
32
|
-
pass
|
|
33
|
-
|
|
34
|
-
def to_map(self):
|
|
35
|
-
result = dict()
|
|
36
|
-
_map = super().to_map()
|
|
37
|
-
if _map is not None:
|
|
38
|
-
result = _map
|
|
39
|
-
if self.bandwidth_package_id is not None:
|
|
40
|
-
result['BandwidthPackageId'] = self.bandwidth_package_id
|
|
41
|
-
|
|
42
|
-
if self.client_token is not None:
|
|
43
|
-
result['ClientToken'] = self.client_token
|
|
44
|
-
|
|
45
|
-
if self.owner_id is not None:
|
|
46
|
-
result['OwnerId'] = self.owner_id
|
|
47
|
-
|
|
48
|
-
if self.region_id is not None:
|
|
49
|
-
result['RegionId'] = self.region_id
|
|
50
|
-
|
|
51
|
-
if self.resource_owner_account is not None:
|
|
52
|
-
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
53
|
-
|
|
54
|
-
if self.resource_owner_id is not None:
|
|
55
|
-
result['ResourceOwnerId'] = self.resource_owner_id
|
|
56
|
-
|
|
57
|
-
return result
|
|
58
|
-
|
|
59
|
-
def from_map(self, m: dict = None):
|
|
60
|
-
m = m or dict()
|
|
61
|
-
if m.get('BandwidthPackageId') is not None:
|
|
62
|
-
self.bandwidth_package_id = m.get('BandwidthPackageId')
|
|
63
|
-
|
|
64
|
-
if m.get('ClientToken') is not None:
|
|
65
|
-
self.client_token = m.get('ClientToken')
|
|
66
|
-
|
|
67
|
-
if m.get('OwnerId') is not None:
|
|
68
|
-
self.owner_id = m.get('OwnerId')
|
|
69
|
-
|
|
70
|
-
if m.get('RegionId') is not None:
|
|
71
|
-
self.region_id = m.get('RegionId')
|
|
72
|
-
|
|
73
|
-
if m.get('ResourceOwnerAccount') is not None:
|
|
74
|
-
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
75
|
-
|
|
76
|
-
if m.get('ResourceOwnerId') is not None:
|
|
77
|
-
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
78
|
-
|
|
79
|
-
return self
|
|
80
|
-
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing import Dict
|
|
6
|
-
|
|
7
|
-
from alibabacloud_vpc20160428 import models as main_models
|
|
8
|
-
from darabonba.model import DaraModel
|
|
9
|
-
|
|
10
|
-
class ConvertBandwidthPackageResponse(DaraModel):
|
|
11
|
-
def __init__(
|
|
12
|
-
self,
|
|
13
|
-
headers: Dict[str, str] = None,
|
|
14
|
-
status_code: int = None,
|
|
15
|
-
body: main_models.ConvertBandwidthPackageResponseBody = None,
|
|
16
|
-
):
|
|
17
|
-
self.headers = headers
|
|
18
|
-
self.status_code = status_code
|
|
19
|
-
self.body = body
|
|
20
|
-
|
|
21
|
-
def validate(self):
|
|
22
|
-
if self.body:
|
|
23
|
-
self.body.validate()
|
|
24
|
-
|
|
25
|
-
def to_map(self):
|
|
26
|
-
result = dict()
|
|
27
|
-
_map = super().to_map()
|
|
28
|
-
if _map is not None:
|
|
29
|
-
result = _map
|
|
30
|
-
if self.headers is not None:
|
|
31
|
-
result['headers'] = self.headers
|
|
32
|
-
|
|
33
|
-
if self.status_code is not None:
|
|
34
|
-
result['statusCode'] = self.status_code
|
|
35
|
-
|
|
36
|
-
if self.body is not None:
|
|
37
|
-
result['body'] = self.body.to_map()
|
|
38
|
-
|
|
39
|
-
return result
|
|
40
|
-
|
|
41
|
-
def from_map(self, m: dict = None):
|
|
42
|
-
m = m or dict()
|
|
43
|
-
if m.get('headers') is not None:
|
|
44
|
-
self.headers = m.get('headers')
|
|
45
|
-
|
|
46
|
-
if m.get('statusCode') is not None:
|
|
47
|
-
self.status_code = m.get('statusCode')
|
|
48
|
-
|
|
49
|
-
if m.get('body') is not None:
|
|
50
|
-
temp_model = main_models.ConvertBandwidthPackageResponseBody()
|
|
51
|
-
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
-
|
|
53
|
-
return self
|
|
54
|
-
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from darabonba.model import DaraModel
|
|
6
|
-
|
|
7
|
-
class ConvertBandwidthPackageResponseBody(DaraModel):
|
|
8
|
-
def __init__(
|
|
9
|
-
self,
|
|
10
|
-
convert_instance_id: str = None,
|
|
11
|
-
request_id: str = None,
|
|
12
|
-
):
|
|
13
|
-
# The ID of the Internet Shared Bandwidth instance.
|
|
14
|
-
self.convert_instance_id = convert_instance_id
|
|
15
|
-
# The request ID.
|
|
16
|
-
self.request_id = request_id
|
|
17
|
-
|
|
18
|
-
def validate(self):
|
|
19
|
-
pass
|
|
20
|
-
|
|
21
|
-
def to_map(self):
|
|
22
|
-
result = dict()
|
|
23
|
-
_map = super().to_map()
|
|
24
|
-
if _map is not None:
|
|
25
|
-
result = _map
|
|
26
|
-
if self.convert_instance_id is not None:
|
|
27
|
-
result['ConvertInstanceId'] = self.convert_instance_id
|
|
28
|
-
|
|
29
|
-
if self.request_id is not None:
|
|
30
|
-
result['RequestId'] = self.request_id
|
|
31
|
-
|
|
32
|
-
return result
|
|
33
|
-
|
|
34
|
-
def from_map(self, m: dict = None):
|
|
35
|
-
m = m or dict()
|
|
36
|
-
if m.get('ConvertInstanceId') is not None:
|
|
37
|
-
self.convert_instance_id = m.get('ConvertInstanceId')
|
|
38
|
-
|
|
39
|
-
if m.get('RequestId') is not None:
|
|
40
|
-
self.request_id = m.get('RequestId')
|
|
41
|
-
|
|
42
|
-
return self
|
|
43
|
-
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from darabonba.model import DaraModel
|
|
6
|
-
|
|
7
|
-
class DisableNatGatewayEcsMetricRequest(DaraModel):
|
|
8
|
-
def __init__(
|
|
9
|
-
self,
|
|
10
|
-
dry_run: bool = None,
|
|
11
|
-
nat_gateway_id: str = None,
|
|
12
|
-
region_id: str = None,
|
|
13
|
-
):
|
|
14
|
-
# Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
15
|
-
#
|
|
16
|
-
# **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
17
|
-
#
|
|
18
|
-
# **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
19
|
-
self.dry_run = dry_run
|
|
20
|
-
# The ID of the NAT gateway for which you want to disable ECS traffic monitoring.
|
|
21
|
-
#
|
|
22
|
-
# This parameter is required.
|
|
23
|
-
self.nat_gateway_id = nat_gateway_id
|
|
24
|
-
# The region ID of the NAT gateway. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
25
|
-
#
|
|
26
|
-
# This parameter is required.
|
|
27
|
-
self.region_id = region_id
|
|
28
|
-
|
|
29
|
-
def validate(self):
|
|
30
|
-
pass
|
|
31
|
-
|
|
32
|
-
def to_map(self):
|
|
33
|
-
result = dict()
|
|
34
|
-
_map = super().to_map()
|
|
35
|
-
if _map is not None:
|
|
36
|
-
result = _map
|
|
37
|
-
if self.dry_run is not None:
|
|
38
|
-
result['DryRun'] = self.dry_run
|
|
39
|
-
|
|
40
|
-
if self.nat_gateway_id is not None:
|
|
41
|
-
result['NatGatewayId'] = self.nat_gateway_id
|
|
42
|
-
|
|
43
|
-
if self.region_id is not None:
|
|
44
|
-
result['RegionId'] = self.region_id
|
|
45
|
-
|
|
46
|
-
return result
|
|
47
|
-
|
|
48
|
-
def from_map(self, m: dict = None):
|
|
49
|
-
m = m or dict()
|
|
50
|
-
if m.get('DryRun') is not None:
|
|
51
|
-
self.dry_run = m.get('DryRun')
|
|
52
|
-
|
|
53
|
-
if m.get('NatGatewayId') is not None:
|
|
54
|
-
self.nat_gateway_id = m.get('NatGatewayId')
|
|
55
|
-
|
|
56
|
-
if m.get('RegionId') is not None:
|
|
57
|
-
self.region_id = m.get('RegionId')
|
|
58
|
-
|
|
59
|
-
return self
|
|
60
|
-
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing import Dict
|
|
6
|
-
|
|
7
|
-
from alibabacloud_vpc20160428 import models as main_models
|
|
8
|
-
from darabonba.model import DaraModel
|
|
9
|
-
|
|
10
|
-
class DisableNatGatewayEcsMetricResponse(DaraModel):
|
|
11
|
-
def __init__(
|
|
12
|
-
self,
|
|
13
|
-
headers: Dict[str, str] = None,
|
|
14
|
-
status_code: int = None,
|
|
15
|
-
body: main_models.DisableNatGatewayEcsMetricResponseBody = None,
|
|
16
|
-
):
|
|
17
|
-
self.headers = headers
|
|
18
|
-
self.status_code = status_code
|
|
19
|
-
self.body = body
|
|
20
|
-
|
|
21
|
-
def validate(self):
|
|
22
|
-
if self.body:
|
|
23
|
-
self.body.validate()
|
|
24
|
-
|
|
25
|
-
def to_map(self):
|
|
26
|
-
result = dict()
|
|
27
|
-
_map = super().to_map()
|
|
28
|
-
if _map is not None:
|
|
29
|
-
result = _map
|
|
30
|
-
if self.headers is not None:
|
|
31
|
-
result['headers'] = self.headers
|
|
32
|
-
|
|
33
|
-
if self.status_code is not None:
|
|
34
|
-
result['statusCode'] = self.status_code
|
|
35
|
-
|
|
36
|
-
if self.body is not None:
|
|
37
|
-
result['body'] = self.body.to_map()
|
|
38
|
-
|
|
39
|
-
return result
|
|
40
|
-
|
|
41
|
-
def from_map(self, m: dict = None):
|
|
42
|
-
m = m or dict()
|
|
43
|
-
if m.get('headers') is not None:
|
|
44
|
-
self.headers = m.get('headers')
|
|
45
|
-
|
|
46
|
-
if m.get('statusCode') is not None:
|
|
47
|
-
self.status_code = m.get('statusCode')
|
|
48
|
-
|
|
49
|
-
if m.get('body') is not None:
|
|
50
|
-
temp_model = main_models.DisableNatGatewayEcsMetricResponseBody()
|
|
51
|
-
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
-
|
|
53
|
-
return self
|
|
54
|
-
|