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.v2019_06_01.models._models_py3.Resource
EncryptionScope

Constructor

EncryptionScope(*, source: typing.Union[str, _ForwardRef('EncryptionScopeSource'), NoneType] = None, state: typing.Union[str, _ForwardRef('EncryptionScopeState'), NoneType] = None, key_vault_properties: typing.Union[_ForwardRef('EncryptionScopeKeyVaultProperties'), NoneType] = None, **kwargs)

Parameters

source
str or EncryptionScopeSource
Required

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
Required

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

key_vault_properties
EncryptionScopeKeyVaultProperties
Required

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

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".

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.