Share via


Operation Class

Definition

Operation entity.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.OperationTypeConverter))]
public class Operation : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.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 description of the operation for display purpose.

DisplayOperation

Localized name of the operation for display purpose.

DisplayProvider

Provider name.

DisplayResource

Resource name.

IsDataAction

Indicates whether the operation is a data action

Name

Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}

Origin

Origin of the operation. Can be : user|system|user,system

Property

Operation properties.

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.DataBox.Models.Api20221201.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