yandex.getComputeImage
Explore with Pulumi AI
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:
getComputeImage Result
The following output properties are available:
- Created
At string Image creation timestamp.
- Description string
An optional description of this image.
- Family string
The OS family name of the image.
- Folder
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Image
Id string - Labels Dictionary<string, string>
A map of labels applied to this image.
- Min
Disk intSize Minimum size of the disk which is created from this image.
- Name string
- Os
Type string Operating system type that the image contains.
- Pooled bool
Optimize the image to create a disk.
- Product
Ids 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.
- Created
At string Image creation timestamp.
- Description string
An optional description of this image.
- Family string
The OS family name of the image.
- Folder
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Image
Id string - Labels map[string]string
A map of labels applied to this image.
- Min
Disk intSize Minimum size of the disk which is created from this image.
- Name string
- Os
Type string Operating system type that the image contains.
- Pooled bool
Optimize the image to create a disk.
- Product
Ids []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.
- created
At String Image creation timestamp.
- description String
An optional description of this image.
- family String
The OS family name of the image.
- folder
Id String - id String
The provider-assigned unique ID for this managed resource.
- image
Id String - labels Map<String,String>
A map of labels applied to this image.
- min
Disk IntegerSize Minimum size of the disk which is created from this image.
- name String
- os
Type String Operating system type that the image contains.
- pooled Boolean
Optimize the image to create a disk.
- product
Ids 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.
- created
At string Image creation timestamp.
- description string
An optional description of this image.
- family string
The OS family name of the image.
- folder
Id string - id string
The provider-assigned unique ID for this managed resource.
- image
Id string - labels {[key: string]: string}
A map of labels applied to this image.
- min
Disk numberSize Minimum size of the disk which is created from this image.
- name string
- os
Type string Operating system type that the image contains.
- pooled boolean
Optimize the image to create a disk.
- product
Ids 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_ intsize 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.
- created
At String Image creation timestamp.
- description String
An optional description of this image.
- family String
The OS family name of the image.
- folder
Id String - id String
The provider-assigned unique ID for this managed resource.
- image
Id String - labels Map<String>
A map of labels applied to this image.
- min
Disk NumberSize Minimum size of the disk which is created from this image.
- name String
- os
Type String Operating system type that the image contains.
- pooled Boolean
Optimize the image to create a disk.
- product
Ids 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.