import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Managed Disk. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const existing = azure.compute.getManagedDisks({ * resourceGroupName: "example-resources", * }); * export const firstDiskId = existingAzurermManagedDisk.disk[0].id; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2023-04-02 */ export declare function getManagedDisks(args: GetManagedDisksArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDisks. */ export interface GetManagedDisksArgs { /** * Specifies the name of the Resource Group where this Managed Disk exists. */ resourceGroupName: string; } /** * A collection of values returned by getManagedDisks. */ export interface GetManagedDisksResult { /** * a `disk` block as detailed below. */ readonly disks: outputs.compute.GetManagedDisksDisk[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly resourceGroupName: string; } /** * Use this data source to access information about an existing Managed Disk. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const existing = azure.compute.getManagedDisks({ * resourceGroupName: "example-resources", * }); * export const firstDiskId = existingAzurermManagedDisk.disk[0].id; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2023-04-02 */ export declare function getManagedDisksOutput(args: GetManagedDisksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDisks. */ export interface GetManagedDisksOutputArgs { /** * Specifies the name of the Resource Group where this Managed Disk exists. */ resourceGroupName: pulumi.Input; }