Compartilhar via


Operation Class

Definition

A Cost management REST API operation.

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

Constructors

Operation()

Creates an new Operation instance.

Properties

DisplayDescription

Operation description

DisplayOperation

Operation type: Read, write, delete, etc.

DisplayProvider

Service provider: Microsoft.CostManagement.

DisplayResource

Resource on which the operation is performed: Dimensions, Query.

Id

Operation id: {provider}/{resource}/{operation}.

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.CostManagement.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.

Explicit Interface Implementations

IOperationInternal.Display

Internal Acessors for Display

IOperationInternal.DisplayDescription

Internal Acessors for DisplayDescription

IOperationInternal.DisplayOperation

Internal Acessors for DisplayOperation

IOperationInternal.DisplayProvider

Internal Acessors for DisplayProvider

IOperationInternal.DisplayResource

Internal Acessors for DisplayResource

IOperationInternal.Id

Internal Acessors for Id

IOperationInternal.Name

Internal Acessors for Name

Applies to