Share via


EncryptionScopeData Class

Definition

A class representing the EncryptionScope data model. The Encryption Scope resource.

public class EncryptionScopeData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.EncryptionScopeData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.EncryptionScopeData>
public class EncryptionScopeData : Azure.ResourceManager.Models.ResourceData
type EncryptionScopeData = class
    inherit ResourceData
    interface IJsonModel<EncryptionScopeData>
    interface IPersistableModel<EncryptionScopeData>
type EncryptionScopeData = class
    inherit ResourceData
Public Class EncryptionScopeData
Inherits ResourceData
Implements IJsonModel(Of EncryptionScopeData), IPersistableModel(Of EncryptionScopeData)
Public Class EncryptionScopeData
Inherits ResourceData
Inheritance
EncryptionScopeData
Implements

Constructors

EncryptionScopeData()

Initializes a new instance of EncryptionScopeData.

Properties

CreatedOn

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

Id

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

(Inherited from ResourceData)
KeyVaultProperties

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

LastModifiedOn

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

Name

The name of the resource.

(Inherited from ResourceData)
RequireInfrastructureEncryption

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

ResourceType

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

(Inherited from ResourceData)
Source

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

State

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<EncryptionScopeData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EncryptionScopeData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EncryptionScopeData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EncryptionScopeData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EncryptionScopeData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to