Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ from ._quick_query_helper import BlobQueryReader
from ._shared.base_client import StorageAccountHostsMixin

class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin):
container_name: str
blob_name: str
snapshot: Optional[str]
version_id: Optional[str]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class BlobClient( # type: ignore[misc]
StorageAccountHostsMixin,
StorageEncryptionMixin,
):
container_name: str
blob_name: str
snapshot: Optional[str]
version_id: Optional[str]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ from ._models import (
from ._shared.base_client import StorageAccountHostsMixin

class ShareDirectoryClient(StorageAccountHostsMixin):
share_name: str
directory_path: str
snapshot: Optional[str]
allow_trailing_dot: Optional[bool]
allow_source_trailing_dot: Optional[bool]
file_request_intent: Optional[Literal["backup"]]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ from ._models import (
from ._shared.base_client import StorageAccountHostsMixin

class ShareFileClient(StorageAccountHostsMixin):
share_name: str
file_name: str
file_path: List[str]
directory_path: str
snapshot: Optional[str]
allow_trailing_dot: Optional[bool]
allow_source_trailing_dot: Optional[bool]
file_request_intent: Optional[Literal["backup"]]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ from ._models import (
from ._shared.base_client import StorageAccountHostsMixin

class ShareClient(StorageAccountHostsMixin):
share_name: str
snapshot: Optional[str]
allow_trailing_dot: Optional[bool]
allow_source_trailing_dot: Optional[bool]
file_request_intent: Optional[Literal["backup"]]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ from .._shared.base_client import StorageAccountHostsMixin
from .._shared.base_client_async import AsyncStorageAccountHostsMixin

class ShareDirectoryClient(AsyncStorageAccountHostsMixin, StorageAccountHostsMixin): # type: ignore [misc]
share_name: str
directory_path: str
snapshot: Optional[str]
allow_trailing_dot: Optional[bool]
allow_source_trailing_dot: Optional[bool]
file_request_intent: Optional[Literal["backup"]]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ from .._shared.base_client import StorageAccountHostsMixin
from .._shared.base_client_async import AsyncStorageAccountHostsMixin

class ShareFileClient(AsyncStorageAccountHostsMixin, StorageAccountHostsMixin): # type: ignore [misc]
share_name: str
file_name: str
file_path: List[str]
directory_path: str
snapshot: Optional[str]
allow_trailing_dot: Optional[bool]
allow_source_trailing_dot: Optional[bool]
file_request_intent: Optional[Literal["backup"]]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ from .._shared.base_client import StorageAccountHostsMixin
from .._shared.base_client_async import AsyncStorageAccountHostsMixin

class ShareClient(AsyncStorageAccountHostsMixin, StorageAccountHostsMixin): # type: ignore[misc]
share_name: str
snapshot: Optional[str]
allow_trailing_dot: Optional[bool]
allow_source_trailing_dot: Optional[bool]
file_request_intent: Optional[Literal["backup"]]
def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ class QueueClient(StorageAccountHostsMixin, StorageEncryptionMixin):
:caption: Create the queue client with url and credential.
"""

queue_name: str

def __init__(
self,
account_url: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ class QueueClient( # type: ignore [misc]
:caption: Create the queue client with a connection string.
"""

queue_name: str

def __init__(
self,
account_url: str,
Expand Down