FileShare Class

Properties of the file share, including Id, resource name, resource type, Etag.

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

Inheritance
azure.mgmt.storage.v2019_04_01.models._models_py3.AzureEntityResource
FileShare

Constructor

FileShare(*, metadata: Dict[str, str] | None = None, share_quota: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
metadata

A name-value pair to associate with the share as metadata.

share_quota
int

The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120).

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /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".

etag
str

Resource Etag.

last_modified_time

Returns the date and time the share was last modified.

metadata

A name-value pair to associate with the share as metadata.

share_quota
int

The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120).