import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get disk. * * Uses Azure REST API version 2018-09-15. */ export declare function getDisk(args: GetDiskArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDiskArgs { /** * Specify the $expand query. Example: 'properties($select=diskType)' */ expand?: string; /** * The name of the lab. */ labName: string; /** * The name of the disk. */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the user profile. */ userName: string; } /** * A Disk. */ export interface GetDiskResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The creation date of the disk. */ readonly createdDate: string; /** * When backed by a blob, the name of the VHD blob without extension. */ readonly diskBlobName?: string; /** * The size of the disk in Gibibytes. */ readonly diskSizeGiB?: number; /** * The storage type for the disk (i.e. Standard, Premium). */ readonly diskType?: string; /** * When backed by a blob, the URI of underlying blob. */ readonly diskUri?: string; /** * The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite). */ readonly hostCaching?: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The resource ID of the VM to which this disk is leased. */ readonly leasedByLabVmId?: string; /** * The geo-location where the resource lives */ readonly location?: string; /** * When backed by managed disk, this is the ID of the compute disk resource. */ readonly managedDiskId?: string; /** * The name of the resource */ readonly name: string; /** * The provisioning status of the resource. */ readonly provisioningState: string; /** * When backed by a blob, the storage account where the blob is. */ readonly storageAccountId?: 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; } /** * Get disk. * * Uses Azure REST API version 2018-09-15. */ export declare function getDiskOutput(args: GetDiskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetDiskOutputArgs { /** * Specify the $expand query. Example: 'properties($select=diskType)' */ expand?: pulumi.Input; /** * The name of the lab. */ labName: pulumi.Input; /** * The name of the disk. */ name: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * The name of the user profile. */ userName: pulumi.Input; } //# sourceMappingURL=getDisk.d.ts.map