huaweicloudsdkelb 3.1.132__py2.py3-none-any.whl → 3.1.134__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.
Files changed (112) hide show
  1. huaweicloudsdkelb/v3/__init__.py +39 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +742 -22
  3. huaweicloudsdkelb/v3/elb_client.py +742 -22
  4. huaweicloudsdkelb/v3/model/__init__.py +39 -0
  5. huaweicloudsdkelb/v3/model/availability_zone.py +6 -6
  6. huaweicloudsdkelb/v3/model/base_job.py +347 -0
  7. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  8. huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +1022 -0
  9. huaweicloudsdkelb/v3/model/batch_create_load_balancers_request.py +111 -0
  10. huaweicloudsdkelb/v3/model/batch_create_load_balancers_request_body.py +110 -0
  11. huaweicloudsdkelb/v3/model/batch_create_load_balancers_response.py +203 -0
  12. huaweicloudsdkelb/v3/model/batch_member.py +38 -13
  13. huaweicloudsdkelb/v3/model/batch_update_member.py +32 -7
  14. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  15. huaweicloudsdkelb/v3/model/certificate_info.py +39 -10
  16. huaweicloudsdkelb/v3/model/clone_loadbalancer_request.py +139 -0
  17. huaweicloudsdkelb/v3/model/clone_loadbalancer_request_body.py +139 -0
  18. huaweicloudsdkelb/v3/model/clone_loadbalancer_response.py +174 -0
  19. huaweicloudsdkelb/v3/model/clone_loadbalancer_response_body_loadbalancer_list.py +115 -0
  20. huaweicloudsdkelb/v3/model/cors_config.py +260 -0
  21. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +73 -15
  22. huaweicloudsdkelb/v3/model/create_certificate_option.py +35 -6
  23. huaweicloudsdkelb/v3/model/create_cors_config.py +260 -0
  24. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
  25. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +6 -6
  26. huaweicloudsdkelb/v3/model/create_listener_option.py +126 -39
  27. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
  28. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +36 -36
  29. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
  30. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +2 -1
  32. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +31 -6
  33. huaweicloudsdkelb/v3/model/create_member_option.py +3 -3
  34. huaweicloudsdkelb/v3/model/create_pool_option.py +46 -21
  35. huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +6 -6
  36. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +28 -3
  37. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +3 -3
  38. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_option.py +144 -0
  39. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request.py +139 -0
  40. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request_body.py +110 -0
  41. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_response.py +85 -0
  42. huaweicloudsdkelb/v3/model/delete_pool_cascade_request.py +114 -0
  43. huaweicloudsdkelb/v3/model/delete_pool_cascade_response.py +85 -0
  44. huaweicloudsdkelb/v3/model/feature_config.py +394 -0
  45. huaweicloudsdkelb/v3/model/flavor.py +9 -9
  46. huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
  47. huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
  48. huaweicloudsdkelb/v3/model/job_entities.py +144 -0
  49. huaweicloudsdkelb/v3/model/l7_policy.py +44 -15
  50. huaweicloudsdkelb/v3/model/l7_rule.py +9 -9
  51. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  52. huaweicloudsdkelb/v3/model/list_availability_zones_request.py +35 -6
  53. huaweicloudsdkelb/v3/model/list_certificates_request.py +30 -1
  54. huaweicloudsdkelb/v3/model/list_feature_configs_request.py +115 -0
  55. huaweicloudsdkelb/v3/model/list_feature_configs_response.py +170 -0
  56. huaweicloudsdkelb/v3/model/list_flavors_request.py +119 -3
  57. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
  58. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
  59. huaweicloudsdkelb/v3/model/list_jobs_request.py +260 -0
  60. huaweicloudsdkelb/v3/model/list_jobs_response.py +145 -0
  61. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  62. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  63. huaweicloudsdkelb/v3/model/list_listeners_request.py +79 -21
  64. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +15 -15
  65. huaweicloudsdkelb/v3/model/list_loadbalancer_feature_request.py +114 -0
  66. huaweicloudsdkelb/v3/model/list_loadbalancer_feature_response.py +145 -0
  67. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  68. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
  69. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  70. huaweicloudsdkelb/v3/model/list_pools_request.py +67 -9
  71. huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
  72. huaweicloudsdkelb/v3/model/listener.py +154 -39
  73. huaweicloudsdkelb/v3/model/load_balancer.py +21 -21
  74. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  75. huaweicloudsdkelb/v3/model/loadbalancer_feature.py +170 -0
  76. huaweicloudsdkelb/v3/model/main_job.py +376 -0
  77. huaweicloudsdkelb/v3/model/master_slave_member.py +26 -1
  78. huaweicloudsdkelb/v3/model/master_slave_pool.py +37 -12
  79. huaweicloudsdkelb/v3/model/member.py +32 -7
  80. huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +170 -0
  81. huaweicloudsdkelb/v3/model/member_info.py +34 -9
  82. huaweicloudsdkelb/v3/model/member_status.py +28 -3
  83. huaweicloudsdkelb/v3/model/pool.py +43 -18
  84. huaweicloudsdkelb/v3/model/quic_cid_hash_strategy.py +142 -0
  85. huaweicloudsdkelb/v3/model/quota.py +87 -3
  86. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  87. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +28 -3
  88. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  89. huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_request.py +114 -0
  90. huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_response.py +116 -0
  91. huaweicloudsdkelb/v3/model/show_job_request.py +114 -0
  92. huaweicloudsdkelb/v3/model/show_job_response.py +141 -0
  93. huaweicloudsdkelb/v3/model/sub_job.py +376 -0
  94. huaweicloudsdkelb/v3/model/target_loadbalancer_param.py +434 -0
  95. huaweicloudsdkelb/v3/model/update_certificate_option.py +35 -6
  96. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
  97. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
  98. huaweicloudsdkelb/v3/model/update_listener_option.py +120 -33
  99. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +15 -15
  100. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
  101. huaweicloudsdkelb/v3/model/update_pool_option.py +31 -6
  102. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  103. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +28 -3
  104. huaweicloudsdkelb/v3/model/upgrade_loadbalancer_request.py +139 -0
  105. huaweicloudsdkelb/v3/model/upgrade_loadbalancer_response.py +145 -0
  106. huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +200 -0
  107. huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +313 -0
  108. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/METADATA +2 -2
  109. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/RECORD +112 -73
  110. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/LICENSE +0 -0
  111. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/WHEEL +0 -0
  112. {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.134.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,144 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class JobEntities:
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
+ 'resource_id': 'str',
21
+ 'resource_type': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'resource_id': 'resource_id',
26
+ 'resource_type': 'resource_type'
27
+ }
28
+
29
+ def __init__(self, resource_id=None, resource_type=None):
30
+ """JobEntities
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param resource_id: 子任务关联的资源ID
35
+ :type resource_id: str
36
+ :param resource_type: 子任务关联的资源类型
37
+ :type resource_type: str
38
+ """
39
+
40
+
41
+
42
+ self._resource_id = None
43
+ self._resource_type = None
44
+ self.discriminator = None
45
+
46
+ if resource_id is not None:
47
+ self.resource_id = resource_id
48
+ if resource_type is not None:
49
+ self.resource_type = resource_type
50
+
51
+ @property
52
+ def resource_id(self):
53
+ """Gets the resource_id of this JobEntities.
54
+
55
+ 子任务关联的资源ID
56
+
57
+ :return: The resource_id of this JobEntities.
58
+ :rtype: str
59
+ """
60
+ return self._resource_id
61
+
62
+ @resource_id.setter
63
+ def resource_id(self, resource_id):
64
+ """Sets the resource_id of this JobEntities.
65
+
66
+ 子任务关联的资源ID
67
+
68
+ :param resource_id: The resource_id of this JobEntities.
69
+ :type resource_id: str
70
+ """
71
+ self._resource_id = resource_id
72
+
73
+ @property
74
+ def resource_type(self):
75
+ """Gets the resource_type of this JobEntities.
76
+
77
+ 子任务关联的资源类型
78
+
79
+ :return: The resource_type of this JobEntities.
80
+ :rtype: str
81
+ """
82
+ return self._resource_type
83
+
84
+ @resource_type.setter
85
+ def resource_type(self, resource_type):
86
+ """Sets the resource_type of this JobEntities.
87
+
88
+ 子任务关联的资源类型
89
+
90
+ :param resource_type: The resource_type of this JobEntities.
91
+ :type resource_type: str
92
+ """
93
+ self._resource_type = resource_type
94
+
95
+ def to_dict(self):
96
+ """Returns the model properties as a dict"""
97
+ result = {}
98
+
99
+ for attr, _ in six.iteritems(self.openapi_types):
100
+ value = getattr(self, attr)
101
+ if isinstance(value, list):
102
+ result[attr] = list(map(
103
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
104
+ value
105
+ ))
106
+ elif hasattr(value, "to_dict"):
107
+ result[attr] = value.to_dict()
108
+ elif isinstance(value, dict):
109
+ result[attr] = dict(map(
110
+ lambda item: (item[0], item[1].to_dict())
111
+ if hasattr(item[1], "to_dict") else item,
112
+ value.items()
113
+ ))
114
+ else:
115
+ if attr in self.sensitive_list:
116
+ result[attr] = "****"
117
+ else:
118
+ result[attr] = value
119
+
120
+ return result
121
+
122
+ def to_str(self):
123
+ """Returns the string representation of the model"""
124
+ import simplejson as json
125
+ if six.PY2:
126
+ import sys
127
+ reload(sys)
128
+ sys.setdefaultencoding("utf-8")
129
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
130
+
131
+ def __repr__(self):
132
+ """For `print`"""
133
+ return self.to_str()
134
+
135
+ def __eq__(self, other):
136
+ """Returns true if both objects are equal"""
137
+ if not isinstance(other, JobEntities):
138
+ return False
139
+
140
+ return self.__dict__ == other.__dict__
141
+
142
+ def __ne__(self, other):
143
+ """Returns true if both objects are not equal"""
144
+ return not self == other
@@ -37,7 +37,8 @@ class L7Policy:
37
37
  'redirect_pools_extend_config': 'RedirectPoolsExtendConfig',
38
38
  'fixed_response_config': 'FixtedResponseConfig',
39
39
  'created_at': 'str',
40
- 'updated_at': 'str'
40
+ 'updated_at': 'str',
41
+ 'enterprise_project_id': 'str'
41
42
  }
42
43
 
43
44
  attribute_map = {
@@ -61,10 +62,11 @@ class L7Policy:
61
62
  'redirect_pools_extend_config': 'redirect_pools_extend_config',
62
63
  'fixed_response_config': 'fixed_response_config',
63
64
  'created_at': 'created_at',
64
- 'updated_at': 'updated_at'
65
+ 'updated_at': 'updated_at',
66
+ 'enterprise_project_id': 'enterprise_project_id'
65
67
  }
66
68
 
67
- def __init__(self, action=None, admin_state_up=None, description=None, id=None, listener_id=None, name=None, position=None, priority=None, project_id=None, provisioning_status=None, redirect_pool_id=None, redirect_listener_id=None, redirect_url=None, rules=None, redirect_url_config=None, redirect_pools_config=None, redirect_pools_sticky_session_config=None, redirect_pools_extend_config=None, fixed_response_config=None, created_at=None, updated_at=None):
69
+ def __init__(self, action=None, admin_state_up=None, description=None, id=None, listener_id=None, name=None, position=None, priority=None, project_id=None, provisioning_status=None, redirect_pool_id=None, redirect_listener_id=None, redirect_url=None, rules=None, redirect_url_config=None, redirect_pools_config=None, redirect_pools_sticky_session_config=None, redirect_pools_extend_config=None, fixed_response_config=None, created_at=None, updated_at=None, enterprise_project_id=None):
68
70
  """L7Policy
69
71
 
70
72
  The model defined in huaweicloud sdk
@@ -83,11 +85,11 @@ class L7Policy:
83
85
  :type name: str
84
86
  :param position: 参数解释:转发策略的优先级,不支持更新。 不支持该字段,请勿使用。
85
87
  :type position: int
86
- :param priority: 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
88
+ :param priority: 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
87
89
  :type priority: int
88
90
  :param project_id: 参数解释:转发策略所在的项目ID。
89
91
  :type project_id: str
90
- :param provisioning_status: 参数解释:转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs)
92
+ :param provisioning_status: 参数解释:转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs)
91
93
  :type provisioning_status: str
92
94
  :param redirect_pool_id: 参数解释:转发到pool的ID。 约束限制:当action为REDIRECT_TO_POOL时生效。
93
95
  :type redirect_pool_id: str
@@ -107,10 +109,12 @@ class L7Policy:
107
109
  :type redirect_pools_extend_config: :class:`huaweicloudsdkelb.v3.RedirectPoolsExtendConfig`
108
110
  :param fixed_response_config:
109
111
  :type fixed_response_config: :class:`huaweicloudsdkelb.v3.FixtedResponseConfig`
110
- :param created_at: 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
112
+ :param created_at: 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
111
113
  :type created_at: str
112
- :param updated_at: 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
114
+ :param updated_at: 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
113
115
  :type updated_at: str
116
+ :param enterprise_project_id: 参数解释:企业项目ID。
117
+ :type enterprise_project_id: str
114
118
  """
115
119
 
116
120
 
@@ -136,6 +140,7 @@ class L7Policy:
136
140
  self._fixed_response_config = None
137
141
  self._created_at = None
138
142
  self._updated_at = None
143
+ self._enterprise_project_id = None
139
144
  self.discriminator = None
140
145
 
141
146
  self.action = action
@@ -165,6 +170,8 @@ class L7Policy:
165
170
  self.created_at = created_at
166
171
  if updated_at is not None:
167
172
  self.updated_at = updated_at
173
+ if enterprise_project_id is not None:
174
+ self.enterprise_project_id = enterprise_project_id
168
175
 
169
176
  @property
170
177
  def action(self):
@@ -324,7 +331,7 @@ class L7Policy:
324
331
  def priority(self):
325
332
  """Gets the priority of this L7Policy.
326
333
 
327
- 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
334
+ 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
328
335
 
329
336
  :return: The priority of this L7Policy.
330
337
  :rtype: int
@@ -335,7 +342,7 @@ class L7Policy:
335
342
  def priority(self, priority):
336
343
  """Sets the priority of this L7Policy.
337
344
 
338
- 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
345
+ 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
339
346
 
340
347
  :param priority: The priority of this L7Policy.
341
348
  :type priority: int
@@ -368,7 +375,7 @@ class L7Policy:
368
375
  def provisioning_status(self):
369
376
  """Gets the provisioning_status of this L7Policy.
370
377
 
371
- 参数解释:转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs)
378
+ 参数解释:转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs)
372
379
 
373
380
  :return: The provisioning_status of this L7Policy.
374
381
  :rtype: str
@@ -379,7 +386,7 @@ class L7Policy:
379
386
  def provisioning_status(self, provisioning_status):
380
387
  """Sets the provisioning_status of this L7Policy.
381
388
 
382
- 参数解释:转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs)
389
+ 参数解释:转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs)
383
390
 
384
391
  :param provisioning_status: The provisioning_status of this L7Policy.
385
392
  :type provisioning_status: str
@@ -572,7 +579,7 @@ class L7Policy:
572
579
  def created_at(self):
573
580
  """Gets the created_at of this L7Policy.
574
581
 
575
- 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
582
+ 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
576
583
 
577
584
  :return: The created_at of this L7Policy.
578
585
  :rtype: str
@@ -583,7 +590,7 @@ class L7Policy:
583
590
  def created_at(self, created_at):
584
591
  """Sets the created_at of this L7Policy.
585
592
 
586
- 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
593
+ 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
587
594
 
588
595
  :param created_at: The created_at of this L7Policy.
589
596
  :type created_at: str
@@ -594,7 +601,7 @@ class L7Policy:
594
601
  def updated_at(self):
595
602
  """Gets the updated_at of this L7Policy.
596
603
 
597
- 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
604
+ 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
598
605
 
599
606
  :return: The updated_at of this L7Policy.
600
607
  :rtype: str
@@ -605,13 +612,35 @@ class L7Policy:
605
612
  def updated_at(self, updated_at):
606
613
  """Sets the updated_at of this L7Policy.
607
614
 
608
- 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
615
+ 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
609
616
 
610
617
  :param updated_at: The updated_at of this L7Policy.
611
618
  :type updated_at: str
612
619
  """
613
620
  self._updated_at = updated_at
614
621
 
622
+ @property
623
+ def enterprise_project_id(self):
624
+ """Gets the enterprise_project_id of this L7Policy.
625
+
626
+ 参数解释:企业项目ID。
627
+
628
+ :return: The enterprise_project_id of this L7Policy.
629
+ :rtype: str
630
+ """
631
+ return self._enterprise_project_id
632
+
633
+ @enterprise_project_id.setter
634
+ def enterprise_project_id(self, enterprise_project_id):
635
+ """Sets the enterprise_project_id of this L7Policy.
636
+
637
+ 参数解释:企业项目ID。
638
+
639
+ :param enterprise_project_id: The enterprise_project_id of this L7Policy.
640
+ :type enterprise_project_id: str
641
+ """
642
+ self._enterprise_project_id = enterprise_project_id
643
+
615
644
  def to_dict(self):
616
645
  """Returns the model properties as a dict"""
617
646
  result = {}
@@ -55,7 +55,7 @@ class L7Rule:
55
55
  :type admin_state_up: bool
56
56
  :param compare_type: 参数解释:转发规则的匹配方式。 取值范围:type为HOST_NAME时可以为EQUAL_TO。type为PATH时可以为REGEX,STARTS_WITH,EQUAL_TO。
57
57
  :type compare_type: str
58
- :param key: 参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
58
+ :param key: 参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
59
59
  :type key: str
60
60
  :param project_id: 参数解释:转发规则所在的项目ID。
61
61
  :type project_id: str
@@ -71,9 +71,9 @@ class L7Rule:
71
71
  :type id: str
72
72
  :param conditions: 参数解释:转发规则的匹配条件。 约束限制: - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 - 若转发规则配置了conditions,字段key、字段value的值无意义。 - 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
73
73
  :type conditions: list[:class:`huaweicloudsdkelb.v3.RuleCondition`]
74
- :param created_at: 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
74
+ :param created_at: 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
75
75
  :type created_at: str
76
- :param updated_at: 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
76
+ :param updated_at: 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
77
77
  :type updated_at: str
78
78
  """
79
79
 
@@ -156,7 +156,7 @@ class L7Rule:
156
156
  def key(self):
157
157
  """Gets the key of this L7Rule.
158
158
 
159
- 参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
159
+ 参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
160
160
 
161
161
  :return: The key of this L7Rule.
162
162
  :rtype: str
@@ -167,7 +167,7 @@ class L7Rule:
167
167
  def key(self, key):
168
168
  """Sets the key of this L7Rule.
169
169
 
170
- 参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
170
+ 参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
171
171
 
172
172
  :param key: The key of this L7Rule.
173
173
  :type key: str
@@ -332,7 +332,7 @@ class L7Rule:
332
332
  def created_at(self):
333
333
  """Gets the created_at of this L7Rule.
334
334
 
335
- 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
335
+ 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
336
336
 
337
337
  :return: The created_at of this L7Rule.
338
338
  :rtype: str
@@ -343,7 +343,7 @@ class L7Rule:
343
343
  def created_at(self, created_at):
344
344
  """Sets the created_at of this L7Rule.
345
345
 
346
- 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
346
+ 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
347
347
 
348
348
  :param created_at: The created_at of this L7Rule.
349
349
  :type created_at: str
@@ -354,7 +354,7 @@ class L7Rule:
354
354
  def updated_at(self):
355
355
  """Gets the updated_at of this L7Rule.
356
356
 
357
- 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
357
+ 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
358
358
 
359
359
  :return: The updated_at of this L7Rule.
360
360
  :rtype: str
@@ -365,7 +365,7 @@ class L7Rule:
365
365
  def updated_at(self, updated_at):
366
366
  """Sets the updated_at of this L7Rule.
367
367
 
368
- 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
368
+ 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
369
369
 
370
370
  :param updated_at: The updated_at of this L7Rule.
371
371
  :type updated_at: str
@@ -79,7 +79,7 @@ class ListAllMembersRequest:
79
79
  :type id: list[str]
80
80
  :param operating_status: 后端服务器的健康状态。 取值: - ONLINE,后端服务器正常运行。 - NO_MONITOR,后端服务器无健康检查。 - OFFLINE,已下线。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=*。
81
81
  :type operating_status: list[str]
82
- :param enterprise_project_id: 企业项目ID。不传时查询default企业项目\"0\"下的资源,鉴权按照default企业项目鉴权; 如果传值,则传已存在的企业项目ID或all_granted_eps(表示查询所有企业项目)进行查询。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
82
+ :param enterprise_project_id: 参数解释:所属的企业项目ID 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:members: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)
83
83
  :type enterprise_project_id: list[str]
84
84
  :param ip_version: IP版本,取值v4、v6。 支持多值查询,查询条件格式:*ip_version=xxx&ip_version=xxx*。
85
85
  :type ip_version: list[str]
@@ -385,7 +385,7 @@ class ListAllMembersRequest:
385
385
  def enterprise_project_id(self):
386
386
  """Gets the enterprise_project_id of this ListAllMembersRequest.
387
387
 
388
- 企业项目ID。不传时查询default企业项目\"0\"下的资源,鉴权按照default企业项目鉴权; 如果传值,则传已存在的企业项目ID或all_granted_eps(表示查询所有企业项目)进行查询。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
388
+ 参数解释:所属的企业项目ID 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:members: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)
389
389
 
390
390
  :return: The enterprise_project_id of this ListAllMembersRequest.
391
391
  :rtype: list[str]
@@ -396,7 +396,7 @@ class ListAllMembersRequest:
396
396
  def enterprise_project_id(self, enterprise_project_id):
397
397
  """Sets the enterprise_project_id of this ListAllMembersRequest.
398
398
 
399
- 企业项目ID。不传时查询default企业项目\"0\"下的资源,鉴权按照default企业项目鉴权; 如果传值,则传已存在的企业项目ID或all_granted_eps(表示查询所有企业项目)进行查询。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
399
+ 参数解释:所属的企业项目ID 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:members: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)
400
400
 
401
401
  :param enterprise_project_id: The enterprise_project_id of this ListAllMembersRequest.
402
402
  :type enterprise_project_id: list[str]
@@ -17,35 +17,42 @@ class ListAvailabilityZonesRequest:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
- 'public_border_group': 'str'
20
+ 'public_border_group': 'str',
21
+ 'loadbalancer_id': 'str'
21
22
  }
22
23
 
23
24
  attribute_map = {
24
- 'public_border_group': 'public_border_group'
25
+ 'public_border_group': 'public_border_group',
26
+ 'loadbalancer_id': 'loadbalancer_id'
25
27
  }
26
28
 
27
- def __init__(self, public_border_group=None):
29
+ def __init__(self, public_border_group=None, loadbalancer_id=None):
28
30
  """ListAvailabilityZonesRequest
29
31
 
30
32
  The model defined in huaweicloud sdk
31
33
 
32
- :param public_border_group: 参数解释:可用区组。
34
+ :param public_border_group: 参数解释:网络公共边界组。
33
35
  :type public_border_group: str
36
+ :param loadbalancer_id: 参数解释:负载均衡器ID。
37
+ :type loadbalancer_id: str
34
38
  """
35
39
 
36
40
 
37
41
 
38
42
  self._public_border_group = None
43
+ self._loadbalancer_id = None
39
44
  self.discriminator = None
40
45
 
41
46
  if public_border_group is not None:
42
47
  self.public_border_group = public_border_group
48
+ if loadbalancer_id is not None:
49
+ self.loadbalancer_id = loadbalancer_id
43
50
 
44
51
  @property
45
52
  def public_border_group(self):
46
53
  """Gets the public_border_group of this ListAvailabilityZonesRequest.
47
54
 
48
- 参数解释:可用区组。
55
+ 参数解释:网络公共边界组。
49
56
 
50
57
  :return: The public_border_group of this ListAvailabilityZonesRequest.
51
58
  :rtype: str
@@ -56,13 +63,35 @@ class ListAvailabilityZonesRequest:
56
63
  def public_border_group(self, public_border_group):
57
64
  """Sets the public_border_group of this ListAvailabilityZonesRequest.
58
65
 
59
- 参数解释:可用区组。
66
+ 参数解释:网络公共边界组。
60
67
 
61
68
  :param public_border_group: The public_border_group of this ListAvailabilityZonesRequest.
62
69
  :type public_border_group: str
63
70
  """
64
71
  self._public_border_group = public_border_group
65
72
 
73
+ @property
74
+ def loadbalancer_id(self):
75
+ """Gets the loadbalancer_id of this ListAvailabilityZonesRequest.
76
+
77
+ 参数解释:负载均衡器ID。
78
+
79
+ :return: The loadbalancer_id of this ListAvailabilityZonesRequest.
80
+ :rtype: str
81
+ """
82
+ return self._loadbalancer_id
83
+
84
+ @loadbalancer_id.setter
85
+ def loadbalancer_id(self, loadbalancer_id):
86
+ """Sets the loadbalancer_id of this ListAvailabilityZonesRequest.
87
+
88
+ 参数解释:负载均衡器ID。
89
+
90
+ :param loadbalancer_id: The loadbalancer_id of this ListAvailabilityZonesRequest.
91
+ :type loadbalancer_id: str
92
+ """
93
+ self._loadbalancer_id = loadbalancer_id
94
+
66
95
  def to_dict(self):
67
96
  """Returns the model properties as a dict"""
68
97
  result = {}
@@ -26,6 +26,7 @@ class ListCertificatesRequest:
26
26
  'admin_state_up': 'bool',
27
27
  'domain': 'list[str]',
28
28
  'type': 'list[str]',
29
+ 'scm_certificate_id': 'list[str]',
29
30
  'common_name': 'list[str]',
30
31
  'fingerprint': 'list[str]'
31
32
  }
@@ -40,11 +41,12 @@ class ListCertificatesRequest:
40
41
  'admin_state_up': 'admin_state_up',
41
42
  'domain': 'domain',
42
43
  'type': 'type',
44
+ 'scm_certificate_id': 'scm_certificate_id',
43
45
  'common_name': 'common_name',
44
46
  'fingerprint': 'fingerprint'
45
47
  }
46
48
 
47
- def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, domain=None, type=None, common_name=None, fingerprint=None):
49
+ def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, domain=None, type=None, scm_certificate_id=None, common_name=None, fingerprint=None):
48
50
  """ListCertificatesRequest
49
51
 
50
52
  The model defined in huaweicloud sdk
@@ -67,6 +69,8 @@ class ListCertificatesRequest:
67
69
  :type domain: list[str]
68
70
  :param type: 证书的类型。分为服务器证书(server)和CA证书(client)。 支持多值查询,查询条件格式:type=xxx&type=xxx。
69
71
  :type type: list[str]
72
+ :param scm_certificate_id: SCM证书ID。 支持多值查询,查询条件格式:scm_certificate_id=xxx&scm_certificate_id=xxx。
73
+ :type scm_certificate_id: list[str]
70
74
  :param common_name: 证书的主域名。 支持多值查询,查询条件格式:common_name=xxx&common_name=xxx。
71
75
  :type common_name: list[str]
72
76
  :param fingerprint: 证书的指纹。 支持多值查询,查询条件格式:fingerprint=xxx&fingerprint=xxx。
@@ -84,6 +88,7 @@ class ListCertificatesRequest:
84
88
  self._admin_state_up = None
85
89
  self._domain = None
86
90
  self._type = None
91
+ self._scm_certificate_id = None
87
92
  self._common_name = None
88
93
  self._fingerprint = None
89
94
  self.discriminator = None
@@ -106,6 +111,8 @@ class ListCertificatesRequest:
106
111
  self.domain = domain
107
112
  if type is not None:
108
113
  self.type = type
114
+ if scm_certificate_id is not None:
115
+ self.scm_certificate_id = scm_certificate_id
109
116
  if common_name is not None:
110
117
  self.common_name = common_name
111
118
  if fingerprint is not None:
@@ -309,6 +316,28 @@ class ListCertificatesRequest:
309
316
  """
310
317
  self._type = type
311
318
 
319
+ @property
320
+ def scm_certificate_id(self):
321
+ """Gets the scm_certificate_id of this ListCertificatesRequest.
322
+
323
+ SCM证书ID。 支持多值查询,查询条件格式:scm_certificate_id=xxx&scm_certificate_id=xxx。
324
+
325
+ :return: The scm_certificate_id of this ListCertificatesRequest.
326
+ :rtype: list[str]
327
+ """
328
+ return self._scm_certificate_id
329
+
330
+ @scm_certificate_id.setter
331
+ def scm_certificate_id(self, scm_certificate_id):
332
+ """Sets the scm_certificate_id of this ListCertificatesRequest.
333
+
334
+ SCM证书ID。 支持多值查询,查询条件格式:scm_certificate_id=xxx&scm_certificate_id=xxx。
335
+
336
+ :param scm_certificate_id: The scm_certificate_id of this ListCertificatesRequest.
337
+ :type scm_certificate_id: list[str]
338
+ """
339
+ self._scm_certificate_id = scm_certificate_id
340
+
312
341
  @property
313
342
  def common_name(self):
314
343
  """Gets the common_name of this ListCertificatesRequest.