CloudTaskPaged Class
A paging container for iterating over a list of CloudTask object
- Inheritance
-
msrest.paging.PagedCloudTaskPaged
Constructor
CloudTaskPaged(*args, **kwargs)
Methods
advance_page |
Force moving the cursor to the next azure call. This method is for advanced usage, iterator protocol is preferred. |
async_advance_page | |
async_get |
Get an arbitrary page. This resets the iterator and then fully consumes it to return the specific page only. |
get |
Get an arbitrary page. This resets the iterator and then fully consumes it to return the specific page only. |
next |
Iterate through responses. |
reset |
Reset iterator to first page. |
advance_page
Force moving the cursor to the next azure call.
This method is for advanced usage, iterator protocol is preferred.
advance_page() -> List[Model]
Returns
Type | Description |
---|---|
The current page list |
Exceptions
Type | Description |
---|---|
StopIteration if no further page
|
async_advance_page
async async_advance_page()
Exceptions
Type | Description |
---|---|
StopIteration if no further page
|
async_get
Get an arbitrary page.
This resets the iterator and then fully consumes it to return the specific page only.
async async_get(url)
Parameters
Name | Description |
---|---|
url
Required
|
URL to arbitrary page results. |
Exceptions
Type | Description |
---|---|
StopIteration if no further page
|
get
Get an arbitrary page.
This resets the iterator and then fully consumes it to return the specific page only.
get(url: str) -> List[Model]
Parameters
Name | Description |
---|---|
url
Required
|
URL to arbitrary page results. |
Exceptions
Type | Description |
---|---|
StopIteration if no further page
|
next
Iterate through responses.
next()
Exceptions
Type | Description |
---|---|
StopIteration if no further page
|
reset
Reset iterator to first page.
reset() -> None
Exceptions
Type | Description |
---|---|
StopIteration if no further page
|
Attributes
raw
Get current page as ClientRawResponse.
Returns
Type | Description |
---|---|
<xref:ClientRawResponse>
|
Azure SDK for Python