Delen via


UploadFile Class

Definition

File content associated with the file under a workspace.

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

Constructors

UploadFile()

Creates an new UploadFile instance.

Properties

ChunkIndex

Index of the uploaded chunk (Index starts at 0)

Content

File Content in base64 encoded format

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UploadFile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UploadFile.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UploadFile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to