Share via


ScheduleAvailabilityContent Class

Definition

Request body to get the availability for scheduling orders. Please note ScheduleAvailabilityContent 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 DataBoxScheduleAvailabilityContent, DiskScheduleAvailabilityContent and HeavyScheduleAvailabilityContent.

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

Constructors

ScheduleAvailabilityContent(AzureLocation)

Initializes a new instance of ScheduleAvailabilityContent.

Properties

Country

Country in which storage location should be supported.

Model

The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025.

StorageLocation

Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ScheduleAvailabilityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduleAvailabilityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScheduleAvailabilityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduleAvailabilityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduleAvailabilityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to