Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move docstring to correct place :) on API not ctor
  • Loading branch information
vincenttran-msft committed Apr 25, 2024
commit 0f1f391e3c9fe46ad4db241b9e5c3f2b7a0d32c0
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ class ShareClient(StorageAccountHostsMixin): # pylint: disable=too-many-public-m
:keyword str secondary_hostname:
The hostname of the secondary endpoint.
:keyword int max_range_size: The maximum range size used for a file upload. Defaults to 4*1024*1024.
:keyword bool enable_snapshot_virtual_directory_access:
Supported in service version 2023-08-03 and greater. Specifies whether the snapshot
virtual directory should be accessible at the root of the share mount point when NFS
is enabled. Default value is True.
"""
def __init__(
self, account_url: str,
Expand Down Expand Up @@ -366,6 +362,10 @@ def create_share(self, **kwargs):
Root squash to set on the share.
Only valid for NFS shares. Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.
:paramtype root_squash: str or ~azure.storage.fileshare.ShareRootSquash
:keyword bool enable_snapshot_virtual_directory_access:
Supported in service version 2023-08-03 and greater. Specifies whether the snapshot
virtual directory should be accessible at the root of the share mount point when NFS
is enabled. Default value is True.
:returns: Share-updated property dict (Etag and last modified).
:rtype: Dict[str, Any]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ class ShareClient(AsyncStorageAccountHostsMixin, ShareClientBase):
:keyword str secondary_hostname:
The hostname of the secondary endpoint.
:keyword int max_range_size: The maximum range size used for a file upload. Defaults to 4*1024*1024.
:keyword bool enable_snapshot_virtual_directory_access:
Supported in service version 2023-08-03 and greater. Specifies whether the snapshot
virtual directory should be accessible at the root of the share mount point when NFS
is enabled. Default value is True.
"""
def __init__(
self, account_url: str,
Expand Down Expand Up @@ -229,6 +225,10 @@ async def create_share(self, **kwargs):
Root squash to set on the share.
Only valid for NFS shares. Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.
:paramtype root_squash: str or ~azure.storage.fileshare.ShareRootSquash
:keyword bool enable_snapshot_virtual_directory_access:
Supported in service version 2023-08-03 and greater. Specifies whether the snapshot
virtual directory should be accessible at the root of the share mount point when NFS
is enabled. Default value is True.
:returns: Share-updated property dict (Etag and last modified).
:rtype: Dict[str, Any]

Expand Down