import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get custom image. * * Uses Azure REST API version 2018-09-15. */ export declare function getCustomImage(args: GetCustomImageArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetCustomImageArgs { /** * Specify the $expand query. Example: 'properties($select=vm)' */ expand?: string; /** * The name of the lab. */ labName: string; /** * The name of the CustomImage */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * A custom image. */ export interface GetCustomImageResult { /** * The author of the custom image. */ readonly author?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The creation date of the custom image. */ readonly creationDate: string; /** * Storage information about the plan related to this custom image */ readonly customImagePlan?: outputs.devtestlab.CustomImagePropertiesFromPlanResponse; /** * Storage information about the data disks present in the custom image */ readonly dataDiskStorageInfo?: outputs.devtestlab.DataDiskStorageTypeInfoResponse[]; /** * The description of the custom image. */ readonly description?: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment */ readonly isPlanAuthorized?: boolean; /** * The geo-location where the resource lives */ readonly location?: string; /** * The Managed Image Id backing the custom image. */ readonly managedImageId?: string; /** * The Managed Snapshot Id backing the custom image. */ readonly managedSnapshotId?: string; /** * The name of the resource */ readonly name: string; /** * The provisioning status of the resource. */ readonly provisioningState: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.devtestlab.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * The unique immutable identifier of a resource (Guid). */ readonly uniqueIdentifier: string; /** * The VHD from which the image is to be created. */ readonly vhd?: outputs.devtestlab.CustomImagePropertiesCustomResponse; /** * The virtual machine from which the image is to be created. */ readonly vm?: outputs.devtestlab.CustomImagePropertiesFromVmResponse; } /** * Get custom image. * * Uses Azure REST API version 2018-09-15. */ export declare function getCustomImageOutput(args: GetCustomImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetCustomImageOutputArgs { /** * Specify the $expand query. Example: 'properties($select=vm)' */ expand?: pulumi.Input; /** * The name of the lab. */ labName: pulumi.Input; /** * The name of the CustomImage */ name: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; } //# sourceMappingURL=getCustomImage.d.ts.map