alibabacloud-privatelink20200415 4.0.4__py3-none-any.whl → 4.0.6__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_privatelink20200415/__init__.py +1 -1
- alibabacloud_privatelink20200415/client.py +2426 -3802
- alibabacloud_privatelink20200415/models/__init__.py +301 -0
- alibabacloud_privatelink20200415/models/_add_user_to_vpc_endpoint_service_request.py +88 -0
- alibabacloud_privatelink20200415/models/_add_user_to_vpc_endpoint_service_response.py +54 -0
- alibabacloud_privatelink20200415/models/_add_user_to_vpc_endpoint_service_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_add_zone_to_vpc_endpoint_request.py +112 -0
- alibabacloud_privatelink20200415/models/_add_zone_to_vpc_endpoint_response.py +54 -0
- alibabacloud_privatelink20200415/models/_add_zone_to_vpc_endpoint_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_attach_resource_to_vpc_endpoint_service_request.py +109 -0
- alibabacloud_privatelink20200415/models/_attach_resource_to_vpc_endpoint_service_response.py +54 -0
- alibabacloud_privatelink20200415/models/_attach_resource_to_vpc_endpoint_service_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_attach_security_group_to_vpc_endpoint_request.py +81 -0
- alibabacloud_privatelink20200415/models/_attach_security_group_to_vpc_endpoint_response.py +54 -0
- alibabacloud_privatelink20200415/models/_attach_security_group_to_vpc_endpoint_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_change_resource_group_request.py +59 -0
- alibabacloud_privatelink20200415/models/_change_resource_group_response.py +54 -0
- alibabacloud_privatelink20200415/models/_change_resource_group_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_check_product_open_response.py +54 -0
- alibabacloud_privatelink20200415/models/_check_product_open_response_body.py +45 -0
- alibabacloud_privatelink20200415/models/_create_vpc_endpoint_request.py +347 -0
- alibabacloud_privatelink20200415/models/_create_vpc_endpoint_response.py +54 -0
- alibabacloud_privatelink20200415/models/_create_vpc_endpoint_response_body.py +193 -0
- alibabacloud_privatelink20200415/models/_create_vpc_endpoint_service_request.py +295 -0
- alibabacloud_privatelink20200415/models/_create_vpc_endpoint_service_response.py +54 -0
- alibabacloud_privatelink20200415/models/_create_vpc_endpoint_service_response_body.py +224 -0
- alibabacloud_privatelink20200415/models/_delete_vpc_endpoint_request.py +70 -0
- alibabacloud_privatelink20200415/models/_delete_vpc_endpoint_response.py +54 -0
- alibabacloud_privatelink20200415/models/_delete_vpc_endpoint_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_delete_vpc_endpoint_service_request.py +70 -0
- alibabacloud_privatelink20200415/models/_delete_vpc_endpoint_service_response.py +54 -0
- alibabacloud_privatelink20200415/models/_delete_vpc_endpoint_service_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_describe_regions_request.py +42 -0
- alibabacloud_privatelink20200415/models/_describe_regions_response.py +54 -0
- alibabacloud_privatelink20200415/models/_describe_regions_response_body.py +166 -0
- alibabacloud_privatelink20200415/models/_describe_zones_request.py +44 -0
- alibabacloud_privatelink20200415/models/_describe_zones_response.py +54 -0
- alibabacloud_privatelink20200415/models/_describe_zones_response_body.py +120 -0
- alibabacloud_privatelink20200415/models/_detach_resource_from_vpc_endpoint_service_request.py +104 -0
- alibabacloud_privatelink20200415/models/_detach_resource_from_vpc_endpoint_service_response.py +54 -0
- alibabacloud_privatelink20200415/models/_detach_resource_from_vpc_endpoint_service_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_detach_security_group_from_vpc_endpoint_request.py +81 -0
- alibabacloud_privatelink20200415/models/_detach_security_group_from_vpc_endpoint_response.py +54 -0
- alibabacloud_privatelink20200415/models/_detach_security_group_from_vpc_endpoint_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_disable_vpc_endpoint_connection_request.py +81 -0
- alibabacloud_privatelink20200415/models/_disable_vpc_endpoint_connection_response.py +54 -0
- alibabacloud_privatelink20200415/models/_disable_vpc_endpoint_connection_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_disable_vpc_endpoint_zone_connection_request.py +108 -0
- alibabacloud_privatelink20200415/models/_disable_vpc_endpoint_zone_connection_response.py +54 -0
- alibabacloud_privatelink20200415/models/_disable_vpc_endpoint_zone_connection_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_enable_vpc_endpoint_connection_request.py +102 -0
- alibabacloud_privatelink20200415/models/_enable_vpc_endpoint_connection_response.py +54 -0
- alibabacloud_privatelink20200415/models/_enable_vpc_endpoint_connection_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_enable_vpc_endpoint_zone_connection_request.py +92 -0
- alibabacloud_privatelink20200415/models/_enable_vpc_endpoint_zone_connection_response.py +54 -0
- alibabacloud_privatelink20200415/models/_enable_vpc_endpoint_zone_connection_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_get_vpc_endpoint_attribute_request.py +49 -0
- alibabacloud_privatelink20200415/models/_get_vpc_endpoint_attribute_response.py +54 -0
- alibabacloud_privatelink20200415/models/_get_vpc_endpoint_attribute_response_body.py +267 -0
- alibabacloud_privatelink20200415/models/_get_vpc_endpoint_service_attribute_request.py +49 -0
- alibabacloud_privatelink20200415/models/_get_vpc_endpoint_service_attribute_response.py +54 -0
- alibabacloud_privatelink20200415/models/_get_vpc_endpoint_service_attribute_response_body.py +305 -0
- alibabacloud_privatelink20200415/models/_list_tag_resources_request.py +143 -0
- alibabacloud_privatelink20200415/models/_list_tag_resources_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_tag_resources_response_body.py +124 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_connections_request.py +139 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_connections_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_connections_response_body.py +337 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_security_groups_request.py +70 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_security_groups_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_security_groups_response_body.py +124 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_service_resources_request.py +70 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_service_resources_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_service_resources_response_body.py +201 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_service_users_request.py +88 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_service_users_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_service_users_response_body.py +158 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_services_by_end_user_request.py +166 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_services_by_end_user_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_services_by_end_user_response_body.py +286 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_services_request.py +230 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_services_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_services_response_body.py +417 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_zones_request.py +72 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_zones_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoint_zones_response_body.py +188 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoints_request.py +228 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoints_response.py +54 -0
- alibabacloud_privatelink20200415/models/_list_vpc_endpoints_response_body.py +372 -0
- alibabacloud_privatelink20200415/models/_open_private_link_service_request.py +33 -0
- alibabacloud_privatelink20200415/models/_open_private_link_service_response.py +54 -0
- alibabacloud_privatelink20200415/models/_open_private_link_service_response_body.py +43 -0
- alibabacloud_privatelink20200415/models/_remove_user_from_vpc_endpoint_service_request.py +86 -0
- alibabacloud_privatelink20200415/models/_remove_user_from_vpc_endpoint_service_response.py +54 -0
- alibabacloud_privatelink20200415/models/_remove_user_from_vpc_endpoint_service_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_remove_zone_from_vpc_endpoint_request.py +81 -0
- alibabacloud_privatelink20200415/models/_remove_zone_from_vpc_endpoint_response.py +54 -0
- alibabacloud_privatelink20200415/models/_remove_zone_from_vpc_endpoint_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_tag_resources_request.py +155 -0
- alibabacloud_privatelink20200415/models/_tag_resources_response.py +54 -0
- alibabacloud_privatelink20200415/models/_tag_resources_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_untag_resources_request.py +113 -0
- alibabacloud_privatelink20200415/models/_untag_resources_response.py +54 -0
- alibabacloud_privatelink20200415/models/_untag_resources_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_attribute_request.py +138 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_attribute_response.py +54 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_attribute_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_connection_attribute_request.py +100 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_connection_attribute_response.py +54 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_connection_attribute_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_service_attribute_request.py +162 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_service_attribute_response.py +54 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_service_attribute_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_service_resource_attribute_request.py +106 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_service_resource_attribute_response.py +54 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_service_resource_attribute_response_body.py +34 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_zone_connection_resource_attribute_request.py +145 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_zone_connection_resource_attribute_response.py +54 -0
- alibabacloud_privatelink20200415/models/_update_vpc_endpoint_zone_connection_resource_attribute_response_body.py +34 -0
- {alibabacloud_privatelink20200415-4.0.4.dist-info → alibabacloud_privatelink20200415-4.0.6.dist-info}/METADATA +7 -7
- alibabacloud_privatelink20200415-4.0.6.dist-info/RECORD +124 -0
- alibabacloud_privatelink20200415/models.py +0 -8525
- alibabacloud_privatelink20200415-4.0.4.dist-info/RECORD +0 -8
- {alibabacloud_privatelink20200415-4.0.4.dist-info → alibabacloud_privatelink20200415-4.0.6.dist-info}/LICENSE +0 -0
- {alibabacloud_privatelink20200415-4.0.4.dist-info → alibabacloud_privatelink20200415-4.0.6.dist-info}/WHEEL +0 -0
- {alibabacloud_privatelink20200415-4.0.4.dist-info → alibabacloud_privatelink20200415-4.0.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
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_privatelink20200415 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class DisableVpcEndpointZoneConnectionResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.DisableVpcEndpointZoneConnectionResponseBody = 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.DisableVpcEndpointZoneConnectionResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
alibabacloud_privatelink20200415/models/_disable_vpc_endpoint_zone_connection_response_body.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 DisableVpcEndpointZoneConnectionResponseBody(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
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
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 EnableVpcEndpointConnectionRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
bandwidth: int = None,
|
|
11
|
+
client_token: str = None,
|
|
12
|
+
dry_run: bool = None,
|
|
13
|
+
endpoint_id: str = None,
|
|
14
|
+
region_id: str = None,
|
|
15
|
+
service_id: str = None,
|
|
16
|
+
traffic_control_mode: str = None,
|
|
17
|
+
):
|
|
18
|
+
# The bandwidth of the endpoint connection. Unit: Mbit/s. Valid values: **3072 to 10240**.
|
|
19
|
+
#
|
|
20
|
+
# > The bandwidth of an endpoint connection is in the range of **100 to 10,240** Mbit/s. The default bandwidth is **3,072** Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is **3,072 to 10,240** Mbit/s. If Classic Load Balancer (CLB) instances or Application Load Balancer (ALB) instances are specified as service resources, you can modify the endpoint connection bandwidth based on your business requirements. This parameter is invalid if Network Load Balancer (NLB) instances are specified as service resources.
|
|
21
|
+
self.bandwidth = bandwidth
|
|
22
|
+
# The client token that is used to ensure the idempotence of the request.
|
|
23
|
+
#
|
|
24
|
+
# You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
|
|
25
|
+
self.client_token = client_token
|
|
26
|
+
# Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
27
|
+
#
|
|
28
|
+
# * **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 check, the `DryRunOperation` error code is returned.
|
|
29
|
+
# * **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.
|
|
30
|
+
self.dry_run = dry_run
|
|
31
|
+
# The endpoint ID.
|
|
32
|
+
#
|
|
33
|
+
# This parameter is required.
|
|
34
|
+
self.endpoint_id = endpoint_id
|
|
35
|
+
# The ID of the region where the connection request is accepted.
|
|
36
|
+
#
|
|
37
|
+
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/120468.html) operation to query the most recent region list.
|
|
38
|
+
#
|
|
39
|
+
# This parameter is required.
|
|
40
|
+
self.region_id = region_id
|
|
41
|
+
# The endpoint service ID.
|
|
42
|
+
#
|
|
43
|
+
# This parameter is required.
|
|
44
|
+
self.service_id = service_id
|
|
45
|
+
self.traffic_control_mode = traffic_control_mode
|
|
46
|
+
|
|
47
|
+
def validate(self):
|
|
48
|
+
pass
|
|
49
|
+
|
|
50
|
+
def to_map(self):
|
|
51
|
+
result = dict()
|
|
52
|
+
_map = super().to_map()
|
|
53
|
+
if _map is not None:
|
|
54
|
+
result = _map
|
|
55
|
+
if self.bandwidth is not None:
|
|
56
|
+
result['Bandwidth'] = self.bandwidth
|
|
57
|
+
|
|
58
|
+
if self.client_token is not None:
|
|
59
|
+
result['ClientToken'] = self.client_token
|
|
60
|
+
|
|
61
|
+
if self.dry_run is not None:
|
|
62
|
+
result['DryRun'] = self.dry_run
|
|
63
|
+
|
|
64
|
+
if self.endpoint_id is not None:
|
|
65
|
+
result['EndpointId'] = self.endpoint_id
|
|
66
|
+
|
|
67
|
+
if self.region_id is not None:
|
|
68
|
+
result['RegionId'] = self.region_id
|
|
69
|
+
|
|
70
|
+
if self.service_id is not None:
|
|
71
|
+
result['ServiceId'] = self.service_id
|
|
72
|
+
|
|
73
|
+
if self.traffic_control_mode is not None:
|
|
74
|
+
result['TrafficControlMode'] = self.traffic_control_mode
|
|
75
|
+
|
|
76
|
+
return result
|
|
77
|
+
|
|
78
|
+
def from_map(self, m: dict = None):
|
|
79
|
+
m = m or dict()
|
|
80
|
+
if m.get('Bandwidth') is not None:
|
|
81
|
+
self.bandwidth = m.get('Bandwidth')
|
|
82
|
+
|
|
83
|
+
if m.get('ClientToken') is not None:
|
|
84
|
+
self.client_token = m.get('ClientToken')
|
|
85
|
+
|
|
86
|
+
if m.get('DryRun') is not None:
|
|
87
|
+
self.dry_run = m.get('DryRun')
|
|
88
|
+
|
|
89
|
+
if m.get('EndpointId') is not None:
|
|
90
|
+
self.endpoint_id = m.get('EndpointId')
|
|
91
|
+
|
|
92
|
+
if m.get('RegionId') is not None:
|
|
93
|
+
self.region_id = m.get('RegionId')
|
|
94
|
+
|
|
95
|
+
if m.get('ServiceId') is not None:
|
|
96
|
+
self.service_id = m.get('ServiceId')
|
|
97
|
+
|
|
98
|
+
if m.get('TrafficControlMode') is not None:
|
|
99
|
+
self.traffic_control_mode = m.get('TrafficControlMode')
|
|
100
|
+
|
|
101
|
+
return self
|
|
102
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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_privatelink20200415 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class EnableVpcEndpointConnectionResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.EnableVpcEndpointConnectionResponseBody = 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.EnableVpcEndpointConnectionResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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 EnableVpcEndpointConnectionResponseBody(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
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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 EnableVpcEndpointZoneConnectionRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
client_token: str = None,
|
|
11
|
+
dry_run: bool = None,
|
|
12
|
+
endpoint_id: str = None,
|
|
13
|
+
region_id: str = None,
|
|
14
|
+
service_id: str = None,
|
|
15
|
+
zone_id: str = None,
|
|
16
|
+
):
|
|
17
|
+
# The client token that is used to ensure the idempotence of the request.
|
|
18
|
+
#
|
|
19
|
+
# You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
|
|
20
|
+
self.client_token = client_token
|
|
21
|
+
# Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
22
|
+
#
|
|
23
|
+
# * **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.
|
|
24
|
+
# * **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.
|
|
25
|
+
self.dry_run = dry_run
|
|
26
|
+
# The endpoint ID.
|
|
27
|
+
#
|
|
28
|
+
# This parameter is required.
|
|
29
|
+
self.endpoint_id = endpoint_id
|
|
30
|
+
# The ID of the region where the endpoint connection request is accepted. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/120468.html) operation to query the most recent region list.
|
|
31
|
+
#
|
|
32
|
+
# This parameter is required.
|
|
33
|
+
self.region_id = region_id
|
|
34
|
+
# The endpoint service ID.
|
|
35
|
+
#
|
|
36
|
+
# This parameter is required.
|
|
37
|
+
self.service_id = service_id
|
|
38
|
+
# The ID of the zone that is associated with the endpoint.
|
|
39
|
+
#
|
|
40
|
+
# This parameter is required.
|
|
41
|
+
self.zone_id = zone_id
|
|
42
|
+
|
|
43
|
+
def validate(self):
|
|
44
|
+
pass
|
|
45
|
+
|
|
46
|
+
def to_map(self):
|
|
47
|
+
result = dict()
|
|
48
|
+
_map = super().to_map()
|
|
49
|
+
if _map is not None:
|
|
50
|
+
result = _map
|
|
51
|
+
if self.client_token is not None:
|
|
52
|
+
result['ClientToken'] = self.client_token
|
|
53
|
+
|
|
54
|
+
if self.dry_run is not None:
|
|
55
|
+
result['DryRun'] = self.dry_run
|
|
56
|
+
|
|
57
|
+
if self.endpoint_id is not None:
|
|
58
|
+
result['EndpointId'] = self.endpoint_id
|
|
59
|
+
|
|
60
|
+
if self.region_id is not None:
|
|
61
|
+
result['RegionId'] = self.region_id
|
|
62
|
+
|
|
63
|
+
if self.service_id is not None:
|
|
64
|
+
result['ServiceId'] = self.service_id
|
|
65
|
+
|
|
66
|
+
if self.zone_id is not None:
|
|
67
|
+
result['ZoneId'] = self.zone_id
|
|
68
|
+
|
|
69
|
+
return result
|
|
70
|
+
|
|
71
|
+
def from_map(self, m: dict = None):
|
|
72
|
+
m = m or dict()
|
|
73
|
+
if m.get('ClientToken') is not None:
|
|
74
|
+
self.client_token = m.get('ClientToken')
|
|
75
|
+
|
|
76
|
+
if m.get('DryRun') is not None:
|
|
77
|
+
self.dry_run = m.get('DryRun')
|
|
78
|
+
|
|
79
|
+
if m.get('EndpointId') is not None:
|
|
80
|
+
self.endpoint_id = m.get('EndpointId')
|
|
81
|
+
|
|
82
|
+
if m.get('RegionId') is not None:
|
|
83
|
+
self.region_id = m.get('RegionId')
|
|
84
|
+
|
|
85
|
+
if m.get('ServiceId') is not None:
|
|
86
|
+
self.service_id = m.get('ServiceId')
|
|
87
|
+
|
|
88
|
+
if m.get('ZoneId') is not None:
|
|
89
|
+
self.zone_id = m.get('ZoneId')
|
|
90
|
+
|
|
91
|
+
return self
|
|
92
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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_privatelink20200415 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class EnableVpcEndpointZoneConnectionResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.EnableVpcEndpointZoneConnectionResponseBody = 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.EnableVpcEndpointZoneConnectionResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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 EnableVpcEndpointZoneConnectionResponseBody(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
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 GetVpcEndpointAttributeRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
endpoint_id: str = None,
|
|
11
|
+
region_id: str = None,
|
|
12
|
+
):
|
|
13
|
+
# The ID of the endpoint whose attributes you want to query.
|
|
14
|
+
#
|
|
15
|
+
# This parameter is required.
|
|
16
|
+
self.endpoint_id = endpoint_id
|
|
17
|
+
# The region ID of the endpoint whose attributes you want to query.
|
|
18
|
+
#
|
|
19
|
+
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/448570.html) operation to query the most recent region list.
|
|
20
|
+
#
|
|
21
|
+
# This parameter is required.
|
|
22
|
+
self.region_id = region_id
|
|
23
|
+
|
|
24
|
+
def validate(self):
|
|
25
|
+
pass
|
|
26
|
+
|
|
27
|
+
def to_map(self):
|
|
28
|
+
result = dict()
|
|
29
|
+
_map = super().to_map()
|
|
30
|
+
if _map is not None:
|
|
31
|
+
result = _map
|
|
32
|
+
if self.endpoint_id is not None:
|
|
33
|
+
result['EndpointId'] = self.endpoint_id
|
|
34
|
+
|
|
35
|
+
if self.region_id is not None:
|
|
36
|
+
result['RegionId'] = self.region_id
|
|
37
|
+
|
|
38
|
+
return result
|
|
39
|
+
|
|
40
|
+
def from_map(self, m: dict = None):
|
|
41
|
+
m = m or dict()
|
|
42
|
+
if m.get('EndpointId') is not None:
|
|
43
|
+
self.endpoint_id = m.get('EndpointId')
|
|
44
|
+
|
|
45
|
+
if m.get('RegionId') is not None:
|
|
46
|
+
self.region_id = m.get('RegionId')
|
|
47
|
+
|
|
48
|
+
return self
|
|
49
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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_privatelink20200415 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetVpcEndpointAttributeResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetVpcEndpointAttributeResponseBody = 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.GetVpcEndpointAttributeResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|