NetworkWatchers interface

Interface representing a NetworkWatchers.

Methods

beginCheckConnectivity(string, string, ConnectivityParameters, NetworkWatchersCheckConnectivityOptionalParams)

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.

beginCheckConnectivityAndWait(string, string, ConnectivityParameters, NetworkWatchersCheckConnectivityOptionalParams)

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.

beginDelete(string, string, NetworkWatchersDeleteOptionalParams)

Deletes the specified network watcher resource.

beginDeleteAndWait(string, string, NetworkWatchersDeleteOptionalParams)

Deletes the specified network watcher resource.

beginGetAzureReachabilityReport(string, string, AzureReachabilityReportParameters, NetworkWatchersGetAzureReachabilityReportOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions.

beginGetAzureReachabilityReportAndWait(string, string, AzureReachabilityReportParameters, NetworkWatchersGetAzureReachabilityReportOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions.

beginGetFlowLogStatus(string, string, FlowLogStatusParameters, NetworkWatchersGetFlowLogStatusOptionalParams)

Queries status of flow log and traffic analytics (optional) on a specified resource.

beginGetFlowLogStatusAndWait(string, string, FlowLogStatusParameters, NetworkWatchersGetFlowLogStatusOptionalParams)

Queries status of flow log and traffic analytics (optional) on a specified resource.

beginGetNetworkConfigurationDiagnostic(string, string, NetworkConfigurationDiagnosticParameters, NetworkWatchersGetNetworkConfigurationDiagnosticOptionalParams)

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.

beginGetNetworkConfigurationDiagnosticAndWait(string, string, NetworkConfigurationDiagnosticParameters, NetworkWatchersGetNetworkConfigurationDiagnosticOptionalParams)

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.

beginGetNextHop(string, string, NextHopParameters, NetworkWatchersGetNextHopOptionalParams)

Gets the next hop from the specified VM.

beginGetNextHopAndWait(string, string, NextHopParameters, NetworkWatchersGetNextHopOptionalParams)

Gets the next hop from the specified VM.

beginGetTroubleshooting(string, string, TroubleshootingParameters, NetworkWatchersGetTroubleshootingOptionalParams)

Initiate troubleshooting on a specified resource.

beginGetTroubleshootingAndWait(string, string, TroubleshootingParameters, NetworkWatchersGetTroubleshootingOptionalParams)

Initiate troubleshooting on a specified resource.

beginGetTroubleshootingResult(string, string, QueryTroubleshootingParameters, NetworkWatchersGetTroubleshootingResultOptionalParams)

Get the last completed troubleshooting result on a specified resource.

beginGetTroubleshootingResultAndWait(string, string, QueryTroubleshootingParameters, NetworkWatchersGetTroubleshootingResultOptionalParams)

Get the last completed troubleshooting result on a specified resource.

beginGetVMSecurityRules(string, string, SecurityGroupViewParameters, NetworkWatchersGetVMSecurityRulesOptionalParams)

Gets the configured and effective security group rules on the specified VM.

beginGetVMSecurityRulesAndWait(string, string, SecurityGroupViewParameters, NetworkWatchersGetVMSecurityRulesOptionalParams)

Gets the configured and effective security group rules on the specified VM.

beginListAvailableProviders(string, string, AvailableProvidersListParameters, NetworkWatchersListAvailableProvidersOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region.

beginListAvailableProvidersAndWait(string, string, AvailableProvidersListParameters, NetworkWatchersListAvailableProvidersOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region.

beginSetFlowLogConfiguration(string, string, FlowLogInformation, NetworkWatchersSetFlowLogConfigurationOptionalParams)

Configures flow log and traffic analytics (optional) on a specified resource.

beginSetFlowLogConfigurationAndWait(string, string, FlowLogInformation, NetworkWatchersSetFlowLogConfigurationOptionalParams)

Configures flow log and traffic analytics (optional) on a specified resource.

beginVerifyIPFlow(string, string, VerificationIPFlowParameters, NetworkWatchersVerifyIPFlowOptionalParams)

Verify IP flow from the specified VM to a location given the currently configured NSG rules.

beginVerifyIPFlowAndWait(string, string, VerificationIPFlowParameters, NetworkWatchersVerifyIPFlowOptionalParams)

Verify IP flow from the specified VM to a location given the currently configured NSG rules.

createOrUpdate(string, string, NetworkWatcher, NetworkWatchersCreateOrUpdateOptionalParams)

Creates or updates a network watcher in the specified resource group.

get(string, string, NetworkWatchersGetOptionalParams)

Gets the specified network watcher by resource group.

getTopology(string, string, TopologyParameters, NetworkWatchersGetTopologyOptionalParams)

Gets the current network topology by resource group.

list(string, NetworkWatchersListOptionalParams)

Gets all network watchers by resource group.

listAll(NetworkWatchersListAllOptionalParams)

Gets all network watchers by subscription.

updateTags(string, string, TagsObject, NetworkWatchersUpdateTagsOptionalParams)

Updates a network watcher tags.

Method Details

beginCheckConnectivity(string, string, ConnectivityParameters, NetworkWatchersCheckConnectivityOptionalParams)

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.

function beginCheckConnectivity(resourceGroupName: string, networkWatcherName: string, parameters: ConnectivityParameters, options?: NetworkWatchersCheckConnectivityOptionalParams): Promise<SimplePollerLike<OperationState<ConnectivityInformation>, ConnectivityInformation>>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
ConnectivityParameters

Parameters that determine how the connectivity check will be performed.

options
NetworkWatchersCheckConnectivityOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ConnectivityInformation>, ConnectivityInformation>>

beginCheckConnectivityAndWait(string, string, ConnectivityParameters, NetworkWatchersCheckConnectivityOptionalParams)

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.

function beginCheckConnectivityAndWait(resourceGroupName: string, networkWatcherName: string, parameters: ConnectivityParameters, options?: NetworkWatchersCheckConnectivityOptionalParams): Promise<ConnectivityInformation>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
ConnectivityParameters

Parameters that determine how the connectivity check will be performed.

options
NetworkWatchersCheckConnectivityOptionalParams

The options parameters.

Returns

beginDelete(string, string, NetworkWatchersDeleteOptionalParams)

Deletes the specified network watcher resource.

function beginDelete(resourceGroupName: string, networkWatcherName: string, options?: NetworkWatchersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

options
NetworkWatchersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, NetworkWatchersDeleteOptionalParams)

Deletes the specified network watcher resource.

function beginDeleteAndWait(resourceGroupName: string, networkWatcherName: string, options?: NetworkWatchersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

options
NetworkWatchersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginGetAzureReachabilityReport(string, string, AzureReachabilityReportParameters, NetworkWatchersGetAzureReachabilityReportOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions.

function beginGetAzureReachabilityReport(resourceGroupName: string, networkWatcherName: string, parameters: AzureReachabilityReportParameters, options?: NetworkWatchersGetAzureReachabilityReportOptionalParams): Promise<SimplePollerLike<OperationState<AzureReachabilityReport>, AzureReachabilityReport>>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
AzureReachabilityReportParameters

Parameters that determine Azure reachability report configuration.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AzureReachabilityReport>, AzureReachabilityReport>>

beginGetAzureReachabilityReportAndWait(string, string, AzureReachabilityReportParameters, NetworkWatchersGetAzureReachabilityReportOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions.

function beginGetAzureReachabilityReportAndWait(resourceGroupName: string, networkWatcherName: string, parameters: AzureReachabilityReportParameters, options?: NetworkWatchersGetAzureReachabilityReportOptionalParams): Promise<AzureReachabilityReport>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
AzureReachabilityReportParameters

Parameters that determine Azure reachability report configuration.

Returns

beginGetFlowLogStatus(string, string, FlowLogStatusParameters, NetworkWatchersGetFlowLogStatusOptionalParams)

Queries status of flow log and traffic analytics (optional) on a specified resource.

function beginGetFlowLogStatus(resourceGroupName: string, networkWatcherName: string, parameters: FlowLogStatusParameters, options?: NetworkWatchersGetFlowLogStatusOptionalParams): Promise<SimplePollerLike<OperationState<FlowLogInformation>, FlowLogInformation>>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
FlowLogStatusParameters

Parameters that define a resource to query flow log and traffic analytics (optional) status.

options
NetworkWatchersGetFlowLogStatusOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<FlowLogInformation>, FlowLogInformation>>

beginGetFlowLogStatusAndWait(string, string, FlowLogStatusParameters, NetworkWatchersGetFlowLogStatusOptionalParams)

Queries status of flow log and traffic analytics (optional) on a specified resource.

function beginGetFlowLogStatusAndWait(resourceGroupName: string, networkWatcherName: string, parameters: FlowLogStatusParameters, options?: NetworkWatchersGetFlowLogStatusOptionalParams): Promise<FlowLogInformation>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
FlowLogStatusParameters

Parameters that define a resource to query flow log and traffic analytics (optional) status.

options
NetworkWatchersGetFlowLogStatusOptionalParams

The options parameters.

Returns

beginGetNetworkConfigurationDiagnostic(string, string, NetworkConfigurationDiagnosticParameters, NetworkWatchersGetNetworkConfigurationDiagnosticOptionalParams)

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.

function beginGetNetworkConfigurationDiagnostic(resourceGroupName: string, networkWatcherName: string, parameters: NetworkConfigurationDiagnosticParameters, options?: NetworkWatchersGetNetworkConfigurationDiagnosticOptionalParams): Promise<SimplePollerLike<OperationState<NetworkConfigurationDiagnosticResponse>, NetworkConfigurationDiagnosticResponse>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
NetworkConfigurationDiagnosticParameters

Parameters to get network configuration diagnostic.

Returns

beginGetNetworkConfigurationDiagnosticAndWait(string, string, NetworkConfigurationDiagnosticParameters, NetworkWatchersGetNetworkConfigurationDiagnosticOptionalParams)

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.

function beginGetNetworkConfigurationDiagnosticAndWait(resourceGroupName: string, networkWatcherName: string, parameters: NetworkConfigurationDiagnosticParameters, options?: NetworkWatchersGetNetworkConfigurationDiagnosticOptionalParams): Promise<NetworkConfigurationDiagnosticResponse>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
NetworkConfigurationDiagnosticParameters

Parameters to get network configuration diagnostic.

Returns

beginGetNextHop(string, string, NextHopParameters, NetworkWatchersGetNextHopOptionalParams)

Gets the next hop from the specified VM.

function beginGetNextHop(resourceGroupName: string, networkWatcherName: string, parameters: NextHopParameters, options?: NetworkWatchersGetNextHopOptionalParams): Promise<SimplePollerLike<OperationState<NextHopResult>, NextHopResult>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
NextHopParameters

Parameters that define the source and destination endpoint.

options
NetworkWatchersGetNextHopOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<NextHopResult>, NextHopResult>>

beginGetNextHopAndWait(string, string, NextHopParameters, NetworkWatchersGetNextHopOptionalParams)

Gets the next hop from the specified VM.

function beginGetNextHopAndWait(resourceGroupName: string, networkWatcherName: string, parameters: NextHopParameters, options?: NetworkWatchersGetNextHopOptionalParams): Promise<NextHopResult>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
NextHopParameters

Parameters that define the source and destination endpoint.

options
NetworkWatchersGetNextHopOptionalParams

The options parameters.

Returns

Promise<NextHopResult>

beginGetTroubleshooting(string, string, TroubleshootingParameters, NetworkWatchersGetTroubleshootingOptionalParams)

Initiate troubleshooting on a specified resource.

function beginGetTroubleshooting(resourceGroupName: string, networkWatcherName: string, parameters: TroubleshootingParameters, options?: NetworkWatchersGetTroubleshootingOptionalParams): Promise<SimplePollerLike<OperationState<TroubleshootingResult>, TroubleshootingResult>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
TroubleshootingParameters

Parameters that define the resource to troubleshoot.

options
NetworkWatchersGetTroubleshootingOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<TroubleshootingResult>, TroubleshootingResult>>

beginGetTroubleshootingAndWait(string, string, TroubleshootingParameters, NetworkWatchersGetTroubleshootingOptionalParams)

Initiate troubleshooting on a specified resource.

function beginGetTroubleshootingAndWait(resourceGroupName: string, networkWatcherName: string, parameters: TroubleshootingParameters, options?: NetworkWatchersGetTroubleshootingOptionalParams): Promise<TroubleshootingResult>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
TroubleshootingParameters

Parameters that define the resource to troubleshoot.

options
NetworkWatchersGetTroubleshootingOptionalParams

The options parameters.

Returns

beginGetTroubleshootingResult(string, string, QueryTroubleshootingParameters, NetworkWatchersGetTroubleshootingResultOptionalParams)

Get the last completed troubleshooting result on a specified resource.

function beginGetTroubleshootingResult(resourceGroupName: string, networkWatcherName: string, parameters: QueryTroubleshootingParameters, options?: NetworkWatchersGetTroubleshootingResultOptionalParams): Promise<SimplePollerLike<OperationState<TroubleshootingResult>, TroubleshootingResult>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
QueryTroubleshootingParameters

Parameters that define the resource to query the troubleshooting result.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<TroubleshootingResult>, TroubleshootingResult>>

beginGetTroubleshootingResultAndWait(string, string, QueryTroubleshootingParameters, NetworkWatchersGetTroubleshootingResultOptionalParams)

Get the last completed troubleshooting result on a specified resource.

function beginGetTroubleshootingResultAndWait(resourceGroupName: string, networkWatcherName: string, parameters: QueryTroubleshootingParameters, options?: NetworkWatchersGetTroubleshootingResultOptionalParams): Promise<TroubleshootingResult>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
QueryTroubleshootingParameters

Parameters that define the resource to query the troubleshooting result.

Returns

beginGetVMSecurityRules(string, string, SecurityGroupViewParameters, NetworkWatchersGetVMSecurityRulesOptionalParams)

Gets the configured and effective security group rules on the specified VM.

function beginGetVMSecurityRules(resourceGroupName: string, networkWatcherName: string, parameters: SecurityGroupViewParameters, options?: NetworkWatchersGetVMSecurityRulesOptionalParams): Promise<SimplePollerLike<OperationState<SecurityGroupViewResult>, SecurityGroupViewResult>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
SecurityGroupViewParameters

Parameters that define the VM to check security groups for.

options
NetworkWatchersGetVMSecurityRulesOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<SecurityGroupViewResult>, SecurityGroupViewResult>>

beginGetVMSecurityRulesAndWait(string, string, SecurityGroupViewParameters, NetworkWatchersGetVMSecurityRulesOptionalParams)

Gets the configured and effective security group rules on the specified VM.

function beginGetVMSecurityRulesAndWait(resourceGroupName: string, networkWatcherName: string, parameters: SecurityGroupViewParameters, options?: NetworkWatchersGetVMSecurityRulesOptionalParams): Promise<SecurityGroupViewResult>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
SecurityGroupViewParameters

Parameters that define the VM to check security groups for.

options
NetworkWatchersGetVMSecurityRulesOptionalParams

The options parameters.

Returns

beginListAvailableProviders(string, string, AvailableProvidersListParameters, NetworkWatchersListAvailableProvidersOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region.

function beginListAvailableProviders(resourceGroupName: string, networkWatcherName: string, parameters: AvailableProvidersListParameters, options?: NetworkWatchersListAvailableProvidersOptionalParams): Promise<SimplePollerLike<OperationState<AvailableProvidersList>, AvailableProvidersList>>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
AvailableProvidersListParameters

Parameters that scope the list of available providers.

options
NetworkWatchersListAvailableProvidersOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AvailableProvidersList>, AvailableProvidersList>>

beginListAvailableProvidersAndWait(string, string, AvailableProvidersListParameters, NetworkWatchersListAvailableProvidersOptionalParams)

NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region.

function beginListAvailableProvidersAndWait(resourceGroupName: string, networkWatcherName: string, parameters: AvailableProvidersListParameters, options?: NetworkWatchersListAvailableProvidersOptionalParams): Promise<AvailableProvidersList>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
AvailableProvidersListParameters

Parameters that scope the list of available providers.

options
NetworkWatchersListAvailableProvidersOptionalParams

The options parameters.

Returns

beginSetFlowLogConfiguration(string, string, FlowLogInformation, NetworkWatchersSetFlowLogConfigurationOptionalParams)

Configures flow log and traffic analytics (optional) on a specified resource.

function beginSetFlowLogConfiguration(resourceGroupName: string, networkWatcherName: string, parameters: FlowLogInformation, options?: NetworkWatchersSetFlowLogConfigurationOptionalParams): Promise<SimplePollerLike<OperationState<FlowLogInformation>, FlowLogInformation>>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
FlowLogInformation

Parameters that define the configuration of flow log.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<FlowLogInformation>, FlowLogInformation>>

beginSetFlowLogConfigurationAndWait(string, string, FlowLogInformation, NetworkWatchersSetFlowLogConfigurationOptionalParams)

Configures flow log and traffic analytics (optional) on a specified resource.

function beginSetFlowLogConfigurationAndWait(resourceGroupName: string, networkWatcherName: string, parameters: FlowLogInformation, options?: NetworkWatchersSetFlowLogConfigurationOptionalParams): Promise<FlowLogInformation>

Parameters

resourceGroupName

string

The name of the network watcher resource group.

networkWatcherName

string

The name of the network watcher resource.

parameters
FlowLogInformation

Parameters that define the configuration of flow log.

Returns

beginVerifyIPFlow(string, string, VerificationIPFlowParameters, NetworkWatchersVerifyIPFlowOptionalParams)

Verify IP flow from the specified VM to a location given the currently configured NSG rules.

function beginVerifyIPFlow(resourceGroupName: string, networkWatcherName: string, parameters: VerificationIPFlowParameters, options?: NetworkWatchersVerifyIPFlowOptionalParams): Promise<SimplePollerLike<OperationState<VerificationIPFlowResult>, VerificationIPFlowResult>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
VerificationIPFlowParameters

Parameters that define the IP flow to be verified.

options
NetworkWatchersVerifyIPFlowOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VerificationIPFlowResult>, VerificationIPFlowResult>>

beginVerifyIPFlowAndWait(string, string, VerificationIPFlowParameters, NetworkWatchersVerifyIPFlowOptionalParams)

Verify IP flow from the specified VM to a location given the currently configured NSG rules.

function beginVerifyIPFlowAndWait(resourceGroupName: string, networkWatcherName: string, parameters: VerificationIPFlowParameters, options?: NetworkWatchersVerifyIPFlowOptionalParams): Promise<VerificationIPFlowResult>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
VerificationIPFlowParameters

Parameters that define the IP flow to be verified.

options
NetworkWatchersVerifyIPFlowOptionalParams

The options parameters.

Returns

createOrUpdate(string, string, NetworkWatcher, NetworkWatchersCreateOrUpdateOptionalParams)

Creates or updates a network watcher in the specified resource group.

function createOrUpdate(resourceGroupName: string, networkWatcherName: string, parameters: NetworkWatcher, options?: NetworkWatchersCreateOrUpdateOptionalParams): Promise<NetworkWatcher>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
NetworkWatcher

Parameters that define the network watcher resource.

options
NetworkWatchersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<NetworkWatcher>

get(string, string, NetworkWatchersGetOptionalParams)

Gets the specified network watcher by resource group.

function get(resourceGroupName: string, networkWatcherName: string, options?: NetworkWatchersGetOptionalParams): Promise<NetworkWatcher>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

options
NetworkWatchersGetOptionalParams

The options parameters.

Returns

Promise<NetworkWatcher>

getTopology(string, string, TopologyParameters, NetworkWatchersGetTopologyOptionalParams)

Gets the current network topology by resource group.

function getTopology(resourceGroupName: string, networkWatcherName: string, parameters: TopologyParameters, options?: NetworkWatchersGetTopologyOptionalParams): Promise<Topology>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
TopologyParameters

Parameters that define the representation of topology.

options
NetworkWatchersGetTopologyOptionalParams

The options parameters.

Returns

Promise<Topology>

list(string, NetworkWatchersListOptionalParams)

Gets all network watchers by resource group.

function list(resourceGroupName: string, options?: NetworkWatchersListOptionalParams): PagedAsyncIterableIterator<NetworkWatcher, NetworkWatcher[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
NetworkWatchersListOptionalParams

The options parameters.

Returns

listAll(NetworkWatchersListAllOptionalParams)

Gets all network watchers by subscription.

function listAll(options?: NetworkWatchersListAllOptionalParams): PagedAsyncIterableIterator<NetworkWatcher, NetworkWatcher[], PageSettings>

Parameters

options
NetworkWatchersListAllOptionalParams

The options parameters.

Returns

updateTags(string, string, TagsObject, NetworkWatchersUpdateTagsOptionalParams)

Updates a network watcher tags.

function updateTags(resourceGroupName: string, networkWatcherName: string, parameters: TagsObject, options?: NetworkWatchersUpdateTagsOptionalParams): Promise<NetworkWatcher>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

parameters
TagsObject

Parameters supplied to update network watcher tags.

options
NetworkWatchersUpdateTagsOptionalParams

The options parameters.

Returns

Promise<NetworkWatcher>