Class ImageState
Inheritance
System.Object
ImageState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ImageState : ResourceArgs
Constructors
View Source
ImageState()
Declaration
Properties
View Source
Architecture
Specifies the architecture of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: i386 , Default is x86_64.
Declaration
public Input<string> Architecture { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Description
The description of the image. It must be 2 to 256 characters in length and must not start with http:// or https://. Default value: null.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DiskDeviceMappings
Description of the system with disks and snapshots under the image.
Declaration
public InputList<ImageDiskDeviceMappingGetArgs> DiskDeviceMappings { get; set; }
Property Value
View Source
Force
Indicates whether to force delete the custom image, Default is false.
- true:Force deletes the custom image, regardless of whether the image is currently being used by other instances.
- false:Verifies that the image is not currently in use by any other instances before deleting the image.
Declaration
public Input<bool> Force { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ImageName
The image name. It must be 2 to 128 characters in length, and must begin with a letter or Chinese character (beginning with http:// or https:// is not allowed). It can contain digits, colons (:), underscores (_), or hyphens (-). Default value: null.
Declaration
public Input<string> ImageName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceId
Declaration
public Input<string> InstanceId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Name
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Specifies the operating system platform of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: CentOS, Ubuntu, SUSE, OpenSUSE, RedHat, Debian, CoreOS, Aliyun Linux, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows 7, Default is Others Linux, Customized Linux.
Declaration
public Input<string> Platform { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ResourceGroupId
The ID of the enterprise resource group to which a custom image belongs
Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SnapshotId
Specifies a snapshot that is used to create a combined custom image.
Declaration
public Input<string> SnapshotId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
The tag value of an image. The value of N ranges from 1 to 20.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|