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_02_01.models._models_py3.ResourceEncryptionScope
Constructor
EncryptionScope(*, source: Optional[Union[str, azure.mgmt.storage.v2021_02_01.models._storage_management_client_enums.EncryptionScopeSource]] = None, state: Optional[Union[str, azure.mgmt.storage.v2021_02_01.models._storage_management_client_enums.EncryptionScopeState]] = None, key_vault_properties: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.EncryptionScopeKeyVaultProperties] = None, require_infrastructure_encryption: Optional[bool] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- source
- str or EncryptionScopeSource
The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: "Microsoft.Storage", "Microsoft.KeyVault".
- state
- str or EncryptionScopeState
The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Possible values include: "Enabled", "Disabled".
- creation_time
- datetime
Gets the creation date and time of the encryption scope in UTC.
- last_modified_time
- datetime
Gets the last modification date and time of the encryption scope in UTC.
- key_vault_properties
- EncryptionScopeKeyVaultProperties
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
- bool
A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
Feedback
Submit and view feedback for