Skip to content

Commit 704f7a1

Browse files
author
SDKAuto
committed
CodeGen from PR 15627 in Azure/azure-rest-api-specs
Merge 68fb003d9e241ab62c34c582988c5a39dd062d37 into 245f0d2
1 parent 3eb0af9 commit 704f7a1

File tree

259 files changed

+30005
-1258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+30005
-1258
lines changed

sdk/storage/azure-mgmt-storage/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"autorest": "3.3.0",
3-
"use": "@autorest/[email protected]",
4-
"commit": "719b74f77b92eb1ec3814be6c4488bcf6b651733",
2+
"autorest": "3.4.5",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "ff7f1b280a62384e2f99f6fc7fd5be72d5af478f",
58
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6-
"autorest_command": "autorest specification/storage/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
9+
"autorest_command": "autorest specification/storage/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/[email protected] --version=3.4.5",
710
"readme": "specification/storage/resource-manager/readme.md"
811
}

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py

Lines changed: 62 additions & 1 deletion
Large diffs are not rendered by default.

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py

Lines changed: 62 additions & 1 deletion
Large diffs are not rendered by default.

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77
from .v2018_02_01.models import *
8-
from .v2021_04_01.models import *
8+
from .v2021_06_01.models import *

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "1.0.0b1"

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4646
async def check_name_availability(
4747
self,
4848
account_name: "_models.StorageAccountCheckNameAvailabilityParameters",
49-
**kwargs
49+
**kwargs: Any
5050
) -> "_models.CheckNameAvailabilityResult":
5151
"""Checks that the storage account name is valid and is not already in use.
5252
@@ -108,7 +108,7 @@ async def _create_initial(
108108
resource_group_name: str,
109109
account_name: str,
110110
parameters: "_models.StorageAccountCreateParameters",
111-
**kwargs
111+
**kwargs: Any
112112
) -> Optional["_models.StorageAccount"]:
113113
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]]
114114
error_map = {
@@ -163,7 +163,7 @@ async def begin_create(
163163
resource_group_name: str,
164164
account_name: str,
165165
parameters: "_models.StorageAccountCreateParameters",
166-
**kwargs
166+
**kwargs: Any
167167
) -> AsyncLROPoller["_models.StorageAccount"]:
168168
"""Asynchronously creates a new storage account with the specified parameters. If an account is
169169
already created and a subsequent create request is issued with different properties, the
@@ -181,8 +181,8 @@ async def begin_create(
181181
:type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters
182182
:keyword callable cls: A custom type or function that will be passed the direct response
183183
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
184-
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
185-
False for no polling, or your own initialized polling object for a personal polling strategy.
184+
:keyword polling: By default, your polling method will be AsyncARMPolling.
185+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
186186
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
187187
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
188188
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response)
@@ -239,7 +239,7 @@ async def delete(
239239
self,
240240
resource_group_name: str,
241241
account_name: str,
242-
**kwargs
242+
**kwargs: Any
243243
) -> None:
244244
"""Deletes a storage account in Microsoft Azure.
245245
@@ -295,7 +295,7 @@ async def get_properties(
295295
self,
296296
resource_group_name: str,
297297
account_name: str,
298-
**kwargs
298+
**kwargs: Any
299299
) -> "_models.StorageAccount":
300300
"""Returns the properties for the specified storage account including but not limited to name, SKU
301301
name, location, and account status. The ListKeys operation should be used to retrieve storage
@@ -359,7 +359,7 @@ async def update(
359359
resource_group_name: str,
360360
account_name: str,
361361
parameters: "_models.StorageAccountUpdateParameters",
362-
**kwargs
362+
**kwargs: Any
363363
) -> "_models.StorageAccount":
364364
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
365365
storage account. It can also be used to map the account to a custom domain. Only one custom
@@ -432,7 +432,7 @@ async def update(
432432

433433
def list(
434434
self,
435-
**kwargs
435+
**kwargs: Any
436436
) -> AsyncIterable["_models.StorageAccountListResult"]:
437437
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
438438
returned; use the ListKeys operation for this.
@@ -500,7 +500,7 @@ async def get_next(next_link=None):
500500
def list_by_resource_group(
501501
self,
502502
resource_group_name: str,
503-
**kwargs
503+
**kwargs: Any
504504
) -> AsyncIterable["_models.StorageAccountListResult"]:
505505
"""Lists all the storage accounts available under the given resource group. Note that storage keys
506506
are not returned; use the ListKeys operation for this.
@@ -573,7 +573,7 @@ async def list_keys(
573573
self,
574574
resource_group_name: str,
575575
account_name: str,
576-
**kwargs
576+
**kwargs: Any
577577
) -> "_models.StorageAccountKeys":
578578
"""Lists the access keys for the specified storage account.
579579
@@ -635,7 +635,7 @@ async def regenerate_key(
635635
resource_group_name: str,
636636
account_name: str,
637637
regenerate_key: "_models.StorageAccountRegenerateKeyParameters",
638-
**kwargs
638+
**kwargs: Any
639639
) -> "_models.StorageAccountKeys":
640640
"""Regenerates one of the access keys for the specified storage account.
641641

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4343

4444
def list(
4545
self,
46-
**kwargs
46+
**kwargs: Any
4747
) -> AsyncIterable["_models.UsageListResult"]:
4848
"""Lists the current usage count and the limit for the resources under the subscription.
4949

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def begin_create(
188188
:type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters
189189
:keyword callable cls: A custom type or function that will be passed the direct response
190190
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
191-
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
192-
False for no polling, or your own initialized polling object for a personal polling strategy.
191+
:keyword polling: By default, your polling method will be ARMPolling.
192+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
193193
:paramtype polling: bool or ~azure.core.polling.PollingMethod
194194
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
195195
:return: An instance of LROPoller that returns either StorageAccount or the result of cls(response)

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "1.0.0b1"

0 commit comments

Comments
 (0)