你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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