Share via


OccurrenceDelayContent Class

Definition

Request to ask for a delay in an occurrence, delay should be set to client local time eg (ACST) 2025-05-30T22:03:00+09:30, (PST) 2025-05-30T06:35:00-07:00.

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

Constructors

OccurrenceDelayContent(DateTimeOffset, IEnumerable<ResourceIdentifier>)

Initializes a new instance of OccurrenceDelayContent.

Properties

Delay

The exact time to delay the operations to.

ResourceIds

The resources that should be delayed. If empty, the delay will apply to the all resources in the occurrence.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OccurrenceDelayContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OccurrenceDelayContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OccurrenceDelayContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OccurrenceDelayContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OccurrenceDelayContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to