Share via


JitSchedulingPolicy Class

Definition

The JIT scheduling policies.

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

Constructors

JitSchedulingPolicy(JitSchedulingType, TimeSpan, DateTimeOffset)

Initializes a new instance of JitSchedulingPolicy.

Properties

Duration

The required duration of the JIT request.

SchedulingType

The type of JIT schedule.

StartOn

The start time of the request.

Explicit Interface Implementations

IJsonModel<JitSchedulingPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<JitSchedulingPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JitSchedulingPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JitSchedulingPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<JitSchedulingPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to