NetworkWatchersOperations Class
NetworkWatchersOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectNetworkWatchersOperations
Constructor
NetworkWatchersOperations(client, config, serializer, deserializer) -> None
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_delete |
Deletes the specified network watcher resource. |
| begin_get_flow_log_status |
Queries status of flow log on a specified resource. |
| begin_get_next_hop |
Gets the next hop from the specified VM. |
| begin_get_troubleshooting |
Initiate troubleshooting on a specified resource. |
| begin_get_troubleshooting_result |
Get the last completed troubleshooting result on a specified resource. |
| begin_get_vm_security_rules |
Gets the configured and effective security group rules on the specified VM. |
| begin_set_flow_log_configuration |
Configures flow log on a specified resource. |
| begin_verify_ip_flow |
Verify IP flow from the specified VM to a location given the currently configured NSG rules. |
| create_or_update |
Creates or updates a network watcher in the specified resource group. |
| get |
Gets the specified network watcher by resource group. |
| get_topology |
Gets the current network topology by resource group. |
| list |
Gets all network watchers by resource group. |
| list_all |
Gets all network watchers by subscription. |
begin_delete
Deletes the specified network watcher resource.
begin_delete(resource_group_name: str, network_watcher_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[NoneType]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_get_flow_log_status
Queries status of flow log on a specified resource.
begin_get_flow_log_status(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.FlowLogStatusParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.FlowLogInformation')]
Parameters
- parameters
- FlowLogStatusParameters
Parameters that define a resource to query flow log status.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response)
Return type
Exceptions
begin_get_next_hop
Gets the next hop from the specified VM.
begin_get_next_hop(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.NextHopParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.NextHopResult')]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response)
Return type
Exceptions
begin_get_troubleshooting
Initiate troubleshooting on a specified resource.
begin_get_troubleshooting(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.TroubleshootingParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.TroubleshootingResult')]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response)
Return type
Exceptions
begin_get_troubleshooting_result
Get the last completed troubleshooting result on a specified resource.
begin_get_troubleshooting_result(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.QueryTroubleshootingParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.TroubleshootingResult')]
Parameters
- parameters
- QueryTroubleshootingParameters
Parameters that define the resource to query the troubleshooting result.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response)
Return type
Exceptions
begin_get_vm_security_rules
Gets the configured and effective security group rules on the specified VM.
begin_get_vm_security_rules(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.SecurityGroupViewParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.SecurityGroupViewResult')]
Parameters
- parameters
- SecurityGroupViewParameters
Parameters that define the VM to check security groups for.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response)
Return type
Exceptions
begin_set_flow_log_configuration
Configures flow log on a specified resource.
begin_set_flow_log_configuration(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.FlowLogInformation, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.FlowLogInformation')]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response)
Return type
Exceptions
begin_verify_ip_flow
Verify IP flow from the specified VM to a location given the currently configured NSG rules.
begin_verify_ip_flow(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.VerificationIPFlowParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.VerificationIPFlowResult')]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response)
Return type
Exceptions
create_or_update
Creates or updates a network watcher in the specified resource group.
create_or_update(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.NetworkWatcher, **kwargs) -> azure.mgmt.network.v2016_09_01.models._models_py3.NetworkWatcher
Parameters
Returns
NetworkWatcher, or the result of cls(response)
Return type
Exceptions
get
Gets the specified network watcher by resource group.
get(resource_group_name: str, network_watcher_name: str, **kwargs) -> azure.mgmt.network.v2016_09_01.models._models_py3.NetworkWatcher
Parameters
Returns
NetworkWatcher, or the result of cls(response)
Return type
Exceptions
get_topology
Gets the current network topology by resource group.
get_topology(resource_group_name: str, network_watcher_name: str, parameters: azure.mgmt.network.v2016_09_01.models._models_py3.TopologyParameters, **kwargs) -> azure.mgmt.network.v2016_09_01.models._models_py3.Topology
Parameters
Returns
Topology, or the result of cls(response)
Return type
Exceptions
list
Gets all network watchers by resource group.
list(resource_group_name: str, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.NetworkWatcherListResult')]
Parameters
Returns
An iterator like instance of either NetworkWatcherListResult or the result of cls(response)
Return type
Exceptions
list_all
Gets all network watchers by subscription.
list_all(**kwargs) -> typing.AsyncIterable[_ForwardRef('models.NetworkWatcherListResult')]
Parameters
Returns
An iterator like instance of either NetworkWatcherListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.network.v2016_09_01.models' from 'c:\\repo\\venv\\lib\\site-packages\\azure\\mgmt\\network\\v2016_09_01\\models\\__init__.py'>
Feedback
Submit and view feedback for