你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DevBoxRestartOperation Class

Definition

Information about a restart operation on a Dev Box.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.DevBoxRestartOperationTypeConverter))]
public class DevBoxRestartOperation : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IDevBoxRestartOperation, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.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

One of a server-defined set of error codes.

CreatedByObjectId

The object ID of the actor which initiated the operation.

Detail

An array of details about specific errors that led to this reported error.

EndTime

The time the operation finished.

Error

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

Innererror

An object containing more specific information than the current object about the error.

Kind

The kind of operation that occurred.

Message

A human-readable representation of the error.

OperationId

Unique identifier for the Dev Box operation.

StartTime

he time the operation started.

Status

The operation status.

Target

The target of the 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.Api20240501Preview.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