Skip to content
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

[ReleasePR track2_azure-mgmt-storage] SRP Swagger Updates for Sep21 [2021-09-01] Api Version GA #20676

Closed
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
1 change: 1 addition & 0 deletions sdk/storage/azure-mgmt-storage/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
11 changes: 7 additions & 4 deletions sdk/storage/azure-mgmt-storage/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "719b74f77b92eb1ec3814be6c4488bcf6b651733",
"autorest": "3.4.5",
"use": [
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "cfa9e0f3df4553767d7915ec8f471ff7d4931ed1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"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/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/storage/resource-manager/readme.md"
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------
from .v2018_02_01.models import *
from .v2021_04_01.models import *
from .v2021_06_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "18.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
async def check_name_availability(
self,
account_name: "_models.StorageAccountCheckNameAvailabilityParameters",
**kwargs
**kwargs: Any
) -> "_models.CheckNameAvailabilityResult":
"""Checks that the storage account name is valid and is not already in use.

Expand Down Expand Up @@ -108,7 +108,7 @@ async def _create_initial(
resource_group_name: str,
account_name: str,
parameters: "_models.StorageAccountCreateParameters",
**kwargs
**kwargs: Any
) -> Optional["_models.StorageAccount"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]]
error_map = {
Expand Down Expand Up @@ -163,7 +163,7 @@ async def begin_create(
resource_group_name: str,
account_name: str,
parameters: "_models.StorageAccountCreateParameters",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.StorageAccount"]:
"""Asynchronously creates a new storage account with the specified parameters. If an account is
already created and a subsequent create request is issued with different properties, the
Expand All @@ -181,8 +181,8 @@ async def begin_create(
:type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response)
Expand Down Expand Up @@ -239,7 +239,7 @@ async def delete(
self,
resource_group_name: str,
account_name: str,
**kwargs
**kwargs: Any
) -> None:
"""Deletes a storage account in Microsoft Azure.

Expand Down Expand Up @@ -295,7 +295,7 @@ async def get_properties(
self,
resource_group_name: str,
account_name: str,
**kwargs
**kwargs: Any
) -> "_models.StorageAccount":
"""Returns the properties for the specified storage account including but not limited to name, SKU
name, location, and account status. The ListKeys operation should be used to retrieve storage
Expand Down Expand Up @@ -359,7 +359,7 @@ async def update(
resource_group_name: str,
account_name: str,
parameters: "_models.StorageAccountUpdateParameters",
**kwargs
**kwargs: Any
) -> "_models.StorageAccount":
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
storage account. It can also be used to map the account to a custom domain. Only one custom
Expand Down Expand Up @@ -432,7 +432,7 @@ async def update(

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.StorageAccountListResult"]:
"""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 @@ -500,7 +500,7 @@ async def get_next(next_link=None):
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.StorageAccountListResult"]:
"""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 Expand Up @@ -573,7 +573,7 @@ async def list_keys(
self,
resource_group_name: str,
account_name: str,
**kwargs
**kwargs: Any
) -> "_models.StorageAccountKeys":
"""Lists the access keys for the specified storage account.

Expand Down Expand Up @@ -635,7 +635,7 @@ async def regenerate_key(
resource_group_name: str,
account_name: str,
regenerate_key: "_models.StorageAccountRegenerateKeyParameters",
**kwargs
**kwargs: Any
) -> "_models.StorageAccountKeys":
"""Regenerates one of the access keys for the specified storage account.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ def begin_create(
:type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either StorageAccount or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "18.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
async def check_name_availability(
self,
account_name: "_models.StorageAccountCheckNameAvailabilityParameters",
**kwargs
**kwargs: Any
) -> "_models.CheckNameAvailabilityResult":
"""Checks that the storage account name is valid and is not already in use.

Expand Down Expand Up @@ -108,7 +108,7 @@ async def _create_initial(
resource_group_name: str,
account_name: str,
parameters: "_models.StorageAccountCreateParameters",
**kwargs
**kwargs: Any
) -> Optional["_models.StorageAccount"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]]
error_map = {
Expand Down Expand Up @@ -163,7 +163,7 @@ async def begin_create(
resource_group_name: str,
account_name: str,
parameters: "_models.StorageAccountCreateParameters",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.StorageAccount"]:
"""Asynchronously creates a new storage account with the specified parameters. If an account is
already created and a subsequent create request is issued with different properties, the
Expand All @@ -180,8 +180,8 @@ async def begin_create(
:type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response)
Expand Down Expand Up @@ -238,7 +238,7 @@ async def delete(
self,
resource_group_name: str,
account_name: str,
**kwargs
**kwargs: Any
) -> None:
"""Deletes a storage account in Microsoft Azure.

Expand Down Expand Up @@ -293,7 +293,7 @@ async def get_properties(
self,
resource_group_name: str,
account_name: str,
**kwargs
**kwargs: Any
) -> "_models.StorageAccount":
"""Returns the properties for the specified storage account including but not limited to name, SKU
name, location, and account status. The ListKeys operation should be used to retrieve storage
Expand Down Expand Up @@ -356,7 +356,7 @@ async def update(
resource_group_name: str,
account_name: str,
parameters: "_models.StorageAccountUpdateParameters",
**kwargs
**kwargs: Any
) -> "_models.StorageAccount":
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
storage account. It can also be used to map the account to a custom domain. Only one custom
Expand Down Expand Up @@ -428,7 +428,7 @@ async def update(

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.StorageAccountListResult"]:
"""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 @@ -496,7 +496,7 @@ async def get_next(next_link=None):
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.StorageAccountListResult"]:
"""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 Expand Up @@ -568,7 +568,7 @@ async def list_keys(
self,
resource_group_name: str,
account_name: str,
**kwargs
**kwargs: Any
) -> "_models.StorageAccountListKeysResult":
"""Lists the access keys for the specified storage account.

Expand Down Expand Up @@ -629,7 +629,7 @@ async def regenerate_key(
resource_group_name: str,
account_name: str,
regenerate_key: "_models.StorageAccountRegenerateKeyParameters",
**kwargs
**kwargs: Any
) -> "_models.StorageAccountListKeysResult":
"""Regenerates one of the access keys for the specified storage account.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.UsageListResult"]:
"""Gets the current usage count and the limit for the resources under the subscription.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class Encryption(msrest.serialization.Model):

:param services: List of services which support encryption.
:type services: ~azure.mgmt.storage.v2016_01_01.models.EncryptionServices
:ivar key_source: Required. The encryption keySource (provider). Possible values
(case-insensitive): Microsoft.Storage. Default value: "Microsoft.Storage".
:ivar key_source: The encryption keySource (provider). Possible values (case-insensitive):
Microsoft.Storage. Has constant value: "Microsoft.Storage".
:vartype key_source: str
"""

Expand Down Expand Up @@ -414,7 +414,7 @@ class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model):

:param name: Required.
:type name: str
:ivar type: Required. Default value: "Microsoft.Storage/storageAccounts".
:ivar type: Has constant value: "Microsoft.Storage/storageAccounts".
:vartype type: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ class Encryption(msrest.serialization.Model):

:param services: List of services which support encryption.
:type services: ~azure.mgmt.storage.v2016_01_01.models.EncryptionServices
:ivar key_source: Required. The encryption keySource (provider). Possible values
(case-insensitive): Microsoft.Storage. Default value: "Microsoft.Storage".
:ivar key_source: The encryption keySource (provider). Possible values (case-insensitive):
Microsoft.Storage. Has constant value: "Microsoft.Storage".
:vartype key_source: str
"""

Expand Down Expand Up @@ -435,7 +435,7 @@ class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model):

:param name: Required.
:type name: str
:ivar type: Required. Default value: "Microsoft.Storage/storageAccounts".
:ivar type: Has constant value: "Microsoft.Storage/storageAccounts".
:vartype type: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ def begin_create(
:type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either StorageAccount or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "18.0.0"
VERSION = "1.0.0b1"
Loading