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.
Files changed (96) hide show
  1. huaweicloudsdkelb/v2/elb_async_client.py +6 -0
  2. huaweicloudsdkelb/v2/elb_client.py +6 -0
  3. huaweicloudsdkelb/v2/model/certificate_resp.py +90 -3
  4. huaweicloudsdkelb/v2/model/create_certificate_request_body.py +90 -3
  5. huaweicloudsdkelb/v2/model/create_certificate_response.py +90 -3
  6. huaweicloudsdkelb/v2/model/list_certificates_request.py +90 -3
  7. huaweicloudsdkelb/v2/model/loadbalancer_resp.py +3 -3
  8. huaweicloudsdkelb/v2/model/show_certificate_response.py +90 -3
  9. huaweicloudsdkelb/v2/model/update_certificate_request_body.py +90 -3
  10. huaweicloudsdkelb/v2/model/update_certificate_response.py +90 -3
  11. huaweicloudsdkelb/v3/elb_async_client.py +17 -17
  12. huaweicloudsdkelb/v3/elb_client.py +17 -17
  13. huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
  14. huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +21 -21
  15. huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
  16. huaweicloudsdkelb/v3/model/batch_member.py +6 -6
  17. huaweicloudsdkelb/v3/model/batch_update_member.py +6 -6
  18. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  19. huaweicloudsdkelb/v3/model/certificate_info.py +3 -3
  20. huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
  21. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
  22. huaweicloudsdkelb/v3/model/create_certificate_option.py +3 -3
  23. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
  24. huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
  25. huaweicloudsdkelb/v3/model/create_ip_group_option.py +3 -3
  26. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +3 -3
  27. huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +3 -3
  28. huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
  29. huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
  30. huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
  32. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +15 -15
  33. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
  34. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
  35. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +6 -6
  36. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +9 -9
  37. huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
  38. huaweicloudsdkelb/v3/model/create_pool_option.py +15 -15
  39. huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
  40. huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +3 -3
  41. huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +3 -3
  42. huaweicloudsdkelb/v3/model/create_rule_option.py +3 -3
  43. huaweicloudsdkelb/v3/model/create_security_policy_option.py +3 -3
  44. huaweicloudsdkelb/v3/model/eip_info.py +3 -3
  45. huaweicloudsdkelb/v3/model/flavor.py +3 -3
  46. huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
  47. huaweicloudsdkelb/v3/model/health_monitor.py +3 -3
  48. huaweicloudsdkelb/v3/model/ip_group.py +3 -3
  49. huaweicloudsdkelb/v3/model/ip_info.py +3 -3
  50. huaweicloudsdkelb/v3/model/l7_policy.py +3 -3
  51. huaweicloudsdkelb/v3/model/l7_rule.py +6 -6
  52. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  53. huaweicloudsdkelb/v3/model/list_flavors_request.py +6 -6
  54. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
  55. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
  56. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  57. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  58. huaweicloudsdkelb/v3/model/list_listeners_request.py +15 -15
  59. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +21 -21
  60. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  61. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +9 -9
  62. huaweicloudsdkelb/v3/model/list_members_request.py +9 -9
  63. huaweicloudsdkelb/v3/model/list_pools_request.py +15 -15
  64. huaweicloudsdkelb/v3/model/listener.py +21 -21
  65. huaweicloudsdkelb/v3/model/listener_ip_group.py +3 -3
  66. huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
  67. huaweicloudsdkelb/v3/model/load_balancer.py +39 -39
  68. huaweicloudsdkelb/v3/model/load_balancer_status_member.py +3 -3
  69. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +3 -3
  70. huaweicloudsdkelb/v3/model/master_slave_member.py +6 -6
  71. huaweicloudsdkelb/v3/model/master_slave_pool.py +12 -12
  72. huaweicloudsdkelb/v3/model/member.py +6 -6
  73. huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +3 -3
  74. huaweicloudsdkelb/v3/model/member_info.py +6 -6
  75. huaweicloudsdkelb/v3/model/pool.py +18 -18
  76. huaweicloudsdkelb/v3/model/public_ip_info.py +3 -3
  77. huaweicloudsdkelb/v3/model/quota.py +3 -3
  78. huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +3 -3
  79. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  80. huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
  81. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
  82. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
  83. huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
  84. huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +3 -3
  85. huaweicloudsdkelb/v3/model/update_listener_option.py +18 -18
  86. huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
  87. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +18 -18
  88. huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
  89. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  90. huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +3 -3
  91. huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +6 -6
  92. {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/METADATA +2 -2
  93. {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/RECORD +96 -96
  94. {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/LICENSE +0 -0
  95. {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/WHEEL +0 -0
  96. {huaweicloudsdkelb-3.1.135.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/top_level.txt +0 -0
@@ -4039,6 +4039,12 @@ class ElbAsyncClient(Client):
4039
4039
  query_params.append(('private_key', local_var_params['private_key']))
4040
4040
  if 'certificate' in local_var_params:
4041
4041
  query_params.append(('certificate', local_var_params['certificate']))
4042
+ if 'source' in local_var_params:
4043
+ query_params.append(('source', local_var_params['source']))
4044
+ if 'protection_status' in local_var_params:
4045
+ query_params.append(('protection_status', local_var_params['protection_status']))
4046
+ if 'protection_reason' in local_var_params:
4047
+ query_params.append(('protection_reason', local_var_params['protection_reason']))
4042
4048
 
4043
4049
  header_params = {}
4044
4050
 
@@ -4039,6 +4039,12 @@ class ElbClient(Client):
4039
4039
  query_params.append(('private_key', local_var_params['private_key']))
4040
4040
  if 'certificate' in local_var_params:
4041
4041
  query_params.append(('certificate', local_var_params['certificate']))
4042
+ if 'source' in local_var_params:
4043
+ query_params.append(('source', local_var_params['source']))
4044
+ if 'protection_status' in local_var_params:
4045
+ query_params.append(('protection_status', local_var_params['protection_status']))
4046
+ if 'protection_reason' in local_var_params:
4047
+ query_params.append(('protection_reason', local_var_params['protection_reason']))
4042
4048
 
4043
4049
  header_params = {}
4044
4050
 
@@ -28,7 +28,10 @@ class CertificateResp:
28
28
  'certificate': 'str',
29
29
  'expire_time': 'str',
30
30
  'create_time': 'str',
31
- 'update_time': 'str'
31
+ 'update_time': 'str',
32
+ 'source': 'str',
33
+ 'protection_status': 'str',
34
+ 'protection_reason': 'str'
32
35
  }
33
36
 
34
37
  attribute_map = {
@@ -43,10 +46,13 @@ class CertificateResp:
43
46
  'certificate': 'certificate',
44
47
  'expire_time': 'expire_time',
45
48
  'create_time': 'create_time',
46
- 'update_time': 'update_time'
49
+ 'update_time': 'update_time',
50
+ 'source': 'source',
51
+ 'protection_status': 'protection_status',
52
+ 'protection_reason': 'protection_reason'
47
53
  }
48
54
 
49
- 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):
55
+ 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):
50
56
  """CertificateResp
51
57
 
52
58
  The model defined in huaweicloud sdk
@@ -75,6 +81,12 @@ class CertificateResp:
75
81
  :type create_time: str
76
82
  :param update_time: SSL证书的更新时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
77
83
  :type update_time: str
84
+ :param source: 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
85
+ :type source: str
86
+ :param protection_status: 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
87
+ :type protection_status: str
88
+ :param protection_reason: 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
89
+ :type protection_reason: str
78
90
  """
79
91
 
80
92
 
@@ -91,6 +103,9 @@ class CertificateResp:
91
103
  self._expire_time = None
92
104
  self._create_time = None
93
105
  self._update_time = None
106
+ self._source = None
107
+ self._protection_status = None
108
+ self._protection_reason = None
94
109
  self.discriminator = None
95
110
 
96
111
  self.id = id
@@ -105,6 +120,12 @@ class CertificateResp:
105
120
  self.expire_time = expire_time
106
121
  self.create_time = create_time
107
122
  self.update_time = update_time
123
+ if source is not None:
124
+ self.source = source
125
+ if protection_status is not None:
126
+ self.protection_status = protection_status
127
+ if protection_reason is not None:
128
+ self.protection_reason = protection_reason
108
129
 
109
130
  @property
110
131
  def id(self):
@@ -370,6 +391,72 @@ class CertificateResp:
370
391
  """
371
392
  self._update_time = update_time
372
393
 
394
+ @property
395
+ def source(self):
396
+ """Gets the source of this CertificateResp.
397
+
398
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
399
+
400
+ :return: The source of this CertificateResp.
401
+ :rtype: str
402
+ """
403
+ return self._source
404
+
405
+ @source.setter
406
+ def source(self, source):
407
+ """Sets the source of this CertificateResp.
408
+
409
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
410
+
411
+ :param source: The source of this CertificateResp.
412
+ :type source: str
413
+ """
414
+ self._source = source
415
+
416
+ @property
417
+ def protection_status(self):
418
+ """Gets the protection_status of this CertificateResp.
419
+
420
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
421
+
422
+ :return: The protection_status of this CertificateResp.
423
+ :rtype: str
424
+ """
425
+ return self._protection_status
426
+
427
+ @protection_status.setter
428
+ def protection_status(self, protection_status):
429
+ """Sets the protection_status of this CertificateResp.
430
+
431
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
432
+
433
+ :param protection_status: The protection_status of this CertificateResp.
434
+ :type protection_status: str
435
+ """
436
+ self._protection_status = protection_status
437
+
438
+ @property
439
+ def protection_reason(self):
440
+ """Gets the protection_reason of this CertificateResp.
441
+
442
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
443
+
444
+ :return: The protection_reason of this CertificateResp.
445
+ :rtype: str
446
+ """
447
+ return self._protection_reason
448
+
449
+ @protection_reason.setter
450
+ def protection_reason(self, protection_reason):
451
+ """Sets the protection_reason of this CertificateResp.
452
+
453
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
454
+
455
+ :param protection_reason: The protection_reason of this CertificateResp.
456
+ :type protection_reason: str
457
+ """
458
+ self._protection_reason = protection_reason
459
+
373
460
  def to_dict(self):
374
461
  """Returns the model properties as a dict"""
375
462
  result = {}
@@ -24,7 +24,10 @@ class CreateCertificateRequestBody:
24
24
  'name': 'str',
25
25
  'admin_state_up': 'bool',
26
26
  'type': 'str',
27
- 'enterprise_project_id': 'str'
27
+ 'enterprise_project_id': 'str',
28
+ 'source': 'str',
29
+ 'protection_status': 'str',
30
+ 'protection_reason': 'str'
28
31
  }
29
32
 
30
33
  attribute_map = {
@@ -35,10 +38,13 @@ class CreateCertificateRequestBody:
35
38
  'name': 'name',
36
39
  'admin_state_up': 'admin_state_up',
37
40
  'type': 'type',
38
- 'enterprise_project_id': 'enterprise_project_id'
41
+ 'enterprise_project_id': 'enterprise_project_id',
42
+ 'source': 'source',
43
+ 'protection_status': 'protection_status',
44
+ 'protection_reason': 'protection_reason'
39
45
  }
40
46
 
41
- def __init__(self, certificate=None, private_key=None, description=None, domain=None, name=None, admin_state_up=None, type=None, enterprise_project_id=None):
47
+ def __init__(self, certificate=None, private_key=None, description=None, domain=None, name=None, admin_state_up=None, type=None, enterprise_project_id=None, source=None, protection_status=None, protection_reason=None):
42
48
  """CreateCertificateRequestBody
43
49
 
44
50
  The model defined in huaweicloud sdk
@@ -59,6 +65,12 @@ class CreateCertificateRequestBody:
59
65
  :type type: str
60
66
  :param enterprise_project_id: 企业项目ID。 传入all_granted_eps表示查询所有有权限的企业项目资源;\"0\"表示查询默认企业项目资源;或者指定的企业项目ID下的资源。
61
67
  :type enterprise_project_id: str
68
+ :param source: 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
69
+ :type source: str
70
+ :param protection_status: 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
71
+ :type protection_status: str
72
+ :param protection_reason: 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
73
+ :type protection_reason: str
62
74
  """
63
75
 
64
76
 
@@ -71,6 +83,9 @@ class CreateCertificateRequestBody:
71
83
  self._admin_state_up = None
72
84
  self._type = None
73
85
  self._enterprise_project_id = None
86
+ self._source = None
87
+ self._protection_status = None
88
+ self._protection_reason = None
74
89
  self.discriminator = None
75
90
 
76
91
  self.certificate = certificate
@@ -88,6 +103,12 @@ class CreateCertificateRequestBody:
88
103
  self.type = type
89
104
  if enterprise_project_id is not None:
90
105
  self.enterprise_project_id = enterprise_project_id
106
+ if source is not None:
107
+ self.source = source
108
+ if protection_status is not None:
109
+ self.protection_status = protection_status
110
+ if protection_reason is not None:
111
+ self.protection_reason = protection_reason
91
112
 
92
113
  @property
93
114
  def certificate(self):
@@ -265,6 +286,72 @@ class CreateCertificateRequestBody:
265
286
  """
266
287
  self._enterprise_project_id = enterprise_project_id
267
288
 
289
+ @property
290
+ def source(self):
291
+ """Gets the source of this CreateCertificateRequestBody.
292
+
293
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
294
+
295
+ :return: The source of this CreateCertificateRequestBody.
296
+ :rtype: str
297
+ """
298
+ return self._source
299
+
300
+ @source.setter
301
+ def source(self, source):
302
+ """Sets the source of this CreateCertificateRequestBody.
303
+
304
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
305
+
306
+ :param source: The source of this CreateCertificateRequestBody.
307
+ :type source: str
308
+ """
309
+ self._source = source
310
+
311
+ @property
312
+ def protection_status(self):
313
+ """Gets the protection_status of this CreateCertificateRequestBody.
314
+
315
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
316
+
317
+ :return: The protection_status of this CreateCertificateRequestBody.
318
+ :rtype: str
319
+ """
320
+ return self._protection_status
321
+
322
+ @protection_status.setter
323
+ def protection_status(self, protection_status):
324
+ """Sets the protection_status of this CreateCertificateRequestBody.
325
+
326
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
327
+
328
+ :param protection_status: The protection_status of this CreateCertificateRequestBody.
329
+ :type protection_status: str
330
+ """
331
+ self._protection_status = protection_status
332
+
333
+ @property
334
+ def protection_reason(self):
335
+ """Gets the protection_reason of this CreateCertificateRequestBody.
336
+
337
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
338
+
339
+ :return: The protection_reason of this CreateCertificateRequestBody.
340
+ :rtype: str
341
+ """
342
+ return self._protection_reason
343
+
344
+ @protection_reason.setter
345
+ def protection_reason(self, protection_reason):
346
+ """Sets the protection_reason of this CreateCertificateRequestBody.
347
+
348
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
349
+
350
+ :param protection_reason: The protection_reason of this CreateCertificateRequestBody.
351
+ :type protection_reason: str
352
+ """
353
+ self._protection_reason = protection_reason
354
+
268
355
  def to_dict(self):
269
356
  """Returns the model properties as a dict"""
270
357
  result = {}
@@ -29,7 +29,10 @@ class CreateCertificateResponse(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 CreateCertificateResponse(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
  """CreateCertificateResponse
52
58
 
53
59
  The model defined in huaweicloud sdk
@@ -76,6 +82,12 @@ class CreateCertificateResponse(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(CreateCertificateResponse, self).__init__()
@@ -92,6 +104,9 @@ class CreateCertificateResponse(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 CreateCertificateResponse(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 CreateCertificateResponse(SdkResponse):
383
404
  """
384
405
  self._update_time = update_time
385
406
 
407
+ @property
408
+ def source(self):
409
+ """Gets the source of this CreateCertificateResponse.
410
+
411
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
412
+
413
+ :return: The source of this CreateCertificateResponse.
414
+ :rtype: str
415
+ """
416
+ return self._source
417
+
418
+ @source.setter
419
+ def source(self, source):
420
+ """Sets the source of this CreateCertificateResponse.
421
+
422
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
423
+
424
+ :param source: The source of this CreateCertificateResponse.
425
+ :type source: str
426
+ """
427
+ self._source = source
428
+
429
+ @property
430
+ def protection_status(self):
431
+ """Gets the protection_status of this CreateCertificateResponse.
432
+
433
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
434
+
435
+ :return: The protection_status of this CreateCertificateResponse.
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 CreateCertificateResponse.
443
+
444
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
445
+
446
+ :param protection_status: The protection_status of this CreateCertificateResponse.
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 CreateCertificateResponse.
454
+
455
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
456
+
457
+ :return: The protection_reason of this CreateCertificateResponse.
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 CreateCertificateResponse.
465
+
466
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
467
+
468
+ :param protection_reason: The protection_reason of this CreateCertificateResponse.
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 = {}
@@ -26,7 +26,10 @@ class ListCertificatesRequest:
26
26
  'type': 'str',
27
27
  'domain': 'str',
28
28
  'private_key': 'str',
29
- 'certificate': 'str'
29
+ 'certificate': 'str',
30
+ 'source': 'str',
31
+ 'protection_status': 'str',
32
+ 'protection_reason': 'str'
30
33
  }
31
34
 
32
35
  attribute_map = {
@@ -39,10 +42,13 @@ class ListCertificatesRequest:
39
42
  'type': 'type',
40
43
  'domain': 'domain',
41
44
  'private_key': 'private_key',
42
- 'certificate': 'certificate'
45
+ 'certificate': 'certificate',
46
+ 'source': 'source',
47
+ 'protection_status': 'protection_status',
48
+ 'protection_reason': 'protection_reason'
43
49
  }
44
50
 
45
- def __init__(self, limit=None, marker=None, page_reverse=None, id=None, name=None, description=None, type=None, domain=None, private_key=None, certificate=None):
51
+ def __init__(self, limit=None, marker=None, page_reverse=None, id=None, name=None, description=None, type=None, domain=None, private_key=None, certificate=None, source=None, protection_status=None, protection_reason=None):
46
52
  """ListCertificatesRequest
47
53
 
48
54
  The model defined in huaweicloud sdk
@@ -67,6 +73,12 @@ class ListCertificatesRequest:
67
73
  :type private_key: str
68
74
  :param certificate: PEM格式的服务端公有密钥或者用于认证客户端证书的CA证书,由type字段区分。
69
75
  :type certificate: str
76
+ :param source: 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
77
+ :type source: str
78
+ :param protection_status: 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
79
+ :type protection_status: str
80
+ :param protection_reason: 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
81
+ :type protection_reason: str
70
82
  """
71
83
 
72
84
 
@@ -81,6 +93,9 @@ class ListCertificatesRequest:
81
93
  self._domain = None
82
94
  self._private_key = None
83
95
  self._certificate = None
96
+ self._source = None
97
+ self._protection_status = None
98
+ self._protection_reason = None
84
99
  self.discriminator = None
85
100
 
86
101
  if limit is not None:
@@ -103,6 +118,12 @@ class ListCertificatesRequest:
103
118
  self.private_key = private_key
104
119
  if certificate is not None:
105
120
  self.certificate = certificate
121
+ if source is not None:
122
+ self.source = source
123
+ if protection_status is not None:
124
+ self.protection_status = protection_status
125
+ if protection_reason is not None:
126
+ self.protection_reason = protection_reason
106
127
 
107
128
  @property
108
129
  def limit(self):
@@ -324,6 +345,72 @@ class ListCertificatesRequest:
324
345
  """
325
346
  self._certificate = certificate
326
347
 
348
+ @property
349
+ def source(self):
350
+ """Gets the source of this ListCertificatesRequest.
351
+
352
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
353
+
354
+ :return: The source of this ListCertificatesRequest.
355
+ :rtype: str
356
+ """
357
+ return self._source
358
+
359
+ @source.setter
360
+ def source(self, source):
361
+ """Sets the source of this ListCertificatesRequest.
362
+
363
+ 参数解释: 证书来源 约束限制: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”。 取值范围: 无 默认取值: 当scm_certificate_id不为空,且未传入source时,默认取值为“scm”; 其他情况下默认为空。
364
+
365
+ :param source: The source of this ListCertificatesRequest.
366
+ :type source: str
367
+ """
368
+ self._source = source
369
+
370
+ @property
371
+ def protection_status(self):
372
+ """Gets the protection_status of this ListCertificatesRequest.
373
+
374
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
375
+
376
+ :return: The protection_status of this ListCertificatesRequest.
377
+ :rtype: str
378
+ """
379
+ return self._protection_status
380
+
381
+ @protection_status.setter
382
+ def protection_status(self, protection_status):
383
+ """Sets the protection_status of this ListCertificatesRequest.
384
+
385
+ 参数解释: 修改保护状态 约束限制: 无 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护 默认取值: nonProtection
386
+
387
+ :param protection_status: The protection_status of this ListCertificatesRequest.
388
+ :type protection_status: str
389
+ """
390
+ self._protection_status = protection_status
391
+
392
+ @property
393
+ def protection_reason(self):
394
+ """Gets the protection_reason of this ListCertificatesRequest.
395
+
396
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
397
+
398
+ :return: The protection_reason of this ListCertificatesRequest.
399
+ :rtype: str
400
+ """
401
+ return self._protection_reason
402
+
403
+ @protection_reason.setter
404
+ def protection_reason(self, protection_reason):
405
+ """Sets the protection_reason of this ListCertificatesRequest.
406
+
407
+ 参数解释: 设置修改保护的原因 约束限制: 仅当protection_status为consoleProtection时有效 取值范围: 无 默认取值: 空
408
+
409
+ :param protection_reason: The protection_reason of this ListCertificatesRequest.
410
+ :type protection_reason: str
411
+ """
412
+ self._protection_reason = protection_reason
413
+
327
414
  def to_dict(self):
328
415
  """Returns the model properties as a dict"""
329
416
  result = {}
@@ -113,7 +113,7 @@ class LoadbalancerResp:
113
113
  :type tags: list[str]
114
114
  :param publicips: 负载均衡器绑定的公网IP。只支持绑定一个公网IP。
115
115
  :type publicips: list[:class:`huaweicloudsdkelb.v2.PublicIpInfo`]
116
- :param charge_mode: 收费模式。取值: flavor:按规格计费 lcu:按使用量计费 说明:弹性扩缩容实例该字段无效,按lcu收费;包周期实例该字段无效,预付费收费。
116
+ :param charge_mode: 收费模式。取值: flavor:按规格计费 lcu:按使用量计费 说明:弹性扩缩容实例该字段无效,按lcu收费;包周期实例该字段无效,按预付费收费。
117
117
  :type charge_mode: str
118
118
  :param billing_info: 资源账单信息,取值: - 空:按需计费。 - 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id。
119
119
  :type billing_info: str
@@ -603,7 +603,7 @@ class LoadbalancerResp:
603
603
  def charge_mode(self):
604
604
  """Gets the charge_mode of this LoadbalancerResp.
605
605
 
606
- 收费模式。取值: flavor:按规格计费 lcu:按使用量计费 说明:弹性扩缩容实例该字段无效,按lcu收费;包周期实例该字段无效,预付费收费。
606
+ 收费模式。取值: flavor:按规格计费 lcu:按使用量计费 说明:弹性扩缩容实例该字段无效,按lcu收费;包周期实例该字段无效,按预付费收费。
607
607
 
608
608
  :return: The charge_mode of this LoadbalancerResp.
609
609
  :rtype: str
@@ -614,7 +614,7 @@ class LoadbalancerResp:
614
614
  def charge_mode(self, charge_mode):
615
615
  """Sets the charge_mode of this LoadbalancerResp.
616
616
 
617
- 收费模式。取值: flavor:按规格计费 lcu:按使用量计费 说明:弹性扩缩容实例该字段无效,按lcu收费;包周期实例该字段无效,预付费收费。
617
+ 收费模式。取值: flavor:按规格计费 lcu:按使用量计费 说明:弹性扩缩容实例该字段无效,按lcu收费;包周期实例该字段无效,按预付费收费。
618
618
 
619
619
  :param charge_mode: The charge_mode of this LoadbalancerResp.
620
620
  :type charge_mode: str