Partager via


StorageTaskAction Class

Definition

The storage task action represents conditional statements and operations to be performed on target objects.

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

Constructors

StorageTaskAction(StorageTaskIfCondition)

Initializes a new instance of StorageTaskAction.

Properties

ElseOperations

List of operations to execute in the else block.

If

The if block of storage task operation.

Explicit Interface Implementations

IJsonModel<StorageTaskAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageTaskAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageTaskAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageTaskAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageTaskAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to