Partager via


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

FileDetailsProperties()

Creates an new FileDetailsProperties instance.

Properties

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

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