Partager via


EncryptionScope Class

Definition

The Encryption Scope resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.EncryptionScopeTypeConverter))]
public class EncryptionScope : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IEncryptionScope, Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.EncryptionScopeTypeConverter))>]
type EncryptionScope = class
    interface IEncryptionScope
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class EncryptionScope
Implements IEncryptionScope, IValidates
Inheritance
EncryptionScope
Attributes
Implements

Constructors

EncryptionScope()

Creates an new EncryptionScope instance.

Properties

Id

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

KeyVaultPropertyCurrentVersionedKeyIdentifier

The object identifier of the current versioned Key Vault Key in use.

KeyVaultPropertyKeyUri

The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.

KeyVaultPropertyLastKeyRotationTimestamp

Timestamp of last rotation of the Key Vault Key.

Name

The name of the resource

PropertyCreationTime

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

PropertyLastModifiedTime

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

PropertyRequireInfrastructureEncryption

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

PropertySource

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

PropertyState

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

ResourceGroupName

Gets the resource group name

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EncryptionScope.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EncryptionScope.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IEncryptionScope.

FromJsonString(String)

Creates a new instance of EncryptionScope, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EncryptionScope into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to