Partager via


FileDetails Class

Definition

Object that represents File Details resource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.FileDetailsTypeConverter))]
public class FileDetails : Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetails, Microsoft.Azure.PowerShell.Cmdlets.Support.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.FileDetailsTypeConverter))>]
type FileDetails = class
    interface IFileDetails
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class FileDetails
Implements IFileDetails, IValidates
Inheritance
FileDetails
Attributes
Implements

Constructors

FileDetails()

Creates an new FileDetails 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.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Name

The name of the resource

NumberOfChunk

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

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FileDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FileDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of FileDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to