Aracılığıyla paylaş


FileProperties Class

Definition

The properties of a file on a Compute Node.

public class FileProperties : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.FileProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.FileProperties>
type FileProperties = class
    interface IJsonModel<FileProperties>
    interface IPersistableModel<FileProperties>
Public Class FileProperties
Implements IJsonModel(Of FileProperties), IPersistableModel(Of FileProperties)
Inheritance
FileProperties
Implements

Properties

ContentLength

The length of the file.

ContentType

The content type of the file.

CreationTime

The file creation time. The creation time is not returned for files on Linux Compute Nodes.

FileMode

The file mode attribute in octal format. The file mode is returned only for files on Linux Compute Nodes.

LastModified

The time at which the file was last modified.

Explicit Interface Implementations

IJsonModel<FileProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FileProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FileProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FileProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to