Delen via


PreferencesValidationContent Class

Definition

Request to validate preference of transport and data center.

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

Constructors

PreferencesValidationContent(DataBoxSkuName)

Initializes a new instance of PreferencesValidationContent.

Properties

DeviceType

Device type to be used for the job.

Preference

Preference of transport and data center.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataBoxValidationInputContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DataBoxValidationInputContent)
IJsonModel<DataBoxValidationInputContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataBoxValidationInputContent)
IJsonModel<PreferencesValidationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PreferencesValidationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataBoxValidationInputContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataBoxValidationInputContent)
IPersistableModel<DataBoxValidationInputContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DataBoxValidationInputContent)
IPersistableModel<DataBoxValidationInputContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataBoxValidationInputContent)
IPersistableModel<PreferencesValidationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PreferencesValidationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PreferencesValidationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to