你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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