Skip to content

[AutoRelease] t2-storage-2025-06-19-60432(can only be merged by SDK owner) #41667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
6 changes: 6 additions & 0 deletions sdk/storage/azure-mgmt-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 23.0.1 (2025-06-26)

### Other Changes

- Fix for StorageTaskAssignmentsOperations

## 23.0.0 (2025-05-15)

### Breaking Changes
Expand Down
1 change: 0 additions & 1 deletion sdk/storage/azure-mgmt-storage/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include _meta.json
recursive-include tests *.py *.json
recursive-include samples *.py *.md
include *.md
Expand Down
33 changes: 0 additions & 33 deletions sdk/storage/azure-mgmt-storage/_meta.json

This file was deleted.

11 changes: 11 additions & 0 deletions sdk/storage/azure-mgmt-storage/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"commit": "6c7bb299b1fb029d5f2c8d2c255cd517bc9ac58c",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/storage/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "23.0.0"
VERSION = "23.0.1"
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import (
Any,
AsyncIterable,
AsyncIterator,
Callable,
Dict,
IO,
Literal,
Optional,
TypeVar,
Union,
cast,
overload,
)
from typing import Any, AsyncIterator, Callable, Dict, IO, Literal, Optional, TypeVar, Union, cast, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -97,7 +84,7 @@ def list(
filter: Optional[str] = None,
include: Optional[Union[str, _models.ListContainersInclude]] = None,
**kwargs: Any
) -> AsyncIterable["_models.ListContainerItem"]:
) -> AsyncItemPaged["_models.ListContainerItem"]:
"""Lists all containers and does not support a prefix like data plane. Also SRP today does not
return continuation token.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -342,7 +342,7 @@ async def delete(
@distributed_trace
def list(
self, resource_group_name: str, account_name: str, **kwargs: Any
) -> AsyncIterable["_models.BlobInventoryPolicy"]:
) -> AsyncItemPaged["_models.BlobInventoryPolicy"]:
"""Gets the blob inventory policy associated with the specified storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -62,7 +62,7 @@ def __init__(self, *args, **kwargs) -> None:
@distributed_trace
def list(
self, resource_group_name: str, account_name: str, **kwargs: Any
) -> AsyncIterable["_models.BlobServiceProperties"]:
) -> AsyncItemPaged["_models.BlobServiceProperties"]:
"""List blob services of storage account. It returns a collection of one object named default.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar
from typing import Any, Callable, Dict, Optional, TypeVar
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -55,7 +55,7 @@ def __init__(self, *args, **kwargs) -> None:
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")

@distributed_trace
def list(self, **kwargs: Any) -> AsyncIterable["_models.DeletedAccount"]:
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.DeletedAccount"]:
"""Lists deleted accounts under the subscription.

:return: An iterator like instance of either DeletedAccount or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -458,7 +458,7 @@ def list(
filter: Optional[str] = None,
include: Optional[Union[str, _models.ListEncryptionScopesInclude]] = None,
**kwargs: Any
) -> AsyncIterable["_models.EncryptionScope"]:
) -> AsyncItemPaged["_models.EncryptionScope"]:
"""Lists all the encryption scopes available under the specified storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -327,7 +327,7 @@ async def get_service_properties(
@distributed_trace
def list_service_usages(
self, resource_group_name: str, account_name: str, maxpagesize: Optional[int] = None, **kwargs: Any
) -> AsyncIterable["_models.FileServiceUsage"]:
) -> AsyncItemPaged["_models.FileServiceUsage"]:
"""Gets the usages of file service in storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -72,7 +72,7 @@ def list(
filter: Optional[str] = None,
expand: Optional[str] = None,
**kwargs: Any
) -> AsyncIterable["_models.FileShareItem"]:
) -> AsyncItemPaged["_models.FileShareItem"]:
"""Lists all shares.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -71,7 +71,7 @@ def list(
filter: Optional[str] = None,
include: Optional[Union[str, _models.ListLocalUserIncludeParam]] = None,
**kwargs: Any
) -> AsyncIterable["_models.LocalUser"]:
) -> AsyncItemPaged["_models.LocalUser"]:
"""List the local users associated with the storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from typing import Any, AsyncIterable, AsyncIterator, Callable, Dict, Optional, TypeVar, Union, cast
from typing import Any, AsyncIterator, Callable, Dict, Optional, TypeVar, Union, cast
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -65,7 +65,7 @@ def __init__(self, *args, **kwargs) -> None:
@distributed_trace
def list(
self, resource_group_name: str, account_name: str, **kwargs: Any
) -> AsyncIterable["_models.NetworkSecurityPerimeterConfiguration"]:
) -> AsyncItemPaged["_models.NetworkSecurityPerimeterConfiguration"]:
"""Gets list of effective NetworkSecurityPerimeterConfiguration for storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -63,7 +63,7 @@ def __init__(self, *args, **kwargs) -> None:
@distributed_trace
def list(
self, resource_group_name: str, account_name: str, **kwargs: Any
) -> AsyncIterable["_models.ObjectReplicationPolicy"]:
) -> AsyncItemPaged["_models.ObjectReplicationPolicy"]:
"""List the object replication policies associated with the storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar
from typing import Any, Callable, Dict, Optional, TypeVar
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -54,7 +54,7 @@ def __init__(self, *args, **kwargs) -> None:
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")

@distributed_trace
def list(self, **kwargs: Any) -> AsyncIterable["_models.Operation"]:
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.Operation"]:
"""Lists all of the available Storage Rest API operations.

:return: An iterator like instance of either Operation or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -63,7 +63,7 @@ def __init__(self, *args, **kwargs) -> None:
@distributed_trace
def list(
self, resource_group_name: str, account_name: str, **kwargs: Any
) -> AsyncIterable["_models.PrivateEndpointConnection"]:
) -> AsyncItemPaged["_models.PrivateEndpointConnection"]:
"""List all the private endpoint connections associated with the storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -503,7 +503,7 @@ def list(
maxpagesize: Optional[str] = None,
filter: Optional[str] = None,
**kwargs: Any
) -> AsyncIterable["_models.ListQueue"]:
) -> AsyncItemPaged["_models.ListQueue"]:
"""Gets a list of all the queues under the specified storage account.

:param resource_group_name: The name of the resource group within the user's subscription. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar
from typing import Any, Callable, Dict, Optional, TypeVar
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -54,7 +54,7 @@ def __init__(self, *args, **kwargs) -> None:
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")

@distributed_trace
def list(self, **kwargs: Any) -> AsyncIterable["_models.SkuInformation"]:
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.SkuInformation"]:
"""Lists the available SKUs supported by Microsoft.Storage for given subscription.

:return: An iterator like instance of either SkuInformation or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,7 @@
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from io import IOBase
from typing import (
Any,
AsyncIterable,
AsyncIterator,
Callable,
Dict,
IO,
Literal,
Optional,
TypeVar,
Union,
cast,
overload,
)
from typing import Any, AsyncIterator, Callable, Dict, IO, Literal, Optional, TypeVar, Union, cast, overload
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -689,7 +676,7 @@ async def update(
return deserialized # type: ignore

@distributed_trace
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.StorageAccount"]:
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
returned; use the ListKeys operation for this.

Expand Down Expand Up @@ -766,7 +753,7 @@ async def get_next(next_link=None):
@distributed_trace
def list_by_resource_group(
self, resource_group_name: str, **kwargs: Any
) -> AsyncIterable["_models.StorageAccount"]:
) -> AsyncItemPaged["_models.StorageAccount"]:
"""Lists all the storage accounts available under the given resource group. Note that storage keys
are not returned; use the ListKeys operation for this.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from collections.abc import MutableMapping
from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar
from typing import Any, Callable, Dict, Optional, TypeVar
import urllib.parse

from azure.core import AsyncPipelineClient
Expand Down Expand Up @@ -63,7 +63,7 @@ def list(
maxpagesize: Optional[int] = None,
filter: Optional[str] = None,
**kwargs: Any
) -> AsyncIterable["_models.StorageTaskReportInstance"]:
) -> AsyncItemPaged["_models.StorageTaskReportInstance"]:
"""Fetch the report summary of a single storage task assignment's instances.

:param resource_group_name: The name of the resource group. The name is case insensitive.
Expand Down
Loading