共用方式為


ContainerServiceTimeInWeek Class

Definition

Time in a week.

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

Constructors

ContainerServiceTimeInWeek()

Initializes a new instance of ContainerServiceTimeInWeek.

Properties

Day

The day of the week.

HourSlots

Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.

Explicit Interface Implementations

IJsonModel<ContainerServiceTimeInWeek>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerServiceTimeInWeek>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerServiceTimeInWeek>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerServiceTimeInWeek>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerServiceTimeInWeek>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to