Share via


StorageTaskOperation Class

Definition

Represents an operation to be performed on the object

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskOperationTypeConverter))]
public class StorageTaskOperation : Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.IStorageTaskOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskOperationTypeConverter))>]
type StorageTaskOperation = class
    interface IStorageTaskOperation
    interface IJsonSerializable
Public Class StorageTaskOperation
Implements IStorageTaskOperation
Inheritance
StorageTaskOperation
Attributes
Implements

Constructors

Name Description
StorageTaskOperation()

Creates an new StorageTaskOperation instance.

Properties

Name Description
Name

The operation to be performed on the object.

OnFailure

Action to be taken when the operation fails for a object.

OnSuccess

Action to be taken when the operation is successful for a object.

Parameter

Key-value parameters for the operation.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageTaskOperation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageTaskOperation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.IStorageTaskOperation.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageTaskOperation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to