Share via


EnvironmentDeleteOperation Class

Definition

Information about a delete operation on an environment.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.EnvironmentDeleteOperationTypeConverter))]
public class EnvironmentDeleteOperation : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IEnvironmentDeleteOperation, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.EnvironmentDeleteOperationTypeConverter))>]
type EnvironmentDeleteOperation = class
    interface IEnvironmentDeleteOperation
    interface IJsonSerializable
    interface IEnvironmentOperation
    interface IValidates
Public Class EnvironmentDeleteOperation
Implements IEnvironmentDeleteOperation, IValidates
Inheritance
EnvironmentDeleteOperation
Attributes
Implements

Constructors

EnvironmentDeleteOperation()

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

EnvironmentParameter

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

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

StartTime

The time the operation started.

Status

The operation status.

Target

The target of the error.

Uri

The unique URI for the environment operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentDeleteOperation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentDeleteOperation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IEnvironmentDeleteOperation.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentDeleteOperation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to