Share via


Operation Class

Definition

REST API operation

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.OperationTypeConverter))]
public class Operation : Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.IOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.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

DisplayDescription

Localized friendly description for the operation

DisplayOperation

Operation type: Read, write, delete, etc.

DisplayProvider

Service provider: Microsoft.Subscription

DisplayResource

Resource on which the operation is performed: Profile, endpoint, etc.

IsDataAction

Indicates whether the operation is a data action

Name

Operation name: {provider}/{resource}/{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.Subscription.Models.Api20211001.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.

ToString()

Applies to