EncryptionScope Class

The Encryption Scope resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.storage.v2021_09_01.models._models_py3.Resource
EncryptionScope

Constructor

EncryptionScope(*, source: str | _models.EncryptionScopeSource | None = None, state: str | _models.EncryptionScopeState | None = None, key_vault_properties: _models.EncryptionScopeKeyVaultProperties | None = None, require_infrastructure_encryption: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
source

The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Known values are: "Microsoft.Storage" and "Microsoft.KeyVault".

state

The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Known values are: "Enabled" and "Disabled".

key_vault_properties

The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.

require_infrastructure_encryption

A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

source

The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Known values are: "Microsoft.Storage" and "Microsoft.KeyVault".

state

The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Known values are: "Enabled" and "Disabled".

creation_time

Gets the creation date and time of the encryption scope in UTC.

last_modified_time

Gets the last modification date and time of the encryption scope in UTC.

key_vault_properties

The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.

require_infrastructure_encryption

A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.