import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Storage Encryption Scope. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.storage.getAccount({ * name: "storageaccountname", * resourceGroupName: "resourcegroupname", * }); * const exampleGetEncryptionScope = example.then(example => azure.storage.getEncryptionScope({ * name: "existingStorageES", * storageAccountId: example.id, * })); * export const id = exampleGetEncryptionScope.then(exampleGetEncryptionScope => exampleGetEncryptionScope.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Storage` - 2025-06-01 */ export declare function getEncryptionScope(args: GetEncryptionScopeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEncryptionScope. */ export interface GetEncryptionScopeArgs { /** * The name of this Storage Encryption Scope. */ name: string; /** * The ID of the Storage Account where this Storage Encryption Scope exists. */ storageAccountId: string; } /** * A collection of values returned by getEncryptionScope. */ export interface GetEncryptionScopeResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of the Key Vault Key. */ readonly keyVaultKeyId: string; readonly name: string; /** * The source of the Storage Encryption Scope. */ readonly source: string; readonly storageAccountId: string; } /** * Use this data source to access information about an existing Storage Encryption Scope. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.storage.getAccount({ * name: "storageaccountname", * resourceGroupName: "resourcegroupname", * }); * const exampleGetEncryptionScope = example.then(example => azure.storage.getEncryptionScope({ * name: "existingStorageES", * storageAccountId: example.id, * })); * export const id = exampleGetEncryptionScope.then(exampleGetEncryptionScope => exampleGetEncryptionScope.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Storage` - 2025-06-01 */ export declare function getEncryptionScopeOutput(args: GetEncryptionScopeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEncryptionScope. */ export interface GetEncryptionScopeOutputArgs { /** * The name of this Storage Encryption Scope. */ name: pulumi.Input; /** * The ID of the Storage Account where this Storage Encryption Scope exists. */ storageAccountId: pulumi.Input; }