diff --git a/sdk/storage/azure-mgmt-storage/_meta.json b/sdk/storage/azure-mgmt-storage/_meta.json index a66df46ccb14..bed463a12087 100644 --- a/sdk/storage/azure-mgmt-storage/_meta.json +++ b/sdk/storage/azure-mgmt-storage/_meta.json @@ -1,8 +1,8 @@ { - "autorest": "3.0.6369", - "use": "@autorest/python@5.6.2", - "commit": "8eebce5afef155e2216e12b036c2ccb856a331c3", + "autorest": "3.3.0", + "use": "@autorest/python@5.6.6", + "commit": "91aa170d4c0f9bedcb49e152f8641c0198fa1a55", "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.2 --version=3.0.6369", + "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", "readme": "specification/storage/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py index 4df11c428e7e..73ea4a107cd6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py @@ -23,6 +23,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse class _SDKClient(object): def __init__(self, *args, **kwargs): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py index 7664010679f3..3dde717d9bbd 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py @@ -11,6 +11,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json index c9b6d7a4453e..998efaaaf4cb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -100,11 +100,5 @@ "operation_groups": { "storage_accounts": "StorageAccountsOperations", "usage": "UsageOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py index ee9e1bfca779..43c7f7af9233 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementConfiguration from .operations import StorageAccountsOperations @@ -61,6 +62,24 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management.py index cde5ee5b55b5..d3c0db37f377 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -58,6 +59,23 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py index 04d5abc68cd2..b7e1145336f8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -305,8 +305,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -374,8 +374,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountUpdateParameters @@ -581,8 +581,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountKeys, or the result of cls(response) @@ -643,8 +643,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountRegenerateKeyParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py index ff065150d9da..c187f5445f0d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -314,8 +314,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -384,8 +384,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountUpdateParameters @@ -594,8 +594,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountKeys, or the result of cls(response) @@ -657,8 +657,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountRegenerateKeyParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json index b5e0b0c64465..b0ff45d32019 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -100,11 +100,5 @@ "operation_groups": { "storage_accounts": "StorageAccountsOperations", "usage": "UsageOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py index 085ec5595c53..3073fff3650c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import StorageAccountsOperations @@ -61,6 +62,24 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py index 41c24f290675..7b8955c52371 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -58,6 +59,23 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py index c753f8afb9c9..60778dfc2ffa 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -173,8 +173,8 @@ async def begin_create( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters @@ -245,8 +245,8 @@ async def delete( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -302,8 +302,8 @@ async def get_properties( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -370,8 +370,8 @@ async def update( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountUpdateParameters @@ -575,8 +575,8 @@ async def list_keys( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -636,8 +636,8 @@ async def regenerate_key( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountRegenerateKeyParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models.py index bf1fd11b2426..78d74c7d009d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models.py @@ -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: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage. Default value: "Microsoft.Storage". :vartype key_source: str """ diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models_py3.py index d48760742ee8..045c2e649c84 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_models_py3.py @@ -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: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage. Default value: "Microsoft.Storage". :vartype key_source: str """ diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py index 449c3ca169d2..2d4399ca813e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -180,8 +180,8 @@ def begin_create( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters @@ -253,8 +253,8 @@ def delete( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -311,8 +311,8 @@ def get_properties( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -380,8 +380,8 @@ def update( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountUpdateParameters @@ -588,8 +588,8 @@ def list_keys( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -650,8 +650,8 @@ def regenerate_key( :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountRegenerateKeyParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json index fd8a08eafde8..fd86d7ddbe84 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -100,11 +100,5 @@ "operation_groups": { "storage_accounts": "StorageAccountsOperations", "usage": "UsageOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py index 7d9ecc6dea3c..772ef59aa115 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementConfiguration from .operations import StorageAccountsOperations @@ -61,6 +62,24 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management.py index a32af010e157..104386ad38fa 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -58,6 +59,23 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py index a8d0ad3b6e91..2fb22b4bbd20 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -305,8 +305,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -374,8 +374,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountUpdateParameters @@ -581,8 +581,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -643,8 +643,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountRegenerateKeyParameters @@ -712,8 +712,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.AccountSasParameters @@ -781,8 +781,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models.py index bc61532f090f..9ee059aae9f9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models.py @@ -156,8 +156,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2016_12_01.models.EncryptionServices - :ivar key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage. Default value: "Microsoft.Storage". + :ivar key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage. Default value: "Microsoft.Storage". :vartype key_source: str """ diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models_py3.py index c7fd8c5c972d..1b2617d1bfe7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_models_py3.py @@ -173,8 +173,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2016_12_01.models.EncryptionServices - :ivar key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage. Default value: "Microsoft.Storage". + :ivar key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage. Default value: "Microsoft.Storage". :vartype key_source: str """ diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py index f92286d045c2..710f809c21a5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -314,8 +314,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -384,8 +384,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountUpdateParameters @@ -594,8 +594,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -657,8 +657,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountRegenerateKeyParameters @@ -727,8 +727,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.AccountSasParameters @@ -797,8 +797,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json index f0eda7459a7f..8824bfa844b9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -102,11 +102,5 @@ "skus": "SkusOperations", "storage_accounts": "StorageAccountsOperations", "usage": "UsageOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py index f25c8d687821..7eeb5b97d7bf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementConfiguration from .operations import Operations @@ -71,6 +72,24 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management.py index f3b431560958..6688603f8fc1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -68,6 +69,23 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py index 57416c4dbce1..b71bf71ea7e5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -305,8 +305,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -374,8 +374,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountUpdateParameters @@ -581,8 +581,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -643,8 +643,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountRegenerateKeyParameters @@ -712,8 +712,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.AccountSasParameters @@ -781,8 +781,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models.py index ecc9711a7961..58c4e203ed66 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models.py @@ -174,8 +174,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2017_06_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2017_06_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models_py3.py index 5151b0908b7e..3071a40a24f0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_models_py3.py @@ -194,8 +194,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2017_06_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2017_06_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py index 9314c521ddef..eded46aeae90 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -314,8 +314,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -384,8 +384,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountUpdateParameters @@ -594,8 +594,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -657,8 +657,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountRegenerateKeyParameters @@ -727,8 +727,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.AccountSasParameters @@ -797,8 +797,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json index f49871634e94..3c75ea3f9f47 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -102,11 +102,5 @@ "skus": "SkusOperations", "storage_accounts": "StorageAccountsOperations", "usage": "UsageOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py index 931b6ca43d88..ac56af646605 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementConfiguration from .operations import Operations @@ -71,6 +72,24 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py index e022276384bf..b757fd32416f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -68,6 +69,23 @@ def __init__( self.usage = UsageOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py index 5fc1bd5fd7bc..32ab52758329 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -305,8 +305,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -374,8 +374,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountUpdateParameters @@ -581,8 +581,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -643,8 +643,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountRegenerateKeyParameters @@ -712,8 +712,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.AccountSasParameters @@ -781,8 +781,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models.py index 7dc190c4949f..ea4836c69ae8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models.py @@ -174,8 +174,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2017_10_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2017_10_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models_py3.py index 836a61de8573..cfe831cc6baf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_models_py3.py @@ -194,8 +194,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2017_10_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2017_10_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py index f95ae9c221f7..9cc1ae5756f3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -314,8 +314,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -384,8 +384,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountUpdateParameters @@ -594,8 +594,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -657,8 +657,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountRegenerateKeyParameters @@ -727,8 +727,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.AccountSasParameters @@ -797,8 +797,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json index 14b280c3b603..a2c24b4895f4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -103,11 +103,5 @@ "storage_accounts": "StorageAccountsOperations", "usage": "UsageOperations", "blob_containers": "BlobContainersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py index 20d52c9eea4d..068f4c223601 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -76,6 +77,24 @@ def __init__( self.blob_containers = BlobContainersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py index 85789332cf9b..5212691cddec 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -73,6 +74,23 @@ def __init__( self.blob_containers = BlobContainersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py index fd7a52634353..1eb3e01971df 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py @@ -53,8 +53,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -118,8 +118,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -195,8 +195,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -270,8 +270,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -338,8 +338,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -404,8 +404,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -481,8 +481,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -559,8 +559,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -650,8 +650,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -732,8 +732,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -811,8 +811,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -890,8 +890,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -978,8 +978,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py index 5f0ca9d5ba7b..32565fe7ff87 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -305,8 +305,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -374,8 +374,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountUpdateParameters @@ -581,8 +581,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -643,8 +643,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountRegenerateKeyParameters @@ -712,8 +712,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.AccountSasParameters @@ -781,8 +781,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models.py index 335646bcede6..d9c903663426 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models.py @@ -346,8 +346,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_02_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_02_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models_py3.py index 3b5f2f40c1e3..bfd646d618d2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_models_py3.py @@ -369,8 +369,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_02_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_02_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py index d64b2abf6d75..30be846f0a80 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -124,8 +124,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -202,8 +202,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -278,8 +278,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -347,8 +347,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -414,8 +414,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -492,8 +492,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -571,8 +571,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -663,8 +663,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -746,8 +746,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -826,8 +826,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -906,8 +906,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -995,8 +995,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py index 82449392237b..51b718236878 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -314,8 +314,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -384,8 +384,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountUpdateParameters @@ -594,8 +594,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -657,8 +657,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountRegenerateKeyParameters @@ -727,8 +727,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.AccountSasParameters @@ -797,8 +797,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ServiceSasParameters diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json index fe1bffb1aebf..f43ef6f0e135 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -103,11 +103,5 @@ "storage_accounts": "StorageAccountsOperations", "usages": "UsagesOperations", "blob_containers": "BlobContainersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py index ed79d2302ebe..cfc02e2a148a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -76,6 +77,24 @@ def __init__( self.blob_containers = BlobContainersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py index 1c92a1109ef8..9e79123232e8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -73,6 +74,23 @@ def __init__( self.blob_containers = BlobContainersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py index c484b64b82bb..111241aa098e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py @@ -53,8 +53,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -118,8 +118,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -195,8 +195,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -270,8 +270,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -338,8 +338,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -404,8 +404,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -481,8 +481,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -559,8 +559,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -650,8 +650,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -732,8 +732,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -811,8 +811,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -890,8 +890,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -978,8 +978,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py index 57d5f69af281..96edd77d655b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -305,8 +305,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -374,8 +374,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountUpdateParameters @@ -581,8 +581,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -643,8 +643,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters @@ -712,8 +712,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters @@ -781,8 +781,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters @@ -850,8 +850,8 @@ async def get_management_policies( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -917,8 +917,8 @@ async def create_or_update_management_policies( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -990,8 +990,8 @@ async def delete_management_policies( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models.py index 88c30fb9e1cf..cafcb21000fe 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models.py @@ -346,8 +346,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_03_01_preview.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_03_01_preview.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py index 1398f13ba751..24fd502f89e6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py @@ -369,8 +369,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_03_01_preview.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_03_01_preview.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py index 9c55e573cbb9..c2b617cc213d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -124,8 +124,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -202,8 +202,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -278,8 +278,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -347,8 +347,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -414,8 +414,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -492,8 +492,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -571,8 +571,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -663,8 +663,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -746,8 +746,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -826,8 +826,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -906,8 +906,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -995,8 +995,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py index 555112e6c88e..9bcd6256d306 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -314,8 +314,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) @@ -384,8 +384,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountUpdateParameters @@ -594,8 +594,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -657,8 +657,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters @@ -727,8 +727,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters @@ -797,8 +797,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters @@ -867,8 +867,8 @@ def get_management_policies( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -935,8 +935,8 @@ def create_or_update_management_policies( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -1009,8 +1009,8 @@ def delete_management_policies( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json index 545b1d74bf70..a1c7fee4efe7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -105,11 +105,5 @@ "blob_services": "BlobServicesOperations", "blob_containers": "BlobContainersOperations", "management_policies": "ManagementPoliciesOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py index 11055782e2df..becb08726f0d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -86,6 +87,24 @@ def __init__( self.management_policies = ManagementPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py index b6f8cf96c4e3..5f5960a05e5f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -83,6 +84,23 @@ def __init__( self.management_policies = ManagementPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py index 132e90e7cf05..f724311b8aa2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py @@ -53,8 +53,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -118,8 +118,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -195,8 +195,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -270,8 +270,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -338,8 +338,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -404,8 +404,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -481,8 +481,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -559,8 +559,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -650,8 +650,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -732,8 +732,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -811,8 +811,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -890,8 +890,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -978,8 +978,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py index 0886db6a2562..6fa8f697c590 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py @@ -54,8 +54,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -126,8 +126,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_management_policies_operations.py index 374f81a1c483..2ad069b7d639 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_management_policies_operations.py @@ -53,8 +53,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -120,8 +120,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -193,8 +193,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py index 8f2227da7153..a7034a976d25 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -306,8 +306,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats. @@ -380,8 +380,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountUpdateParameters @@ -587,8 +587,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -649,8 +649,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountRegenerateKeyParameters @@ -718,8 +718,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.AccountSasParameters @@ -787,8 +787,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.ServiceSasParameters @@ -899,8 +899,8 @@ async def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models.py index 12ea94e47061..5928b5636518 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models.py @@ -495,8 +495,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_07_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_07_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models_py3.py index cefded636678..f0fbceff8eb0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_models_py3.py @@ -533,8 +533,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_07_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_07_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py index 0e9f3ba518ad..7b8267596009 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -124,8 +124,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -202,8 +202,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -278,8 +278,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -347,8 +347,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -414,8 +414,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -492,8 +492,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -571,8 +571,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -663,8 +663,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -746,8 +746,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -826,8 +826,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -906,8 +906,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -995,8 +995,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py index d3278dc896e4..e8ff35acfd3e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py @@ -59,8 +59,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -132,8 +132,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py index 25b09f78a2a7..44421d592324 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py @@ -58,8 +58,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -126,8 +126,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -200,8 +200,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py index 7a429ec6a7b4..077665035d98 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -315,8 +315,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats. @@ -390,8 +390,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountUpdateParameters @@ -600,8 +600,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -663,8 +663,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountRegenerateKeyParameters @@ -733,8 +733,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.AccountSasParameters @@ -803,8 +803,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.ServiceSasParameters @@ -917,8 +917,8 @@ def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json index 3c42816c893a..8976f08b5bfa 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -105,11 +105,5 @@ "management_policies": "ManagementPoliciesOperations", "blob_services": "BlobServicesOperations", "blob_containers": "BlobContainersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py index cdfdbb9ccb11..0174a08f351a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -86,6 +87,24 @@ def __init__( self.blob_containers = BlobContainersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py index 8773f824c886..09deca61e2ad 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -83,6 +84,23 @@ def __init__( self.blob_containers = BlobContainersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py index 96960caf9165..9cff9d8acdb4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py @@ -53,8 +53,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -118,8 +118,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -199,8 +199,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -274,8 +274,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -342,8 +342,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -408,8 +408,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -485,8 +485,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -563,8 +563,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -654,8 +654,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -736,8 +736,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -815,8 +815,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -894,8 +894,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -982,8 +982,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py index 6fddb5583f16..42c05e27fbd6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py @@ -54,8 +54,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -126,8 +126,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py index e8038a30d8d3..4cbf3f9ed304 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py @@ -53,8 +53,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -120,8 +120,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -193,8 +193,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py index 621c6c957d4e..d55200170f3c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -306,8 +306,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats. @@ -380,8 +380,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters @@ -587,8 +587,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -649,8 +649,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters @@ -718,8 +718,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters @@ -787,8 +787,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters @@ -899,8 +899,8 @@ async def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -966,8 +966,8 @@ async def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py index 75d4d39dce16..27f9ab99baa6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py @@ -547,8 +547,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_11_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_11_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py index aec4410294b9..feb844b3dad7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py @@ -589,8 +589,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2018_11_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2018_11_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py index acdf40ea1b46..a15dc4ad3d45 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListContainerItems, or the result of cls(response) @@ -124,8 +124,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -206,8 +206,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -282,8 +282,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -351,8 +351,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -418,8 +418,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -496,8 +496,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -575,8 +575,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -667,8 +667,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -750,8 +750,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -830,8 +830,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -910,8 +910,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -999,8 +999,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py index 0b3fb5026978..b70b3b64a36b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py @@ -59,8 +59,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -132,8 +132,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py index 4f68d5c36201..94ab07e919d9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py @@ -58,8 +58,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -126,8 +126,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -200,8 +200,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py index 5818f46e6288..c57e491ea44a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -315,8 +315,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats. @@ -390,8 +390,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters @@ -600,8 +600,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountListKeysResult, or the result of cls(response) @@ -663,8 +663,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2. :type regenerate_key: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters @@ -733,8 +733,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters @@ -803,8 +803,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters @@ -917,8 +917,8 @@ def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -985,8 +985,8 @@ def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json index be01e8fec0e3..f9d6e88fcd3a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -107,11 +107,5 @@ "blob_containers": "BlobContainersOperations", "file_services": "FileServicesOperations", "file_shares": "FileSharesOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py index 8bebd1568e41..19be09e6d40c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -96,6 +97,24 @@ def __init__( self.file_shares = FileSharesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py index 7d0b34632205..9c1e69ebb08b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -93,6 +94,23 @@ def __init__( self.file_shares = FileSharesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py index 61745a2f8da1..f18a9bf8db40 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -233,8 +233,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -308,8 +308,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -376,8 +376,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -442,8 +442,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -519,8 +519,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -597,8 +597,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -688,8 +688,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -770,8 +770,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -849,8 +849,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -928,8 +928,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1016,8 +1016,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py index d84629d049ab..0b83f49e20a7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -132,8 +132,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -204,8 +204,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py index 699f805a87cf..273ed725bbf0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -115,11 +115,11 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py index c1e5a0e3e956..0bb360c3a307 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py @@ -56,8 +56,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str @@ -151,8 +151,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -232,8 +232,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -307,8 +307,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -375,8 +375,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py index 86109b1cc988..5f4d0b075d8f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py @@ -53,8 +53,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -120,8 +120,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -193,8 +193,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py index ba1a6f26da03..5d5785c037f1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -306,8 +306,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats. @@ -380,8 +380,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters @@ -589,8 +589,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -655,8 +655,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -725,8 +725,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters @@ -794,8 +794,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters @@ -906,8 +906,8 @@ async def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -973,8 +973,8 @@ async def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py index 579091063450..f6c657b18dc4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py @@ -716,8 +716,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2019_04_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2019_04_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py index b03621fe75e8..331d44784ac8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py @@ -777,8 +777,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2019_04_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2019_04_01.models.KeySource :param key_vault_properties: Properties provided by key vault. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py index 6381aae09c1c..23f28242e1da 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py @@ -62,8 +62,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -240,8 +240,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -316,8 +316,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -385,8 +385,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -452,8 +452,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -530,8 +530,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -609,8 +609,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -701,8 +701,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -784,8 +784,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -864,8 +864,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -944,8 +944,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1033,8 +1033,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py index 9730e2efa8f7..4890ee64be3e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -138,8 +138,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -211,8 +211,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py index 43c597476ca1..2c2273ea00fc 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -121,11 +121,11 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py index 2cebba1bfb4d..3c3acb2c599c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py @@ -61,8 +61,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str @@ -157,8 +157,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -239,8 +239,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -315,8 +315,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -384,8 +384,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py index 5a07d5195123..326dcbc0444e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py @@ -58,8 +58,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -126,8 +126,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -200,8 +200,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py index 9b45be6d1509..74757f174982 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -315,8 +315,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats. @@ -390,8 +390,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters @@ -602,8 +602,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -669,8 +669,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -740,8 +740,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters @@ -810,8 +810,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters @@ -924,8 +924,8 @@ def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -992,8 +992,8 @@ def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json index b5f27440e7ab..25973088a8c5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -116,11 +116,5 @@ "queue": "QueueOperations", "table_services": "TableServicesOperations", "table": "TableOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py index e7aa7945484c..00cd7a84ebbf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -141,6 +142,24 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py index 6e6dfea82037..60163085e993 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -138,6 +139,23 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py index d9623852d783..ae2224ec8fb2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -233,8 +233,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -308,8 +308,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -376,8 +376,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -442,8 +442,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -519,8 +519,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -597,8 +597,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -688,8 +688,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -770,8 +770,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -849,8 +849,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -928,8 +928,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1016,8 +1016,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py index dfd7a8e1856d..2c722c1abda2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py @@ -54,8 +54,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -122,8 +122,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -196,8 +196,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -259,8 +259,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py index 77011429aac1..b58d04a492ba 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -132,8 +132,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -204,8 +204,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py index 64f976430c39..4e93adce98bc 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py @@ -57,8 +57,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -139,8 +139,8 @@ async def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -215,8 +215,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -283,8 +283,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py index a54bc3a7153a..fcccd2fb523c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -115,11 +115,11 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py index f73bba4db4a9..da14d994bd31 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py @@ -56,8 +56,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -151,8 +151,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -232,8 +232,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -308,8 +308,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -380,8 +380,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -446,8 +446,8 @@ async def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py index 68bdaea9f8a8..76b93db0d9ca 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py @@ -53,8 +53,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -120,8 +120,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -193,8 +193,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py index d974ef88f3dd..904076f962a9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -132,8 +132,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -200,8 +200,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -275,8 +275,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py index 94d1a5ce0663..f28b04b22eba 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -131,8 +131,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -199,8 +199,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -273,8 +273,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py index eeff3d9fc1b4..849c64c0421c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py @@ -52,8 +52,8 @@ async def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py index 99380a39dc61..c79d3c4eb5fc 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py @@ -55,8 +55,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -131,8 +131,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -206,8 +206,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -274,8 +274,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -340,8 +340,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py index 66a73c4c5a3d..dc0b41e212f9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py index d13e13bc8ac6..80ca6860d3d4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -306,8 +306,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -381,8 +381,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountUpdateParameters @@ -590,8 +590,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -656,8 +656,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -726,8 +726,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.AccountSasParameters @@ -795,8 +795,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.ServiceSasParameters @@ -907,8 +907,8 @@ async def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1032,8 +1032,8 @@ async def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters @@ -1105,8 +1105,8 @@ async def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py index 2686c9a573f4..f6cbfc8a6bd3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py @@ -54,8 +54,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -121,8 +121,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -188,8 +188,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -255,8 +255,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -318,8 +318,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py index 05bb2c8724ef..f5128f278a7d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py index 0ec9951bf427..1bccaf33474c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py @@ -1112,8 +1112,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2019_06_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2019_06_01.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py index 16331829453c..64f10653798a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py @@ -1208,8 +1208,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2019_06_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2019_06_01.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py index bf96a0efe123..b3c9ed30ebf4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py @@ -62,8 +62,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -240,8 +240,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -316,8 +316,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -385,8 +385,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -452,8 +452,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -530,8 +530,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -609,8 +609,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -701,8 +701,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -784,8 +784,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -864,8 +864,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -944,8 +944,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1033,8 +1033,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py index c6d0e6070d80..5fbbd9e6aa02 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py @@ -59,8 +59,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -128,8 +128,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -203,8 +203,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -267,8 +267,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py index ae7dac24a49b..d877f294e3ef 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -138,8 +138,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -211,8 +211,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py index 81784ac3c3e0..3b7bb4057af5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py @@ -62,8 +62,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -145,8 +145,8 @@ def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -222,8 +222,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -291,8 +291,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py index 6b91fe812906..8e0b085edb96 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -121,11 +121,11 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py index fb99c08b3cd7..53ae17a491f1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py @@ -61,8 +61,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -157,8 +157,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -239,8 +239,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -316,8 +316,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -389,8 +389,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -456,8 +456,8 @@ def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py index c019d22617b1..cd321d246190 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py @@ -58,8 +58,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -126,8 +126,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -200,8 +200,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py index fce205019b01..28b09ddec825 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -138,8 +138,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -207,8 +207,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -283,8 +283,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py index cf1480109c93..24001491246c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -137,8 +137,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -206,8 +206,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -281,8 +281,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py index d4be55ed6eb0..d733e262c4b1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py @@ -57,8 +57,8 @@ def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py index 5e94df2292b9..d6bb802dafd7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py @@ -60,8 +60,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -137,8 +137,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -213,8 +213,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -282,8 +282,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -349,8 +349,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py index aca0ae0edcfb..a7297a1c3f91 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py index a1055087e05d..ad86d4f2fec2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -315,8 +315,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -391,8 +391,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountUpdateParameters @@ -603,8 +603,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -670,8 +670,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -741,8 +741,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.AccountSasParameters @@ -811,8 +811,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.ServiceSasParameters @@ -925,8 +925,8 @@ def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1052,8 +1052,8 @@ def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters @@ -1126,8 +1126,8 @@ def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py index 64d9bbe2fc01..155d0c785102 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py @@ -59,8 +59,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -127,8 +127,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -195,8 +195,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -263,8 +263,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -327,8 +327,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py index f76a31b992c4..6ef68d0babf6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_metadata.json index 471ab659a655..ac3378620930 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -117,11 +117,5 @@ "queue": "QueueOperations", "table_services": "TableServicesOperations", "table": "TableOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py index 5b3ef4db643c..f6ebf3b7296a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -146,6 +147,24 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py index 5128e89144c4..166e30bd6ae1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -143,6 +144,23 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py index 6bee05626118..1f0713a5497d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -233,8 +233,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -308,8 +308,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -376,8 +376,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -442,8 +442,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -519,8 +519,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -597,8 +597,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -688,8 +688,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -770,8 +770,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -849,8 +849,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -928,8 +928,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1016,8 +1016,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py index 3563fbf5adc1..266304790c4b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py @@ -54,8 +54,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -122,8 +122,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -196,8 +196,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -259,8 +259,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py index d9505365c31a..907a41085167 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -132,8 +132,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -204,8 +204,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py index ec7f73b145e3..13f7d4f1ad84 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py @@ -57,8 +57,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -139,8 +139,8 @@ async def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -215,8 +215,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -283,8 +283,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py index 2fb3134f7aec..fb02b98da900 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -115,11 +115,11 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py index 42790aa149e5..04b379085566 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py @@ -56,8 +56,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -237,8 +237,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -314,8 +314,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -391,8 +391,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -461,8 +461,8 @@ async def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py index 41fc144edfc1..ee89243e8d1e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py @@ -53,8 +53,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -120,8 +120,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -193,8 +193,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py index 3b3bae2e2d59..75ce07b70611 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -132,8 +132,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -200,8 +200,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -275,8 +275,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py index 2eacc9be87ea..876b640fd299 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -131,8 +131,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -199,8 +199,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -273,8 +273,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py index e81bf85a23e0..ea51308267f2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py @@ -52,8 +52,8 @@ async def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py index 9e463917abce..d7de946fcdae 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py @@ -55,8 +55,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -131,8 +131,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -206,8 +206,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -274,8 +274,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -340,8 +340,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py index b3d54004ad20..b8aaaad75149 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py index 6312fc8fe1a9..c3481d0f4f91 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -306,8 +306,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -381,8 +381,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountUpdateParameters @@ -590,8 +590,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -656,8 +656,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -726,8 +726,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters @@ -795,8 +795,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters @@ -907,8 +907,8 @@ async def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1032,8 +1032,8 @@ async def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters @@ -1105,8 +1105,8 @@ async def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py index a04c2aa44652..98c16bd52ecc 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py @@ -54,8 +54,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -121,8 +121,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -188,8 +188,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -255,8 +255,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -318,8 +318,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py index a16a6bf4f021..a8f6ea36f694 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models.py index 0e88071c29cc..0aa65c5d984a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models.py @@ -1239,8 +1239,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2020_08_01_preview.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2020_08_01_preview.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py index 5d73b2be45ee..9b24eaff7a60 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py @@ -1335,8 +1335,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2020_08_01_preview.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2020_08_01_preview.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py index 0ccc3d38b7cb..fdfe7b1c84e8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py @@ -62,8 +62,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -240,8 +240,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -316,8 +316,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -385,8 +385,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -452,8 +452,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -530,8 +530,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -609,8 +609,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -701,8 +701,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -784,8 +784,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -864,8 +864,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -944,8 +944,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1033,8 +1033,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py index c6c20bce3986..f6435704b3d8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py @@ -59,8 +59,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -128,8 +128,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -203,8 +203,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -267,8 +267,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py index 0ea3f4d06b70..4e4a4c9648e7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -138,8 +138,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -211,8 +211,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py index bb152d9223e0..d4b67060766b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py @@ -62,8 +62,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -145,8 +145,8 @@ def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -222,8 +222,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -291,8 +291,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py index ae469267a49a..c9735efb61a9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -121,11 +121,11 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py index f22d0044b997..4b8775427c54 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py @@ -61,8 +61,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -244,8 +244,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -322,8 +322,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -400,8 +400,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -471,8 +471,8 @@ def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py index 69a5f612499c..a574f0faf92b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py @@ -58,8 +58,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -126,8 +126,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -200,8 +200,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py index 8aaa8ff1ea29..a0584631928d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -138,8 +138,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -207,8 +207,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -283,8 +283,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py index 9baf00057ce5..34484db5e4b5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -137,8 +137,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -206,8 +206,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -281,8 +281,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py index 8b4dd854c392..67d7350740c2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py @@ -57,8 +57,8 @@ def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py index 8d161e1064bf..0294214d9c3d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py @@ -60,8 +60,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -137,8 +137,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -213,8 +213,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -282,8 +282,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -349,8 +349,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py index 66fc2bea5e51..6fa83d5808b5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py index 842ac3b97a72..8f376d64494e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -315,8 +315,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -391,8 +391,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountUpdateParameters @@ -603,8 +603,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -670,8 +670,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -741,8 +741,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters @@ -811,8 +811,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters @@ -925,8 +925,8 @@ def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1052,8 +1052,8 @@ def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters @@ -1126,8 +1126,8 @@ def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py index 65e0966b2a41..e5a6604d42db 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py @@ -59,8 +59,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -127,8 +127,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -195,8 +195,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -263,8 +263,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -327,8 +327,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py index 01d5954ffe06..9d2239e03bcb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_metadata.json index 406f3e3ba0a4..084c5bc5aad0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -117,11 +117,5 @@ "queue": "QueueOperations", "table_services": "TableServicesOperations", "table": "TableOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_storage_management_client.py index c9502bb92ac2..744672f00947 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -146,6 +147,24 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py index f7a42268097f..4c94224182e8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -143,6 +144,23 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py index 2e647f181408..7b744f7f57a6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -233,8 +233,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -308,8 +308,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -376,8 +376,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -442,8 +442,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -519,8 +519,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -597,8 +597,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -688,8 +688,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -770,8 +770,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -849,8 +849,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -928,8 +928,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1016,8 +1016,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py index bcc4c3391adc..3c3e77c1c44d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py @@ -54,8 +54,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -122,8 +122,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -196,8 +196,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -259,8 +259,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py index 9d8b964c3107..118fa5102a16 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -132,8 +132,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -204,8 +204,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py index acbbb6099760..13af980ee616 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py @@ -57,8 +57,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -139,8 +139,8 @@ async def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -215,8 +215,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -283,8 +283,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py index 2dcce71cd687..6119b29eafb9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -115,11 +115,11 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py index cb73b8d3d7e9..75a5afcc8fc6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py @@ -56,8 +56,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -237,8 +237,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -314,8 +314,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -391,8 +391,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -461,8 +461,8 @@ async def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py index 689478a9deea..7a0921c93ce4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py @@ -53,8 +53,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -120,8 +120,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -193,8 +193,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py index 7220eab1a98d..245ba2166fd8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -132,8 +132,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -200,8 +200,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -275,8 +275,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py index 2e6a76bfd047..e5e87b908f6a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -131,8 +131,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -199,8 +199,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -273,8 +273,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py index 99e767826112..1aa45ba299c7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py @@ -52,8 +52,8 @@ async def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py index a2cea9e3e0bb..6a458c786a06 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py @@ -55,8 +55,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -131,8 +131,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -206,8 +206,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -274,8 +274,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -340,8 +340,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py index 305112fc9d9a..e227d53079de 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py index d6d9cf402528..cc717da406df 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -306,8 +306,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -381,8 +381,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountUpdateParameters @@ -590,8 +590,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -656,8 +656,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -726,8 +726,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.AccountSasParameters @@ -795,8 +795,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ServiceSasParameters @@ -907,8 +907,8 @@ async def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1032,8 +1032,8 @@ async def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreParameters @@ -1105,8 +1105,8 @@ async def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py index ed24fdc70bf3..2e6bf256ac37 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py @@ -54,8 +54,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -121,8 +121,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -188,8 +188,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -255,8 +255,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -318,8 +318,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py index 0e5ca20f9a93..44d0e79680df 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models.py index ac025742ff11..82dfb0a2f5e6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models.py @@ -1237,8 +1237,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2021_01_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2021_01_01.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models_py3.py index 09c4c8caeba9..03af40e76c6a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/models/_models_py3.py @@ -1333,8 +1333,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2021_01_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2021_01_01.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py index 8c342651fa5a..71f641b6641c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py @@ -62,8 +62,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -240,8 +240,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -316,8 +316,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -385,8 +385,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -452,8 +452,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -530,8 +530,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -609,8 +609,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -701,8 +701,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -784,8 +784,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -864,8 +864,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -944,8 +944,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1033,8 +1033,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py index 196e27ba9ea1..7a270d56fc21 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py @@ -59,8 +59,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -128,8 +128,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -203,8 +203,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -267,8 +267,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py index d9b095ddea9a..0d43959e0413 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -138,8 +138,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -211,8 +211,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py index 1204fdadd485..cde30462cbeb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py @@ -62,8 +62,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -145,8 +145,8 @@ def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -222,8 +222,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -291,8 +291,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py index fb0d63051eee..373f185c9dd8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -121,11 +121,11 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py index 1a526905c8c7..cab0274a3518 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py @@ -61,8 +61,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -244,8 +244,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -322,8 +322,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -400,8 +400,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -471,8 +471,8 @@ def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py index b2b6c1844765..befa7fd77840 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py @@ -58,8 +58,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -126,8 +126,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -200,8 +200,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py index 58b553a093c7..964e5a958d40 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -138,8 +138,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -207,8 +207,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -283,8 +283,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py index 27425b3d8cb0..bdc85a1e1b9b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -137,8 +137,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -206,8 +206,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -281,8 +281,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py index 260af02bb080..ad8ec33c6d05 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py @@ -57,8 +57,8 @@ def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py index acd6477c8b5e..e605d8fff924 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py @@ -60,8 +60,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -137,8 +137,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -213,8 +213,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -282,8 +282,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -349,8 +349,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py index c080942c0814..7c996f220d57 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py index 208d5a5136c8..69abcfc2cf5e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -315,8 +315,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -391,8 +391,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountUpdateParameters @@ -603,8 +603,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -670,8 +670,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -741,8 +741,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.AccountSasParameters @@ -811,8 +811,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ServiceSasParameters @@ -925,8 +925,8 @@ def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1052,8 +1052,8 @@ def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreParameters @@ -1126,8 +1126,8 @@ def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_operations.py index 6164c581105b..57ada786cad4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_operations.py @@ -59,8 +59,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -127,8 +127,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -195,8 +195,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -263,8 +263,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -327,8 +327,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py index eed778a887c4..cc7fae88b319 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_metadata.json index 7ea5b5494844..f4dc9ffd9d4b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"StorageManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -117,11 +117,5 @@ "queue": "QueueOperations", "table_services": "TableServicesOperations", "table": "TableOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_storage_management_client.py index c41dff799567..62bbd9818f24 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_storage_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import StorageManagementClientConfiguration from .operations import Operations @@ -146,6 +147,24 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_version.py index 88f96530bab6..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "17.1.0" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py index 5acb53b58fc2..84b8a89e6b31 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -143,6 +144,23 @@ def __init__( self.table = TableOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py index f7d506c60a7a..93a6259bbb18 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -233,8 +233,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -308,8 +308,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -376,8 +376,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -442,8 +442,8 @@ async def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -519,8 +519,8 @@ async def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -597,8 +597,8 @@ async def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -688,8 +688,8 @@ async def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -770,8 +770,8 @@ async def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -849,8 +849,8 @@ async def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -928,8 +928,8 @@ async def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1016,8 +1016,8 @@ async def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py index 4cbb7d2439da..3632455f240c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py @@ -54,8 +54,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -122,8 +122,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -196,8 +196,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -259,8 +259,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py index 259038b47b52..107ccf855fda 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -132,8 +132,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -204,8 +204,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py index a21a6a10cbc8..1cb92ae29889 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py @@ -57,8 +57,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -139,8 +139,8 @@ async def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -215,8 +215,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -283,8 +283,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py index ad1b16c8dd32..bd5806166571 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -115,11 +115,11 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py index bf6fa12cc653..6c33de0ea4cb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py @@ -56,8 +56,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -152,8 +152,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -237,8 +237,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -314,8 +314,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -391,8 +391,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -461,8 +461,8 @@ async def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py index aefc4ff0cc3b..bce6df27a310 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py @@ -53,8 +53,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -120,8 +120,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -193,8 +193,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py index 2f0160ebb29c..c3cc925b7205 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -132,8 +132,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -200,8 +200,8 @@ async def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -275,8 +275,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py index 6f636c6b3e9c..83e966eb8b9d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py @@ -53,8 +53,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -131,8 +131,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -199,8 +199,8 @@ async def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -273,8 +273,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py index ad3306cefeba..0313d0ec6e5c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py @@ -52,8 +52,8 @@ async def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py index c3d238e19f63..b21d186ba979 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py @@ -55,8 +55,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -131,8 +131,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -206,8 +206,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -274,8 +274,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -340,8 +340,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py index 2b33f1a9e831..fa3a764c26ca 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py index b502216ad213..731e6ef4ee70 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py @@ -51,8 +51,8 @@ async def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2021_02_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -174,8 +174,8 @@ async def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.StorageAccountCreateParameters @@ -247,8 +247,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -306,8 +306,8 @@ async def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -381,8 +381,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.StorageAccountUpdateParameters @@ -590,8 +590,8 @@ async def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -656,8 +656,8 @@ async def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -726,8 +726,8 @@ async def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.AccountSasParameters @@ -795,8 +795,8 @@ async def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.ServiceSasParameters @@ -907,8 +907,8 @@ async def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1032,8 +1032,8 @@ async def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.BlobRestoreParameters @@ -1105,8 +1105,8 @@ async def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py index 8632fa5990a8..ca8574cc7a2c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py @@ -54,8 +54,8 @@ async def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -121,8 +121,8 @@ async def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -188,8 +188,8 @@ async def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -255,8 +255,8 @@ async def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -318,8 +318,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py index 6f8831f02847..97ee89d6311d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py @@ -52,8 +52,8 @@ async def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -115,8 +115,8 @@ async def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -187,8 +187,8 @@ async def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models.py index a9fbba48ad64..269879ababdb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models.py @@ -1237,8 +1237,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2021_02_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2021_02_01.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models_py3.py index 26a981152725..b4465626acd3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/_models_py3.py @@ -1333,8 +1333,8 @@ class Encryption(msrest.serialization.Model): :param services: List of services which support encryption. :type services: ~azure.mgmt.storage.v2021_02_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: + :param key_source: Required. The encryption keySource (provider). Possible values + (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". :type key_source: str or ~azure.mgmt.storage.v2021_02_01.models.KeySource :param require_infrastructure_encryption: A boolean indicating whether or not the service diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py index b13e0fa5d690..fcaeb6eddd6c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py @@ -62,8 +62,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in the list. @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -240,8 +240,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -316,8 +316,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -385,8 +385,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -452,8 +452,8 @@ def set_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -530,8 +530,8 @@ def clear_legal_hold( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -609,8 +609,8 @@ def create_or_update_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -701,8 +701,8 @@ def get_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -784,8 +784,8 @@ def delete_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -864,8 +864,8 @@ def lock_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -944,8 +944,8 @@ def extend_immutability_policy( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case @@ -1033,8 +1033,8 @@ def lease( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param container_name: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py index 31545edf65c1..15dbb8bc5271 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py @@ -59,8 +59,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -128,8 +128,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -203,8 +203,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It should always be 'default'. @@ -267,8 +267,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py index d73cb034b767..5e4ffe367da9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -138,8 +138,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. @@ -211,8 +211,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BlobServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py index 5f800c5b1d31..33d54b529b56 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py @@ -62,8 +62,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -145,8 +145,8 @@ def patch( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -222,8 +222,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param encryption_scope_name: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, @@ -291,8 +291,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py index e0b4c806902d..47c4c852058e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceItems, or the result of cls(response) @@ -121,11 +121,11 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. + :param parameters: The properties of file services in storage accounts, including CORS + (Cross-Origin Resource Sharing) rules. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.FileServiceProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: FileServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py index b0d163edcd1e..f2ac752dbf74 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py @@ -61,8 +61,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the list. @@ -158,8 +158,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -244,8 +244,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -322,8 +322,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -400,8 +400,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and @@ -471,8 +471,8 @@ def restore( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param share_name: The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py index 479b22d8f382..4679cdf31df1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py @@ -58,8 +58,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -126,8 +126,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. @@ -200,8 +200,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param management_policy_name: The name of the Storage Account Management Policy. It should always be 'default'. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py index b6b2fc9fea01..c100b853f939 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -138,8 +138,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -207,8 +207,8 @@ def create_or_update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. @@ -283,8 +283,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param object_replication_policy_id: The ID of object replication policy or 'default' if the policy ID is unknown. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py index 1fff5c21f7d3..43b1ea1c157d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py @@ -58,8 +58,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -137,8 +137,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -206,8 +206,8 @@ def put( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. @@ -281,8 +281,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py index 07cca425b26b..0e505bf5c0bf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py @@ -57,8 +57,8 @@ def list_by_storage_account( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourceListResult, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py index fa5a4bfa8ff1..d5e7fdcac676 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py @@ -60,8 +60,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -137,8 +137,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -213,8 +213,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -282,8 +282,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param queue_name: A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, @@ -349,8 +349,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list queue response. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py index 56a65c286555..b91df8883103 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListQueueServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: QueueServiceProperties, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py index c49b77f00951..c48de05eb38d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py @@ -56,8 +56,8 @@ def check_name_availability( """Checks that the storage account name is valid and is not already in use. :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: ~azure.mgmt.storage.v2021_02_01.models.StorageAccountCheckNameAvailabilityParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResult, or the result of cls(response) @@ -181,8 +181,8 @@ def begin_create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.StorageAccountCreateParameters @@ -255,8 +255,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) @@ -315,8 +315,8 @@ def get_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats @@ -391,8 +391,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for the updated account. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.StorageAccountUpdateParameters @@ -603,8 +603,8 @@ def list_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param expand: Specifies type of the key to be listed. Possible value is kerb. :type expand: str @@ -670,8 +670,8 @@ def regenerate_key( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. @@ -741,8 +741,8 @@ def list_account_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list SAS credentials for the storage account. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.AccountSasParameters @@ -811,8 +811,8 @@ def list_service_sas( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide to list service SAS credentials. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.ServiceSasParameters @@ -925,8 +925,8 @@ def begin_failover( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :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. @@ -1052,8 +1052,8 @@ def begin_restore_blob_ranges( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2021_02_01.models.BlobRestoreParameters @@ -1126,8 +1126,8 @@ def revoke_user_delegation_keys( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_operations.py index 9b3b388034e4..370bf18b70d1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_operations.py @@ -59,8 +59,8 @@ def create( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -127,8 +127,8 @@ def update( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -195,8 +195,8 @@ def get( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -263,8 +263,8 @@ def delete( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param table_name: A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin @@ -327,8 +327,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py index 2fb259e8d4ee..7421eed424c3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py @@ -57,8 +57,8 @@ def list( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ListTableServices, or the result of cls(response) @@ -121,8 +121,8 @@ def set_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :param parameters: The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. @@ -194,8 +194,8 @@ def get_service_properties( name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and + lower-case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TableServiceProperties, or the result of cls(response)