Network Watchers - Get Azure Reachability Report
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.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport?api-version=2023-09-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
network
|
path | True |
string |
The name of the network watcher resource. |
resource
|
path | True |
string |
The name of the network watcher resource group. |
subscription
|
path | True |
string |
The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Client API version. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
endTime | True |
string |
The end time for the Azure reachability report. |
providerLocation | True |
Parameters that define a geographic location. |
|
startTime | True |
string |
The start time for the Azure reachability report. |
azureLocations |
string[] |
Optional Azure regions to scope the query to. |
|
providers |
string[] |
List of Internet service providers. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successful request for Azure reachability report. |
|
202 Accepted |
Accepted and the operation will complete asynchronously. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Get Azure Reachability Report
Sample Request
POST https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/azureReachabilityReport?api-version=2023-09-01
{
"providerLocation": {
"country": "United States",
"state": "washington"
},
"providers": [
"Frontier Communications of America, Inc. - ASN 5650"
],
"azureLocations": [
"West US"
],
"startTime": "2017-09-07T00:00:00Z",
"endTime": "2017-09-10T00:00:00Z"
}
Sample Response
{
"aggregationLevel": "State",
"providerLocation": {
"country": "United States",
"state": "washington"
},
"reachabilityReport": [
{
"provider": "Frontier Communications of America, Inc. - ASN 5650",
"azureLocation": "West US",
"latencies": [
{
"timeStamp": "2017-09-07T00:00:00Z",
"score": 94
},
{
"timeStamp": "2017-09-08T00:00:00Z",
"score": 94
},
{
"timeStamp": "2017-09-09T00:00:00Z",
"score": 94
}
]
}
]
}
Location: https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/azureReachabilityReport?api-version=2023-09-01
{
"aggregationLevel": "State",
"providerLocation": {
"country": "United States",
"state": "washington"
},
"reachabilityReport": [
{
"provider": "Frontier Communications of America, Inc. - ASN 5650",
"azureLocation": "West US",
"latencies": [
{
"timeStamp": "2017-09-07T00:00:00Z",
"score": 94
},
{
"timeStamp": "2017-09-08T00:00:00Z",
"score": 94
},
{
"timeStamp": "2017-09-09T00:00:00Z",
"score": 94
}
]
}
]
}
Definitions
Name | Description |
---|---|
Azure |
Azure reachability report details. |
Azure |
Azure reachability report details for a given provider location. |
Azure |
Details on latency for a time series. |
Azure |
Parameters that define a geographic location. |
Azure |
Geographic and time constraints for Azure reachability report. |
Error |
Common error details representation. |
Error |
The error object. |
AzureReachabilityReport
Azure reachability report details.
Name | Type | Description |
---|---|---|
aggregationLevel |
string |
The aggregation level of Azure reachability report. Can be Country, State or City. |
providerLocation |
Parameters that define a geographic location. |
|
reachabilityReport |
List of Azure reachability report items. |
AzureReachabilityReportItem
Azure reachability report details for a given provider location.
Name | Type | Description |
---|---|---|
azureLocation |
string |
The Azure region. |
latencies |
List of latency details for each of the time series. |
|
provider |
string |
The Internet service provider. |
AzureReachabilityReportLatencyInfo
Details on latency for a time series.
Name | Type | Description |
---|---|---|
score |
integer |
The relative latency score between 1 and 100, higher values indicating a faster connection. |
timeStamp |
string |
The time stamp. |
AzureReachabilityReportLocation
Parameters that define a geographic location.
Name | Type | Description |
---|---|---|
city |
string |
The name of the city or town. |
country |
string |
The name of the country. |
state |
string |
The name of the state. |
AzureReachabilityReportParameters
Geographic and time constraints for Azure reachability report.
Name | Type | Description |
---|---|---|
azureLocations |
string[] |
Optional Azure regions to scope the query to. |
endTime |
string |
The end time for the Azure reachability report. |
providerLocation |
Parameters that define a geographic location. |
|
providers |
string[] |
List of Internet service providers. |
startTime |
string |
The start time for the Azure reachability report. |
ErrorDetails
Common error details representation.
Name | Type | Description |
---|---|---|
code |
string |
Error code. |
message |
string |
Error message. |
target |
string |
Error target. |
ErrorResponse
The error object.
Name | Type | Description |
---|---|---|
error |
Error |