import * as pulumi from "@pulumi/pulumi"; /** * Manages a Storage Encryption Scope. * * > **Note:** Storage Encryption Scopes are in Preview [more information can be found here](https://docs.microsoft.com/azure/storage/blobs/encryption-scope-manage). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAccount = new azure.storage.Account("example", { * name: "examplesa", * resourceGroupName: example.name, * location: example.location, * accountTier: "Standard", * accountReplicationType: "LRS", * identity: { * type: "SystemAssigned", * }, * }); * const exampleEncryptionScope = new azure.storage.EncryptionScope("example", { * name: "microsoftmanaged", * storageAccountId: exampleAccount.id, * source: "Microsoft.Storage", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Storage` - 2025-06-01 * * ## Import * * Storage Encryption Scopes can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:storage/encryptionScope:EncryptionScope example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Storage/storageAccounts/account1/encryptionScopes/scope1 * ``` */ export declare class EncryptionScope extends pulumi.CustomResource { /** * Get an existing EncryptionScope resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EncryptionScopeState, opts?: pulumi.CustomResourceOptions): EncryptionScope; /** * Returns true if the given object is an instance of EncryptionScope. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EncryptionScope; /** * Is a secondary layer of encryption with Platform Managed Keys for data applied? Changing this forces a new resource to be created. */ readonly infrastructureEncryptionRequired: pulumi.Output; /** * The ID of the Key Vault Key. Required when `source` is `Microsoft.KeyVault`. */ readonly keyVaultKeyId: pulumi.Output; /** * The name which should be used for this Storage Encryption Scope. Changing this forces a new Storage Encryption Scope to be created. */ readonly name: pulumi.Output; /** * The source of the Storage Encryption Scope. Possible values are `Microsoft.KeyVault` and `Microsoft.Storage`. */ readonly source: pulumi.Output; /** * The ID of the Storage Account where this Storage Encryption Scope is created. Changing this forces a new Storage Encryption Scope to be created. */ readonly storageAccountId: pulumi.Output; /** * Create a EncryptionScope resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EncryptionScopeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EncryptionScope resources. */ export interface EncryptionScopeState { /** * Is a secondary layer of encryption with Platform Managed Keys for data applied? Changing this forces a new resource to be created. */ infrastructureEncryptionRequired?: pulumi.Input; /** * The ID of the Key Vault Key. Required when `source` is `Microsoft.KeyVault`. */ keyVaultKeyId?: pulumi.Input; /** * The name which should be used for this Storage Encryption Scope. Changing this forces a new Storage Encryption Scope to be created. */ name?: pulumi.Input; /** * The source of the Storage Encryption Scope. Possible values are `Microsoft.KeyVault` and `Microsoft.Storage`. */ source?: pulumi.Input; /** * The ID of the Storage Account where this Storage Encryption Scope is created. Changing this forces a new Storage Encryption Scope to be created. */ storageAccountId?: pulumi.Input; } /** * The set of arguments for constructing a EncryptionScope resource. */ export interface EncryptionScopeArgs { /** * Is a secondary layer of encryption with Platform Managed Keys for data applied? Changing this forces a new resource to be created. */ infrastructureEncryptionRequired?: pulumi.Input; /** * The ID of the Key Vault Key. Required when `source` is `Microsoft.KeyVault`. */ keyVaultKeyId?: pulumi.Input; /** * The name which should be used for this Storage Encryption Scope. Changing this forces a new Storage Encryption Scope to be created. */ name?: pulumi.Input; /** * The source of the Storage Encryption Scope. Possible values are `Microsoft.KeyVault` and `Microsoft.Storage`. */ source: pulumi.Input; /** * The ID of the Storage Account where this Storage Encryption Scope is created. Changing this forces a new Storage Encryption Scope to be created. */ storageAccountId: pulumi.Input; }