FileDetails Class

Object that represents File Details resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.support.models._models_py3.ProxyResource
FileDetails

Constructor

FileDetails(*, chunk_size: int | None = None, file_size: int | None = None, number_of_chunks: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
chunk_size
int

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

file_size
int

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

number_of_chunks
int

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

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

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

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

created_on

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

chunk_size
int

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

file_size
int

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

number_of_chunks
int

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