@@ -107,6 +107,68 @@ The following arguments are supported:
107
107
* ` smn_config ` - (Optional, List, ForceNew) Specifies the SMN message sending configuration.
108
108
The [ object] ( #smn_config_object ) structure is documented below. Changing this creates a new resource.
109
109
110
+ * ` object_overwrite_mode ` - (Optional, String, ForceNew) Specifies whether to skip a source object or allow the source
111
+ object to overwrite its paired destination object. Value options are as follows:
112
+
113
+ + ** NO_OVERWRITE** : indicates the system never allows override. The system always skips source objects and keeps
114
+ their paired destination objects.
115
+
116
+ + ** SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE** : indicates the system allows override based on the results of size or
117
+ modification time checks. If a source object is not as large as or was last modified more recently than its paired
118
+ destination object, the source object will overwrite the destination object. Otherwise, the source object will be
119
+ skipped.
120
+
121
+ + ** CRC64_COMPARISON_OVERWRITE** : indicates the system allows override if the source and destination objects have
122
+ different CRC64 checksums. This option is only available for migration on Huawei Cloud or from Alibaba Cloud or
123
+ Tencent Cloud. If a source object has a CRC64 checksum different from the paired destination object, the source
124
+ object will overwrite the destination object. Otherwise, the source object will be skipped.
125
+ If any of them doesn't have a CRC64 checksum, their sizes and last modification times are checked.
126
+
127
+ + ** FULL_OVERWRITE** : indicates the system always allows override. The system always allows source objects to
128
+ overwrite their paired destination objects.
129
+
130
+ The default value is ** SIZE_LAST_MODIFIED_COMPARISON_OVERWRITE** . Changing this creates a new resource.
131
+
132
+ * ` consistency_check ` - (Optional, String, ForceNew) Specifies the consistency check method, which is used to check
133
+ whether objects are consistent before and after migration. All check methods take effect for only objects that are
134
+ in the same encryption status in the source and destination buckets. The check method and results will be recorded
135
+ in the object list. Value options are as follows:
136
+
137
+ + ** size_last_modified** : the system checks object consistency with object size and last modification time.
138
+ If a source object is as large as but was last modified earlier than its paired destination object, the system
139
+ considers the source object does not need to be migrated or has been already migrated successfully.
140
+
141
+ + ** crc64** : this option is only available for migration on Huawei Cloud or from Alibaba Cloud or Tencent Cloud. If
142
+ a source object and its paired destination object have CRC64 checksums, the checksums are checked. Otherwise, their
143
+ sizes and last modification times are checked.
144
+
145
+ + ** no_check** : this option is only available for migration of HTTP/HTTPS data. This option takes effect for source
146
+ objects whose sizes cannot be obtained using the content-length field in the standard HTTP protocol. These source
147
+ objects will overwrite their paired destination objects directly.
148
+ If the size of a source object can be obtained, its size and last modification time will be checked.
149
+
150
+ The default value is ** size_last_modified** . Changing this creates a new resource.
151
+
152
+ * ` enable_requester_pays ` - (Optional, Bool, ForceNew) Specifies whether to let the requester make payment.
153
+ After enabled, the requester pays the request and data transmission fees.
154
+ Default value: ** false** . Changing this creates a new resource.
155
+
156
+ * ` enable_metadata_migration ` - (Optional, Bool, ForceNew) Specifies whether metadata migration is enabled. Even if this
157
+ function is disabled, the ContentType metadata will still be migrated to ensure a successful migration.
158
+ Default value: ** false** . Changing this creates a new resource.
159
+
160
+ * ` task_priority ` - (Optional, String, ForceNew) Specifies the task priority.
161
+ The value can be ** HIGH** , ** MEDIUM** , or ** LOW** . Changing this creates a new resource.
162
+
163
+ * ` dst_storage_policy ` - (Optional, String, ForceNew) Specifies the destination storage class.
164
+ This parameter is required only when the destination is Huawei Cloud OBS. The default value is STANDARD.
165
+ + ** STANDARD** : OBS Standard storage.
166
+ + ** IA** : OBS Infrequent Access storage.
167
+ + ** ARCHIVE** : OBS Archive storage
168
+ + ** DEEP_ARCHIVE** : OBS Deep Archive storage
169
+ + ** SRC_STORAGE_MAPPING** : converts the source storage class into an OBS storage class based on the predefined rules.
170
+ Changing this creates a new resource.
171
+
110
172
<a name =" source_object_object " ></a >
111
173
The ` source_object ` block supports:
112
174
@@ -150,6 +212,12 @@ The `source_object` block supports:
150
212
* ` list_file_key ` - (Optional, String, ForceNew) Specifies the object name of the list file or URL list file.
151
213
` list_file_key ` is mandatory when ` type ` is set to ** list** or ** url_list** . Changing this creates a new resource.
152
214
215
+ * ` list_file_num ` - (Optional, String, ForceNew) Specifies the number of stored object list files.
216
+ Changing this creates a new resource.
217
+
218
+ * ` json_auth_file ` - (Optional, String, ForceNew) Specifies the file used for Google Cloud Storage authentication.
219
+ Changing this creates a new resource.
220
+
153
221
<a name =" destination_object_object " ></a >
154
222
The ` destination_object ` block supports:
155
223
@@ -216,6 +284,10 @@ The `smn_config` block supports:
216
284
* ` language ` - (Optional, String, ForceNew) Specifies the SMN message language. The value can be ** zh-cn** or
217
285
** en-us** . Default value: ** en-us** . Changing this creates a new resource.
218
286
287
+ * ` message_template_name ` - (Optional, String, ForceNew) Specifies the message template name.
288
+ If this parameter is specified, SMN messages are sent using the specified template.
289
+ Changing this creates a new resource.
290
+
219
291
## Attribute Reference
220
292
221
293
In addition to all arguments above, the following attributes are exported:
0 commit comments