huaweicloudsdkelb 3.1.132__py2.py3-none-any.whl → 3.1.133__py2.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.
- huaweicloudsdkelb/v3/__init__.py +39 -0
- huaweicloudsdkelb/v3/elb_async_client.py +742 -22
- huaweicloudsdkelb/v3/elb_client.py +742 -22
- huaweicloudsdkelb/v3/model/__init__.py +39 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +6 -6
- huaweicloudsdkelb/v3/model/base_job.py +347 -0
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +1022 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request.py +111 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_response.py +203 -0
- huaweicloudsdkelb/v3/model/batch_member.py +38 -13
- huaweicloudsdkelb/v3/model/batch_update_member.py +32 -7
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/certificate_info.py +39 -10
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request_body.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response.py +174 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response_body_loadbalancer_list.py +115 -0
- huaweicloudsdkelb/v3/model/cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +73 -15
- huaweicloudsdkelb/v3/model/create_certificate_option.py +35 -6
- huaweicloudsdkelb/v3/model/create_cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_option.py +126 -39
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +36 -36
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +2 -1
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +31 -6
- huaweicloudsdkelb/v3/model/create_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +46 -21
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +3 -3
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_option.py +144 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request.py +139 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_pool_cascade_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_pool_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/feature_config.py +394 -0
- huaweicloudsdkelb/v3/model/flavor.py +9 -9
- huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
- huaweicloudsdkelb/v3/model/job_entities.py +144 -0
- huaweicloudsdkelb/v3/model/l7_policy.py +44 -15
- huaweicloudsdkelb/v3/model/l7_rule.py +9 -9
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +35 -6
- huaweicloudsdkelb/v3/model/list_certificates_request.py +30 -1
- huaweicloudsdkelb/v3/model/list_feature_configs_request.py +115 -0
- huaweicloudsdkelb/v3/model/list_feature_configs_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_flavors_request.py +119 -3
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_jobs_request.py +260 -0
- huaweicloudsdkelb/v3/model/list_jobs_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_listeners_request.py +79 -21
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +15 -15
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_request.py +114 -0
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +67 -9
- huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +154 -39
- huaweicloudsdkelb/v3/model/load_balancer.py +21 -21
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
- huaweicloudsdkelb/v3/model/loadbalancer_feature.py +170 -0
- huaweicloudsdkelb/v3/model/main_job.py +376 -0
- huaweicloudsdkelb/v3/model/master_slave_member.py +26 -1
- huaweicloudsdkelb/v3/model/master_slave_pool.py +37 -12
- huaweicloudsdkelb/v3/model/member.py +32 -7
- huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +170 -0
- huaweicloudsdkelb/v3/model/member_info.py +34 -9
- huaweicloudsdkelb/v3/model/member_status.py +28 -3
- huaweicloudsdkelb/v3/model/pool.py +43 -18
- huaweicloudsdkelb/v3/model/quic_cid_hash_strategy.py +142 -0
- huaweicloudsdkelb/v3/model/quota.py +87 -3
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_response.py +116 -0
- huaweicloudsdkelb/v3/model/show_job_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_job_response.py +141 -0
- huaweicloudsdkelb/v3/model/sub_job.py +376 -0
- huaweicloudsdkelb/v3/model/target_loadbalancer_param.py +434 -0
- huaweicloudsdkelb/v3/model/update_certificate_option.py +35 -6
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_option.py +120 -33
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/update_pool_option.py +31 -6
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_response.py +145 -0
- huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +200 -0
- huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +313 -0
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/RECORD +112 -73
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListFeatureConfigsRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'feature': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'feature': 'feature'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, feature=None):
|
28
|
+
"""ListFeatureConfigsRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param feature: 参数解释:特性名称。
|
33
|
+
:type feature: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._feature = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if feature is not None:
|
42
|
+
self.feature = feature
|
43
|
+
|
44
|
+
@property
|
45
|
+
def feature(self):
|
46
|
+
"""Gets the feature of this ListFeatureConfigsRequest.
|
47
|
+
|
48
|
+
参数解释:特性名称。
|
49
|
+
|
50
|
+
:return: The feature of this ListFeatureConfigsRequest.
|
51
|
+
:rtype: str
|
52
|
+
"""
|
53
|
+
return self._feature
|
54
|
+
|
55
|
+
@feature.setter
|
56
|
+
def feature(self, feature):
|
57
|
+
"""Sets the feature of this ListFeatureConfigsRequest.
|
58
|
+
|
59
|
+
参数解释:特性名称。
|
60
|
+
|
61
|
+
:param feature: The feature of this ListFeatureConfigsRequest.
|
62
|
+
:type feature: str
|
63
|
+
"""
|
64
|
+
self._feature = feature
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, ListFeatureConfigsRequest):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|
@@ -0,0 +1,170 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListFeatureConfigsResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'configs': 'list[FeatureConfig]',
|
22
|
+
'page_info': 'PageInfo',
|
23
|
+
'request_id': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'configs': 'configs',
|
28
|
+
'page_info': 'page_info',
|
29
|
+
'request_id': 'request_id'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, configs=None, page_info=None, request_id=None):
|
33
|
+
"""ListFeatureConfigsResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param configs: 参数解释:特性配置列表。
|
38
|
+
:type configs: list[:class:`huaweicloudsdkelb.v3.FeatureConfig`]
|
39
|
+
:param page_info:
|
40
|
+
:type page_info: :class:`huaweicloudsdkelb.v3.PageInfo`
|
41
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
42
|
+
:type request_id: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(ListFeatureConfigsResponse, self).__init__()
|
46
|
+
|
47
|
+
self._configs = None
|
48
|
+
self._page_info = None
|
49
|
+
self._request_id = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if configs is not None:
|
53
|
+
self.configs = configs
|
54
|
+
if page_info is not None:
|
55
|
+
self.page_info = page_info
|
56
|
+
if request_id is not None:
|
57
|
+
self.request_id = request_id
|
58
|
+
|
59
|
+
@property
|
60
|
+
def configs(self):
|
61
|
+
"""Gets the configs of this ListFeatureConfigsResponse.
|
62
|
+
|
63
|
+
参数解释:特性配置列表。
|
64
|
+
|
65
|
+
:return: The configs of this ListFeatureConfigsResponse.
|
66
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.FeatureConfig`]
|
67
|
+
"""
|
68
|
+
return self._configs
|
69
|
+
|
70
|
+
@configs.setter
|
71
|
+
def configs(self, configs):
|
72
|
+
"""Sets the configs of this ListFeatureConfigsResponse.
|
73
|
+
|
74
|
+
参数解释:特性配置列表。
|
75
|
+
|
76
|
+
:param configs: The configs of this ListFeatureConfigsResponse.
|
77
|
+
:type configs: list[:class:`huaweicloudsdkelb.v3.FeatureConfig`]
|
78
|
+
"""
|
79
|
+
self._configs = configs
|
80
|
+
|
81
|
+
@property
|
82
|
+
def page_info(self):
|
83
|
+
"""Gets the page_info of this ListFeatureConfigsResponse.
|
84
|
+
|
85
|
+
:return: The page_info of this ListFeatureConfigsResponse.
|
86
|
+
:rtype: :class:`huaweicloudsdkelb.v3.PageInfo`
|
87
|
+
"""
|
88
|
+
return self._page_info
|
89
|
+
|
90
|
+
@page_info.setter
|
91
|
+
def page_info(self, page_info):
|
92
|
+
"""Sets the page_info of this ListFeatureConfigsResponse.
|
93
|
+
|
94
|
+
:param page_info: The page_info of this ListFeatureConfigsResponse.
|
95
|
+
:type page_info: :class:`huaweicloudsdkelb.v3.PageInfo`
|
96
|
+
"""
|
97
|
+
self._page_info = page_info
|
98
|
+
|
99
|
+
@property
|
100
|
+
def request_id(self):
|
101
|
+
"""Gets the request_id of this ListFeatureConfigsResponse.
|
102
|
+
|
103
|
+
参数解释:请求ID。 注:自动生成 。
|
104
|
+
|
105
|
+
:return: The request_id of this ListFeatureConfigsResponse.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._request_id
|
109
|
+
|
110
|
+
@request_id.setter
|
111
|
+
def request_id(self, request_id):
|
112
|
+
"""Sets the request_id of this ListFeatureConfigsResponse.
|
113
|
+
|
114
|
+
参数解释:请求ID。 注:自动生成 。
|
115
|
+
|
116
|
+
:param request_id: The request_id of this ListFeatureConfigsResponse.
|
117
|
+
:type request_id: str
|
118
|
+
"""
|
119
|
+
self._request_id = request_id
|
120
|
+
|
121
|
+
def to_dict(self):
|
122
|
+
"""Returns the model properties as a dict"""
|
123
|
+
result = {}
|
124
|
+
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
126
|
+
value = getattr(self, attr)
|
127
|
+
if isinstance(value, list):
|
128
|
+
result[attr] = list(map(
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
130
|
+
value
|
131
|
+
))
|
132
|
+
elif hasattr(value, "to_dict"):
|
133
|
+
result[attr] = value.to_dict()
|
134
|
+
elif isinstance(value, dict):
|
135
|
+
result[attr] = dict(map(
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
138
|
+
value.items()
|
139
|
+
))
|
140
|
+
else:
|
141
|
+
if attr in self.sensitive_list:
|
142
|
+
result[attr] = "****"
|
143
|
+
else:
|
144
|
+
result[attr] = value
|
145
|
+
|
146
|
+
return result
|
147
|
+
|
148
|
+
def to_str(self):
|
149
|
+
"""Returns the string representation of the model"""
|
150
|
+
import simplejson as json
|
151
|
+
if six.PY2:
|
152
|
+
import sys
|
153
|
+
reload(sys)
|
154
|
+
sys.setdefaultencoding("utf-8")
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
156
|
+
|
157
|
+
def __repr__(self):
|
158
|
+
"""For `print`"""
|
159
|
+
return self.to_str()
|
160
|
+
|
161
|
+
def __eq__(self, other):
|
162
|
+
"""Returns true if both objects are equal"""
|
163
|
+
if not isinstance(other, ListFeatureConfigsResponse):
|
164
|
+
return False
|
165
|
+
|
166
|
+
return self.__dict__ == other.__dict__
|
167
|
+
|
168
|
+
def __ne__(self, other):
|
169
|
+
"""Returns true if both objects are not equal"""
|
170
|
+
return not self == other
|
@@ -23,7 +23,11 @@ class ListFlavorsRequest:
|
|
23
23
|
'id': 'list[str]',
|
24
24
|
'name': 'list[str]',
|
25
25
|
'type': 'list[str]',
|
26
|
-
'shared': 'bool'
|
26
|
+
'shared': 'bool',
|
27
|
+
'public_border_group': 'list[str]',
|
28
|
+
'category': 'list[int]',
|
29
|
+
'list_all': 'bool',
|
30
|
+
'flavor_sold_out': 'bool'
|
27
31
|
}
|
28
32
|
|
29
33
|
attribute_map = {
|
@@ -33,10 +37,14 @@ class ListFlavorsRequest:
|
|
33
37
|
'id': 'id',
|
34
38
|
'name': 'name',
|
35
39
|
'type': 'type',
|
36
|
-
'shared': 'shared'
|
40
|
+
'shared': 'shared',
|
41
|
+
'public_border_group': 'public_border_group',
|
42
|
+
'category': 'category',
|
43
|
+
'list_all': 'list_all',
|
44
|
+
'flavor_sold_out': 'flavor_sold_out'
|
37
45
|
}
|
38
46
|
|
39
|
-
def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, type=None, shared=None):
|
47
|
+
def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, type=None, shared=None, public_border_group=None, category=None, list_all=None, flavor_sold_out=None):
|
40
48
|
"""ListFlavorsRequest
|
41
49
|
|
42
50
|
The model defined in huaweicloud sdk
|
@@ -55,6 +63,14 @@ class ListFlavorsRequest:
|
|
55
63
|
:type type: list[str]
|
56
64
|
:param shared: 参数解释:是否查询公共规格。 取值范围:true表示公共规格,所有租户可见。false表示私有规格,为当前租户所有。
|
57
65
|
:type shared: bool
|
66
|
+
:param public_border_group: 站点pbg。 支持多值查询,查询条件格式:*public_border_group=xxx&public_border_group=xxx*。
|
67
|
+
:type public_border_group: list[str]
|
68
|
+
:param category: 站点category。 支持多值查询,查询条件格式:*category=xxx&category=xxx*。
|
69
|
+
:type category: list[int]
|
70
|
+
:param list_all: 设置list_all=true时,返回当前租户所有的弹性上限规格(l4_elastic_max、l7__elastic_max)。否则只返回该租户弹性上限规格中最大的规格(l4类型优先比较cps指标,然后是带宽;l7类型优先比较https cps指标然后是qps指标)。
|
71
|
+
:type list_all: bool
|
72
|
+
:param flavor_sold_out: 参数解释: [是否售罄。](tag:hws) [是否无法购买该规格的LB。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,dt_test,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,ct) 取值范围: - true:[已售罄,将](tag:hws)无法购买该规格的LB。 - false:[未售罄,](tag:hws)可购买该规格的LB。
|
73
|
+
:type flavor_sold_out: bool
|
58
74
|
"""
|
59
75
|
|
60
76
|
|
@@ -66,6 +82,10 @@ class ListFlavorsRequest:
|
|
66
82
|
self._name = None
|
67
83
|
self._type = None
|
68
84
|
self._shared = None
|
85
|
+
self._public_border_group = None
|
86
|
+
self._category = None
|
87
|
+
self._list_all = None
|
88
|
+
self._flavor_sold_out = None
|
69
89
|
self.discriminator = None
|
70
90
|
|
71
91
|
if marker is not None:
|
@@ -82,6 +102,14 @@ class ListFlavorsRequest:
|
|
82
102
|
self.type = type
|
83
103
|
if shared is not None:
|
84
104
|
self.shared = shared
|
105
|
+
if public_border_group is not None:
|
106
|
+
self.public_border_group = public_border_group
|
107
|
+
if category is not None:
|
108
|
+
self.category = category
|
109
|
+
if list_all is not None:
|
110
|
+
self.list_all = list_all
|
111
|
+
if flavor_sold_out is not None:
|
112
|
+
self.flavor_sold_out = flavor_sold_out
|
85
113
|
|
86
114
|
@property
|
87
115
|
def marker(self):
|
@@ -237,6 +265,94 @@ class ListFlavorsRequest:
|
|
237
265
|
"""
|
238
266
|
self._shared = shared
|
239
267
|
|
268
|
+
@property
|
269
|
+
def public_border_group(self):
|
270
|
+
"""Gets the public_border_group of this ListFlavorsRequest.
|
271
|
+
|
272
|
+
站点pbg。 支持多值查询,查询条件格式:*public_border_group=xxx&public_border_group=xxx*。
|
273
|
+
|
274
|
+
:return: The public_border_group of this ListFlavorsRequest.
|
275
|
+
:rtype: list[str]
|
276
|
+
"""
|
277
|
+
return self._public_border_group
|
278
|
+
|
279
|
+
@public_border_group.setter
|
280
|
+
def public_border_group(self, public_border_group):
|
281
|
+
"""Sets the public_border_group of this ListFlavorsRequest.
|
282
|
+
|
283
|
+
站点pbg。 支持多值查询,查询条件格式:*public_border_group=xxx&public_border_group=xxx*。
|
284
|
+
|
285
|
+
:param public_border_group: The public_border_group of this ListFlavorsRequest.
|
286
|
+
:type public_border_group: list[str]
|
287
|
+
"""
|
288
|
+
self._public_border_group = public_border_group
|
289
|
+
|
290
|
+
@property
|
291
|
+
def category(self):
|
292
|
+
"""Gets the category of this ListFlavorsRequest.
|
293
|
+
|
294
|
+
站点category。 支持多值查询,查询条件格式:*category=xxx&category=xxx*。
|
295
|
+
|
296
|
+
:return: The category of this ListFlavorsRequest.
|
297
|
+
:rtype: list[int]
|
298
|
+
"""
|
299
|
+
return self._category
|
300
|
+
|
301
|
+
@category.setter
|
302
|
+
def category(self, category):
|
303
|
+
"""Sets the category of this ListFlavorsRequest.
|
304
|
+
|
305
|
+
站点category。 支持多值查询,查询条件格式:*category=xxx&category=xxx*。
|
306
|
+
|
307
|
+
:param category: The category of this ListFlavorsRequest.
|
308
|
+
:type category: list[int]
|
309
|
+
"""
|
310
|
+
self._category = category
|
311
|
+
|
312
|
+
@property
|
313
|
+
def list_all(self):
|
314
|
+
"""Gets the list_all of this ListFlavorsRequest.
|
315
|
+
|
316
|
+
设置list_all=true时,返回当前租户所有的弹性上限规格(l4_elastic_max、l7__elastic_max)。否则只返回该租户弹性上限规格中最大的规格(l4类型优先比较cps指标,然后是带宽;l7类型优先比较https cps指标然后是qps指标)。
|
317
|
+
|
318
|
+
:return: The list_all of this ListFlavorsRequest.
|
319
|
+
:rtype: bool
|
320
|
+
"""
|
321
|
+
return self._list_all
|
322
|
+
|
323
|
+
@list_all.setter
|
324
|
+
def list_all(self, list_all):
|
325
|
+
"""Sets the list_all of this ListFlavorsRequest.
|
326
|
+
|
327
|
+
设置list_all=true时,返回当前租户所有的弹性上限规格(l4_elastic_max、l7__elastic_max)。否则只返回该租户弹性上限规格中最大的规格(l4类型优先比较cps指标,然后是带宽;l7类型优先比较https cps指标然后是qps指标)。
|
328
|
+
|
329
|
+
:param list_all: The list_all of this ListFlavorsRequest.
|
330
|
+
:type list_all: bool
|
331
|
+
"""
|
332
|
+
self._list_all = list_all
|
333
|
+
|
334
|
+
@property
|
335
|
+
def flavor_sold_out(self):
|
336
|
+
"""Gets the flavor_sold_out of this ListFlavorsRequest.
|
337
|
+
|
338
|
+
参数解释: [是否售罄。](tag:hws) [是否无法购买该规格的LB。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,dt_test,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,ct) 取值范围: - true:[已售罄,将](tag:hws)无法购买该规格的LB。 - false:[未售罄,](tag:hws)可购买该规格的LB。
|
339
|
+
|
340
|
+
:return: The flavor_sold_out of this ListFlavorsRequest.
|
341
|
+
:rtype: bool
|
342
|
+
"""
|
343
|
+
return self._flavor_sold_out
|
344
|
+
|
345
|
+
@flavor_sold_out.setter
|
346
|
+
def flavor_sold_out(self, flavor_sold_out):
|
347
|
+
"""Sets the flavor_sold_out of this ListFlavorsRequest.
|
348
|
+
|
349
|
+
参数解释: [是否售罄。](tag:hws) [是否无法购买该规格的LB。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,dt_test,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,ct) 取值范围: - true:[已售罄,将](tag:hws)无法购买该规格的LB。 - false:[未售罄,](tag:hws)可购买该规格的LB。
|
350
|
+
|
351
|
+
:param flavor_sold_out: The flavor_sold_out of this ListFlavorsRequest.
|
352
|
+
:type flavor_sold_out: bool
|
353
|
+
"""
|
354
|
+
self._flavor_sold_out = flavor_sold_out
|
355
|
+
|
240
356
|
def to_dict(self):
|
241
357
|
"""Returns the model properties as a dict"""
|
242
358
|
result = {}
|
@@ -93,7 +93,7 @@ class ListHealthMonitorsRequest:
|
|
93
93
|
:type url_path: list[str]
|
94
94
|
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST。 支持多值查询,查询条件格式:**http_method=xxx&http_method=xxx**。
|
95
95
|
:type http_method: list[str]
|
96
|
-
:param enterprise_project_id:
|
96
|
+
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:healthmonitors:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
97
97
|
:type enterprise_project_id: list[str]
|
98
98
|
"""
|
99
99
|
|
@@ -509,7 +509,7 @@ class ListHealthMonitorsRequest:
|
|
509
509
|
def enterprise_project_id(self):
|
510
510
|
"""Gets the enterprise_project_id of this ListHealthMonitorsRequest.
|
511
511
|
|
512
|
-
|
512
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:healthmonitors:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
513
513
|
|
514
514
|
:return: The enterprise_project_id of this ListHealthMonitorsRequest.
|
515
515
|
:rtype: list[str]
|
@@ -520,7 +520,7 @@ class ListHealthMonitorsRequest:
|
|
520
520
|
def enterprise_project_id(self, enterprise_project_id):
|
521
521
|
"""Sets the enterprise_project_id of this ListHealthMonitorsRequest.
|
522
522
|
|
523
|
-
|
523
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:healthmonitors:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
524
524
|
|
525
525
|
:param enterprise_project_id: The enterprise_project_id of this ListHealthMonitorsRequest.
|
526
526
|
:type enterprise_project_id: list[str]
|
@@ -57,7 +57,7 @@ class ListIpGroupsRequest:
|
|
57
57
|
:type description: list[str]
|
58
58
|
:param ip_list: 参数解释:IP地址,多个用逗号分隔。
|
59
59
|
:type ip_list: list[str]
|
60
|
-
:param enterprise_project_id:
|
60
|
+
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:ipgroups:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
61
61
|
:type enterprise_project_id: list[str]
|
62
62
|
"""
|
63
63
|
|
@@ -248,7 +248,7 @@ class ListIpGroupsRequest:
|
|
248
248
|
def enterprise_project_id(self):
|
249
249
|
"""Gets the enterprise_project_id of this ListIpGroupsRequest.
|
250
250
|
|
251
|
-
|
251
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:ipgroups:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
252
252
|
|
253
253
|
:return: The enterprise_project_id of this ListIpGroupsRequest.
|
254
254
|
:rtype: list[str]
|
@@ -259,7 +259,7 @@ class ListIpGroupsRequest:
|
|
259
259
|
def enterprise_project_id(self, enterprise_project_id):
|
260
260
|
"""Sets the enterprise_project_id of this ListIpGroupsRequest.
|
261
261
|
|
262
|
-
|
262
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:ipgroups:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
263
263
|
|
264
264
|
:param enterprise_project_id: The enterprise_project_id of this ListIpGroupsRequest.
|
265
265
|
:type enterprise_project_id: list[str]
|