alibabacloud-vpc20160428 6.14.1__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 +16 -258
- alibabacloud_vpc20160428/models/__init__.py +0 -18
- alibabacloud_vpc20160428/models/_create_forward_entry_request.py +7 -6
- alibabacloud_vpc20160428/models/_create_full_nat_entry_request.py +8 -2
- alibabacloud_vpc20160428/models/_create_nat_gateway_request.py +2 -0
- alibabacloud_vpc20160428/models/_create_nat_gateway_shrink_request.py +2 -0
- alibabacloud_vpc20160428/models/_create_nat_ip_request.py +2 -0
- alibabacloud_vpc20160428/models/_create_nat_ip_response_body.py +5 -0
- alibabacloud_vpc20160428/models/_create_snat_entry_request.py +5 -0
- alibabacloud_vpc20160428/models/_create_vpn_attachment_request.py +8 -0
- alibabacloud_vpc20160428/models/_delete_nat_ip_request.py +2 -0
- alibabacloud_vpc20160428/models/_describe_nat_gateway_associate_network_interfaces_response_body.py +1 -0
- alibabacloud_vpc20160428/models/_describe_nat_gateways_request.py +2 -2
- alibabacloud_vpc20160428/models/_describe_nat_gateways_response_body.py +11 -0
- alibabacloud_vpc20160428/models/_describe_physical_connection_loaresponse_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_snat_table_entries_request.py +1 -0
- alibabacloud_vpc20160428/models/_describe_snat_table_entries_response_body.py +4 -0
- alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_response_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_attachments_response_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_connection_response_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_connections_response_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_request.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_gateway_response_body.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_gateways_request.py +8 -0
- alibabacloud_vpc20160428/models/_describe_vpn_gateways_response_body.py +8 -0
- alibabacloud_vpc20160428/models/_get_nat_gateway_attribute_response_body.py +16 -0
- alibabacloud_vpc20160428/models/_list_full_nat_entries_response_body.py +16 -0
- alibabacloud_vpc20160428/models/_list_nat_ips_request.py +2 -0
- alibabacloud_vpc20160428/models/_list_nat_ips_response_body.py +1 -0
- alibabacloud_vpc20160428/models/_modify_forward_entry_request.py +5 -0
- alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_request.py +8 -0
- alibabacloud_vpc20160428/models/_modify_nat_gateway_attribute_request.py +11 -7
- alibabacloud_vpc20160428/models/_modify_nat_gateway_attribute_shrink_request.py +9 -7
- alibabacloud_vpc20160428/models/_modify_snat_entry_request.py +8 -0
- {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/METADATA +2 -2
- {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/RECORD +40 -49
- 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-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/top_level.txt +0 -0
|
@@ -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
|
-
|
|
@@ -1,34 +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 DisableNatGatewayEcsMetricResponseBody(DaraModel):
|
|
8
|
-
def __init__(
|
|
9
|
-
self,
|
|
10
|
-
request_id: str = None,
|
|
11
|
-
):
|
|
12
|
-
# The request ID.
|
|
13
|
-
self.request_id = request_id
|
|
14
|
-
|
|
15
|
-
def validate(self):
|
|
16
|
-
pass
|
|
17
|
-
|
|
18
|
-
def to_map(self):
|
|
19
|
-
result = dict()
|
|
20
|
-
_map = super().to_map()
|
|
21
|
-
if _map is not None:
|
|
22
|
-
result = _map
|
|
23
|
-
if self.request_id is not None:
|
|
24
|
-
result['RequestId'] = self.request_id
|
|
25
|
-
|
|
26
|
-
return result
|
|
27
|
-
|
|
28
|
-
def from_map(self, m: dict = None):
|
|
29
|
-
m = m or dict()
|
|
30
|
-
if m.get('RequestId') is not None:
|
|
31
|
-
self.request_id = m.get('RequestId')
|
|
32
|
-
|
|
33
|
-
return self
|
|
34
|
-
|
|
@@ -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 EnableNatGatewayEcsMetricRequest(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 enable 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 EnableNatGatewayEcsMetricResponse(DaraModel):
|
|
11
|
-
def __init__(
|
|
12
|
-
self,
|
|
13
|
-
headers: Dict[str, str] = None,
|
|
14
|
-
status_code: int = None,
|
|
15
|
-
body: main_models.EnableNatGatewayEcsMetricResponseBody = 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.EnableNatGatewayEcsMetricResponseBody()
|
|
51
|
-
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
-
|
|
53
|
-
return self
|
|
54
|
-
|
|
@@ -1,34 +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 EnableNatGatewayEcsMetricResponseBody(DaraModel):
|
|
8
|
-
def __init__(
|
|
9
|
-
self,
|
|
10
|
-
request_id: str = None,
|
|
11
|
-
):
|
|
12
|
-
# The request ID.
|
|
13
|
-
self.request_id = request_id
|
|
14
|
-
|
|
15
|
-
def validate(self):
|
|
16
|
-
pass
|
|
17
|
-
|
|
18
|
-
def to_map(self):
|
|
19
|
-
result = dict()
|
|
20
|
-
_map = super().to_map()
|
|
21
|
-
if _map is not None:
|
|
22
|
-
result = _map
|
|
23
|
-
if self.request_id is not None:
|
|
24
|
-
result['RequestId'] = self.request_id
|
|
25
|
-
|
|
26
|
-
return result
|
|
27
|
-
|
|
28
|
-
def from_map(self, m: dict = None):
|
|
29
|
-
m = m or dict()
|
|
30
|
-
if m.get('RequestId') is not None:
|
|
31
|
-
self.request_id = m.get('RequestId')
|
|
32
|
-
|
|
33
|
-
return self
|
|
34
|
-
|
{alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
{alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|