Delen via


JobSecrets Class

Definition

The base class for the secrets 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.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataBox.Models.UnknownJobSecrets))]
public abstract class JobSecrets : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBox.Models.JobSecrets>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBox.Models.JobSecrets>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataBox.Models.UnknownJobSecrets))>]
type JobSecrets = class
    interface IJsonModel<JobSecrets>
    interface IPersistableModel<JobSecrets>
Public MustInherit Class JobSecrets
Implements IJsonModel(Of JobSecrets), IPersistableModel(Of JobSecrets)
Inheritance
JobSecrets
Derived
Attributes
Implements

Constructors

JobSecrets()

Initializes a new instance of JobSecrets.

Properties

DataCenterAccessSecurityCode

Dc Access Security Code for Customer Managed Shipping.

Error

Error while fetching the secrets.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<JobSecrets>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<JobSecrets>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JobSecrets>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JobSecrets>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<JobSecrets>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to