Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ def begin_test_lro(
"""Put in whatever shape of Product you want, will return a Product with id equal to 100.

:param product: Product to put.
:type product: ~azure.multiapi.sample.models.Product
:type product: ~azure.multiapi.sample.v1.models.Product
: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.
: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 Product or the result of cls(response)
:rtype: ~azure.core.polling.LROPoller[~azure.multiapi.sample.models.Product]
:rtype: ~azure.core.polling.LROPoller[~azure.multiapi.sample.v1.models.Product]
:raises ~azure.core.exceptions.HttpResponseError:
"""
api_version = self._get_api_version('begin_test_lro')
Expand All @@ -70,15 +70,15 @@ def begin_test_lro_and_paging(
:param client_request_id:
:type client_request_id: str
:param test_lro_and_paging_options: Parameter group.
:type test_lro_and_paging_options: ~azure.multiapi.sample.models.TestLroAndPagingOptions
:type test_lro_and_paging_options: ~azure.multiapi.sample.v1.models.TestLroAndPagingOptions
: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.
: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 an iterator like instance of either PagingResult or the result of cls(response)
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.multiapi.sample.models.PagingResult]]
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.multiapi.sample.v1.models.PagingResult]]
:raises ~azure.core.exceptions.HttpResponseError:
"""
api_version = self._get_api_version('begin_test_lro_and_paging')
Expand Down Expand Up @@ -171,7 +171,7 @@ def test_paging(

:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either PagingResult or the result of cls(response)
:rtype: ~azure.core.paging.ItemPaged[~azure.multiapi.sample.models.PagingResult]
:rtype: ~azure.core.paging.ItemPaged[~azure.multiapi.sample.v3.models.PagingResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = self._get_api_version('test_paging')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ async def begin_test_lro(
"""Put in whatever shape of Product you want, will return a Product with id equal to 100.

:param product: Product to put.
:type product: ~azure.multiapi.sample.models.Product
:type product: ~azure.multiapi.sample.v1.models.Product
: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.
: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 Product or the result of cls(response)
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.multiapi.sample.models.Product]
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.multiapi.sample.v1.models.Product]
:raises ~azure.core.exceptions.HttpResponseError:
"""
api_version = self._get_api_version('begin_test_lro')
Expand All @@ -66,15 +66,15 @@ def begin_test_lro_and_paging(
:param client_request_id:
:type client_request_id: str
:param test_lro_and_paging_options: Parameter group.
:type test_lro_and_paging_options: ~azure.multiapi.sample.models.TestLroAndPagingOptions
:type test_lro_and_paging_options: ~azure.multiapi.sample.v1.models.TestLroAndPagingOptions
: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.
: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 an iterator like instance of either PagingResult or the result of cls(response)
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.multiapi.sample.models.PagingResult]]
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.multiapi.sample.v1.models.PagingResult]]
:raises ~azure.core.exceptions.HttpResponseError:
"""
api_version = self._get_api_version('begin_test_lro_and_paging')
Expand Down Expand Up @@ -167,7 +167,7 @@ def test_paging(

:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either PagingResult or the result of cls(response)
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.multiapi.sample.models.PagingResult]
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.multiapi.sample.v3.models.PagingResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = self._get_api_version('test_paging')
Expand Down
Loading