FileShareItem Class
The file share properties be listed out.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage.v2021_04_01.models._models_py3.AzureEntityResourceFileShareItem
Constructor
FileShareItem(*, metadata: Optional[Dict[str, str]] = None, share_quota: Optional[int] = None, enabled_protocols: Optional[Union[str, azure.mgmt.storage.v2021_04_01.models._storage_management_client_enums.EnabledProtocols]] = None, root_squash: Optional[Union[str, azure.mgmt.storage.v2021_04_01.models._storage_management_client_enums.RootSquashType]] = None, access_tier: Optional[Union[str, azure.mgmt.storage.v2021_04_01.models._storage_management_client_enums.ShareAccessTier]] = None, signed_identifiers: Optional[List[azure.mgmt.storage.v2021_04_01.models._models_py3.SignedIdentifier]] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- 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
- datetime
Returns the date and time the share was last modified.
- share_quota
- int
The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
- enabled_protocols
- str or EnabledProtocols
The authentication protocol that is used for the file share. Can only be specified when creating a share. Possible values include: "SMB", "NFS".
- root_squash
- str or RootSquashType
The property is for NFS share only. The default is NoRootSquash. Possible values include: "NoRootSquash", "RootSquash", "AllSquash".
- version
- str
The version of the share.
- deleted
- bool
Indicates whether the share was deleted.
- deleted_time
- datetime
The deleted time if the share was deleted.
- remaining_retention_days
- int
Remaining retention days for share that was soft deleted.
- access_tier
- str or ShareAccessTier
Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Possible values include: "TransactionOptimized", "Hot", "Cool", "Premium".
- access_tier_change_time
- datetime
Indicates the last modification time for share access tier.
- access_tier_status
- str
Indicates if there is a pending transition for access tier.
- share_usage_bytes
- <xref:long>
The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files.
- lease_status
- str or LeaseStatus
The lease status of the share. Possible values include: "Locked", "Unlocked".
- lease_state
- str or LeaseState
Lease state of the share. Possible values include: "Available", "Leased", "Expired", "Breaking", "Broken".
- lease_duration
- str or LeaseDuration
Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased. Possible values include: "Infinite", "Fixed".
- signed_identifiers
- list[SignedIdentifier]
List of stored access policies specified on the share.
- snapshot_time
- datetime
Creation time of share snapshot returned in the response of list shares with expand param "snapshots".
Feedback
Submit and view feedback for