import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing 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.getSharedImage({ * name: "my-image", * galleryName: "my-image-gallery", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2022-03-03 */ export declare function getSharedImage(args: GetSharedImageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSharedImage. */ export interface GetSharedImageArgs { /** * The name of the Shared Image Gallery in which the Shared Image exists. */ galleryName: string; /** * The name of the Shared Image. */ name: string; /** * The name of the Resource Group in which the Shared Image Gallery exists. */ resourceGroupName: string; } /** * A collection of values returned by getSharedImage. */ export interface GetSharedImageResult { /** * Specifies if the Shared Image supports Accelerated Network. */ readonly acceleratedNetworkSupportEnabled: boolean; readonly architecture: string; /** * Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. */ readonly confidentialVmEnabled: boolean; /** * Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. */ readonly confidentialVmSupported: boolean; /** * The description of this Shared Image. */ readonly description: string; /** * The End User Licence Agreement for the Shared Image. */ readonly eula: string; readonly galleryName: string; /** * Specifies if the Shared Image supports hibernation. */ readonly hibernationEnabled: boolean; /** * The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. */ readonly hyperVGeneration: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identifier` block as defined below. */ readonly identifiers: outputs.compute.GetSharedImageIdentifier[]; /** * The supported Azure location where the Shared Image Gallery exists. */ readonly location: string; /** * (Required) The Purchase Plan Name for this Shared Image. */ readonly name: string; /** * The type of Operating System present in this Shared Image. */ readonly osType: string; /** * The URI containing the Privacy Statement for this Shared Image. */ readonly privacyStatementUri: string; /** * (Optional) A `purchasePlan` block as defined below. */ readonly purchasePlans: outputs.compute.GetSharedImagePurchasePlan[]; /** * The URI containing the Release Notes for this Shared Image. */ readonly releaseNoteUri: string; readonly resourceGroupName: string; /** * Specifies that the Operating System used inside this Image has not been Generalized (for example, `sysprep` on Windows has not been run). */ readonly specialized: boolean; /** * A mapping of tags assigned to the Shared Image. */ readonly tags: { [key: string]: string; }; /** * Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. */ readonly trustedLaunchEnabled: boolean; /** * Specifies if supports creation of both Trusted Launch virtual machines and Gen2 virtual machines with standard security created from the Shared Image. */ readonly trustedLaunchSupported: boolean; } /** * Use this data source to access information about an existing 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.getSharedImage({ * name: "my-image", * galleryName: "my-image-gallery", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2022-03-03 */ export declare function getSharedImageOutput(args: GetSharedImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSharedImage. */ export interface GetSharedImageOutputArgs { /** * The name of the Shared Image Gallery in which the Shared Image exists. */ galleryName: pulumi.Input; /** * The name of the Shared Image. */ name: pulumi.Input; /** * The name of the Resource Group in which the Shared Image Gallery exists. */ resourceGroupName: pulumi.Input; }