Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.
- What's New
- Function Overview
- Service Overview
- Getting Started
- User Guide
-
Best Practices
- Overview
- Automatically Checking for and Retrying Failed Migration Tasks
- Cutover Migration
- Special Migration Scenarios
-
Migration from Other Clouds to Huawei Cloud
- Migrating Data Between Huawei Cloud OBS Buckets
- Migrating Data from Huawei Cloud PFS to Huawei Cloud OBS or Between PFS Systems
- Migrating Data from Alibaba Cloud OSS to Huawei Cloud OBS
- Migrating Data from Tencent Cloud COS to Huawei Cloud OBS
- Migrating Data from UCloud US3 to Huawei Cloud OBS
- Migrating Data from Kingsoft Cloud KS3 to Huawei Cloud OBS
- Migrating Data from QingCloud QingStor to Huawei Cloud OBS
- Migrating Data from Google Cloud Storage to Huawei Cloud OBS
- Migrating Data from Amazon S3 to Huawei Cloud OBS
- Migrating Data from Azure Blob Storage to Huawei Cloud OBS
- Migrating Data from HTTP/HTTPS Sources to Huawei Cloud OBS
-
Archive Data Migration
- Migrating Archived Data in Huawei Cloud OBS
- Migrating Archived Data in Alibaba Cloud OSS
- Migrating Archived Data in Tencent Cloud COS
- Migrating Archived Data in Kingsoft Cloud KS3
- Migrating Archived Data in UCloud US3
- Migrating Archived Data in Amazon S3
- Migrating Archived Data in Azure Blob Storage
- API Reference
-
FAQs
- Question Summary
-
Product Consulting
- When Do I Need to Perform Pre-migration Evaluation Before Creating Migration Tasks?
- How Do I Migrate OBS Bucket Data from One Region to Another?
- How Do I Migrate the OBS Bucket Data from One Account to Another?
- How Do I Migrate Data from Multiple Source Buckets to a Single OBS Bucket on Huawei Cloud?
- How Do I Migrate Data in the Root Directory?
- How Does Migration Affect My Source Data? What Are the Impacts on Migration If the Source Data Changes?
- How Do I Change the Storage Path of a Migrated Object?
- How Do I Migrate Incremental Source Data and How Does OMS Ensure Data Consistency?
- How Do I Obtain Required Permissions for the Source and Destination Platform Accounts?
- How Do I Review the Objects Migrated in a Migration Task?
- How Do I Review the Objects Migrated in a Migration Task Group?
- Can OMS Only Migrate the Data Generated After a Specified Time?
- Can OMS Filter the Data to Be Migrated by Suffix?
- What Is the Storage Class of Archive Data Migrated to the Archive Destination Bucket?
- What Are the Application Scenarios of Migration Tasks and Migration Task Groups?
- How Does OMS Ensure Data Consistency Between the Source and Destination Buckets?
- Why Is the Total Number or Size of Objects in the Destination Bucket Inconsistent with Those in the Source Bucket After the Migration?
- How Does the Migration Affect Data in the Destination Bucket?
- Why Are the Migration Progress and the Transmitted Data Volume 0 After the Migration Is Complete?
- How Do I Choose Storage Classes?
-
Migration Constraints
- What Are the Constraints on Migrating Data to a Parallel File System with OMS?
- What Are the Restrictions on Migrating Data in a Parallel File System?
- How Do I Fix the Error "Destination bucket must be in the same region as OMS. Select a bucket that is located in region xxx, or change the OMS region to xxx" When I Create a Migration Task?
- Migration Duration
-
Exception Recovery
- What Can I Do If Migration Tasks Fail To Be Created After Evaluation?
- What Can I Do If the Migration Fails Because the Frequency of Accessing the Source Object Storage Exceeded the Upper Limit?
- What Can I Do If a Migration Task Fails?
- What Can I Do If a Migration Task Group Fails to Be Executed?
- What Do I Do If SMN Does Not Work Properly?
- What Do I Do If a Migration Task Fails Due to an Inconsistent Encryption Attribute?
- What Can I Do If the Migration Task Failed Due to an Archive Data Read Failure?
- What Problems May I Encounter If CDN Is Enabled at the Source?
- What Do I Do If All Objects Whose Names Contain Slashes (/) Fail to be Migrated from Alibaba Cloud?
- How Do I Resolve the Error "Failed to access the object. Make sure that the object exists and you have the rights to access" When I Enter Object Prefixes?
- What Can I Do If Consistency Checks Fail During the Migration of Data in a Parallel File System?
- What Can I Do If the Migration Failed Because the Objects Cannot Be Downloaded from the Source Bucket?
- What Can I Do If a Migration Task Failed Due to Transmission Interruptions?
Updating the Traffic Limiting Rules of a Migration Task
Function
This API is used to update the traffic limiting rules for a migration task before it is completed.
Calling Method
For details, see Calling APIs.
URI
PUT /v2/{project_id}/tasks/{task_id}/bandwidth-policy
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
The project ID. Minimum length: 1 character Maximum length: 1,024 characters |
task_id |
Yes |
String |
The task ID. Minimum length: 1 character Maximum length: 1,024 characters |
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
The token used for IAM authentication. Minimum length: 1 character Maximum length: 16,384 characters |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
bandwidth_policy |
Yes |
Array of BandwidthPolicyDto objects |
The traffic limiting rules. Each element in the array corresponds to the maximum bandwidth in a time period. A maximum of five periods are allowed, and the periods cannot overlap. Array length: 0 to 5 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
end |
Yes |
String |
The end time of the traffic limiting rule. The format is hh:mm, for example, 12:03. |
max_bandwidth |
Yes |
Long |
The maximum traffic bandwidth allowed in the specified time period. The unit is byte/s. The value ranges from 1,048,576 bytes/s (equivalent to 1 MB/s) to 209,715,200 bytes/s (equivalent to 200 MB/s). Minimum value: 1048576 Maximum value: 209715200 |
start |
Yes |
String |
The start time of the traffic limiting rule. The format is hh:mm, for example, 12:03. |
Response
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
The error message. |
error_code |
String |
The error code. |
Example Request
This example sets the migration rate limit for the task whose ID is xxxxxxxx during the time period from 00:01 to 23:59 to 50 MB/s.
/v2/{project_id}/tasks/xxxxxxxx/bandwidth-policy { "bandwidth_policy" : [ { "start" : "00:01", "end" : "23:59", "max_bandwidth" : 50000000 } ] }
Example Response
None
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.