diff --git a/sdk/labservices/azure-mgmt-labservices/_meta.json b/sdk/labservices/azure-mgmt-labservices/_meta.json index f073a3aeb38a..7435086074c0 100644 --- a/sdk/labservices/azure-mgmt-labservices/_meta.json +++ b/sdk/labservices/azure-mgmt-labservices/_meta.json @@ -1,8 +1,11 @@ { - "autorest": "3.0.6369", - "use": "@autorest/python@5.6.2", - "commit": "90167a86aca9eed5d51c299b262212738e233e2a", + "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/labservices/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/labservices/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/labservices/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_managed_labs_client.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_managed_labs_client.py index b132f533cb7a..8ea98d91d22c 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_managed_labs_client.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_managed_labs_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 ManagedLabsClientConfiguration from .operations import ProviderOperationsOperations @@ -96,6 +97,24 @@ def __init__( self.users = UsersOperations( 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/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_metadata.json b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_metadata.json index 0486756d139e..f81caa294410 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_metadata.json +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_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\": [\"ManagedLabsClientConfiguration\"]}}, \"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\": [\"ManagedLabsClientConfiguration\"]}}, \"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\": [\"ManagedLabsClientConfiguration\"]}}, \"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\": [\"ManagedLabsClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -107,11 +107,5 @@ "environment_settings": "EnvironmentSettingsOperations", "environments": "EnvironmentsOperations", "users": "UsersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_version.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_version.py index c47f66669f1b..e5754a47ce68 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_version.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/_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/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/_managed_labs_client.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/_managed_labs_client.py index 51ce40608437..7a547dae52e5 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/_managed_labs_client.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/_managed_labs_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.users = UsersOperations( 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/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environment_settings_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environment_settings_operations.py index c1fe98f96712..aba8913f92f0 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environment_settings_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environment_settings_operations.py @@ -52,7 +52,7 @@ def list( filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ResponseWithContinuationEnvironmentSetting"]: """List environment setting in a given lab. @@ -148,7 +148,7 @@ async def get( lab_name: str, environment_setting_name: str, expand: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.EnvironmentSetting": """Get environment setting. @@ -219,7 +219,7 @@ async def _create_or_update_initial( lab_name: str, environment_setting_name: str, environment_setting: "_models.EnvironmentSetting", - **kwargs + **kwargs: Any ) -> "_models.EnvironmentSetting": cls = kwargs.pop('cls', None) # type: ClsType["_models.EnvironmentSetting"] error_map = { @@ -280,7 +280,7 @@ async def begin_create_or_update( lab_name: str, environment_setting_name: str, environment_setting: "_models.EnvironmentSetting", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.EnvironmentSetting"]: """Create or replace an existing Environment Setting. This operation can take a while to complete. @@ -297,8 +297,8 @@ async def begin_create_or_update( :type environment_setting: ~azure.mgmt.labservices.models.EnvironmentSetting :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 EnvironmentSetting or the result of cls(response) @@ -361,7 +361,7 @@ async def _delete_initial( lab_account_name: str, lab_name: str, environment_setting_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -409,7 +409,7 @@ async def begin_delete( lab_account_name: str, lab_name: str, environment_setting_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Delete environment setting. This operation can take a while to complete. @@ -423,8 +423,8 @@ async def begin_delete( :type environment_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 None or the result of cls(response) @@ -484,7 +484,7 @@ async def update( lab_name: str, environment_setting_name: str, environment_setting: "_models.EnvironmentSettingFragment", - **kwargs + **kwargs: Any ) -> "_models.EnvironmentSetting": """Modify properties of environment setting. @@ -558,7 +558,7 @@ async def claim_any( lab_account_name: str, lab_name: str, environment_setting_name: str, - **kwargs + **kwargs: Any ) -> None: """Claims a random environment for a user in an environment settings. @@ -622,7 +622,7 @@ async def publish( lab_name: str, environment_setting_name: str, publish_payload: "_models.PublishPayload", - **kwargs + **kwargs: Any ) -> None: """Provisions/deprovisions required resources for an environment setting based on current state of the lab/environment setting. @@ -693,7 +693,7 @@ async def _start_initial( lab_account_name: str, lab_name: str, environment_setting_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -741,7 +741,7 @@ async def begin_start( lab_account_name: str, lab_name: str, environment_setting_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Starts a template by starting all resources inside the template. This operation can take a while to complete. @@ -756,8 +756,8 @@ async def begin_start( :type environment_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 None or the result of cls(response) @@ -816,7 +816,7 @@ async def _stop_initial( lab_account_name: str, lab_name: str, environment_setting_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -864,7 +864,7 @@ async def begin_stop( lab_account_name: str, lab_name: str, environment_setting_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Starts a template by starting all resources inside the template. This operation can take a while to complete. @@ -879,8 +879,8 @@ async def begin_stop( :type environment_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 None or the result of cls(response) diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environments_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environments_operations.py index a2592f642b74..8862af8bca3f 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environments_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_environments_operations.py @@ -53,7 +53,7 @@ def list( filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ResponseWithContinuationEnvironment"]: """List environments in a given environment setting. @@ -153,7 +153,7 @@ async def get( environment_setting_name: str, environment_name: str, expand: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.Environment": """Get environment. @@ -228,7 +228,7 @@ async def create_or_update( environment_setting_name: str, environment_name: str, environment: "_models.Environment", - **kwargs + **kwargs: Any ) -> "_models.Environment": """Create or replace an existing Environment. @@ -309,7 +309,7 @@ async def _delete_initial( lab_name: str, environment_setting_name: str, environment_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -359,7 +359,7 @@ async def begin_delete( lab_name: str, environment_setting_name: str, environment_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Delete environment. This operation can take a while to complete. @@ -375,8 +375,8 @@ async def begin_delete( :type environment_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) @@ -439,7 +439,7 @@ async def update( environment_setting_name: str, environment_name: str, environment: "_models.EnvironmentFragment", - **kwargs + **kwargs: Any ) -> "_models.Environment": """Modify properties of environments. @@ -516,7 +516,7 @@ async def claim( lab_name: str, environment_setting_name: str, environment_name: str, - **kwargs + **kwargs: Any ) -> None: """Claims the environment and assigns it to the user. @@ -584,7 +584,7 @@ async def _reset_password_initial( environment_setting_name: str, environment_name: str, reset_password_payload: "_models.ResetPasswordPayload", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -640,7 +640,7 @@ async def begin_reset_password( environment_setting_name: str, environment_name: str, reset_password_payload: "_models.ResetPasswordPayload", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Resets the user password on an environment This operation can take a while to complete. @@ -658,8 +658,8 @@ async def begin_reset_password( :type reset_password_payload: ~azure.mgmt.labservices.models.ResetPasswordPayload :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) @@ -722,7 +722,7 @@ async def _start_initial( lab_name: str, environment_setting_name: str, environment_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -772,7 +772,7 @@ async def begin_start( lab_name: str, environment_setting_name: str, environment_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Starts an environment by starting all resources inside the environment. This operation can take a while to complete. @@ -789,8 +789,8 @@ async def begin_start( :type environment_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) @@ -852,7 +852,7 @@ async def _stop_initial( lab_name: str, environment_setting_name: str, environment_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -902,7 +902,7 @@ async def begin_stop( lab_name: str, environment_setting_name: str, environment_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stops an environment by stopping all resources inside the environment This operation can take a while to complete. @@ -919,8 +919,8 @@ async def begin_stop( :type environment_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) diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_gallery_images_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_gallery_images_operations.py index e46fe31d8e67..bd42e09336b7 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_gallery_images_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_gallery_images_operations.py @@ -49,7 +49,7 @@ def list( filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ResponseWithContinuationGalleryImage"]: """List gallery images in a given lab account. @@ -141,7 +141,7 @@ async def get( lab_account_name: str, gallery_image_name: str, expand: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.GalleryImage": """Get gallery image. @@ -208,7 +208,7 @@ async def create_or_update( lab_account_name: str, gallery_image_name: str, gallery_image: "_models.GalleryImage", - **kwargs + **kwargs: Any ) -> "_models.GalleryImage": """Create or replace an existing Gallery Image. @@ -281,7 +281,7 @@ async def delete( resource_group_name: str, lab_account_name: str, gallery_image_name: str, - **kwargs + **kwargs: Any ) -> None: """Delete gallery image. @@ -341,7 +341,7 @@ async def update( lab_account_name: str, gallery_image_name: str, gallery_image: "_models.GalleryImageFragment", - **kwargs + **kwargs: Any ) -> "_models.GalleryImage": """Modify properties of gallery images. diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_global_users_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_global_users_operations.py index 83cc78202237..053a12847a76 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_global_users_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_global_users_operations.py @@ -47,7 +47,7 @@ async def get_environment( user_name: str, environment_operations_payload: "_models.EnvironmentOperationsPayload", expand: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.GetEnvironmentResponse": """Gets the virtual machine details. @@ -113,7 +113,7 @@ async def get_operation_batch_status( self, user_name: str, operation_batch_status_payload: "_models.OperationBatchStatusPayload", - **kwargs + **kwargs: Any ) -> "_models.OperationBatchStatusResponse": """Get batch operation status. @@ -174,7 +174,7 @@ async def get_operation_status( self, user_name: str, operation_status_payload: "_models.OperationStatusPayload", - **kwargs + **kwargs: Any ) -> "_models.OperationStatusResponse": """Gets the status of long running operation. @@ -235,7 +235,7 @@ async def get_personal_preferences( self, user_name: str, personal_preferences_operations_payload: "_models.PersonalPreferencesOperationsPayload", - **kwargs + **kwargs: Any ) -> "_models.GetPersonalPreferencesResponse": """Get personal preferences for a user. @@ -297,7 +297,7 @@ async def list_environments( self, user_name: str, list_environments_payload: "_models.ListEnvironmentsPayload", - **kwargs + **kwargs: Any ) -> "_models.ListEnvironmentsResponse": """List Environments for the user. @@ -357,7 +357,7 @@ async def list_environments( async def list_labs( self, user_name: str, - **kwargs + **kwargs: Any ) -> "_models.ListLabsResponse": """List labs for the user. @@ -411,7 +411,7 @@ async def register( self, user_name: str, register_payload: "_models.RegisterPayload", - **kwargs + **kwargs: Any ) -> None: """Register a user to a managed lab. @@ -469,7 +469,7 @@ async def _reset_password_initial( self, user_name: str, reset_password_payload: "_models.ResetPasswordPayload", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -516,7 +516,7 @@ async def begin_reset_password( self, user_name: str, reset_password_payload: "_models.ResetPasswordPayload", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Resets the user password on an environment This operation can take a while to complete. @@ -526,8 +526,8 @@ async def begin_reset_password( :type reset_password_payload: ~azure.mgmt.labservices.models.ResetPasswordPayload :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) @@ -578,7 +578,7 @@ async def _start_environment_initial( self, user_name: str, environment_operations_payload: "_models.EnvironmentOperationsPayload", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -625,7 +625,7 @@ async def begin_start_environment( self, user_name: str, environment_operations_payload: "_models.EnvironmentOperationsPayload", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Starts an environment by starting all resources inside the environment. This operation can take a while to complete. @@ -637,8 +637,8 @@ async def begin_start_environment( :type environment_operations_payload: ~azure.mgmt.labservices.models.EnvironmentOperationsPayload :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) @@ -689,7 +689,7 @@ async def _stop_environment_initial( self, user_name: str, environment_operations_payload: "_models.EnvironmentOperationsPayload", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -736,7 +736,7 @@ async def begin_stop_environment( self, user_name: str, environment_operations_payload: "_models.EnvironmentOperationsPayload", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stops an environment by stopping all resources inside the environment This operation can take a while to complete. @@ -748,8 +748,8 @@ async def begin_stop_environment( :type environment_operations_payload: ~azure.mgmt.labservices.models.EnvironmentOperationsPayload :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) diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_lab_accounts_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_lab_accounts_operations.py index 6963eefada26..682682a91ba7 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_lab_accounts_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_lab_accounts_operations.py @@ -49,7 +49,7 @@ def list_by_subscription( filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ResponseWithContinuationLabAccount"]: """List lab accounts in a subscription. @@ -136,7 +136,7 @@ def list_by_resource_group( filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ResponseWithContinuationLabAccount"]: """List lab accounts in a resource group. @@ -224,7 +224,7 @@ async def get( resource_group_name: str, lab_account_name: str, expand: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.LabAccount": """Get lab account. @@ -287,7 +287,7 @@ async def create_or_update( resource_group_name: str, lab_account_name: str, lab_account: "_models.LabAccount", - **kwargs + **kwargs: Any ) -> "_models.LabAccount": """Create or replace an existing Lab Account. @@ -356,7 +356,7 @@ async def _delete_initial( self, resource_group_name: str, lab_account_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -400,7 +400,7 @@ async def begin_delete( self, resource_group_name: str, lab_account_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Delete lab account. This operation can take a while to complete. @@ -410,8 +410,8 @@ async def begin_delete( :type lab_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 None or the result of cls(response) @@ -465,7 +465,7 @@ async def update( resource_group_name: str, lab_account_name: str, lab_account: "_models.LabAccountFragment", - **kwargs + **kwargs: Any ) -> "_models.LabAccount": """Modify properties of lab accounts. @@ -531,7 +531,7 @@ async def create_lab( resource_group_name: str, lab_account_name: str, create_lab_properties: "_models.CreateLabProperties", - **kwargs + **kwargs: Any ) -> None: """Create a lab in a lab account. @@ -594,7 +594,7 @@ async def get_regional_availability( self, resource_group_name: str, lab_account_name: str, - **kwargs + **kwargs: Any ) -> "_models.GetRegionalAvailabilityResponse": """Get regional availability information for each size category configured under a lab account. diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_labs_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_labs_operations.py index b301b127c4d1..c00bafc0fa3e 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_labs_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_labs_operations.py @@ -51,7 +51,7 @@ def list( filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ResponseWithContinuationLab"]: """List labs in a given lab account. @@ -143,7 +143,7 @@ async def get( lab_account_name: str, lab_name: str, expand: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.Lab": """Get lab. @@ -210,7 +210,7 @@ async def create_or_update( lab_account_name: str, lab_name: str, lab: "_models.Lab", - **kwargs + **kwargs: Any ) -> "_models.Lab": """Create or replace an existing Lab. @@ -283,7 +283,7 @@ async def _delete_initial( resource_group_name: str, lab_account_name: str, lab_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -329,7 +329,7 @@ async def begin_delete( resource_group_name: str, lab_account_name: str, lab_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Delete lab. This operation can take a while to complete. @@ -341,8 +341,8 @@ async def begin_delete( :type lab_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) @@ -399,7 +399,7 @@ async def update( lab_account_name: str, lab_name: str, lab: "_models.LabFragment", - **kwargs + **kwargs: Any ) -> "_models.Lab": """Modify properties of labs. @@ -469,7 +469,7 @@ async def add_users( lab_account_name: str, lab_name: str, add_users_payload: "_models.AddUsersPayload", - **kwargs + **kwargs: Any ) -> None: """Add users to a lab. @@ -535,7 +535,7 @@ async def register( resource_group_name: str, lab_account_name: str, lab_name: str, - **kwargs + **kwargs: Any ) -> None: """Register to managed lab. diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_operations.py index ea3bf1faea21..2f81437af762 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_operations.py @@ -44,7 +44,7 @@ async def get( self, location_name: str, operation_name: str, - **kwargs + **kwargs: Any ) -> "_models.OperationResult": """Get operation. diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_provider_operations_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_provider_operations_operations.py index 7008324f2aa6..838bc69715a4 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_provider_operations_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_provider_operations_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ProviderOperationResult"]: """Result of the request to list REST API operations. diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_users_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_users_operations.py index 012b0a26415c..c428438e34a4 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_users_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/aio/operations/_users_operations.py @@ -52,7 +52,7 @@ def list( filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ResponseWithContinuationUser"]: """List users in a given lab. @@ -148,7 +148,7 @@ async def get( lab_name: str, user_name: str, expand: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.User": """Get user. @@ -219,7 +219,7 @@ async def create_or_update( lab_name: str, user_name: str, user: "_models.User", - **kwargs + **kwargs: Any ) -> "_models.User": """Create or replace an existing User. @@ -296,7 +296,7 @@ async def _delete_initial( lab_account_name: str, lab_name: str, user_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -344,7 +344,7 @@ async def begin_delete( lab_account_name: str, lab_name: str, user_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Delete user. This operation can take a while to complete. @@ -358,8 +358,8 @@ async def begin_delete( :type user_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) @@ -419,7 +419,7 @@ async def update( lab_name: str, user_name: str, user: "_models.UserFragment", - **kwargs + **kwargs: Any ) -> "_models.User": """Modify properties of users. diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environment_settings_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environment_settings_operations.py index 75e891961d89..ba8a1d257cda 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environment_settings_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environment_settings_operations.py @@ -305,8 +305,8 @@ def begin_create_or_update( :type environment_setting: ~azure.mgmt.labservices.models.EnvironmentSetting :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 EnvironmentSetting or the result of cls(response) @@ -433,8 +433,8 @@ def begin_delete( :type environment_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 None or the result of cls(response) @@ -771,8 +771,8 @@ def begin_start( :type environment_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 None or the result of cls(response) @@ -896,8 +896,8 @@ def begin_stop( :type environment_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 None or the result of cls(response) diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environments_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environments_operations.py index 67cd96bf41f0..3d8765276d9e 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environments_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_environments_operations.py @@ -384,8 +384,8 @@ def begin_delete( :type environment_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) @@ -671,8 +671,8 @@ def begin_reset_password( :type reset_password_payload: ~azure.mgmt.labservices.models.ResetPasswordPayload :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) @@ -804,8 +804,8 @@ def begin_start( :type environment_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) @@ -936,8 +936,8 @@ def begin_stop( :type environment_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/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_global_users_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_global_users_operations.py index ba694519a39f..160f560bdf9d 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_global_users_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_global_users_operations.py @@ -539,8 +539,8 @@ def begin_reset_password( :type reset_password_payload: ~azure.mgmt.labservices.models.ResetPasswordPayload :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) @@ -652,8 +652,8 @@ def begin_start_environment( :type environment_operations_payload: ~azure.mgmt.labservices.models.EnvironmentOperationsPayload :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) @@ -765,8 +765,8 @@ def begin_stop_environment( :type environment_operations_payload: ~azure.mgmt.labservices.models.EnvironmentOperationsPayload :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/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_lab_accounts_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_lab_accounts_operations.py index f2ccd78178b2..95e9a7012832 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_lab_accounts_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_lab_accounts_operations.py @@ -420,8 +420,8 @@ def begin_delete( :type lab_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 None or the result of cls(response) diff --git a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_labs_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_labs_operations.py index 9af18cad1287..54e1a0c9290e 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_labs_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_labs_operations.py @@ -350,8 +350,8 @@ def begin_delete( :type lab_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/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_users_operations.py b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_users_operations.py index 3b8f583f8844..6a1d7c8fc26d 100644 --- a/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_users_operations.py +++ b/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/operations/_users_operations.py @@ -367,8 +367,8 @@ def begin_delete( :type user_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)