EnvironmentOperation Class

Definition

Information about an operation on an environment.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.EnvironmentOperationTypeConverter))]
public class EnvironmentOperation : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IEnvironmentOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.EnvironmentOperationTypeConverter))>]
type EnvironmentOperation = class
    interface IEnvironmentOperation
    interface IJsonSerializable
Public Class EnvironmentOperation
Implements IEnvironmentOperation
Inheritance
EnvironmentOperation
Attributes
Implements

Constructors

EnvironmentOperation()

Creates an new EnvironmentOperation 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.

EnvironmentParameter

Parameters object for the environment at the time of the operation.

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 environment 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 environment operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentOperation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentOperation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IEnvironmentOperation. Note: the Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IEnvironmentOperation interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentOperation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to