Partilhar via


DevBoxAction Class

Definition

An action which will take place on a Dev Box.

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

Properties

ActionType

The action that will be taken.

Name

The name of the action.

NextAction

Details about the next run of this action.

SourceId

The id of the resource which triggered this action.

SuspendedUntil

The earliest time that the action could occur (UTC).

Explicit Interface Implementations

IJsonModel<DevBoxAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevBoxAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevBoxAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevBoxAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevBoxAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to