import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Disk Encryption Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const existing = azure.compute.getDiskEncryptionSet({ * name: "example-des", * resourceGroupName: "example-resources", * }); * export const id = existing.then(existing => existing.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2022-03-02 */ export declare function getDiskEncryptionSet(args: GetDiskEncryptionSetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDiskEncryptionSet. */ export interface GetDiskEncryptionSetArgs { /** * The name of the existing Disk Encryption Set. */ name: string; /** * The name of the Resource Group where the Disk Encryption Set exists. */ resourceGroupName: string; } /** * A collection of values returned by getDiskEncryptionSet. */ export interface GetDiskEncryptionSetResult { /** * Is the Azure Disk Encryption Set Key automatically rotated to latest version? */ readonly autoKeyRotationEnabled: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.compute.GetDiskEncryptionSetIdentity[]; /** * The URL for the Key Vault Key or Key Vault Secret that is currently being used by the service. */ readonly keyVaultKeyUrl: string; /** * The location where the Disk Encryption Set exists. */ readonly location: string; readonly name: string; readonly resourceGroupName: string; /** * A mapping of tags assigned to the Disk Encryption Set. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Disk Encryption Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const existing = azure.compute.getDiskEncryptionSet({ * name: "example-des", * resourceGroupName: "example-resources", * }); * export const id = existing.then(existing => existing.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2022-03-02 */ export declare function getDiskEncryptionSetOutput(args: GetDiskEncryptionSetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDiskEncryptionSet. */ export interface GetDiskEncryptionSetOutputArgs { /** * The name of the existing Disk Encryption Set. */ name: pulumi.Input; /** * The name of the Resource Group where the Disk Encryption Set exists. */ resourceGroupName: pulumi.Input; }