Partager via


Operation Class

Definition

An operation on a resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.OperationTypeConverter))]
public class Operation : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.OperationTypeConverter))>]
type Operation = class
    interface IOperation
    interface IJsonSerializable
Public Class Operation
Implements IOperation
Inheritance
Operation
Attributes
Implements

Constructors

Operation()

Creates an new Operation instance.

Properties

CreatedTime

Time when operation has started.

Error

Any errors associate with the operation.

ExpirationTime

Time when operation will expire.

GeoMasterOperationId

Applicable only for stamp operation ids.

Id

Operation ID.

ModifiedTime

Time when operation has been updated.

Name

Operation name.

Status

The current status of the operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Operation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Operation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IOperation.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Operation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to