huaweicloudsdkcbr 3.1.123__py2.py3-none-any.whl → 3.1.125__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.
@@ -44,9 +44,13 @@ from huaweicloudsdkcbr.v1.model.billing_create import BillingCreate
44
44
  from huaweicloudsdkcbr.v1.model.billing_update import BillingUpdate
45
45
  from huaweicloudsdkcbr.v1.model.bind_rules_tags import BindRulesTags
46
46
  from huaweicloudsdkcbr.v1.model.bulk_create_and_delete_vault_tags_req import BulkCreateAndDeleteVaultTagsReq
47
+ from huaweicloudsdkcbr.v1.model.cbc_order_change import CbcOrderChange
47
48
  from huaweicloudsdkcbr.v1.model.cbc_order_result import CbcOrderResult
49
+ from huaweicloudsdkcbr.v1.model.cbc_product_info_order_change import CbcProductInfoOrderChange
48
50
  from huaweicloudsdkcbr.v1.model.cbc_product_info_update import CbcProductInfoUpdate
49
51
  from huaweicloudsdkcbr.v1.model.cbc_update import CbcUpdate
52
+ from huaweicloudsdkcbr.v1.model.change_order_request import ChangeOrderRequest
53
+ from huaweicloudsdkcbr.v1.model.change_order_response import ChangeOrderResponse
50
54
  from huaweicloudsdkcbr.v1.model.check_agent_request import CheckAgentRequest
51
55
  from huaweicloudsdkcbr.v1.model.check_agent_response import CheckAgentResponse
52
56
  from huaweicloudsdkcbr.v1.model.checkpoint_create import CheckpointCreate
@@ -93,6 +97,7 @@ from huaweicloudsdkcbr.v1.model.disassociate_vault_policy_response import Disass
93
97
  from huaweicloudsdkcbr.v1.model.domain_migrate import DomainMigrate
94
98
  from huaweicloudsdkcbr.v1.model.domain_migrate_project_status import DomainMigrateProjectStatus
95
99
  from huaweicloudsdkcbr.v1.model.domain_projects_info import DomainProjectsInfo
100
+ from huaweicloudsdkcbr.v1.model.exclude_path import ExcludePath
96
101
  from huaweicloudsdkcbr.v1.model.image_data import ImageData
97
102
  from huaweicloudsdkcbr.v1.model.import_backup_request import ImportBackupRequest
98
103
  from huaweicloudsdkcbr.v1.model.import_backup_response import ImportBackupResponse
@@ -439,6 +439,72 @@ class CbrAsyncClient(Client):
439
439
 
440
440
  return http_info
441
441
 
442
+ def change_order_async(self, request):
443
+ """变更
444
+
445
+ 订单更新,调用该接口更新包周期产品订单信息,返回待支付订单信息。
446
+ > 该接口目前属于公测阶段,部分region暂时无法使用
447
+
448
+ Please refer to HUAWEI cloud API Explorer for details.
449
+
450
+
451
+ :param request: Request instance for ChangeOrder
452
+ :type request: :class:`huaweicloudsdkcbr.v1.ChangeOrderRequest`
453
+ :rtype: :class:`huaweicloudsdkcbr.v1.ChangeOrderResponse`
454
+ """
455
+ http_info = self._change_order_http_info(request)
456
+ return self._call_api(**http_info)
457
+
458
+ def change_order_async_invoker(self, request):
459
+ http_info = self._change_order_http_info(request)
460
+ return AsyncInvoker(self, http_info)
461
+
462
+ def _change_order_http_info(self, request):
463
+ http_info = {
464
+ "method": "POST",
465
+ "resource_path": "/v3/{project_id}/orders/change",
466
+ "request_type": request.__class__.__name__,
467
+ "response_type": "ChangeOrderResponse"
468
+ }
469
+
470
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
471
+
472
+ cname = None
473
+
474
+ collection_formats = {}
475
+
476
+ path_params = {}
477
+
478
+ query_params = []
479
+
480
+ header_params = {}
481
+
482
+ form_params = {}
483
+
484
+ body = None
485
+ if 'body' in local_var_params:
486
+ body = local_var_params['body']
487
+ if isinstance(request, SdkStreamRequest):
488
+ body = request.get_file_stream()
489
+
490
+ response_headers = []
491
+
492
+ header_params['Content-Type'] = http_utils.select_header_content_type(
493
+ ['application/json;charset=UTF-8'])
494
+
495
+ auth_settings = []
496
+
497
+ http_info["cname"] = cname
498
+ http_info["collection_formats"] = collection_formats
499
+ http_info["path_params"] = path_params
500
+ http_info["query_params"] = query_params
501
+ http_info["header_params"] = header_params
502
+ http_info["post_params"] = form_params
503
+ http_info["body"] = body
504
+ http_info["response_headers"] = response_headers
505
+
506
+ return http_info
507
+
442
508
  def check_agent_async(self, request):
443
509
  """查询agent状态
444
510
 
@@ -2070,6 +2136,10 @@ class CbrAsyncClient(Client):
2070
2136
  query_params = []
2071
2137
  if 'operation_type' in local_var_params:
2072
2138
  query_params.append(('operation_type', local_var_params['operation_type']))
2139
+ if 'limit' in local_var_params:
2140
+ query_params.append(('limit', local_var_params['limit']))
2141
+ if 'offset' in local_var_params:
2142
+ query_params.append(('offset', local_var_params['offset']))
2073
2143
 
2074
2144
  header_params = {}
2075
2145
 
@@ -4449,9 +4519,9 @@ class CbrAsyncClient(Client):
4449
4519
  return http_info
4450
4520
 
4451
4521
  def update_order_async(self, request):
4452
- """变更
4522
+ """变更(废弃)
4453
4523
 
4454
- 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
4524
+ 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。该接口已废弃。
4455
4525
 
4456
4526
  Please refer to HUAWEI cloud API Explorer for details.
4457
4527
 
@@ -439,6 +439,72 @@ class CbrClient(Client):
439
439
 
440
440
  return http_info
441
441
 
442
+ def change_order(self, request):
443
+ """变更
444
+
445
+ 订单更新,调用该接口更新包周期产品订单信息,返回待支付订单信息。
446
+ > 该接口目前属于公测阶段,部分region暂时无法使用
447
+
448
+ Please refer to HUAWEI cloud API Explorer for details.
449
+
450
+ :param request: Request instance for ChangeOrder
451
+ :type request: :class:`huaweicloudsdkcbr.v1.ChangeOrderRequest`
452
+ :rtype: :class:`huaweicloudsdkcbr.v1.ChangeOrderResponse`
453
+ """
454
+ http_info = self._change_order_http_info(request)
455
+ return self._call_api(**http_info)
456
+
457
+ def change_order_invoker(self, request):
458
+ http_info = self._change_order_http_info(request)
459
+ return SyncInvoker(self, http_info)
460
+
461
+ @classmethod
462
+ def _change_order_http_info(cls, request):
463
+ http_info = {
464
+ "method": "POST",
465
+ "resource_path": "/v3/{project_id}/orders/change",
466
+ "request_type": request.__class__.__name__,
467
+ "response_type": "ChangeOrderResponse"
468
+ }
469
+
470
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
471
+
472
+ cname = None
473
+
474
+ collection_formats = {}
475
+
476
+ path_params = {}
477
+
478
+ query_params = []
479
+
480
+ header_params = {}
481
+
482
+ form_params = {}
483
+
484
+ body = None
485
+ if 'body' in local_var_params:
486
+ body = local_var_params['body']
487
+ if isinstance(request, SdkStreamRequest):
488
+ body = request.get_file_stream()
489
+
490
+ response_headers = []
491
+
492
+ header_params['Content-Type'] = http_utils.select_header_content_type(
493
+ ['application/json;charset=UTF-8'])
494
+
495
+ auth_settings = []
496
+
497
+ http_info["cname"] = cname
498
+ http_info["collection_formats"] = collection_formats
499
+ http_info["path_params"] = path_params
500
+ http_info["query_params"] = query_params
501
+ http_info["header_params"] = header_params
502
+ http_info["post_params"] = form_params
503
+ http_info["body"] = body
504
+ http_info["response_headers"] = response_headers
505
+
506
+ return http_info
507
+
442
508
  def check_agent(self, request):
443
509
  """查询agent状态
444
510
 
@@ -2070,6 +2136,10 @@ class CbrClient(Client):
2070
2136
  query_params = []
2071
2137
  if 'operation_type' in local_var_params:
2072
2138
  query_params.append(('operation_type', local_var_params['operation_type']))
2139
+ if 'limit' in local_var_params:
2140
+ query_params.append(('limit', local_var_params['limit']))
2141
+ if 'offset' in local_var_params:
2142
+ query_params.append(('offset', local_var_params['offset']))
2073
2143
 
2074
2144
  header_params = {}
2075
2145
 
@@ -4449,9 +4519,9 @@ class CbrClient(Client):
4449
4519
  return http_info
4450
4520
 
4451
4521
  def update_order(self, request):
4452
- """变更
4522
+ """变更(废弃)
4453
4523
 
4454
- 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
4524
+ 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。该接口已废弃。
4455
4525
 
4456
4526
  Please refer to HUAWEI cloud API Explorer for details.
4457
4527
 
@@ -42,9 +42,13 @@ from huaweicloudsdkcbr.v1.model.billing_create import BillingCreate
42
42
  from huaweicloudsdkcbr.v1.model.billing_update import BillingUpdate
43
43
  from huaweicloudsdkcbr.v1.model.bind_rules_tags import BindRulesTags
44
44
  from huaweicloudsdkcbr.v1.model.bulk_create_and_delete_vault_tags_req import BulkCreateAndDeleteVaultTagsReq
45
+ from huaweicloudsdkcbr.v1.model.cbc_order_change import CbcOrderChange
45
46
  from huaweicloudsdkcbr.v1.model.cbc_order_result import CbcOrderResult
47
+ from huaweicloudsdkcbr.v1.model.cbc_product_info_order_change import CbcProductInfoOrderChange
46
48
  from huaweicloudsdkcbr.v1.model.cbc_product_info_update import CbcProductInfoUpdate
47
49
  from huaweicloudsdkcbr.v1.model.cbc_update import CbcUpdate
50
+ from huaweicloudsdkcbr.v1.model.change_order_request import ChangeOrderRequest
51
+ from huaweicloudsdkcbr.v1.model.change_order_response import ChangeOrderResponse
48
52
  from huaweicloudsdkcbr.v1.model.check_agent_request import CheckAgentRequest
49
53
  from huaweicloudsdkcbr.v1.model.check_agent_response import CheckAgentResponse
50
54
  from huaweicloudsdkcbr.v1.model.checkpoint_create import CheckpointCreate
@@ -91,6 +95,7 @@ from huaweicloudsdkcbr.v1.model.disassociate_vault_policy_response import Disass
91
95
  from huaweicloudsdkcbr.v1.model.domain_migrate import DomainMigrate
92
96
  from huaweicloudsdkcbr.v1.model.domain_migrate_project_status import DomainMigrateProjectStatus
93
97
  from huaweicloudsdkcbr.v1.model.domain_projects_info import DomainProjectsInfo
98
+ from huaweicloudsdkcbr.v1.model.exclude_path import ExcludePath
94
99
  from huaweicloudsdkcbr.v1.model.image_data import ImageData
95
100
  from huaweicloudsdkcbr.v1.model.import_backup_request import ImportBackupRequest
96
101
  from huaweicloudsdkcbr.v1.model.import_backup_response import ImportBackupResponse
@@ -17,28 +17,36 @@ class AddMembersReq:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
- 'members': 'list[str]'
20
+ 'members': 'list[str]',
21
+ 'domains': 'list[str]'
21
22
  }
22
23
 
23
24
  attribute_map = {
24
- 'members': 'members'
25
+ 'members': 'members',
26
+ 'domains': 'domains'
25
27
  }
26
28
 
27
- def __init__(self, members=None):
29
+ def __init__(self, members=None, domains=None):
28
30
  """AddMembersReq
29
31
 
30
32
  The model defined in huaweicloud sdk
31
33
 
32
34
  :param members: 列表,待添加备份共享成员的project_id。
33
35
  :type members: list[str]
36
+ :param domains: 列表,待添加备份共享成员的domain_id。 > 该特性目前属于公测阶段,部分region可能无法使用.
37
+ :type domains: list[str]
34
38
  """
35
39
 
36
40
 
37
41
 
38
42
  self._members = None
43
+ self._domains = None
39
44
  self.discriminator = None
40
45
 
41
- self.members = members
46
+ if members is not None:
47
+ self.members = members
48
+ if domains is not None:
49
+ self.domains = domains
42
50
 
43
51
  @property
44
52
  def members(self):
@@ -62,6 +70,28 @@ class AddMembersReq:
62
70
  """
63
71
  self._members = members
64
72
 
73
+ @property
74
+ def domains(self):
75
+ """Gets the domains of this AddMembersReq.
76
+
77
+ 列表,待添加备份共享成员的domain_id。 > 该特性目前属于公测阶段,部分region可能无法使用.
78
+
79
+ :return: The domains of this AddMembersReq.
80
+ :rtype: list[str]
81
+ """
82
+ return self._domains
83
+
84
+ @domains.setter
85
+ def domains(self, domains):
86
+ """Sets the domains of this AddMembersReq.
87
+
88
+ 列表,待添加备份共享成员的domain_id。 > 该特性目前属于公测阶段,部分region可能无法使用.
89
+
90
+ :param domains: The domains of this AddMembersReq.
91
+ :type domains: list[str]
92
+ """
93
+ self._domains = domains
94
+
65
95
  def to_dict(self):
66
96
  """Returns the model properties as a dict"""
67
97
  result = {}
@@ -17,28 +17,35 @@ class AgentAddPathReq:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
- 'add_path': 'list[str]'
20
+ 'add_path': 'list[str]',
21
+ 'exclude_path': 'list[ExcludePath]'
21
22
  }
22
23
 
23
24
  attribute_map = {
24
- 'add_path': 'add_path'
25
+ 'add_path': 'add_path',
26
+ 'exclude_path': 'exclude_path'
25
27
  }
26
28
 
27
- def __init__(self, add_path=None):
29
+ def __init__(self, add_path=None, exclude_path=None):
28
30
  """AgentAddPathReq
29
31
 
30
32
  The model defined in huaweicloud sdk
31
33
 
32
34
  :param add_path: 增加备份路径详情
33
35
  :type add_path: list[str]
36
+ :param exclude_path: 增加排除目录 > 该特性目前处于公测阶段,部分region可能无法使用。
37
+ :type exclude_path: list[:class:`huaweicloudsdkcbr.v1.ExcludePath`]
34
38
  """
35
39
 
36
40
 
37
41
 
38
42
  self._add_path = None
43
+ self._exclude_path = None
39
44
  self.discriminator = None
40
45
 
41
46
  self.add_path = add_path
47
+ if exclude_path is not None:
48
+ self.exclude_path = exclude_path
42
49
 
43
50
  @property
44
51
  def add_path(self):
@@ -62,6 +69,28 @@ class AgentAddPathReq:
62
69
  """
63
70
  self._add_path = add_path
64
71
 
72
+ @property
73
+ def exclude_path(self):
74
+ """Gets the exclude_path of this AgentAddPathReq.
75
+
76
+ 增加排除目录 > 该特性目前处于公测阶段,部分region可能无法使用。
77
+
78
+ :return: The exclude_path of this AgentAddPathReq.
79
+ :rtype: list[:class:`huaweicloudsdkcbr.v1.ExcludePath`]
80
+ """
81
+ return self._exclude_path
82
+
83
+ @exclude_path.setter
84
+ def exclude_path(self, exclude_path):
85
+ """Sets the exclude_path of this AgentAddPathReq.
86
+
87
+ 增加排除目录 > 该特性目前处于公测阶段,部分region可能无法使用。
88
+
89
+ :param exclude_path: The exclude_path of this AgentAddPathReq.
90
+ :type exclude_path: list[:class:`huaweicloudsdkcbr.v1.ExcludePath`]
91
+ """
92
+ self._exclude_path = exclude_path
93
+
65
94
  def to_dict(self):
66
95
  """Returns the model properties as a dict"""
67
96
  result = {}
@@ -40,7 +40,8 @@ class BackupResp:
40
40
  'enterprise_project_id': 'str',
41
41
  'provider_id': 'str',
42
42
  'children': 'list[BackupResp]',
43
- 'incremental': 'bool'
43
+ 'incremental': 'bool',
44
+ 'version': 'int'
44
45
  }
45
46
 
46
47
  attribute_map = {
@@ -67,10 +68,11 @@ class BackupResp:
67
68
  'enterprise_project_id': 'enterprise_project_id',
68
69
  'provider_id': 'provider_id',
69
70
  'children': 'children',
70
- 'incremental': 'incremental'
71
+ 'incremental': 'incremental',
72
+ 'version': 'version'
71
73
  }
72
74
 
73
- def __init__(self, checkpoint_id=None, created_at=None, description=None, expired_at=None, extend_info=None, id=None, image_type=None, name=None, parent_id=None, project_id=None, protected_at=None, resource_az=None, resource_id=None, resource_name=None, resource_size=None, resource_type=None, status=None, updated_at=None, vault_id=None, replication_records=None, enterprise_project_id=None, provider_id=None, children=None, incremental=None):
75
+ def __init__(self, checkpoint_id=None, created_at=None, description=None, expired_at=None, extend_info=None, id=None, image_type=None, name=None, parent_id=None, project_id=None, protected_at=None, resource_az=None, resource_id=None, resource_name=None, resource_size=None, resource_type=None, status=None, updated_at=None, vault_id=None, replication_records=None, enterprise_project_id=None, provider_id=None, children=None, incremental=None, version=None):
74
76
  """BackupResp
75
77
 
76
78
  The model defined in huaweicloud sdk
@@ -87,7 +89,7 @@ class BackupResp:
87
89
  :type extend_info: :class:`huaweicloudsdkcbr.v1.BackupExtendInfo`
88
90
  :param id: 备份ID
89
91
  :type id: str
90
- :param image_type: 备份类型
92
+ :param image_type: [备份类型。取值为backup和replication。](tag:hws,hws_hk,ocb) [备份类型。取值为backup。](tag:g42,hk_g42,sbc,dt,fcs_vm,ctc,tm,tlf,cmcc,hcso_dt)
91
93
  :type image_type: str
92
94
  :param name: 备份名称
93
95
  :type name: str
@@ -105,9 +107,9 @@ class BackupResp:
105
107
  :type resource_name: str
106
108
  :param resource_size: 资源大小,单位为GB
107
109
  :type resource_size: int
108
- :param resource_type: 资源类型: 云服务器: OS::Nova::Server, 云硬盘: OS::Cinder::Volume, 云桌面:OS::Workspace::DesktopV2
110
+ :param resource_type: [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Ironic::BareMetalServer, OS::Native::Server, OS::Sfs::Turbo, OS::Workspace::DesktopV2](tag:hws,hws_hk) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Sfs::Turbo](tag:hk_g42,sbc,dt) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Ironic::BareMetalServer, OS::Sfs::Turbo](tag:fcs_vm,ctc,ocb,tm) [资源类型: OS::Nova::Server, OS::Cinder::Volume](tag:tlf,cmcc,hcso_dt) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Sfs::Turbo, OS::Workspace::DesktopV2](tag:g42)
109
111
  :type resource_type: str
110
- :param status: 备份状态
112
+ :param status: 备份状态 - available: 可用 - protecting: 保护中 - deleting: 删除中 - restoring: 恢复中 - error: 异常 - waiting_protect: 等待保护 - waiting_delete: 等待删除 - waiting_restore: 等待恢复
111
113
  :type status: str
112
114
  :param updated_at: 更新时间,例如:\"2020-02-05T10:38:34.209782\"
113
115
  :type updated_at: datetime
@@ -117,12 +119,14 @@ class BackupResp:
117
119
  :type replication_records: list[:class:`huaweicloudsdkcbr.v1.ReplicationRecordGet`]
118
120
  :param enterprise_project_id: 企业项目id,默认为‘0’。
119
121
  :type enterprise_project_id: str
120
- :param provider_id: 备份提供商ID,用于区分备份对象。当前取值包含 0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881, 该值代表备份对象为SFS Turbo。a13639de-00be-4e94-af30-26912d75e4a2,该值代表备份对象为混合云VMware备份。
122
+ :param provider_id: 备份提供商ID,用于区分备份对象。当前取值包含: [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881, 该值代表备份对象为SFS Turbo。a13639de-00be-4e94-af30-26912d75e4a2,该值代表备份对象为混合云VMware备份。](tag:hws,hws_hk) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881,该值代表备份对象为SFS Turbo。](tag:ocb,tlf,sbc,fcs_vm,g42,tm,dt,cmcc) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881,该值代表备份对象为SFS Turbo。86a80900-71bf-4961-956a-d52df944f84a,该值代表备份对象为Workspace。](tag:ctc) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。](tag:hcso_dt)
121
123
  :type provider_id: str
122
124
  :param children: 子副本列表
123
125
  :type children: list[:class:`huaweicloudsdkcbr.v1.BackupResp`]
124
126
  :param incremental: 是否是增备
125
127
  :type incremental: bool
128
+ :param version: 备份副本快照类型
129
+ :type version: int
126
130
  """
127
131
 
128
132
 
@@ -151,6 +155,7 @@ class BackupResp:
151
155
  self._provider_id = None
152
156
  self._children = None
153
157
  self._incremental = None
158
+ self._version = None
154
159
  self.discriminator = None
155
160
 
156
161
  self.checkpoint_id = checkpoint_id
@@ -181,6 +186,8 @@ class BackupResp:
181
186
  self.children = children
182
187
  if incremental is not None:
183
188
  self.incremental = incremental
189
+ if version is not None:
190
+ self.version = version
184
191
 
185
192
  @property
186
193
  def checkpoint_id(self):
@@ -314,7 +321,7 @@ class BackupResp:
314
321
  def image_type(self):
315
322
  """Gets the image_type of this BackupResp.
316
323
 
317
- 备份类型
324
+ [备份类型。取值为backup和replication。](tag:hws,hws_hk,ocb) [备份类型。取值为backup。](tag:g42,hk_g42,sbc,dt,fcs_vm,ctc,tm,tlf,cmcc,hcso_dt)
318
325
 
319
326
  :return: The image_type of this BackupResp.
320
327
  :rtype: str
@@ -325,7 +332,7 @@ class BackupResp:
325
332
  def image_type(self, image_type):
326
333
  """Sets the image_type of this BackupResp.
327
334
 
328
- 备份类型
335
+ [备份类型。取值为backup和replication。](tag:hws,hws_hk,ocb) [备份类型。取值为backup。](tag:g42,hk_g42,sbc,dt,fcs_vm,ctc,tm,tlf,cmcc,hcso_dt)
329
336
 
330
337
  :param image_type: The image_type of this BackupResp.
331
338
  :type image_type: str
@@ -512,7 +519,7 @@ class BackupResp:
512
519
  def resource_type(self):
513
520
  """Gets the resource_type of this BackupResp.
514
521
 
515
- 资源类型: 云服务器: OS::Nova::Server, 云硬盘: OS::Cinder::Volume, 云桌面:OS::Workspace::DesktopV2
522
+ [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Ironic::BareMetalServer, OS::Native::Server, OS::Sfs::Turbo, OS::Workspace::DesktopV2](tag:hws,hws_hk) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Sfs::Turbo](tag:hk_g42,sbc,dt) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Ironic::BareMetalServer, OS::Sfs::Turbo](tag:fcs_vm,ctc,ocb,tm) [资源类型: OS::Nova::Server, OS::Cinder::Volume](tag:tlf,cmcc,hcso_dt) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Sfs::Turbo, OS::Workspace::DesktopV2](tag:g42)
516
523
 
517
524
  :return: The resource_type of this BackupResp.
518
525
  :rtype: str
@@ -523,7 +530,7 @@ class BackupResp:
523
530
  def resource_type(self, resource_type):
524
531
  """Sets the resource_type of this BackupResp.
525
532
 
526
- 资源类型: 云服务器: OS::Nova::Server, 云硬盘: OS::Cinder::Volume, 云桌面:OS::Workspace::DesktopV2
533
+ [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Ironic::BareMetalServer, OS::Native::Server, OS::Sfs::Turbo, OS::Workspace::DesktopV2](tag:hws,hws_hk) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Sfs::Turbo](tag:hk_g42,sbc,dt) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Ironic::BareMetalServer, OS::Sfs::Turbo](tag:fcs_vm,ctc,ocb,tm) [资源类型: OS::Nova::Server, OS::Cinder::Volume](tag:tlf,cmcc,hcso_dt) [资源类型: OS::Nova::Server, OS::Cinder::Volume, OS::Sfs::Turbo, OS::Workspace::DesktopV2](tag:g42)
527
534
 
528
535
  :param resource_type: The resource_type of this BackupResp.
529
536
  :type resource_type: str
@@ -534,7 +541,7 @@ class BackupResp:
534
541
  def status(self):
535
542
  """Gets the status of this BackupResp.
536
543
 
537
- 备份状态
544
+ 备份状态 - available: 可用 - protecting: 保护中 - deleting: 删除中 - restoring: 恢复中 - error: 异常 - waiting_protect: 等待保护 - waiting_delete: 等待删除 - waiting_restore: 等待恢复
538
545
 
539
546
  :return: The status of this BackupResp.
540
547
  :rtype: str
@@ -545,7 +552,7 @@ class BackupResp:
545
552
  def status(self, status):
546
553
  """Sets the status of this BackupResp.
547
554
 
548
- 备份状态
555
+ 备份状态 - available: 可用 - protecting: 保护中 - deleting: 删除中 - restoring: 恢复中 - error: 异常 - waiting_protect: 等待保护 - waiting_delete: 等待删除 - waiting_restore: 等待恢复
549
556
 
550
557
  :param status: The status of this BackupResp.
551
558
  :type status: str
@@ -644,7 +651,7 @@ class BackupResp:
644
651
  def provider_id(self):
645
652
  """Gets the provider_id of this BackupResp.
646
653
 
647
- 备份提供商ID,用于区分备份对象。当前取值包含 0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881, 该值代表备份对象为SFS Turbo。a13639de-00be-4e94-af30-26912d75e4a2,该值代表备份对象为混合云VMware备份。
654
+ 备份提供商ID,用于区分备份对象。当前取值包含: [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881, 该值代表备份对象为SFS Turbo。a13639de-00be-4e94-af30-26912d75e4a2,该值代表备份对象为混合云VMware备份。](tag:hws,hws_hk) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881,该值代表备份对象为SFS Turbo。](tag:ocb,tlf,sbc,fcs_vm,g42,tm,dt,cmcc) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881,该值代表备份对象为SFS Turbo。86a80900-71bf-4961-956a-d52df944f84a,该值代表备份对象为Workspace。](tag:ctc) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。](tag:hcso_dt)
648
655
 
649
656
  :return: The provider_id of this BackupResp.
650
657
  :rtype: str
@@ -655,7 +662,7 @@ class BackupResp:
655
662
  def provider_id(self, provider_id):
656
663
  """Sets the provider_id of this BackupResp.
657
664
 
658
- 备份提供商ID,用于区分备份对象。当前取值包含 0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881, 该值代表备份对象为SFS Turbo。a13639de-00be-4e94-af30-26912d75e4a2,该值代表备份对象为混合云VMware备份。
665
+ 备份提供商ID,用于区分备份对象。当前取值包含: [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881, 该值代表备份对象为SFS Turbo。a13639de-00be-4e94-af30-26912d75e4a2,该值代表备份对象为混合云VMware备份。](tag:hws,hws_hk) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881,该值代表备份对象为SFS Turbo。](tag:ocb,tlf,sbc,fcs_vm,g42,tm,dt,cmcc) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。3f3c3220-245c-4805-b811-758870015881,该值代表备份对象为SFS Turbo。86a80900-71bf-4961-956a-d52df944f84a,该值代表备份对象为Workspace。](tag:ctc) [0daac4c5-6707-4851-97ba-169e36266b66,该值代表备份对象为云服务器。d1603440-187d-4516-af25-121250c7cc97,该值代表备份对象为云硬盘。](tag:hcso_dt)
659
666
 
660
667
  :param provider_id: The provider_id of this BackupResp.
661
668
  :type provider_id: str
@@ -706,6 +713,28 @@ class BackupResp:
706
713
  """
707
714
  self._incremental = incremental
708
715
 
716
+ @property
717
+ def version(self):
718
+ """Gets the version of this BackupResp.
719
+
720
+ 备份副本快照类型
721
+
722
+ :return: The version of this BackupResp.
723
+ :rtype: int
724
+ """
725
+ return self._version
726
+
727
+ @version.setter
728
+ def version(self, version):
729
+ """Sets the version of this BackupResp.
730
+
731
+ 备份副本快照类型
732
+
733
+ :param version: The version of this BackupResp.
734
+ :type version: int
735
+ """
736
+ self._version = version
737
+
709
738
  def to_dict(self):
710
739
  """Returns the model properties as a dict"""
711
740
  result = {}