UploadFile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| UploadFile() |
Creates an new UploadFile instance. |
Properties
| Name | Description |
|---|---|
| ChunkIndex |
Index of the uploaded chunk (Index starts at 0) |
| Content |
File Content in base64 encoded format |
Methods
| Name | Description |
|---|---|
| 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() | |