DiskEncryptionSetData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the DiskEncryptionSet data model. disk encryption set resource.
public class DiskEncryptionSetData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.DiskEncryptionSetData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.DiskEncryptionSetData>
type DiskEncryptionSetData = class
inherit TrackedResourceData
interface IJsonModel<DiskEncryptionSetData>
interface IPersistableModel<DiskEncryptionSetData>
Public Class DiskEncryptionSetData
Inherits TrackedResourceData
Implements IJsonModel(Of DiskEncryptionSetData), IPersistableModel(Of DiskEncryptionSetData)
- Inheritance
- Implements
Constructors
DiskEncryptionSetData(AzureLocation) |
Initializes a new instance of DiskEncryptionSetData. |
Properties
ActiveKey |
The key vault key which is currently used by this disk encryption set. |
AutoKeyRotationError |
The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. |
EncryptionType |
The type of key used to encrypt the data of the disk. |
FederatedClientId |
Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Identity |
The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. |
LastKeyRotationTimestamp |
The time when the active key of this disk encryption set was updated. |
Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
Name |
The name of the resource. (Inherited from ResourceData) |
PreviousKeys |
A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. |
ProvisioningState |
The disk encryption set provisioning state. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
RotationToLatestKeyVersionEnabled |
Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from TrackedResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DiskEncryptionSetData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DiskEncryptionSetData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DiskEncryptionSetData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DiskEncryptionSetData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DiskEncryptionSetData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET