Share via


OperationEntity Class

Definition

The operation supported by Advisor.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.OperationEntityTypeConverter))]
public class OperationEntity : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IOperationEntity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.OperationEntityTypeConverter))>]
type OperationEntity = class
    interface IOperationEntity
    interface IJsonSerializable
Public Class OperationEntity
Implements IOperationEntity
Inheritance
OperationEntity
Attributes
Implements

Constructors

OperationEntity()

Creates an new OperationEntity instance.

Properties

DisplayDescription

The description of the operation.

DisplayOperation

The action that users can perform, based on their permission level.

DisplayProvider

Service provider: Microsoft Advisor.

DisplayResource

Resource on which the operation is performed.

Name

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationEntity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationEntity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IOperationEntity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationEntity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to