diff --git a/sdk/datashare/azure-mgmt-datashare/_meta.json b/sdk/datashare/azure-mgmt-datashare/_meta.json index 77e7bad2531f..7a1ff9e02bf3 100644 --- a/sdk/datashare/azure-mgmt-datashare/_meta.json +++ b/sdk/datashare/azure-mgmt-datashare/_meta.json @@ -1,8 +1,11 @@ { - "autorest": "3.0.6369", - "use": "@autorest/python@5.6.2", - "commit": "36084f10aacb98d77af2f67c9d57fca2bbe68e97", + "autorest": "3.4.2", + "use": [ + "@autorest/python@5.8.1", + "@autorest/modelerfour@4.19.2" + ], + "commit": "c803720c6bcfcb0fcf4c97f3463ec33a18f9e55c", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/datashare/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/datashare/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/datashare/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_data_share_management_client.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_data_share_management_client.py index de175d951bb4..42f82b1a3558 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_data_share_management_client.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_data_share_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 DataShareManagementClientConfiguration from .operations import AccountsOperations @@ -111,6 +112,24 @@ def __init__( self.triggers = TriggersOperations( 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/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_metadata.json b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_metadata.json index 0e83432b54a1..a8c241136545 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_metadata.json +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_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\": [\"DataShareManagementClientConfiguration\"]}}, \"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\": [\"DataShareManagementClientConfiguration\"]}}, \"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\": [\"DataShareManagementClientConfiguration\"]}}, \"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\": [\"DataShareManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -110,11 +110,5 @@ "consumer_source_data_sets": "ConsumerSourceDataSetsOperations", "synchronization_settings": "SynchronizationSettingsOperations", "triggers": "TriggersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_version.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_version.py index c47f66669f1b..e5754a47ce68 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_version.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/_data_share_management_client.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/_data_share_management_client.py index cbd2637978aa..5a98ae048d80 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/_data_share_management_client.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/_data_share_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 @@ -108,6 +109,23 @@ def __init__( self.triggers = TriggersOperations( 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/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_accounts_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_accounts_operations.py index 7418fac88112..465482561c23 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_accounts_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_accounts_operations.py @@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list_by_subscription( self, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AccountList"]: """List Accounts in a subscription. @@ -121,7 +121,7 @@ async def get( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.Account": """Get an account under a resource group. @@ -183,7 +183,7 @@ async def _create_initial( resource_group_name: str, account_name: str, account: "_models.Account", - **kwargs + **kwargs: Any ) -> "_models.Account": cls = kwargs.pop('cls', None) # type: ClsType["_models.Account"] error_map = { @@ -241,7 +241,7 @@ async def begin_create( resource_group_name: str, account_name: str, account: "_models.Account", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Account"]: """Create an account in the given resource group. @@ -255,8 +255,8 @@ async def begin_create( :type account: ~azure.mgmt.datashare.models.Account :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Account or the result of cls(response) @@ -313,7 +313,7 @@ async def _delete_initial( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.OperationResponse"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.OperationResponse"]] error_map = { @@ -363,7 +363,7 @@ async def begin_delete( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OperationResponse"]: """Delete an account. @@ -375,8 +375,8 @@ async def begin_delete( :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. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OperationResponse or the result of cls(response) @@ -433,7 +433,7 @@ async def update( resource_group_name: str, account_name: str, account_update_parameters: "_models.AccountUpdateParameters", - **kwargs + **kwargs: Any ) -> "_models.Account": """Patch a given account. @@ -501,7 +501,7 @@ def list_by_resource_group( self, resource_group_name: str, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AccountList"]: """List Accounts in a resource group. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_invitations_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_invitations_operations.py index 57397990deae..a53ec14bfe19 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_invitations_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_invitations_operations.py @@ -44,7 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list_invitations( self, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ConsumerInvitationList"]: """List the invitations. @@ -115,7 +115,7 @@ async def get( self, location: str, invitation_id: str, - **kwargs + **kwargs: Any ) -> "_models.ConsumerInvitation": """Gets the invitation identified by invitationId. @@ -175,7 +175,7 @@ async def reject_invitation( self, location: str, invitation: "_models.ConsumerInvitation", - **kwargs + **kwargs: Any ) -> "_models.ConsumerInvitation": """Rejects the invitation identified by invitationId. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_source_data_sets_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_source_data_sets_operations.py index 649e098dee9a..a5cce865c4fa 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_source_data_sets_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_consumer_source_data_sets_operations.py @@ -47,7 +47,7 @@ def list_by_share_subscription( account_name: str, share_subscription_name: str, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ConsumerSourceDataSetList"]: """Get source dataSets of a shareSubscription. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_set_mappings_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_set_mappings_operations.py index da14e60e016b..74a2ae26a278 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_set_mappings_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_set_mappings_operations.py @@ -47,7 +47,7 @@ async def get( account_name: str, share_subscription_name: str, data_set_mapping_name: str, - **kwargs + **kwargs: Any ) -> "_models.DataSetMapping": """Get DataSetMapping in a shareSubscription. @@ -117,7 +117,7 @@ async def create( share_subscription_name: str, data_set_mapping_name: str, data_set_mapping: "_models.DataSetMapping", - **kwargs + **kwargs: Any ) -> "_models.DataSetMapping": """Maps a source data set in the source share to a sink data set in the share subscription. Enables copying the data set from source to destination. @@ -199,7 +199,7 @@ async def delete( account_name: str, share_subscription_name: str, data_set_mapping_name: str, - **kwargs + **kwargs: Any ) -> None: """Delete DataSetMapping in a shareSubscription. @@ -267,7 +267,7 @@ def list_by_share_subscription( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DataSetMappingList"]: """List DataSetMappings in a share subscription. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_sets_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_sets_operations.py index 5081c2602ee2..c6427d991390 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_sets_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_data_sets_operations.py @@ -49,7 +49,7 @@ async def get( account_name: str, share_name: str, data_set_name: str, - **kwargs + **kwargs: Any ) -> "_models.DataSet": """Get DataSet in a share. @@ -119,7 +119,7 @@ async def create( share_name: str, data_set_name: str, data_set: "_models.DataSet", - **kwargs + **kwargs: Any ) -> "_models.DataSet": """Adds a new data set to an existing share. @@ -199,7 +199,7 @@ async def _delete_initial( account_name: str, share_name: str, data_set_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -248,7 +248,7 @@ async def begin_delete( account_name: str, share_name: str, data_set_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Delete DataSet in a share. @@ -264,8 +264,8 @@ async def begin_delete( :type data_set_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. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -326,7 +326,7 @@ def list_by_share( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DataSetList"]: """List DataSets in a share. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_invitations_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_invitations_operations.py index 9fcf74312894..7cd5c6edfaae 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_invitations_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_invitations_operations.py @@ -47,7 +47,7 @@ async def get( account_name: str, share_name: str, invitation_name: str, - **kwargs + **kwargs: Any ) -> "_models.Invitation": """Get Invitation in a share. @@ -117,7 +117,7 @@ async def create( share_name: str, invitation_name: str, invitation: "_models.Invitation", - **kwargs + **kwargs: Any ) -> "_models.Invitation": """Sends a new invitation to a recipient to access a share. @@ -197,7 +197,7 @@ async def delete( account_name: str, share_name: str, invitation_name: str, - **kwargs + **kwargs: Any ) -> None: """Delete Invitation in a share. @@ -265,7 +265,7 @@ def list_by_share( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.InvitationList"]: """List all Invitations in a share. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_operations.py index ba71b9027376..7c35e71d6bbd 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationList"]: """Lists the available operations. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_provider_share_subscriptions_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_provider_share_subscriptions_operations.py index 6f4bfa458b77..ccefb65c0364 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_provider_share_subscriptions_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_provider_share_subscriptions_operations.py @@ -50,7 +50,7 @@ async def adjust( share_name: str, provider_share_subscription_id: str, provider_share_subscription: "_models.ProviderShareSubscription", - **kwargs + **kwargs: Any ) -> "_models.ProviderShareSubscription": """Adjust the expiration date of a share subscription in a provider share. @@ -127,7 +127,7 @@ async def reinstate( share_name: str, provider_share_subscription_id: str, provider_share_subscription: "_models.ProviderShareSubscription", - **kwargs + **kwargs: Any ) -> "_models.ProviderShareSubscription": """Reinstate share subscription in a provider share. @@ -203,7 +203,7 @@ async def _revoke_initial( account_name: str, share_name: str, provider_share_subscription_id: str, - **kwargs + **kwargs: Any ) -> "_models.ProviderShareSubscription": cls = kwargs.pop('cls', None) # type: ClsType["_models.ProviderShareSubscription"] error_map = { @@ -259,7 +259,7 @@ async def begin_revoke( account_name: str, share_name: str, provider_share_subscription_id: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ProviderShareSubscription"]: """Revoke share subscription in a provider share. @@ -275,8 +275,8 @@ async def begin_revoke( :type provider_share_subscription_id: 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. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ProviderShareSubscription or the result of cls(response) @@ -338,7 +338,7 @@ async def get_by_share( account_name: str, share_name: str, provider_share_subscription_id: str, - **kwargs + **kwargs: Any ) -> "_models.ProviderShareSubscription": """Get share subscription in a provider share. @@ -407,7 +407,7 @@ def list_by_share( account_name: str, share_name: str, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ProviderShareSubscriptionList"]: """List of available share subscriptions to a provider share. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_share_subscriptions_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_share_subscriptions_operations.py index 77d5d06098c2..869eec4a0748 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_share_subscriptions_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_share_subscriptions_operations.py @@ -49,7 +49,7 @@ async def _cancel_synchronization_initial( account_name: str, share_subscription_name: str, share_subscription_synchronization: "_models.ShareSubscriptionSynchronization", - **kwargs + **kwargs: Any ) -> "_models.ShareSubscriptionSynchronization": cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareSubscriptionSynchronization"] error_map = { @@ -109,7 +109,7 @@ async def begin_cancel_synchronization( account_name: str, share_subscription_name: str, share_subscription_synchronization: "_models.ShareSubscriptionSynchronization", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ShareSubscriptionSynchronization"]: """Request cancellation of a data share snapshot. @@ -125,8 +125,8 @@ async def begin_cancel_synchronization( :type share_subscription_synchronization: ~azure.mgmt.datashare.models.ShareSubscriptionSynchronization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ShareSubscriptionSynchronization or the result of cls(response) @@ -187,7 +187,7 @@ def list_source_share_synchronization_settings( account_name: str, share_subscription_name: str, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SourceShareSynchronizationSettingList"]: """Get source share synchronization settings for a shareSubscription. @@ -276,7 +276,7 @@ def list_synchronization_details( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SynchronizationDetailsList"]: """List data set level details for a share subscription synchronization. @@ -382,7 +382,7 @@ def list_synchronizations( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ShareSubscriptionSynchronizationList"]: """List Synchronizations in a share subscription. @@ -476,7 +476,7 @@ async def _synchronize_initial( account_name: str, share_subscription_name: str, synchronize: "_models.Synchronize", - **kwargs + **kwargs: Any ) -> "_models.ShareSubscriptionSynchronization": cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareSubscriptionSynchronization"] error_map = { @@ -536,7 +536,7 @@ async def begin_synchronize( account_name: str, share_subscription_name: str, synchronize: "_models.Synchronize", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ShareSubscriptionSynchronization"]: """Initiate an asynchronous data share job. @@ -552,8 +552,8 @@ async def begin_synchronize( :type synchronize: ~azure.mgmt.datashare.models.Synchronize :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ShareSubscriptionSynchronization or the result of cls(response) @@ -613,7 +613,7 @@ async def get( resource_group_name: str, account_name: str, share_subscription_name: str, - **kwargs + **kwargs: Any ) -> "_models.ShareSubscription": """Get shareSubscription in an account. @@ -679,7 +679,7 @@ async def create( account_name: str, share_subscription_name: str, share_subscription: "_models.ShareSubscription", - **kwargs + **kwargs: Any ) -> "_models.ShareSubscription": """Create shareSubscription in an account. @@ -755,7 +755,7 @@ async def _delete_initial( resource_group_name: str, account_name: str, share_subscription_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.OperationResponse"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.OperationResponse"]] error_map = { @@ -807,7 +807,7 @@ async def begin_delete( resource_group_name: str, account_name: str, share_subscription_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OperationResponse"]: """Delete shareSubscription in an account. @@ -821,8 +821,8 @@ async def begin_delete( :type share_subscription_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. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OperationResponse or the result of cls(response) @@ -883,7 +883,7 @@ def list_by_account( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ShareSubscriptionList"]: """List of available share subscriptions under an account. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_shares_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_shares_operations.py index 7cb09c5f00ec..7b2754eb4cd1 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_shares_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_shares_operations.py @@ -52,7 +52,7 @@ def list_synchronization_details( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SynchronizationDetailsList"]: """List data set level details for a share synchronization. @@ -158,7 +158,7 @@ def list_synchronizations( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ShareSynchronizationList"]: """List Synchronizations in a share. @@ -251,7 +251,7 @@ async def get( resource_group_name: str, account_name: str, share_name: str, - **kwargs + **kwargs: Any ) -> "_models.Share": """Get a specified share. @@ -317,7 +317,7 @@ async def create( account_name: str, share_name: str, share: "_models.Share", - **kwargs + **kwargs: Any ) -> "_models.Share": """Create a share in the given account. @@ -393,7 +393,7 @@ async def _delete_initial( resource_group_name: str, account_name: str, share_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.OperationResponse"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.OperationResponse"]] error_map = { @@ -445,7 +445,7 @@ async def begin_delete( resource_group_name: str, account_name: str, share_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OperationResponse"]: """Deletes a share. @@ -459,8 +459,8 @@ async def begin_delete( :type share_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. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OperationResponse or the result of cls(response) @@ -521,7 +521,7 @@ def list_by_account( skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ShareList"]: """List of available shares under an account. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_synchronization_settings_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_synchronization_settings_operations.py index 15b4f4038d9f..b7f5574e3003 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_synchronization_settings_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_synchronization_settings_operations.py @@ -49,7 +49,7 @@ async def get( account_name: str, share_name: str, synchronization_setting_name: str, - **kwargs + **kwargs: Any ) -> "_models.SynchronizationSetting": """Get synchronizationSetting in a share. @@ -119,7 +119,7 @@ async def create( share_name: str, synchronization_setting_name: str, synchronization_setting: "_models.SynchronizationSetting", - **kwargs + **kwargs: Any ) -> "_models.SynchronizationSetting": """Adds a new synchronization setting to an existing share. @@ -199,7 +199,7 @@ async def _delete_initial( account_name: str, share_name: str, synchronization_setting_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.OperationResponse"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.OperationResponse"]] error_map = { @@ -253,7 +253,7 @@ async def begin_delete( account_name: str, share_name: str, synchronization_setting_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OperationResponse"]: """Delete synchronizationSetting in a share. @@ -269,8 +269,8 @@ async def begin_delete( :type synchronization_setting_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. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OperationResponse or the result of cls(response) @@ -332,7 +332,7 @@ def list_by_share( account_name: str, share_name: str, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SynchronizationSettingList"]: """List synchronizationSettings in a share. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_triggers_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_triggers_operations.py index 47dd836b245f..da45cd6092aa 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_triggers_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/aio/operations/_triggers_operations.py @@ -49,7 +49,7 @@ async def get( account_name: str, share_subscription_name: str, trigger_name: str, - **kwargs + **kwargs: Any ) -> "_models.Trigger": """Get Trigger in a shareSubscription. @@ -119,7 +119,7 @@ async def _create_initial( share_subscription_name: str, trigger_name: str, trigger: "_models.Trigger", - **kwargs + **kwargs: Any ) -> "_models.Trigger": cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] error_map = { @@ -181,7 +181,7 @@ async def begin_create( share_subscription_name: str, trigger_name: str, trigger: "_models.Trigger", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Trigger"]: """This method creates a trigger for a share subscription. @@ -200,8 +200,8 @@ async def begin_create( :type trigger: ~azure.mgmt.datashare.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) @@ -264,7 +264,7 @@ async def _delete_initial( account_name: str, share_subscription_name: str, trigger_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.OperationResponse"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.OperationResponse"]] error_map = { @@ -318,7 +318,7 @@ async def begin_delete( account_name: str, share_subscription_name: str, trigger_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OperationResponse"]: """Delete Trigger in a shareSubscription. @@ -334,8 +334,8 @@ async def begin_delete( :type trigger_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. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OperationResponse or the result of cls(response) @@ -397,7 +397,7 @@ def list_by_share_subscription( account_name: str, share_subscription_name: str, skip_token: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.TriggerList"]: """List Triggers in a share subscription. diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/models/_data_share_management_client_enums.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/models/_data_share_management_client_enums.py index 346f1862f57a..dc290d85bab4 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/models/_data_share_management_client_enums.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/models/_data_share_management_client_enums.py @@ -120,7 +120,7 @@ class OutputType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): PARQUET = "Parquet" class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Provisioning state of the data set mapping. + """Provisioning state of the Account """ SUCCEEDED = "Succeeded" diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_accounts_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_accounts_operations.py index 3f997aae5bf9..1addb66559c0 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_accounts_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_accounts_operations.py @@ -263,8 +263,8 @@ def begin_create( :type account: ~azure.mgmt.datashare.models.Account :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Account or the result of cls(response) @@ -385,8 +385,8 @@ def begin_delete( :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. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OperationResponse or the result of cls(response) diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_data_sets_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_data_sets_operations.py index 8f2abfead10c..5e81f92e93a2 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_data_sets_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_data_sets_operations.py @@ -272,8 +272,8 @@ def begin_delete( :type data_set_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. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_provider_share_subscriptions_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_provider_share_subscriptions_operations.py index 615fb43fea3f..26c6e90c050c 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_provider_share_subscriptions_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_provider_share_subscriptions_operations.py @@ -283,8 +283,8 @@ def begin_revoke( :type provider_share_subscription_id: 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. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ProviderShareSubscription or the result of cls(response) diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_share_subscriptions_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_share_subscriptions_operations.py index b6326ae3422c..485db038c397 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_share_subscriptions_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_share_subscriptions_operations.py @@ -131,8 +131,8 @@ def begin_cancel_synchronization( :type share_subscription_synchronization: ~azure.mgmt.datashare.models.ShareSubscriptionSynchronization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ShareSubscriptionSynchronization or the result of cls(response) @@ -563,8 +563,8 @@ def begin_synchronize( :type synchronize: ~azure.mgmt.datashare.models.Synchronize :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ShareSubscriptionSynchronization or the result of cls(response) @@ -836,8 +836,8 @@ def begin_delete( :type share_subscription_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. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OperationResponse or the result of cls(response) diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_shares_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_shares_operations.py index 36e44618e1c9..aeb233484915 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_shares_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_shares_operations.py @@ -469,8 +469,8 @@ def begin_delete( :type share_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. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OperationResponse or the result of cls(response) diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_synchronization_settings_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_synchronization_settings_operations.py index b945483b060c..443d58490d12 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_synchronization_settings_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_synchronization_settings_operations.py @@ -277,8 +277,8 @@ def begin_delete( :type synchronization_setting_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. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OperationResponse or the result of cls(response) diff --git a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_triggers_operations.py b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_triggers_operations.py index 0acfccffd94f..b1f8805c72aa 100644 --- a/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_triggers_operations.py +++ b/sdk/datashare/azure-mgmt-datashare/azure/mgmt/datashare/operations/_triggers_operations.py @@ -207,8 +207,8 @@ def begin_create( :type trigger: ~azure.mgmt.datashare.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Trigger or the result of cls(response) @@ -343,8 +343,8 @@ def begin_delete( :type trigger_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. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OperationResponse or the result of cls(response)