list_sol_network_operations
async
¶
list_sol_network_operations(
*,
config_overrides: Optional[AsynctnbClientConfig] = None,
ns_instance_id: Optional[NsInstanceId] = None,
max_results: Optional[int] = None,
next_token: Optional[PaginationToken] = None,
) -> ListSolNetworkOperationsOutput
Lists details for a network operation, including when the operation started and the status of the operation.
A network operation is any operation that is done to your network, such as network instance instantiation or termination.
Parameters:
-
ns_instance_id(Optional[NsInstanceId], default:None) –Network instance id filter, to retrieve network operations associated to a network instance.
-
max_results(Optional[int], default:None) –The maximum number of results to include in the response.
-
next_token(Optional[PaginationToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–Insufficient permissions to make request.
-
InternalServerException–Unexpected error occurred. Problem on the server.
-
ThrottlingException–Exception caused by throttling.
-
ValidationException–Unable to process the request because the client provided input failed to satisfy request constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List Sol Network Instantiate operations
>>> await client.list_sol_network_operations()
List Sol Network Instantiate operations with nextToken and maxResults
>>> await client.list_sol_network_operations(max_results=25, next_token='')
List Sol Network Update operations
>>> await client.list_sol_network_operations(ns_instance_id='ni-0d5b823eb5c2a9241')
List Sol Network Update operations
Source code in docs_src/capo_tnb/_services/async_tnb.py
1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 | |