import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about a Platform Image. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getPlatformImage({ * location: "West Europe", * publisher: "Canonical", * offer: "0001-com-ubuntu-server-focal", * sku: "20_04-lts", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2024-03-01 */ export declare function getPlatformImage(args: GetPlatformImageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPlatformImage. */ export interface GetPlatformImageArgs { /** * Specifies the Location to pull information about this Platform Image from. */ location: string; /** * Specifies the Offer associated with the Platform Image. */ offer: string; /** * Specifies the Publisher associated with the Platform Image. */ publisher: string; /** * Specifies the SKU of the Platform Image. */ sku: string; /** * The version of the Platform Image. */ version?: string; } /** * A collection of values returned by getPlatformImage. */ export interface GetPlatformImageResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly offer: string; readonly publisher: string; readonly sku: string; readonly version: string; } /** * Use this data source to access information about a Platform Image. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getPlatformImage({ * location: "West Europe", * publisher: "Canonical", * offer: "0001-com-ubuntu-server-focal", * sku: "20_04-lts", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2024-03-01 */ export declare function getPlatformImageOutput(args: GetPlatformImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPlatformImage. */ export interface GetPlatformImageOutputArgs { /** * Specifies the Location to pull information about this Platform Image from. */ location: pulumi.Input; /** * Specifies the Offer associated with the Platform Image. */ offer: pulumi.Input; /** * Specifies the Publisher associated with the Platform Image. */ publisher: pulumi.Input; /** * Specifies the SKU of the Platform Image. */ sku: pulumi.Input; /** * The version of the Platform Image. */ version?: pulumi.Input; }