1. Packages
  2. Yandex
  3. API Docs
  4. getComputeImage
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.getComputeImage

Explore with Pulumi AI

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

    Using getComputeImage

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getComputeImage(args: GetComputeImageArgs, opts?: InvokeOptions): Promise<GetComputeImageResult>
    function getComputeImageOutput(args: GetComputeImageOutputArgs, opts?: InvokeOptions): Output<GetComputeImageResult>
    def get_compute_image(family: Optional[str] = None,
                          folder_id: Optional[str] = None,
                          image_id: Optional[str] = None,
                          name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetComputeImageResult
    def get_compute_image_output(family: Optional[pulumi.Input[str]] = None,
                          folder_id: Optional[pulumi.Input[str]] = None,
                          image_id: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetComputeImageResult]
    func LookupComputeImage(ctx *Context, args *LookupComputeImageArgs, opts ...InvokeOption) (*LookupComputeImageResult, error)
    func LookupComputeImageOutput(ctx *Context, args *LookupComputeImageOutputArgs, opts ...InvokeOption) LookupComputeImageResultOutput

    > Note: This function is named LookupComputeImage in the Go SDK.

    public static class GetComputeImage 
    {
        public static Task<GetComputeImageResult> InvokeAsync(GetComputeImageArgs args, InvokeOptions? opts = null)
        public static Output<GetComputeImageResult> Invoke(GetComputeImageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetComputeImageResult> getComputeImage(GetComputeImageArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: yandex:index/getComputeImage:getComputeImage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Family string
    The family name of an image. Used to search the latest image in a family.
    FolderId string
    Folder that the resource belongs to. If value is omitted, the default provider folder is used.
    ImageId string
    The ID of a specific image.
    Name string
    The name of the image.
    Family string
    The family name of an image. Used to search the latest image in a family.
    FolderId string
    Folder that the resource belongs to. If value is omitted, the default provider folder is used.
    ImageId string
    The ID of a specific image.
    Name string
    The name of the image.
    family String
    The family name of an image. Used to search the latest image in a family.
    folderId String
    Folder that the resource belongs to. If value is omitted, the default provider folder is used.
    imageId String
    The ID of a specific image.
    name String
    The name of the image.
    family string
    The family name of an image. Used to search the latest image in a family.
    folderId string
    Folder that the resource belongs to. If value is omitted, the default provider folder is used.
    imageId string
    The ID of a specific image.
    name string
    The name of the image.
    family str
    The family name of an image. Used to search the latest image in a family.
    folder_id str
    Folder that the resource belongs to. If value is omitted, the default provider folder is used.
    image_id str
    The ID of a specific image.
    name str
    The name of the image.
    family String
    The family name of an image. Used to search the latest image in a family.
    folderId String
    Folder that the resource belongs to. If value is omitted, the default provider folder is used.
    imageId String
    The ID of a specific image.
    name String
    The name of the image.

    getComputeImage Result

    The following output properties are available:

    CreatedAt string
    Image creation timestamp.
    Description string
    An optional description of this image.
    Family string
    The OS family name of the image.
    FolderId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageId string
    Labels Dictionary<string, string>
    A map of labels applied to this image.
    MinDiskSize int
    Minimum size of the disk which is created from this image.
    Name string
    OsType string
    Operating system type that the image contains.
    Pooled bool
    Optimize the image to create a disk.
    ProductIds List<string>
    License IDs that indicate which licenses are attached to this image.
    Size int
    The size of the image, specified in Gb.
    Status string
    The status of the image.
    CreatedAt string
    Image creation timestamp.
    Description string
    An optional description of this image.
    Family string
    The OS family name of the image.
    FolderId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageId string
    Labels map[string]string
    A map of labels applied to this image.
    MinDiskSize int
    Minimum size of the disk which is created from this image.
    Name string
    OsType string
    Operating system type that the image contains.
    Pooled bool
    Optimize the image to create a disk.
    ProductIds []string
    License IDs that indicate which licenses are attached to this image.
    Size int
    The size of the image, specified in Gb.
    Status string
    The status of the image.
    createdAt String
    Image creation timestamp.
    description String
    An optional description of this image.
    family String
    The OS family name of the image.
    folderId String
    id String
    The provider-assigned unique ID for this managed resource.
    imageId String
    labels Map<String,String>
    A map of labels applied to this image.
    minDiskSize Integer
    Minimum size of the disk which is created from this image.
    name String
    osType String
    Operating system type that the image contains.
    pooled Boolean
    Optimize the image to create a disk.
    productIds List<String>
    License IDs that indicate which licenses are attached to this image.
    size Integer
    The size of the image, specified in Gb.
    status String
    The status of the image.
    createdAt string
    Image creation timestamp.
    description string
    An optional description of this image.
    family string
    The OS family name of the image.
    folderId string
    id string
    The provider-assigned unique ID for this managed resource.
    imageId string
    labels {[key: string]: string}
    A map of labels applied to this image.
    minDiskSize number
    Minimum size of the disk which is created from this image.
    name string
    osType string
    Operating system type that the image contains.
    pooled boolean
    Optimize the image to create a disk.
    productIds string[]
    License IDs that indicate which licenses are attached to this image.
    size number
    The size of the image, specified in Gb.
    status string
    The status of the image.
    created_at str
    Image creation timestamp.
    description str
    An optional description of this image.
    family str
    The OS family name of the image.
    folder_id str
    id str
    The provider-assigned unique ID for this managed resource.
    image_id str
    labels Mapping[str, str]
    A map of labels applied to this image.
    min_disk_size int
    Minimum size of the disk which is created from this image.
    name str
    os_type str
    Operating system type that the image contains.
    pooled bool
    Optimize the image to create a disk.
    product_ids Sequence[str]
    License IDs that indicate which licenses are attached to this image.
    size int
    The size of the image, specified in Gb.
    status str
    The status of the image.
    createdAt String
    Image creation timestamp.
    description String
    An optional description of this image.
    family String
    The OS family name of the image.
    folderId String
    id String
    The provider-assigned unique ID for this managed resource.
    imageId String
    labels Map<String>
    A map of labels applied to this image.
    minDiskSize Number
    Minimum size of the disk which is created from this image.
    name String
    osType String
    Operating system type that the image contains.
    pooled Boolean
    Optimize the image to create a disk.
    productIds List<String>
    License IDs that indicate which licenses are attached to this image.
    size Number
    The size of the image, specified in Gb.
    status String
    The status of the image.

    Package Details

    Repository
    Yandex pulumi/pulumi-yandex
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi