Share via


OperationModel Class

Definition

Operation model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.OperationModelTypeConverter))]
public class OperationModel : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IOperationModel
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.OperationModelTypeConverter))>]
type OperationModel = class
    interface IOperationModel
    interface IJsonSerializable
Public Class OperationModel
Implements IOperationModel
Inheritance
OperationModel
Attributes
Implements

Constructors

OperationModel()

Creates an new OperationModel instance.

Properties

DisplayDescription

Gets or sets the description.

DisplayOperation

Gets or sets the operation.

DisplayProvider

Gets or sets the resource provider name.

DisplayResource

Gets or sets resource name.

IsDataAction

Gets or sets a value indicating whether the action is specific to data plane or control plane.

Name

Gets or sets the name of the operation.

Origin

Gets or sets the executor of the operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationModel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IOperationModel.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to