CopyImageProps
Properties for defining a CopyImage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-copyimage
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.CopyImageProps {
DestinationRegionId: interface{},
ImageId: interface{},
AllowCopyInSameRegion: interface{},
DestinationDescription: interface{},
DestinationImageName: interface{},
Encrypted: interface{},
KmsKeyId: interface{},
ResourceGroupId: interface{},
SourceRegionId: interface{},
Tag: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DestinationRegionId |
interface{} |
Property destinationRegionId: ID of the region to where the destination custom image belongs. |
ImageId |
interface{} |
Property imageId: ID of the source custom image. |
AllowCopyInSameRegion |
interface{} |
Property allowCopyInSameRegion: Whether to allow copying images in the same region. |
DestinationDescription |
interface{} |
Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null. |
DestinationImageName |
interface{} |
Property destinationImageName: Name of the destination custom image.The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). Default value: null. |
Encrypted |
interface{} |
Property encrypted: Whether to encrypt the image. |
KmsKeyId |
interface{} |
Property kmsKeyId: The ID of the key used to encrypt the image. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group to which the image copy belongs. |
SourceRegionId |
interface{} |
Property sourceRegionId: ID of the region to where the source image belongs. |
Tag |
interface{} |
Property tag:. |
DestinationRegionId
Required
DestinationRegionId interface{}
- Type: interface{}
Property destinationRegionId: ID of the region to where the destination custom image belongs.
ImageId
Required
ImageId interface{}
- Type: interface{}
Property imageId: ID of the source custom image.
AllowCopyInSameRegion
Optional
AllowCopyInSameRegion interface{}
- Type: interface{}
Property allowCopyInSameRegion: Whether to allow copying images in the same region.
If set to true, the image will not be copied, the source image id will be returned, and the original image will not be deleted.
DestinationDescription
Optional
DestinationDescription interface{}
- Type: interface{}
Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.
DestinationImageName
Optional
DestinationImageName interface{}
- Type: interface{}
Property destinationImageName: Name of the destination custom image.The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). Default value: null.
Encrypted
Optional
Encrypted interface{}
- Type: interface{}
Property encrypted: Whether to encrypt the image.
KmsKeyId
Optional
KmsKeyId interface{}
- Type: interface{}
Property kmsKeyId: The ID of the key used to encrypt the image.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group to which the image copy belongs.
If not provided, the image copy belongs to the default resource group.
SourceRegionId
Optional
SourceRegionId interface{}
- Type: interface{}
Property sourceRegionId: ID of the region to where the source image belongs.
Default is current region ID.
Tag
Optional
Tag interface{}
- Type: interface{}
Property tag:.