Bagikan melalui


DiskSecret Class

Definition

Contains all the secrets of a Disk.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.DiskSecretTypeConverter))]
public class DiskSecret : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IDiskSecret
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.DiskSecretTypeConverter))>]
type DiskSecret = class
    interface IDiskSecret
    interface IJsonSerializable
Public Class DiskSecret
Implements IDiskSecret
Inheritance
DiskSecret
Attributes
Implements

Constructors

DiskSecret()

Creates an new DiskSecret instance.

Properties

BitLockerKey

Bit Locker key of the disk which can be used to unlock the disk to copy data.

DiskSerialNumber

Serial number of the assigned disk.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiskSecret.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiskSecret.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IDiskSecret.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiskSecret into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to