共用方式為


StorageTaskProperties Class

Definition

Properties of the storage task.

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

Constructors

StorageTaskProperties(Boolean, String, StorageTaskAction)

Initializes a new instance of StorageTaskProperties.

Properties

Action

The storage task action that is executed.

CreationTimeInUtc

The creation date and time of the storage task in UTC.

Description

Text that describes the purpose of the storage task.

IsEnabled

Storage Task is enabled when set to true and disabled when set to false.

ProvisioningState

Represents the provisioning state of the storage task.

TaskVersion

Storage task version.

Explicit Interface Implementations

IJsonModel<StorageTaskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageTaskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageTaskProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageTaskProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageTaskProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to