语言

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

FileDetailsProperties Class

Definition

Describes the properties of a file.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.FileDetailsPropertiesTypeConverter))]
public class FileDetailsProperties : Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetailsProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.FileDetailsPropertiesTypeConverter))>]
type FileDetailsProperties = class
    interface IFileDetailsProperties
    interface IJsonSerializable
Public Class FileDetailsProperties
Implements IFileDetailsProperties
Inheritance
FileDetailsProperties
Attributes
Implements

Constructors

Name Description
FileDetailsProperties()

Creates an new FileDetailsProperties instance.

Properties

Name Description
ChunkSize

Size of each chunk. The size of each chunk should be provided in bytes and must not exceed 2.5 megabytes (MB).

CreatedOn

Time in UTC (ISO 8601 format) when file workspace was created.

FileSize

Size of the file to be uploaded. The file size must not exceed 5 MB and should be provided in bytes.

NumberOfChunk

Number of chunks to be uploaded. The maximum number of allowed chunks is 2.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FileDetailsProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FileDetailsProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetailsProperties.

FromJsonString(String)

Creates a new instance of FileDetailsProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of FileDetailsProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to