You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hbr-20170908/alibabacloud_hbr20170908/models.py
+26-7Lines changed: 26 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3851,11 +3851,11 @@ def __init__(
3851
3851
self.data_source_ids = data_source_ids
3852
3852
# The type of the data source. Valid value:
3853
3853
#
3854
-
# * **UDM_ECS**: Elastic Compute Service (ECS) instance This type of data source is supported only if the **RuleType** parameter is set to **UDM_ECS_ONLY**.
3855
-
# * **OSS**: Object Storage Service (OSS) bucket This type of data source is supported only if the **RuleType** parameter is set to **STANDARD**.
3856
-
# * **NAS**: File Storage NAS (NAS) file system This type of data source is supported only if the **RuleType** parameter is set to **STANDARD**.
3857
-
# * **ECS_FILE**: ECS file This type of data source is supported only if the **RuleType** parameter is set to **STANDARD**.
3858
-
# * **OTS**: Tablestore instance This type of data source is supported only if the **RuleType** parameter is set to **STANDARD**.
3854
+
# * **UDM_ECS**: Elastic Compute Service (ECS) instance This type of data source is supported only if the **PolicyType** parameter is set to **UDM_ECS_ONLY**.
3855
+
# * **OSS**: Object Storage Service (OSS) bucket This type of data source is supported only if the **PolicyType** parameter is set to **STANDARD**.
3856
+
# * **NAS**: File Storage NAS (NAS) file system This type of data source is supported only if the **PolicyType** parameter is set to **STANDARD**.
3857
+
# * **ECS_FILE**: ECS file This type of data source is supported only if the **PolicyType** parameter is set to **STANDARD**.
3858
+
# * **OTS**: Tablestore instance This type of data source is supported only if the **PolicyType** parameter is set to **STANDARD**.
# This parameter is required only if the **RuleType** parameter is set to **TRANSITION** or **REPLICATION**.
4005
+
# This parameter is required only if the **RuleType** parameter is set to **BACKUP**, **TRANSITION** or **REPLICATION**.
4006
4006
#
4007
+
# * If the **RuleType** parameter is set to **BACKUP**, this parameter specifies the retention period of the backup data. The priority is lower than the Retention field of the rule with RuleType=TRANSITION. Minimum value: 1. Maximum value: 364635. Unit: days.
4007
4008
# * If the **RuleType** parameter is set to **TRANSITION**, this parameter specifies the retention period of the backup data. Minimum value: 1. Maximum value: 364635. Unit: days.
4008
4009
# * If the **RuleType** parameter is set to **REPLICATION**, this parameter specifies the retention period of remote backups. Minimum value: 1. Maximum value: 364635. Unit: days.
4009
4010
self.retention = retention
@@ -4014,6 +4015,7 @@ def __init__(
4014
4015
# * **BACKUP**: backup rule
4015
4016
# * **TRANSITION**: lifecycle rule
4016
4017
# * **REPLICATION**: replication rule
4018
+
# * **TAG**: tag rule
4017
4019
#
4018
4020
# This parameter is required.
4019
4021
self.rule_type = rule_type
@@ -5294,7 +5296,11 @@ def __init__(
5294
5296
#
5295
5297
# This parameter is required.
5296
5298
self.vault_region_id = vault_region_id
5297
-
# The storage type of the backup vault. Valid value: **STANDARD**, which indicates standard storage.
5299
+
# The storage type of the backup vault. Valid value:
5300
+
# - **STANDARD**: standard storage.
5301
+
# - **ARCHIVE**: deprected.
5302
+
# - **COLD_ARCHIVE**: deprected.
5303
+
# - **IA**: deprected.
5298
5304
self.vault_storage_class = vault_storage_class
5299
5305
# The type of the backup vault. Valid values:
5300
5306
#
@@ -10171,6 +10177,7 @@ def __init__(
10171
10177
client_version: str = None,
10172
10178
cluster_id: str = None,
10173
10179
created_time: int = None,
10180
+
heart_beat_time: int = None,
10174
10181
instance_id: str = None,
10175
10182
instance_name: str = None,
10176
10183
max_version: str = None,
@@ -10195,6 +10202,7 @@ def __init__(
10195
10202
self.cluster_id = cluster_id
10196
10203
# The time when the Cloud Backup client was created.
# This parameter is required only if the **RuleType** parameter is set to **TRANSITION**. This parameter specifies the time when data is dumped from a backup vault to an archive vault. Unit: days.
23871
23884
self.archive_days = archive_days
@@ -23906,6 +23919,8 @@ def __init__(
23906
23919
self.schedule = schedule
23907
23920
# This parameter is required only if the **RuleType** parameter is set to **TAG**. This parameter specifies the resource tag filter rule.
23908
23921
self.tag_filters = tag_filters
23922
+
# This parameter is required only if the RuleType parameter is set to BACKUP. The ID of the backup vault.
23923
+
self.vault_id = vault_id
23909
23924
23910
23925
def validate(self):
23911
23926
if self.data_source_filters:
@@ -23959,6 +23974,8 @@ def to_map(self):
23959
23974
if self.tag_filters is not None:
23960
23975
for k in self.tag_filters:
23961
23976
result['TagFilters'].append(k.to_map() if k else None)
0 commit comments