Update the protocols of images to Adaptive Streaming Protocol (ASP).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:MigrateImageProtocol |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| TargetProtocolType |
string |
No |
The protocol to which you want to update the image protocols. Set the value to ASP. Valid values:
|
ASP |
| ImageId |
array |
Yes |
The image IDs. |
|
|
string |
No |
The image ID. |
m-gqudcafrqcex9**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4D4E5AF5-DF28-5FE7-85C7-9F98315B**** |
| FailedIds |
array |
The IDs of the images whose protocols failed to be updated. |
|
|
string |
The ID of the image whose protocol failed to be updated. |
['m-5rsjelm66bs3j****'] |
Examples
Success response
JSON format
{
"RequestId": "4D4E5AF5-DF28-5FE7-85C7-9F98315B****",
"FailedIds": [
"['m-5rsjelm66bs3j****']"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.