github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/alicloud/d/images.html.markdown (about)

     1  ---
     2  layout: "alicloud"
     3  page_title: "Alicloud: alicloud_images"
     4  sidebar_current: "docs-alicloud-datasource-images"
     5  description: |-
     6      Provides a list of images available to the user.
     7  ---
     8  
     9  # alicloud_images
    10  
    11  The Images data source list image resource list contains private images of the user and images of system resources provided by Alicloud, as well as other public images and those available on the image market.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  data "alicloud_images" "multi_image" {
    17    owners     = "system"
    18    name_regex = "^centos_6"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `name_regex` - (Optional) A regex string to apply to the image list returned by Alicloud.
    27  * `most_recent` - (Optional) If more than one result is returned, use the most recent image.
    28  * `owners` - (Optional) Limit search to specific image owners. Valid items are `system`, `self`, `others`, `marketplace`.
    29  
    30  ## Attributes Reference
    31  
    32  The following attributes are exported:
    33  
    34  * `id` - ID of the image.
    35  * `architecture` - Platform type of the image system:i386 | x86_64.
    36  * `creation_time` - Time of creation.
    37  * `description` - Description of the image.
    38  * `image_owner_alias` - Alias of the image owner.
    39  * `os_name` - Display name of the OS.
    40  * `status` - Status of the image, with possible values: `UnAvailable`, `Available`, `Creating` or `CreateFailed`.
    41  * `size` - Size of the image.
    42  * `disk_device_mappings` - Description of the system with disks and snapshots under an image.
    43    * `device` - Device information of the created disk: such as /dev/xvdb.
    44    * `size` - Size of the created disk.
    45    * `snapshot_id` - Snapshot ID.
    46  * `product_code` - Product code of the image on the image market.
    47  * `is_subscribed` - Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
    48  * `image_version` - Version of the image.
    49  * `progress` - Progress of image creation, presented in percentages.