Class ImageImportState


  • public final class ImageImportState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • architecture

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> architecture()
        Returns:
        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`.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Description of the image. The length is 2 to 256 English or Chinese characters, and cannot begin with http: // and https: //.
      • diskDeviceMappings

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ImageImportDiskDeviceMappingArgs>>> diskDeviceMappings()
        Returns:
        Description of the system with disks and snapshots under the image.
      • imageName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageName()
        Returns:
        The image name. The length is 2 ~ 128 English or Chinese characters. Must start with a english letter or Chinese, and cannot start with http: // and https: //. Can contain numbers, colons (:), underscores (_), or hyphens (-).
      • licenseType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> licenseType()
        Returns:
        The type of the license used to activate the operating system after the image is imported. Default value: `Auto`. Valid values: `Auto`,`Aliyun`,`BYOL`.
      • osType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> osType()
        Returns:
        Operating system platform type. Valid values: `windows`, Default is `linux`.
      • platform

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platform()
        Returns:
        The operating system distribution. Default value: Others Linux. More valid values refer to [ImportImage OpenAPI](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/importimage). **NOTE**: It's default value is Ubuntu before version 1.197.0.