Share via


DevBoxAction Class

Definition

An action which will take place on a Dev Box.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.DevBoxActionTypeConverter))]
public class DevBoxAction : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IDevBoxAction
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.DevBoxActionTypeConverter))>]
type DevBoxAction = class
    interface IDevBoxAction
    interface IJsonSerializable
Public Class DevBoxAction
Implements IDevBoxAction
Inheritance
DevBoxAction
Attributes
Implements

Constructors

Name Description
DevBoxAction()

Creates an new DevBoxAction instance.

Properties

Name Description
ActionType

The action that will be taken.

Name

The name of the action.

NextScheduledTime

The time the action will be triggered (UTC), in RFC3339 format.

SourceId

The id of the resource which triggered this action.

SourceType

The type of the resource which triggered this action.

SourceUri

The URI of the resource which triggered this action.

SuspendedUntil

The earliest time that the action could occur (UTC), in RFC3339 format.

Uri

The unique URI for the Dev Box action.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DevBoxAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DevBoxAction.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IDevBoxAction.

FromJsonString(String)

Creates a new instance of DevBoxAction, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DevBoxAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to