Compartilhar via


StorageTaskOperationInfo Class

Definition

Represents an operation to be performed on the object.

public class StorageTaskOperationInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StorageActions.Models.StorageTaskOperationInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StorageActions.Models.StorageTaskOperationInfo>
type StorageTaskOperationInfo = class
    interface IJsonModel<StorageTaskOperationInfo>
    interface IPersistableModel<StorageTaskOperationInfo>
Public Class StorageTaskOperationInfo
Implements IJsonModel(Of StorageTaskOperationInfo), IPersistableModel(Of StorageTaskOperationInfo)
Inheritance
StorageTaskOperationInfo
Implements

Constructors

StorageTaskOperationInfo(StorageTaskOperationName)

Initializes a new instance of StorageTaskOperationInfo.

Properties

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.

Parameters

Key-value parameters for the operation.

Explicit Interface Implementations

IJsonModel<StorageTaskOperationInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StorageTaskOperationInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageTaskOperationInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageTaskOperationInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StorageTaskOperationInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to