huaweicloudsdkelb 3.1.135__py2.py3-none-any.whl → 3.1.137__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/v2/elb_async_client.py +6 -0
- huaweicloudsdkelb/v2/elb_client.py +6 -0
- huaweicloudsdkelb/v2/model/certificate_resp.py +90 -3
- huaweicloudsdkelb/v2/model/create_certificate_request_body.py +90 -3
- huaweicloudsdkelb/v2/model/create_certificate_response.py +90 -3
- huaweicloudsdkelb/v2/model/list_certificates_request.py +90 -3
- huaweicloudsdkelb/v2/model/loadbalancer_resp.py +3 -3
- huaweicloudsdkelb/v2/model/show_certificate_response.py +90 -3
- huaweicloudsdkelb/v2/model/update_certificate_request_body.py +90 -3
- huaweicloudsdkelb/v2/model/update_certificate_response.py +90 -3
- huaweicloudsdkelb/v3/elb_async_client.py +17 -17
- huaweicloudsdkelb/v3/elb_client.py +17 -17
- huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +21 -21
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/certificate_info.py +3 -3
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
- huaweicloudsdkelb/v3/model/create_certificate_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_pool_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_security_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +3 -3
- huaweicloudsdkelb/v3/model/flavor.py +3 -3
- huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +3 -3
- huaweicloudsdkelb/v3/model/ip_group.py +3 -3
- huaweicloudsdkelb/v3/model/ip_info.py +3 -3
- huaweicloudsdkelb/v3/model/l7_policy.py +3 -3
- huaweicloudsdkelb/v3/model/l7_rule.py +6 -6
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_flavors_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
- 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 +15 -15
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_members_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_pools_request.py +15 -15
- huaweicloudsdkelb/v3/model/listener.py +21 -21
- huaweicloudsdkelb/v3/model/listener_ip_group.py +3 -3
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/load_balancer.py +39 -39
- huaweicloudsdkelb/v3/model/load_balancer_status_member.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_member.py +6 -6
- huaweicloudsdkelb/v3/model/master_slave_pool.py +12 -12
- huaweicloudsdkelb/v3/model/member.py +6 -6
- huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +3 -3
- huaweicloudsdkelb/v3/model/member_info.py +6 -6
- huaweicloudsdkelb/v3/model/pool.py +18 -18
- huaweicloudsdkelb/v3/model/public_ip_info.py +3 -3
- huaweicloudsdkelb/v3/model/quota.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +3 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +3 -3
- huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +6 -6
- {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/RECORD +96 -96
- {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,10 @@ class ShowCertificateResponse(SdkResponse):
|
|
29
29
|
'certificate': 'str',
|
30
30
|
'expire_time': 'str',
|
31
31
|
'create_time': 'str',
|
32
|
-
'update_time': 'str'
|
32
|
+
'update_time': 'str',
|
33
|
+
'source': 'str',
|
34
|
+
'protection_status': 'str',
|
35
|
+
'protection_reason': 'str'
|
33
36
|
}
|
34
37
|
|
35
38
|
attribute_map = {
|
@@ -44,10 +47,13 @@ class ShowCertificateResponse(SdkResponse):
|
|
44
47
|
'certificate': 'certificate',
|
45
48
|
'expire_time': 'expire_time',
|
46
49
|
'create_time': 'create_time',
|
47
|
-
'update_time': 'update_time'
|
50
|
+
'update_time': 'update_time',
|
51
|
+
'source': 'source',
|
52
|
+
'protection_status': 'protection_status',
|
53
|
+
'protection_reason': 'protection_reason'
|
48
54
|
}
|
49
55
|
|
50
|
-
def __init__(self, id=None, tenant_id=None, admin_state_up=None, name=None, description=None, type=None, domain=None, private_key=None, certificate=None, expire_time=None, create_time=None, update_time=None):
|
56
|
+
def __init__(self, id=None, tenant_id=None, admin_state_up=None, name=None, description=None, type=None, domain=None, private_key=None, certificate=None, expire_time=None, create_time=None, update_time=None, source=None, protection_status=None, protection_reason=None):
|
51
57
|
"""ShowCertificateResponse
|
52
58
|
|
53
59
|
The model defined in huaweicloud sdk
|
@@ -76,6 +82,12 @@ class ShowCertificateResponse(SdkResponse):
|
|
76
82
|
:type create_time: str
|
77
83
|
:param update_time: SSL证书的更新时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
|
78
84
|
:type update_time: str
|
85
|
+
:param source: 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
86
|
+
:type source: str
|
87
|
+
:param protection_status: 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
88
|
+
:type protection_status: str
|
89
|
+
:param protection_reason: 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
90
|
+
:type protection_reason: str
|
79
91
|
"""
|
80
92
|
|
81
93
|
super(ShowCertificateResponse, self).__init__()
|
@@ -92,6 +104,9 @@ class ShowCertificateResponse(SdkResponse):
|
|
92
104
|
self._expire_time = None
|
93
105
|
self._create_time = None
|
94
106
|
self._update_time = None
|
107
|
+
self._source = None
|
108
|
+
self._protection_status = None
|
109
|
+
self._protection_reason = None
|
95
110
|
self.discriminator = None
|
96
111
|
|
97
112
|
if id is not None:
|
@@ -118,6 +133,12 @@ class ShowCertificateResponse(SdkResponse):
|
|
118
133
|
self.create_time = create_time
|
119
134
|
if update_time is not None:
|
120
135
|
self.update_time = update_time
|
136
|
+
if source is not None:
|
137
|
+
self.source = source
|
138
|
+
if protection_status is not None:
|
139
|
+
self.protection_status = protection_status
|
140
|
+
if protection_reason is not None:
|
141
|
+
self.protection_reason = protection_reason
|
121
142
|
|
122
143
|
@property
|
123
144
|
def id(self):
|
@@ -383,6 +404,72 @@ class ShowCertificateResponse(SdkResponse):
|
|
383
404
|
"""
|
384
405
|
self._update_time = update_time
|
385
406
|
|
407
|
+
@property
|
408
|
+
def source(self):
|
409
|
+
"""Gets the source of this ShowCertificateResponse.
|
410
|
+
|
411
|
+
参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
412
|
+
|
413
|
+
:return: The source of this ShowCertificateResponse.
|
414
|
+
:rtype: str
|
415
|
+
"""
|
416
|
+
return self._source
|
417
|
+
|
418
|
+
@source.setter
|
419
|
+
def source(self, source):
|
420
|
+
"""Sets the source of this ShowCertificateResponse.
|
421
|
+
|
422
|
+
参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
423
|
+
|
424
|
+
:param source: The source of this ShowCertificateResponse.
|
425
|
+
:type source: str
|
426
|
+
"""
|
427
|
+
self._source = source
|
428
|
+
|
429
|
+
@property
|
430
|
+
def protection_status(self):
|
431
|
+
"""Gets the protection_status of this ShowCertificateResponse.
|
432
|
+
|
433
|
+
参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
434
|
+
|
435
|
+
:return: The protection_status of this ShowCertificateResponse.
|
436
|
+
:rtype: str
|
437
|
+
"""
|
438
|
+
return self._protection_status
|
439
|
+
|
440
|
+
@protection_status.setter
|
441
|
+
def protection_status(self, protection_status):
|
442
|
+
"""Sets the protection_status of this ShowCertificateResponse.
|
443
|
+
|
444
|
+
参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
445
|
+
|
446
|
+
:param protection_status: The protection_status of this ShowCertificateResponse.
|
447
|
+
:type protection_status: str
|
448
|
+
"""
|
449
|
+
self._protection_status = protection_status
|
450
|
+
|
451
|
+
@property
|
452
|
+
def protection_reason(self):
|
453
|
+
"""Gets the protection_reason of this ShowCertificateResponse.
|
454
|
+
|
455
|
+
参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
456
|
+
|
457
|
+
:return: The protection_reason of this ShowCertificateResponse.
|
458
|
+
:rtype: str
|
459
|
+
"""
|
460
|
+
return self._protection_reason
|
461
|
+
|
462
|
+
@protection_reason.setter
|
463
|
+
def protection_reason(self, protection_reason):
|
464
|
+
"""Sets the protection_reason of this ShowCertificateResponse.
|
465
|
+
|
466
|
+
参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
467
|
+
|
468
|
+
:param protection_reason: The protection_reason of this ShowCertificateResponse.
|
469
|
+
:type protection_reason: str
|
470
|
+
"""
|
471
|
+
self._protection_reason = protection_reason
|
472
|
+
|
386
473
|
def to_dict(self):
|
387
474
|
"""Returns the model properties as a dict"""
|
388
475
|
result = {}
|
@@ -22,7 +22,10 @@ class UpdateCertificateRequestBody:
|
|
22
22
|
'description': 'str',
|
23
23
|
'domain': 'str',
|
24
24
|
'name': 'str',
|
25
|
-
'admin_state_up': 'bool'
|
25
|
+
'admin_state_up': 'bool',
|
26
|
+
'source': 'str',
|
27
|
+
'protection_status': 'str',
|
28
|
+
'protection_reason': 'str'
|
26
29
|
}
|
27
30
|
|
28
31
|
attribute_map = {
|
@@ -31,10 +34,13 @@ class UpdateCertificateRequestBody:
|
|
31
34
|
'description': 'description',
|
32
35
|
'domain': 'domain',
|
33
36
|
'name': 'name',
|
34
|
-
'admin_state_up': 'admin_state_up'
|
37
|
+
'admin_state_up': 'admin_state_up',
|
38
|
+
'source': 'source',
|
39
|
+
'protection_status': 'protection_status',
|
40
|
+
'protection_reason': 'protection_reason'
|
35
41
|
}
|
36
42
|
|
37
|
-
def __init__(self, certificate=None, private_key=None, description=None, domain=None, name=None, admin_state_up=None):
|
43
|
+
def __init__(self, certificate=None, private_key=None, description=None, domain=None, name=None, admin_state_up=None, source=None, protection_status=None, protection_reason=None):
|
38
44
|
"""UpdateCertificateRequestBody
|
39
45
|
|
40
46
|
The model defined in huaweicloud sdk
|
@@ -51,6 +57,12 @@ class UpdateCertificateRequestBody:
|
|
51
57
|
:type name: str
|
52
58
|
:param admin_state_up: SSL证书的管理状态; 取值范围: true/false。 该字段为预留字段,暂未启用。只支持设定为true。
|
53
59
|
:type admin_state_up: bool
|
60
|
+
:param source: 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
61
|
+
:type source: str
|
62
|
+
:param protection_status: 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
63
|
+
:type protection_status: str
|
64
|
+
:param protection_reason: 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
65
|
+
:type protection_reason: str
|
54
66
|
"""
|
55
67
|
|
56
68
|
|
@@ -61,6 +73,9 @@ class UpdateCertificateRequestBody:
|
|
61
73
|
self._domain = None
|
62
74
|
self._name = None
|
63
75
|
self._admin_state_up = None
|
76
|
+
self._source = None
|
77
|
+
self._protection_status = None
|
78
|
+
self._protection_reason = None
|
64
79
|
self.discriminator = None
|
65
80
|
|
66
81
|
if certificate is not None:
|
@@ -75,6 +90,12 @@ class UpdateCertificateRequestBody:
|
|
75
90
|
self.name = name
|
76
91
|
if admin_state_up is not None:
|
77
92
|
self.admin_state_up = admin_state_up
|
93
|
+
if source is not None:
|
94
|
+
self.source = source
|
95
|
+
if protection_status is not None:
|
96
|
+
self.protection_status = protection_status
|
97
|
+
if protection_reason is not None:
|
98
|
+
self.protection_reason = protection_reason
|
78
99
|
|
79
100
|
@property
|
80
101
|
def certificate(self):
|
@@ -208,6 +229,72 @@ class UpdateCertificateRequestBody:
|
|
208
229
|
"""
|
209
230
|
self._admin_state_up = admin_state_up
|
210
231
|
|
232
|
+
@property
|
233
|
+
def source(self):
|
234
|
+
"""Gets the source of this UpdateCertificateRequestBody.
|
235
|
+
|
236
|
+
参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
237
|
+
|
238
|
+
:return: The source of this UpdateCertificateRequestBody.
|
239
|
+
:rtype: str
|
240
|
+
"""
|
241
|
+
return self._source
|
242
|
+
|
243
|
+
@source.setter
|
244
|
+
def source(self, source):
|
245
|
+
"""Sets the source of this UpdateCertificateRequestBody.
|
246
|
+
|
247
|
+
参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
248
|
+
|
249
|
+
:param source: The source of this UpdateCertificateRequestBody.
|
250
|
+
:type source: str
|
251
|
+
"""
|
252
|
+
self._source = source
|
253
|
+
|
254
|
+
@property
|
255
|
+
def protection_status(self):
|
256
|
+
"""Gets the protection_status of this UpdateCertificateRequestBody.
|
257
|
+
|
258
|
+
参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
259
|
+
|
260
|
+
:return: The protection_status of this UpdateCertificateRequestBody.
|
261
|
+
:rtype: str
|
262
|
+
"""
|
263
|
+
return self._protection_status
|
264
|
+
|
265
|
+
@protection_status.setter
|
266
|
+
def protection_status(self, protection_status):
|
267
|
+
"""Sets the protection_status of this UpdateCertificateRequestBody.
|
268
|
+
|
269
|
+
参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
270
|
+
|
271
|
+
:param protection_status: The protection_status of this UpdateCertificateRequestBody.
|
272
|
+
:type protection_status: str
|
273
|
+
"""
|
274
|
+
self._protection_status = protection_status
|
275
|
+
|
276
|
+
@property
|
277
|
+
def protection_reason(self):
|
278
|
+
"""Gets the protection_reason of this UpdateCertificateRequestBody.
|
279
|
+
|
280
|
+
参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
281
|
+
|
282
|
+
:return: The protection_reason of this UpdateCertificateRequestBody.
|
283
|
+
:rtype: str
|
284
|
+
"""
|
285
|
+
return self._protection_reason
|
286
|
+
|
287
|
+
@protection_reason.setter
|
288
|
+
def protection_reason(self, protection_reason):
|
289
|
+
"""Sets the protection_reason of this UpdateCertificateRequestBody.
|
290
|
+
|
291
|
+
参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
292
|
+
|
293
|
+
:param protection_reason: The protection_reason of this UpdateCertificateRequestBody.
|
294
|
+
:type protection_reason: str
|
295
|
+
"""
|
296
|
+
self._protection_reason = protection_reason
|
297
|
+
|
211
298
|
def to_dict(self):
|
212
299
|
"""Returns the model properties as a dict"""
|
213
300
|
result = {}
|
@@ -29,7 +29,10 @@ class UpdateCertificateResponse(SdkResponse):
|
|
29
29
|
'certificate': 'str',
|
30
30
|
'expire_time': 'str',
|
31
31
|
'create_time': 'str',
|
32
|
-
'update_time': 'str'
|
32
|
+
'update_time': 'str',
|
33
|
+
'source': 'str',
|
34
|
+
'protection_status': 'str',
|
35
|
+
'protection_reason': 'str'
|
33
36
|
}
|
34
37
|
|
35
38
|
attribute_map = {
|
@@ -44,10 +47,13 @@ class UpdateCertificateResponse(SdkResponse):
|
|
44
47
|
'certificate': 'certificate',
|
45
48
|
'expire_time': 'expire_time',
|
46
49
|
'create_time': 'create_time',
|
47
|
-
'update_time': 'update_time'
|
50
|
+
'update_time': 'update_time',
|
51
|
+
'source': 'source',
|
52
|
+
'protection_status': 'protection_status',
|
53
|
+
'protection_reason': 'protection_reason'
|
48
54
|
}
|
49
55
|
|
50
|
-
def __init__(self, id=None, tenant_id=None, admin_state_up=None, name=None, description=None, type=None, domain=None, private_key=None, certificate=None, expire_time=None, create_time=None, update_time=None):
|
56
|
+
def __init__(self, id=None, tenant_id=None, admin_state_up=None, name=None, description=None, type=None, domain=None, private_key=None, certificate=None, expire_time=None, create_time=None, update_time=None, source=None, protection_status=None, protection_reason=None):
|
51
57
|
"""UpdateCertificateResponse
|
52
58
|
|
53
59
|
The model defined in huaweicloud sdk
|
@@ -76,6 +82,12 @@ class UpdateCertificateResponse(SdkResponse):
|
|
76
82
|
:type create_time: str
|
77
83
|
:param update_time: SSL证书的更新时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
|
78
84
|
:type update_time: str
|
85
|
+
:param source: 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
86
|
+
:type source: str
|
87
|
+
:param protection_status: 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
88
|
+
:type protection_status: str
|
89
|
+
:param protection_reason: 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
90
|
+
:type protection_reason: str
|
79
91
|
"""
|
80
92
|
|
81
93
|
super(UpdateCertificateResponse, self).__init__()
|
@@ -92,6 +104,9 @@ class UpdateCertificateResponse(SdkResponse):
|
|
92
104
|
self._expire_time = None
|
93
105
|
self._create_time = None
|
94
106
|
self._update_time = None
|
107
|
+
self._source = None
|
108
|
+
self._protection_status = None
|
109
|
+
self._protection_reason = None
|
95
110
|
self.discriminator = None
|
96
111
|
|
97
112
|
if id is not None:
|
@@ -118,6 +133,12 @@ class UpdateCertificateResponse(SdkResponse):
|
|
118
133
|
self.create_time = create_time
|
119
134
|
if update_time is not None:
|
120
135
|
self.update_time = update_time
|
136
|
+
if source is not None:
|
137
|
+
self.source = source
|
138
|
+
if protection_status is not None:
|
139
|
+
self.protection_status = protection_status
|
140
|
+
if protection_reason is not None:
|
141
|
+
self.protection_reason = protection_reason
|
121
142
|
|
122
143
|
@property
|
123
144
|
def id(self):
|
@@ -383,6 +404,72 @@ class UpdateCertificateResponse(SdkResponse):
|
|
383
404
|
"""
|
384
405
|
self._update_time = update_time
|
385
406
|
|
407
|
+
@property
|
408
|
+
def source(self):
|
409
|
+
"""Gets the source of this UpdateCertificateResponse.
|
410
|
+
|
411
|
+
参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
412
|
+
|
413
|
+
:return: The source of this UpdateCertificateResponse.
|
414
|
+
:rtype: str
|
415
|
+
"""
|
416
|
+
return self._source
|
417
|
+
|
418
|
+
@source.setter
|
419
|
+
def source(self, source):
|
420
|
+
"""Sets the source of this UpdateCertificateResponse.
|
421
|
+
|
422
|
+
参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
|
423
|
+
|
424
|
+
:param source: The source of this UpdateCertificateResponse.
|
425
|
+
:type source: str
|
426
|
+
"""
|
427
|
+
self._source = source
|
428
|
+
|
429
|
+
@property
|
430
|
+
def protection_status(self):
|
431
|
+
"""Gets the protection_status of this UpdateCertificateResponse.
|
432
|
+
|
433
|
+
参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
434
|
+
|
435
|
+
:return: The protection_status of this UpdateCertificateResponse.
|
436
|
+
:rtype: str
|
437
|
+
"""
|
438
|
+
return self._protection_status
|
439
|
+
|
440
|
+
@protection_status.setter
|
441
|
+
def protection_status(self, protection_status):
|
442
|
+
"""Sets the protection_status of this UpdateCertificateResponse.
|
443
|
+
|
444
|
+
参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
|
445
|
+
|
446
|
+
:param protection_status: The protection_status of this UpdateCertificateResponse.
|
447
|
+
:type protection_status: str
|
448
|
+
"""
|
449
|
+
self._protection_status = protection_status
|
450
|
+
|
451
|
+
@property
|
452
|
+
def protection_reason(self):
|
453
|
+
"""Gets the protection_reason of this UpdateCertificateResponse.
|
454
|
+
|
455
|
+
参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
456
|
+
|
457
|
+
:return: The protection_reason of this UpdateCertificateResponse.
|
458
|
+
:rtype: str
|
459
|
+
"""
|
460
|
+
return self._protection_reason
|
461
|
+
|
462
|
+
@protection_reason.setter
|
463
|
+
def protection_reason(self, protection_reason):
|
464
|
+
"""Sets the protection_reason of this UpdateCertificateResponse.
|
465
|
+
|
466
|
+
参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
|
467
|
+
|
468
|
+
:param protection_reason: The protection_reason of this UpdateCertificateResponse.
|
469
|
+
:type protection_reason: str
|
470
|
+
"""
|
471
|
+
self._protection_reason = protection_reason
|
472
|
+
|
386
473
|
def to_dict(self):
|
387
474
|
"""Returns the model properties as a dict"""
|
388
475
|
result = {}
|
@@ -1122,7 +1122,7 @@ class ElbAsyncClient(Client):
|
|
1122
1122
|
def create_logtank_async(self, request):
|
1123
1123
|
"""创建云日志
|
1124
1124
|
|
1125
|
-
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
1125
|
+
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
1126
1126
|
|
1127
1127
|
Please refer to HUAWEI cloud API Explorer for details.
|
1128
1128
|
|
@@ -1386,7 +1386,7 @@ class ElbAsyncClient(Client):
|
|
1386
1386
|
|
1387
1387
|
创建自定义安全策略。用于在创建HTTPS监听器时,请求参数中指定security_policy_id来设置监听器的自定义安全策略。
|
1388
1388
|
|
1389
|
-
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
1389
|
+
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
1390
1390
|
|
1391
1391
|
Please refer to HUAWEI cloud API Explorer for details.
|
1392
1392
|
|
@@ -2043,7 +2043,7 @@ class ElbAsyncClient(Client):
|
|
2043
2043
|
def delete_logtank_async(self, request):
|
2044
2044
|
"""删除云日志
|
2045
2045
|
|
2046
|
-
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
2046
|
+
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
2047
2047
|
|
2048
2048
|
Please refer to HUAWEI cloud API Explorer for details.
|
2049
2049
|
|
@@ -2370,7 +2370,7 @@ class ElbAsyncClient(Client):
|
|
2370
2370
|
def delete_security_policy_async(self, request):
|
2371
2371
|
"""删除自定义安全策略
|
2372
2372
|
|
2373
|
-
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
2373
|
+
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
2374
2374
|
|
2375
2375
|
Please refer to HUAWEI cloud API Explorer for details.
|
2376
2376
|
|
@@ -3625,7 +3625,7 @@ class ElbAsyncClient(Client):
|
|
3625
3625
|
def list_logtanks_async(self, request):
|
3626
3626
|
"""查询云日志列表
|
3627
3627
|
|
3628
|
-
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
3628
|
+
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
3629
3629
|
|
3630
3630
|
Please refer to HUAWEI cloud API Explorer for details.
|
3631
3631
|
|
@@ -4130,7 +4130,7 @@ class ElbAsyncClient(Client):
|
|
4130
4130
|
def list_security_policies_async(self, request):
|
4131
4131
|
"""查询自定义安全策略列表
|
4132
4132
|
|
4133
|
-
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
4133
|
+
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
4134
4134
|
|
4135
4135
|
Please refer to HUAWEI cloud API Explorer for details.
|
4136
4136
|
|
@@ -4932,7 +4932,7 @@ class ElbAsyncClient(Client):
|
|
4932
4932
|
def show_logtank_async(self, request):
|
4933
4933
|
"""查询云日志详情
|
4934
4934
|
|
4935
|
-
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
4935
|
+
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
4936
4936
|
|
4937
4937
|
Please refer to HUAWEI cloud API Explorer for details.
|
4938
4938
|
|
@@ -5257,7 +5257,7 @@ class ElbAsyncClient(Client):
|
|
5257
5257
|
def show_security_policy_async(self, request):
|
5258
5258
|
"""查询自定义安全策略详情
|
5259
5259
|
|
5260
|
-
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
5260
|
+
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
5261
5261
|
|
5262
5262
|
Please refer to HUAWEI cloud API Explorer for details.
|
5263
5263
|
|
@@ -5726,7 +5726,7 @@ class ElbAsyncClient(Client):
|
|
5726
5726
|
def update_logtank_async(self, request):
|
5727
5727
|
"""更新云日志
|
5728
5728
|
|
5729
|
-
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
5729
|
+
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
5730
5730
|
|
5731
5731
|
Please refer to HUAWEI cloud API Explorer for details.
|
5732
5732
|
|
@@ -5929,7 +5929,7 @@ class ElbAsyncClient(Client):
|
|
5929
5929
|
def update_security_policy_async(self, request):
|
5930
5930
|
"""更新自定义安全策略
|
5931
5931
|
|
5932
|
-
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
5932
|
+
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
5933
5933
|
|
5934
5934
|
Please refer to HUAWEI cloud API Explorer for details.
|
5935
5935
|
|
@@ -6126,7 +6126,7 @@ class ElbAsyncClient(Client):
|
|
6126
6126
|
def batch_delete_ip_list_async(self, request):
|
6127
6127
|
"""删除IP地址组的IP列表项
|
6128
6128
|
|
6129
|
-
批量删除IP地址组的IP列表信息。[荷兰region不支持该API](tag:dt
|
6129
|
+
批量删除IP地址组的IP列表信息。[荷兰region不支持该API](tag:dt)
|
6130
6130
|
|
6131
6131
|
Please refer to HUAWEI cloud API Explorer for details.
|
6132
6132
|
|
@@ -6296,7 +6296,7 @@ class ElbAsyncClient(Client):
|
|
6296
6296
|
|
6297
6297
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
6298
6298
|
|
6299
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6299
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6300
6300
|
|
6301
6301
|
Please refer to HUAWEI cloud API Explorer for details.
|
6302
6302
|
|
@@ -6361,7 +6361,7 @@ class ElbAsyncClient(Client):
|
|
6361
6361
|
def delete_ip_group_async(self, request):
|
6362
6362
|
"""删除IP地址组
|
6363
6363
|
|
6364
|
-
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6364
|
+
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6365
6365
|
|
6366
6366
|
Please refer to HUAWEI cloud API Explorer for details.
|
6367
6367
|
|
@@ -6426,7 +6426,7 @@ class ElbAsyncClient(Client):
|
|
6426
6426
|
def list_ip_groups_async(self, request):
|
6427
6427
|
"""查询IP地址组列表
|
6428
6428
|
|
6429
|
-
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6429
|
+
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6430
6430
|
|
6431
6431
|
Please refer to HUAWEI cloud API Explorer for details.
|
6432
6432
|
|
@@ -6510,7 +6510,7 @@ class ElbAsyncClient(Client):
|
|
6510
6510
|
def show_ip_group_async(self, request):
|
6511
6511
|
"""查询IP地址组详情
|
6512
6512
|
|
6513
|
-
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6513
|
+
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6514
6514
|
|
6515
6515
|
Please refer to HUAWEI cloud API Explorer for details.
|
6516
6516
|
|
@@ -6645,7 +6645,7 @@ class ElbAsyncClient(Client):
|
|
6645
6645
|
|
6646
6646
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
6647
6647
|
|
6648
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6648
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6649
6649
|
|
6650
6650
|
Please refer to HUAWEI cloud API Explorer for details.
|
6651
6651
|
|
@@ -6712,7 +6712,7 @@ class ElbAsyncClient(Client):
|
|
6712
6712
|
def update_ip_list_async(self, request):
|
6713
6713
|
"""更新IP地址组的IP列表项
|
6714
6714
|
|
6715
|
-
添加新的IP地址到IP地址组的IP列表信息,或更新已有IP地址的描述。[荷兰region不支持该API](tag:dt
|
6715
|
+
添加新的IP地址到IP地址组的IP列表信息,或更新已有IP地址的描述。[荷兰region不支持该API](tag:dt)
|
6716
6716
|
|
6717
6717
|
Please refer to HUAWEI cloud API Explorer for details.
|
6718
6718
|
|