ImageProps
Properties for defining a Image
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-image
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ens;
new ImageProps {
object ImageName,
object DeleteAfterImageUpload = null,
object InstanceId = null
};
Properties
Name | Type | Description |
---|---|---|
ImageName |
object |
Property imageName: The name of the image. |
DeleteAfterImageUpload |
object |
Property deleteAfterImageUpload: Whether the instance is automatically released after the image is packaged and uploaded successfully, only the build machine is supported. |
InstanceId |
object |
Property instanceId: The ID of the instance corresponding to the image. |
ImageName
Required
public object ImageName { get; set; }
- Type: object
Property imageName: The name of the image.
The name must be 2 to 128 characters in length. The name can contain letters, digits, colons (:), underscores (), and hyphens (-). It must start with a letter but cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (), and hyphens (-).
DeleteAfterImageUpload
Optional
public object DeleteAfterImageUpload { get; set; }
- Type: object
Property deleteAfterImageUpload: Whether the instance is automatically released after the image is packaged and uploaded successfully, only the build machine is supported.
Optional values: true: When the instance is released, the image is released together with the instance. false: When the instance is released, the image is retained and is not released together with the instance. Empty means false by default.
InstanceId
Optional
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the instance corresponding to the image.