Partager via


EncryptionScope Class

Definition

The Encryption Scope resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class EncryptionScope : Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type EncryptionScope = class
    inherit Resource
Public Class EncryptionScope
Inherits Resource
Inheritance
EncryptionScope
Attributes

Constructors

EncryptionScope()

Initializes a new instance of the EncryptionScope class.

EncryptionScope(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, EncryptionScopeKeyVaultProperties, Nullable<Boolean>)

Initializes a new instance of the EncryptionScope class.

Properties

CreationTime

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

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
KeyVaultProperties

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

LastModifiedTime

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

Name

Gets the name of the resource

(Inherited from Resource)
RequireInfrastructureEncryption

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

Source

Gets or sets the provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: 'Microsoft.Storage', 'Microsoft.KeyVault'

State

Gets or sets the state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Possible values include: 'Enabled', 'Disabled'

Type

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

(Inherited from Resource)

Applies to