ShareProperties Class
Share's properties class.
- Inheritance
-
azure.storage.fileshare._shared.models.DictMixinShareProperties
Constructor
ShareProperties(**kwargs)
Variables
Name | Description |
---|---|
name
|
The name of the share. |
last_modified
|
A datetime object representing the last time the share was modified. |
etag
|
The ETag contains a value that you can use to perform operations conditionally. |
quota
|
The allocated quota. |
access_tier
|
The share's access tier. |
metadata
|
A dict with name_value pairs to associate with the share as metadata. |
snapshot
|
Snapshot of the share. |
deleted
|
To indicate if this share is deleted or not. This is a service returned value, and the value will be set when list shared including deleted ones. |
deleted
|
To indicate the deleted time of the deleted share. This is a service returned value, and the value will be set when list shared including deleted ones. |
version
|
To indicate the version of deleted share. This is a service returned value, and the value will be set when list shared including deleted ones. |
remaining_retention_days
|
To indicate how many remaining days the deleted share will be kept. This is a service returned value, and the value will be set when list shared including deleted ones. |
provisioned_bandwidth
|
Provisioned bandwidth in megabits/second. Only applicable to premium file accounts. |
root_squash
|
<xref:azure.storage.fileshare.models.ShareRootSquash> or
str
Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'. |
protocols
|
Indicates the protocols enabled on the share. The protocol can be either SMB or NFS. |
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key, default=None)
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
default value: None
|
has_key
has_key(k)
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items()
keys
keys()
update
update(*args, **kwargs)
values
values()
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for