Skip to content

CopyImageProps

Properties for defining a CopyImage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-copyimage

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new CopyImageProps {
    object DestinationRegionId,
    object ImageId,
    object AllowCopyInSameRegion = null,
    object DestinationDescription = null,
    object DestinationImageName = null,
    object Encrypted = null,
    object KmsKeyId = null,
    object ResourceGroupId = null,
    object SourceRegionId = null,
    object Tag = null
};

Properties

Name Type Description
DestinationRegionId object Property destinationRegionId: ID of the region to where the destination custom image belongs.
ImageId object Property imageId: ID of the source custom image.
AllowCopyInSameRegion object Property allowCopyInSameRegion: Whether to allow copying images in the same region.
DestinationDescription object Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.
DestinationImageName object 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 object Property encrypted: Whether to encrypt the image.
KmsKeyId object Property kmsKeyId: The ID of the key used to encrypt the image.
ResourceGroupId object Property resourceGroupId: The ID of the resource group to which the image copy belongs.
SourceRegionId object Property sourceRegionId: ID of the region to where the source image belongs.
Tag object Property tag:.

DestinationRegionIdRequired

public object DestinationRegionId { get; set; }
  • Type: object

Property destinationRegionId: ID of the region to where the destination custom image belongs.


ImageIdRequired

public object ImageId { get; set; }
  • Type: object

Property imageId: ID of the source custom image.


AllowCopyInSameRegionOptional

public object AllowCopyInSameRegion { get; set; }
  • Type: object

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.


DestinationDescriptionOptional

public object DestinationDescription { get; set; }
  • Type: object

Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.


DestinationImageNameOptional

public object DestinationImageName { get; set; }
  • Type: object

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.


EncryptedOptional

public object Encrypted { get; set; }
  • Type: object

Property encrypted: Whether to encrypt the image.


KmsKeyIdOptional

public object KmsKeyId { get; set; }
  • Type: object

Property kmsKeyId: The ID of the key used to encrypt the image.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

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.


SourceRegionIdOptional

public object SourceRegionId { get; set; }
  • Type: object

Property sourceRegionId: ID of the region to where the source image belongs.

Default is current region ID.


TagOptional

public object Tag { get; set; }
  • Type: object

Property tag:.