Sdílet prostřednictvím


UnencryptedCredentials Class

Definition

Unencrypted credentials for accessing device.

public class UnencryptedCredentials : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBox.Models.UnencryptedCredentials>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBox.Models.UnencryptedCredentials>
type UnencryptedCredentials = class
    interface IJsonModel<UnencryptedCredentials>
    interface IPersistableModel<UnencryptedCredentials>
Public Class UnencryptedCredentials
Implements IJsonModel(Of UnencryptedCredentials), IPersistableModel(Of UnencryptedCredentials)
Inheritance
UnencryptedCredentials
Implements

Properties

JobName

Name of the job.

JobSecrets

Secrets related to this job. Please note JobSecrets is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataboxJobSecrets, CustomerDiskJobSecrets, DataBoxDiskJobSecrets and DataBoxHeavyJobSecrets.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<UnencryptedCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UnencryptedCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UnencryptedCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UnencryptedCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UnencryptedCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to