Dela via


StorageTaskIfCondition Class

Definition

The if block of storage task operation.

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

Constructors

StorageTaskIfCondition(String, IEnumerable<StorageTaskOperationInfo>)

Initializes a new instance of StorageTaskIfCondition.

Properties

Condition

Condition predicate to evaluate each object. See https://aka.ms/storagetaskconditions for valid properties and operators.

Operations

List of operations to execute when the condition predicate satisfies.

Explicit Interface Implementations

IJsonModel<StorageTaskIfCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageTaskIfCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageTaskIfCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageTaskIfCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageTaskIfCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to