Copies an ECS image across regions.
Description
Copies an image across regions.
Syntax
Action: ACS::ECS::CopyImage
Properties:
imageId: String
regionId: String
targetRegionId: String
targetImageName: String
encrypted: Boolean
KMSKeyId: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
imageId |
The image ID. |
String |
Yes |
||
|
regionId |
The ID of the source region. |
String |
Yes |
Maximum length: 30 characters Minimum length: 1 character |
|
|
targetRegionId |
The ID of the destination region. |
String |
Yes |
Maximum length: 30 characters Minimum length: 1 character |
|
|
targetImageName |
The name for the copied image. |
String |
No |
{{ imageId }}-{{ACS::ExecutionId}} |
|
|
encrypted |
Whether to encrypt the image after copying. |
Boolean |
No |
False |
|
|
KMSKeyId |
The ID of the key used to encrypt the copied image. |
String |
No |
Output
|
Output item |
Description |
Type |
|
imageId |
String |
References
For more information, see ACS::ECS::CopyImage.yml at GitHub.
该文章对您有帮助吗?