DevBoxRestartOperation Class

Definition

Information about a restart operation on a Dev Box.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.DevBoxRestartOperationTypeConverter))]
public class DevBoxRestartOperation : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IDevBoxRestartOperation, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.DevBoxRestartOperationTypeConverter))>]
type DevBoxRestartOperation = class
    interface IDevBoxRestartOperation
    interface IJsonSerializable
    interface IDevBoxOperation
    interface IValidates
Public Class DevBoxRestartOperation
Implements IDevBoxRestartOperation, IValidates
Inheritance
DevBoxRestartOperation
Attributes
Implements

Constructors

DevBoxRestartOperation()

Creates an new DevBoxRestartOperation instance.

Properties

Code

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

CreatedByObjectId

The object ID of the actor which initiated the operation.

Detail

A list of additional details about the error.

EndTime

The time the operation finished.

Error

Provisioning or operation error details. Populated only for error states.

Kind

The kind of operation that occurred.

Message

A message describing the error, intended to be suitable for display in a user interface.

OperationId

Unique identifier for the Dev Box operation.

StartTime

The time the operation started.

Status

The operation status.

Target

The target of the particular error. For example, the name of the property in error.

Uri

The unique URI for the Dev Box operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DevBoxRestartOperation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DevBoxRestartOperation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IDevBoxRestartOperation.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DevBoxRestartOperation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to