NetworkWatchersOperations Class
NetworkWatchersOperations 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)
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_check_connectivity |
Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. |
| begin_delete |
Deletes the specified network watcher resource. |
| begin_get_azure_reachability_report |
Gets the relative latency score for internet service providers from a specified location to Azure regions. |
| begin_get_flow_log_status |
Queries status of flow log and traffic analytics (optional) on a specified resource. |
| begin_get_network_configuration_diagnostic |
Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. |
| 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_list_available_providers |
Lists all available internet service providers for a specified Azure region. |
| begin_set_flow_log_configuration |
Configures flow log and traffic analytics (optional) 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. |
| update_tags |
Updates a network watcher tags. |
begin_check_connectivity
Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.
begin_check_connectivity(resource_group_name, network_watcher_name, parameters, **kwargs)
Parameters
- parameters
- ConnectivityParameters
Parameters that determine how the connectivity check will be performed.
- polling
- bool or PollingMethod
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 LROPoller that returns either ConnectivityInformation or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes the specified network watcher resource.
begin_delete(resource_group_name, network_watcher_name, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_get_azure_reachability_report
Gets the relative latency score for internet service providers from a specified location to Azure regions.
begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, **kwargs)
Parameters
- parameters
- AzureReachabilityReportParameters
Parameters that determine Azure reachability report configuration.
- polling
- bool or PollingMethod
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 LROPoller that returns either AzureReachabilityReport or the result of cls(response)
Return type
Exceptions
begin_get_flow_log_status
Queries status of flow log and traffic analytics (optional) on a specified resource.
begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, **kwargs)
Parameters
- parameters
- FlowLogStatusParameters
Parameters that define a resource to query flow log and traffic analytics (optional) status.
- polling
- bool or PollingMethod
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 LROPoller that returns either FlowLogInformation or the result of cls(response)
Return type
Exceptions
begin_get_network_configuration_diagnostic
Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.
begin_get_network_configuration_diagnostic(resource_group_name, network_watcher_name, parameters, **kwargs)
Parameters
- parameters
- NetworkConfigurationDiagnosticParameters
Parameters to get network configuration diagnostic.
- polling
- bool or PollingMethod
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 LROPoller that returns either NetworkConfigurationDiagnosticResponse 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, network_watcher_name, parameters, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_watcher_name, parameters, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_watcher_name, parameters, **kwargs)
Parameters
- parameters
- QueryTroubleshootingParameters
Parameters that define the resource to query the troubleshooting result.
- polling
- bool or PollingMethod
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 LROPoller 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, network_watcher_name, parameters, **kwargs)
Parameters
- parameters
- SecurityGroupViewParameters
Parameters that define the VM to check security groups for.
- polling
- bool or PollingMethod
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 LROPoller that returns either SecurityGroupViewResult or the result of cls(response)
Return type
Exceptions
begin_list_available_providers
Lists all available internet service providers for a specified Azure region.
begin_list_available_providers(resource_group_name, network_watcher_name, parameters, **kwargs)
Parameters
- parameters
- AvailableProvidersListParameters
Parameters that scope the list of available providers.
- polling
- bool or PollingMethod
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 LROPoller that returns either AvailableProvidersList or the result of cls(response)
Return type
Exceptions
begin_set_flow_log_configuration
Configures flow log and traffic analytics (optional) on a specified resource.
begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_watcher_name, parameters, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_watcher_name, parameters, **kwargs)
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, network_watcher_name, **kwargs)
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, network_watcher_name, parameters, **kwargs)
Parameters
Returns
Topology, or the result of cls(response)
Return type
Exceptions
list
Gets all network watchers by resource group.
list(resource_group_name, **kwargs)
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)
Parameters
Returns
An iterator like instance of either NetworkWatcherListResult or the result of cls(response)
Return type
Exceptions
update_tags
Updates a network watcher tags.
update_tags(resource_group_name, network_watcher_name, parameters, **kwargs)
Parameters
Returns
NetworkWatcher, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.network.v2019_07_01.models' from 'c:\\repo\\venv\\lib\\site-packages\\azure\\mgmt\\network\\v2019_07_01\\models\\__init__.py'>
Feedback
Submit and view feedback for