import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about existing Versions of a Shared Image within a Shared Image Gallery. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getSharedImageVersions({ * imageName: "my-image", * galleryName: "my-image-gallery", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2023-07-03 */ export declare function getSharedImageVersions(args: GetSharedImageVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSharedImageVersions. */ export interface GetSharedImageVersionsArgs { /** * The name of the Shared Image in which the Shared Image exists. */ galleryName: string; /** * The name of the Shared Image in which this Version exists. */ imageName: string; /** * The name of the Resource Group in which the Shared Image Gallery exists. */ resourceGroupName: string; /** * A mapping of tags to filter the list of images against. */ tagsFilter?: { [key: string]: string; }; } /** * A collection of values returned by getSharedImageVersions. */ export interface GetSharedImageVersionsResult { readonly galleryName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly imageName: string; /** * An `images` block as defined below: */ readonly images: outputs.compute.GetSharedImageVersionsImage[]; readonly resourceGroupName: string; readonly tagsFilter?: { [key: string]: string; }; } /** * Use this data source to access information about existing Versions of a Shared Image within a Shared Image Gallery. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getSharedImageVersions({ * imageName: "my-image", * galleryName: "my-image-gallery", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2023-07-03 */ export declare function getSharedImageVersionsOutput(args: GetSharedImageVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSharedImageVersions. */ export interface GetSharedImageVersionsOutputArgs { /** * The name of the Shared Image in which the Shared Image exists. */ galleryName: pulumi.Input; /** * The name of the Shared Image in which this Version exists. */ imageName: pulumi.Input; /** * The name of the Resource Group in which the Shared Image Gallery exists. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to filter the list of images against. */ tagsFilter?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }