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,372 @@
|
|
|
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 List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_privatelink20200415 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class ListVpcEndpointsResponseBody(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
endpoints: List[main_models.ListVpcEndpointsResponseBodyEndpoints] = None,
|
|
14
|
+
max_results: int = None,
|
|
15
|
+
next_token: str = None,
|
|
16
|
+
request_id: str = None,
|
|
17
|
+
total_count: int = None,
|
|
18
|
+
):
|
|
19
|
+
# The information about the endpoints.
|
|
20
|
+
self.endpoints = endpoints
|
|
21
|
+
# The number of entries returned on each page.
|
|
22
|
+
self.max_results = max_results
|
|
23
|
+
# The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
24
|
+
#
|
|
25
|
+
# * If this is your first request and no next requests are to be performed, you do not need to specify this parameter.
|
|
26
|
+
# * If a next request is to be performed, set the parameter to the value of **NextToken** that is returned from the last call.
|
|
27
|
+
self.next_token = next_token
|
|
28
|
+
# The request ID.
|
|
29
|
+
self.request_id = request_id
|
|
30
|
+
# The total number of entries returned.
|
|
31
|
+
self.total_count = total_count
|
|
32
|
+
|
|
33
|
+
def validate(self):
|
|
34
|
+
if self.endpoints:
|
|
35
|
+
for v1 in self.endpoints:
|
|
36
|
+
if v1:
|
|
37
|
+
v1.validate()
|
|
38
|
+
|
|
39
|
+
def to_map(self):
|
|
40
|
+
result = dict()
|
|
41
|
+
_map = super().to_map()
|
|
42
|
+
if _map is not None:
|
|
43
|
+
result = _map
|
|
44
|
+
result['Endpoints'] = []
|
|
45
|
+
if self.endpoints is not None:
|
|
46
|
+
for k1 in self.endpoints:
|
|
47
|
+
result['Endpoints'].append(k1.to_map() if k1 else None)
|
|
48
|
+
|
|
49
|
+
if self.max_results is not None:
|
|
50
|
+
result['MaxResults'] = self.max_results
|
|
51
|
+
|
|
52
|
+
if self.next_token is not None:
|
|
53
|
+
result['NextToken'] = self.next_token
|
|
54
|
+
|
|
55
|
+
if self.request_id is not None:
|
|
56
|
+
result['RequestId'] = self.request_id
|
|
57
|
+
|
|
58
|
+
if self.total_count is not None:
|
|
59
|
+
result['TotalCount'] = self.total_count
|
|
60
|
+
|
|
61
|
+
return result
|
|
62
|
+
|
|
63
|
+
def from_map(self, m: dict = None):
|
|
64
|
+
m = m or dict()
|
|
65
|
+
self.endpoints = []
|
|
66
|
+
if m.get('Endpoints') is not None:
|
|
67
|
+
for k1 in m.get('Endpoints'):
|
|
68
|
+
temp_model = main_models.ListVpcEndpointsResponseBodyEndpoints()
|
|
69
|
+
self.endpoints.append(temp_model.from_map(k1))
|
|
70
|
+
|
|
71
|
+
if m.get('MaxResults') is not None:
|
|
72
|
+
self.max_results = m.get('MaxResults')
|
|
73
|
+
|
|
74
|
+
if m.get('NextToken') is not None:
|
|
75
|
+
self.next_token = m.get('NextToken')
|
|
76
|
+
|
|
77
|
+
if m.get('RequestId') is not None:
|
|
78
|
+
self.request_id = m.get('RequestId')
|
|
79
|
+
|
|
80
|
+
if m.get('TotalCount') is not None:
|
|
81
|
+
self.total_count = m.get('TotalCount')
|
|
82
|
+
|
|
83
|
+
return self
|
|
84
|
+
|
|
85
|
+
class ListVpcEndpointsResponseBodyEndpoints(DaraModel):
|
|
86
|
+
def __init__(
|
|
87
|
+
self,
|
|
88
|
+
address_ip_version: str = None,
|
|
89
|
+
bandwidth: int = None,
|
|
90
|
+
connection_status: str = None,
|
|
91
|
+
create_time: str = None,
|
|
92
|
+
cross_region_bandwidth: int = None,
|
|
93
|
+
endpoint_business_status: str = None,
|
|
94
|
+
endpoint_description: str = None,
|
|
95
|
+
endpoint_domain: str = None,
|
|
96
|
+
endpoint_id: str = None,
|
|
97
|
+
endpoint_name: str = None,
|
|
98
|
+
endpoint_status: str = None,
|
|
99
|
+
endpoint_type: str = None,
|
|
100
|
+
policy_document: str = None,
|
|
101
|
+
region_id: str = None,
|
|
102
|
+
resource_group_id: str = None,
|
|
103
|
+
resource_owner: bool = None,
|
|
104
|
+
service_id: str = None,
|
|
105
|
+
service_name: str = None,
|
|
106
|
+
service_region_id: str = None,
|
|
107
|
+
tags: List[main_models.ListVpcEndpointsResponseBodyEndpointsTags] = None,
|
|
108
|
+
vpc_id: str = None,
|
|
109
|
+
zone_affinity_enabled: bool = None,
|
|
110
|
+
):
|
|
111
|
+
# The protocol. Valid values:
|
|
112
|
+
#
|
|
113
|
+
# * **IPv4**
|
|
114
|
+
# * **DualStack**
|
|
115
|
+
self.address_ip_version = address_ip_version
|
|
116
|
+
# The bandwidth of the endpoint connection. Unit: Mbit/s.
|
|
117
|
+
self.bandwidth = bandwidth
|
|
118
|
+
# The state of the endpoint connection. Valid values:
|
|
119
|
+
#
|
|
120
|
+
# * **Pending**: The endpoint connection is being modified.
|
|
121
|
+
# * **Connecting**: The endpoint connection is being established.
|
|
122
|
+
# * **Connected**: The endpoint connection is established.
|
|
123
|
+
# * **Disconnecting**: The endpoint is being disconnected from the endpoint service.
|
|
124
|
+
# * **Disconnected**: The endpoint is disconnected from the endpoint service.
|
|
125
|
+
# * **Deleting**: The endpoint connection is being deleted.
|
|
126
|
+
# * **ServiceDeleted**: The corresponding service is deleted.
|
|
127
|
+
self.connection_status = connection_status
|
|
128
|
+
# The time when the endpoint was created.
|
|
129
|
+
self.create_time = create_time
|
|
130
|
+
self.cross_region_bandwidth = cross_region_bandwidth
|
|
131
|
+
# The service state of the endpoint. Valid values:
|
|
132
|
+
#
|
|
133
|
+
# * **Normal**: The endpoint runs as expected.
|
|
134
|
+
# * **FinancialLocked**: The endpoint is locked due to overdue payments.
|
|
135
|
+
self.endpoint_business_status = endpoint_business_status
|
|
136
|
+
# The description of the endpoint.
|
|
137
|
+
self.endpoint_description = endpoint_description
|
|
138
|
+
# The domain name of the endpoint.
|
|
139
|
+
self.endpoint_domain = endpoint_domain
|
|
140
|
+
# The ID of the endpoint.
|
|
141
|
+
self.endpoint_id = endpoint_id
|
|
142
|
+
# The name of the endpoint.
|
|
143
|
+
self.endpoint_name = endpoint_name
|
|
144
|
+
# The state of the endpoint. Valid values:
|
|
145
|
+
#
|
|
146
|
+
# * **Creating**: The endpoint is being created.
|
|
147
|
+
# * **Active**: The endpoint is available.
|
|
148
|
+
# * **Pending**: The endpoint is being modified.
|
|
149
|
+
# * **Deleting**: The endpoint is being deleted.
|
|
150
|
+
self.endpoint_status = endpoint_status
|
|
151
|
+
# The type of the endpoint. Valid values:
|
|
152
|
+
#
|
|
153
|
+
# * **Interface**: interface endpoint
|
|
154
|
+
# * **Reverse**: reverse endpoint
|
|
155
|
+
self.endpoint_type = endpoint_type
|
|
156
|
+
# The Resource Access Management (RAM) policy. For more information about policy definitions, see [Policy elements](https://help.aliyun.com/document_detail/93738.html).
|
|
157
|
+
self.policy_document = policy_document
|
|
158
|
+
# The region ID of the endpoint.
|
|
159
|
+
self.region_id = region_id
|
|
160
|
+
# The ID of the resource group.
|
|
161
|
+
self.resource_group_id = resource_group_id
|
|
162
|
+
# Indicates whether the endpoint and the endpoint service belong to the same Alibaba Cloud account. Valid values:
|
|
163
|
+
#
|
|
164
|
+
# * **true**
|
|
165
|
+
# * **false**
|
|
166
|
+
self.resource_owner = resource_owner
|
|
167
|
+
# The ID of the endpoint service that is associated with the endpoint.
|
|
168
|
+
self.service_id = service_id
|
|
169
|
+
# The name of the endpoint service that is associated with the endpoint.
|
|
170
|
+
self.service_name = service_name
|
|
171
|
+
self.service_region_id = service_region_id
|
|
172
|
+
# The tags added to the resource.
|
|
173
|
+
self.tags = tags
|
|
174
|
+
# The ID of the virtual private cloud (VPC) to which the endpoint belongs.
|
|
175
|
+
self.vpc_id = vpc_id
|
|
176
|
+
# Indicates whether the domain name of the nearest endpoint that is associated with the endpoint service is resolved first. Valid values:
|
|
177
|
+
#
|
|
178
|
+
# * **true**
|
|
179
|
+
# * **false**
|
|
180
|
+
self.zone_affinity_enabled = zone_affinity_enabled
|
|
181
|
+
|
|
182
|
+
def validate(self):
|
|
183
|
+
if self.tags:
|
|
184
|
+
for v1 in self.tags:
|
|
185
|
+
if v1:
|
|
186
|
+
v1.validate()
|
|
187
|
+
|
|
188
|
+
def to_map(self):
|
|
189
|
+
result = dict()
|
|
190
|
+
_map = super().to_map()
|
|
191
|
+
if _map is not None:
|
|
192
|
+
result = _map
|
|
193
|
+
if self.address_ip_version is not None:
|
|
194
|
+
result['AddressIpVersion'] = self.address_ip_version
|
|
195
|
+
|
|
196
|
+
if self.bandwidth is not None:
|
|
197
|
+
result['Bandwidth'] = self.bandwidth
|
|
198
|
+
|
|
199
|
+
if self.connection_status is not None:
|
|
200
|
+
result['ConnectionStatus'] = self.connection_status
|
|
201
|
+
|
|
202
|
+
if self.create_time is not None:
|
|
203
|
+
result['CreateTime'] = self.create_time
|
|
204
|
+
|
|
205
|
+
if self.cross_region_bandwidth is not None:
|
|
206
|
+
result['CrossRegionBandwidth'] = self.cross_region_bandwidth
|
|
207
|
+
|
|
208
|
+
if self.endpoint_business_status is not None:
|
|
209
|
+
result['EndpointBusinessStatus'] = self.endpoint_business_status
|
|
210
|
+
|
|
211
|
+
if self.endpoint_description is not None:
|
|
212
|
+
result['EndpointDescription'] = self.endpoint_description
|
|
213
|
+
|
|
214
|
+
if self.endpoint_domain is not None:
|
|
215
|
+
result['EndpointDomain'] = self.endpoint_domain
|
|
216
|
+
|
|
217
|
+
if self.endpoint_id is not None:
|
|
218
|
+
result['EndpointId'] = self.endpoint_id
|
|
219
|
+
|
|
220
|
+
if self.endpoint_name is not None:
|
|
221
|
+
result['EndpointName'] = self.endpoint_name
|
|
222
|
+
|
|
223
|
+
if self.endpoint_status is not None:
|
|
224
|
+
result['EndpointStatus'] = self.endpoint_status
|
|
225
|
+
|
|
226
|
+
if self.endpoint_type is not None:
|
|
227
|
+
result['EndpointType'] = self.endpoint_type
|
|
228
|
+
|
|
229
|
+
if self.policy_document is not None:
|
|
230
|
+
result['PolicyDocument'] = self.policy_document
|
|
231
|
+
|
|
232
|
+
if self.region_id is not None:
|
|
233
|
+
result['RegionId'] = self.region_id
|
|
234
|
+
|
|
235
|
+
if self.resource_group_id is not None:
|
|
236
|
+
result['ResourceGroupId'] = self.resource_group_id
|
|
237
|
+
|
|
238
|
+
if self.resource_owner is not None:
|
|
239
|
+
result['ResourceOwner'] = self.resource_owner
|
|
240
|
+
|
|
241
|
+
if self.service_id is not None:
|
|
242
|
+
result['ServiceId'] = self.service_id
|
|
243
|
+
|
|
244
|
+
if self.service_name is not None:
|
|
245
|
+
result['ServiceName'] = self.service_name
|
|
246
|
+
|
|
247
|
+
if self.service_region_id is not None:
|
|
248
|
+
result['ServiceRegionId'] = self.service_region_id
|
|
249
|
+
|
|
250
|
+
result['Tags'] = []
|
|
251
|
+
if self.tags is not None:
|
|
252
|
+
for k1 in self.tags:
|
|
253
|
+
result['Tags'].append(k1.to_map() if k1 else None)
|
|
254
|
+
|
|
255
|
+
if self.vpc_id is not None:
|
|
256
|
+
result['VpcId'] = self.vpc_id
|
|
257
|
+
|
|
258
|
+
if self.zone_affinity_enabled is not None:
|
|
259
|
+
result['ZoneAffinityEnabled'] = self.zone_affinity_enabled
|
|
260
|
+
|
|
261
|
+
return result
|
|
262
|
+
|
|
263
|
+
def from_map(self, m: dict = None):
|
|
264
|
+
m = m or dict()
|
|
265
|
+
if m.get('AddressIpVersion') is not None:
|
|
266
|
+
self.address_ip_version = m.get('AddressIpVersion')
|
|
267
|
+
|
|
268
|
+
if m.get('Bandwidth') is not None:
|
|
269
|
+
self.bandwidth = m.get('Bandwidth')
|
|
270
|
+
|
|
271
|
+
if m.get('ConnectionStatus') is not None:
|
|
272
|
+
self.connection_status = m.get('ConnectionStatus')
|
|
273
|
+
|
|
274
|
+
if m.get('CreateTime') is not None:
|
|
275
|
+
self.create_time = m.get('CreateTime')
|
|
276
|
+
|
|
277
|
+
if m.get('CrossRegionBandwidth') is not None:
|
|
278
|
+
self.cross_region_bandwidth = m.get('CrossRegionBandwidth')
|
|
279
|
+
|
|
280
|
+
if m.get('EndpointBusinessStatus') is not None:
|
|
281
|
+
self.endpoint_business_status = m.get('EndpointBusinessStatus')
|
|
282
|
+
|
|
283
|
+
if m.get('EndpointDescription') is not None:
|
|
284
|
+
self.endpoint_description = m.get('EndpointDescription')
|
|
285
|
+
|
|
286
|
+
if m.get('EndpointDomain') is not None:
|
|
287
|
+
self.endpoint_domain = m.get('EndpointDomain')
|
|
288
|
+
|
|
289
|
+
if m.get('EndpointId') is not None:
|
|
290
|
+
self.endpoint_id = m.get('EndpointId')
|
|
291
|
+
|
|
292
|
+
if m.get('EndpointName') is not None:
|
|
293
|
+
self.endpoint_name = m.get('EndpointName')
|
|
294
|
+
|
|
295
|
+
if m.get('EndpointStatus') is not None:
|
|
296
|
+
self.endpoint_status = m.get('EndpointStatus')
|
|
297
|
+
|
|
298
|
+
if m.get('EndpointType') is not None:
|
|
299
|
+
self.endpoint_type = m.get('EndpointType')
|
|
300
|
+
|
|
301
|
+
if m.get('PolicyDocument') is not None:
|
|
302
|
+
self.policy_document = m.get('PolicyDocument')
|
|
303
|
+
|
|
304
|
+
if m.get('RegionId') is not None:
|
|
305
|
+
self.region_id = m.get('RegionId')
|
|
306
|
+
|
|
307
|
+
if m.get('ResourceGroupId') is not None:
|
|
308
|
+
self.resource_group_id = m.get('ResourceGroupId')
|
|
309
|
+
|
|
310
|
+
if m.get('ResourceOwner') is not None:
|
|
311
|
+
self.resource_owner = m.get('ResourceOwner')
|
|
312
|
+
|
|
313
|
+
if m.get('ServiceId') is not None:
|
|
314
|
+
self.service_id = m.get('ServiceId')
|
|
315
|
+
|
|
316
|
+
if m.get('ServiceName') is not None:
|
|
317
|
+
self.service_name = m.get('ServiceName')
|
|
318
|
+
|
|
319
|
+
if m.get('ServiceRegionId') is not None:
|
|
320
|
+
self.service_region_id = m.get('ServiceRegionId')
|
|
321
|
+
|
|
322
|
+
self.tags = []
|
|
323
|
+
if m.get('Tags') is not None:
|
|
324
|
+
for k1 in m.get('Tags'):
|
|
325
|
+
temp_model = main_models.ListVpcEndpointsResponseBodyEndpointsTags()
|
|
326
|
+
self.tags.append(temp_model.from_map(k1))
|
|
327
|
+
|
|
328
|
+
if m.get('VpcId') is not None:
|
|
329
|
+
self.vpc_id = m.get('VpcId')
|
|
330
|
+
|
|
331
|
+
if m.get('ZoneAffinityEnabled') is not None:
|
|
332
|
+
self.zone_affinity_enabled = m.get('ZoneAffinityEnabled')
|
|
333
|
+
|
|
334
|
+
return self
|
|
335
|
+
|
|
336
|
+
class ListVpcEndpointsResponseBodyEndpointsTags(DaraModel):
|
|
337
|
+
def __init__(
|
|
338
|
+
self,
|
|
339
|
+
key: str = None,
|
|
340
|
+
value: str = None,
|
|
341
|
+
):
|
|
342
|
+
# The key of the tag added to the resource.
|
|
343
|
+
self.key = key
|
|
344
|
+
# The value of the tag added to the resource.
|
|
345
|
+
self.value = value
|
|
346
|
+
|
|
347
|
+
def validate(self):
|
|
348
|
+
pass
|
|
349
|
+
|
|
350
|
+
def to_map(self):
|
|
351
|
+
result = dict()
|
|
352
|
+
_map = super().to_map()
|
|
353
|
+
if _map is not None:
|
|
354
|
+
result = _map
|
|
355
|
+
if self.key is not None:
|
|
356
|
+
result['Key'] = self.key
|
|
357
|
+
|
|
358
|
+
if self.value is not None:
|
|
359
|
+
result['Value'] = self.value
|
|
360
|
+
|
|
361
|
+
return result
|
|
362
|
+
|
|
363
|
+
def from_map(self, m: dict = None):
|
|
364
|
+
m = m or dict()
|
|
365
|
+
if m.get('Key') is not None:
|
|
366
|
+
self.key = m.get('Key')
|
|
367
|
+
|
|
368
|
+
if m.get('Value') is not None:
|
|
369
|
+
self.value = m.get('Value')
|
|
370
|
+
|
|
371
|
+
return self
|
|
372
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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 OpenPrivateLinkServiceRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
owner_id: int = None,
|
|
11
|
+
):
|
|
12
|
+
self.owner_id = owner_id
|
|
13
|
+
|
|
14
|
+
def validate(self):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
def to_map(self):
|
|
18
|
+
result = dict()
|
|
19
|
+
_map = super().to_map()
|
|
20
|
+
if _map is not None:
|
|
21
|
+
result = _map
|
|
22
|
+
if self.owner_id is not None:
|
|
23
|
+
result['OwnerId'] = self.owner_id
|
|
24
|
+
|
|
25
|
+
return result
|
|
26
|
+
|
|
27
|
+
def from_map(self, m: dict = None):
|
|
28
|
+
m = m or dict()
|
|
29
|
+
if m.get('OwnerId') is not None:
|
|
30
|
+
self.owner_id = m.get('OwnerId')
|
|
31
|
+
|
|
32
|
+
return self
|
|
33
|
+
|
|
@@ -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 OpenPrivateLinkServiceResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.OpenPrivateLinkServiceResponseBody = 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.OpenPrivateLinkServiceResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 OpenPrivateLinkServiceResponseBody(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
order_id: str = None,
|
|
11
|
+
request_id: str = None,
|
|
12
|
+
):
|
|
13
|
+
# The order ID.
|
|
14
|
+
self.order_id = order_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.order_id is not None:
|
|
27
|
+
result['OrderId'] = self.order_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('OrderId') is not None:
|
|
37
|
+
self.order_id = m.get('OrderId')
|
|
38
|
+
|
|
39
|
+
if m.get('RequestId') is not None:
|
|
40
|
+
self.request_id = m.get('RequestId')
|
|
41
|
+
|
|
42
|
+
return self
|
|
43
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 RemoveUserFromVpcEndpointServiceRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
client_token: str = None,
|
|
11
|
+
dry_run: bool = None,
|
|
12
|
+
region_id: str = None,
|
|
13
|
+
service_id: str = None,
|
|
14
|
+
user_arn: str = None,
|
|
15
|
+
user_id: int = None,
|
|
16
|
+
):
|
|
17
|
+
# The client token that is used to ensure the idempotence of the request. 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.
|
|
18
|
+
self.client_token = client_token
|
|
19
|
+
# Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
20
|
+
#
|
|
21
|
+
# * **true**: performs only a dry run. The system checks the AccessKey pair, the permissions of the RAM user, and the required parameters. 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.
|
|
22
|
+
# * **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.
|
|
23
|
+
self.dry_run = dry_run
|
|
24
|
+
# The region ID of the endpoint service for which you want to remove the account ID from the whitelist. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/120468.html) operation to query the most recent region list.
|
|
25
|
+
#
|
|
26
|
+
# This parameter is required.
|
|
27
|
+
self.region_id = region_id
|
|
28
|
+
# The endpoint service ID.
|
|
29
|
+
#
|
|
30
|
+
# This parameter is required.
|
|
31
|
+
self.service_id = service_id
|
|
32
|
+
# The whitelist in the format of Aliyun Resource Name (ARN).
|
|
33
|
+
self.user_arn = user_arn
|
|
34
|
+
# The account ID that you want to remove from the whitelist.
|
|
35
|
+
self.user_id = user_id
|
|
36
|
+
|
|
37
|
+
def validate(self):
|
|
38
|
+
pass
|
|
39
|
+
|
|
40
|
+
def to_map(self):
|
|
41
|
+
result = dict()
|
|
42
|
+
_map = super().to_map()
|
|
43
|
+
if _map is not None:
|
|
44
|
+
result = _map
|
|
45
|
+
if self.client_token is not None:
|
|
46
|
+
result['ClientToken'] = self.client_token
|
|
47
|
+
|
|
48
|
+
if self.dry_run is not None:
|
|
49
|
+
result['DryRun'] = self.dry_run
|
|
50
|
+
|
|
51
|
+
if self.region_id is not None:
|
|
52
|
+
result['RegionId'] = self.region_id
|
|
53
|
+
|
|
54
|
+
if self.service_id is not None:
|
|
55
|
+
result['ServiceId'] = self.service_id
|
|
56
|
+
|
|
57
|
+
if self.user_arn is not None:
|
|
58
|
+
result['UserARN'] = self.user_arn
|
|
59
|
+
|
|
60
|
+
if self.user_id is not None:
|
|
61
|
+
result['UserId'] = self.user_id
|
|
62
|
+
|
|
63
|
+
return result
|
|
64
|
+
|
|
65
|
+
def from_map(self, m: dict = None):
|
|
66
|
+
m = m or dict()
|
|
67
|
+
if m.get('ClientToken') is not None:
|
|
68
|
+
self.client_token = m.get('ClientToken')
|
|
69
|
+
|
|
70
|
+
if m.get('DryRun') is not None:
|
|
71
|
+
self.dry_run = m.get('DryRun')
|
|
72
|
+
|
|
73
|
+
if m.get('RegionId') is not None:
|
|
74
|
+
self.region_id = m.get('RegionId')
|
|
75
|
+
|
|
76
|
+
if m.get('ServiceId') is not None:
|
|
77
|
+
self.service_id = m.get('ServiceId')
|
|
78
|
+
|
|
79
|
+
if m.get('UserARN') is not None:
|
|
80
|
+
self.user_arn = m.get('UserARN')
|
|
81
|
+
|
|
82
|
+
if m.get('UserId') is not None:
|
|
83
|
+
self.user_id = m.get('UserId')
|
|
84
|
+
|
|
85
|
+
return self
|
|
86
|
+
|
|
@@ -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 RemoveUserFromVpcEndpointServiceResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.RemoveUserFromVpcEndpointServiceResponseBody = 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.RemoveUserFromVpcEndpointServiceResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
alibabacloud_privatelink20200415/models/_remove_user_from_vpc_endpoint_service_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 RemoveUserFromVpcEndpointServiceResponseBody(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
|
+
|