Class GetSharedImageVersions
Inheritance
System.Object
GetSharedImageVersions
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()
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public static class GetSharedImageVersions
Methods
View SourceInvokeAsync(GetSharedImageVersionsArgs, InvokeOptions)
Use this data source to access information about existing Versions of a Shared Image within a Shared Image Gallery.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.Compute.GetSharedImageVersions.InvokeAsync(new Azure.Compute.GetSharedImageVersionsArgs
{
GalleryName = "my-image-gallery",
ImageName = "my-image",
ResourceGroupName = "example-resources",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetSharedImageVersionsResult> InvokeAsync(GetSharedImageVersionsArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSharedImageVersionsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetSharedImageVersionsResult> |