你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzureRMNetworkWatcherReachabilityReport
获取从指定位置到 Azure 区域的 Internet 服务提供商的相对延迟分数。
警告
截至 2024 年 2 月 29 日,AzureRM PowerShell 模块已正式弃用。 为了确保持续获得支持和更新,建议用户从 AzureRM 迁移到 Az PowerShell 模块。
尽管 AzureRM 模块仍可能正常运行,但它不再维护或受支持,但会根据用户的自由裁量权和风险继续使用任何继续使用模块。 有关过渡到 Az 模块的指导,请参阅我们的迁移资源。
语法
Get-AzureRMNetworkWatcherReachabilityReport
-NetworkWatcherName <String>
-ResourceGroupName <String>
[-Provider <System.Collections.Generic.List`1[System.String]>]
[-Location <System.Collections.Generic.List`1[System.String]>]
-StartTime <DateTime>
-EndTime <DateTime>
[-Country <String>]
[-State <String>]
[-City <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRMNetworkWatcherReachabilityReport
-NetworkWatcher <PSNetworkWatcher>
[-Provider <System.Collections.Generic.List`1[System.String]>]
[-Location <System.Collections.Generic.List`1[System.String]>]
-StartTime <DateTime>
-EndTime <DateTime>
[-Country <String>]
[-State <String>]
[-City <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRMNetworkWatcherReachabilityReport
-ResourceId <String>
[-Provider <System.Collections.Generic.List`1[System.String]>]
[-Location <System.Collections.Generic.List`1[System.String]>]
-StartTime <DateTime>
-EndTime <DateTime>
[-Country <String>]
[-State <String>]
[-City <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRMNetworkWatcherReachabilityReport
-NetworkWatcherLocation <String>
[-Provider <System.Collections.Generic.List`1[System.String]>]
[-Location <System.Collections.Generic.List`1[System.String]>]
-StartTime <DateTime>
-EndTime <DateTime>
[-Country <String>]
[-State <String>]
[-City <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
Get-AzureRmNetworkWatcherReachabilityReport 从指定位置到 Azure 区域获取 Internet 服务提供商的相对延迟分数。
示例
示例 1
$nw = Get-AzureRmNetworkWatcher -Name NetworkWatcher -ResourceGroupName NetworkWatcherRG
Get-AzureRmNetworkWatcherReachabilityReport -NetworkWatcher $nw -Location "West US" -Country "United States" -StartTime "2017-10-10" -EndTime "2017-10-12"
"aggregationLevel" : "Country",
"providerLocation" : {
"country" : "United States"
},
"reachabilityReport" : [
{
"provider" : "Frontier Communications of America, Inc. - ASN 5650",
"azureLocation": "West US",
"latencies": [
{
"timeStamp": "2017-10-10T00:00:00Z",
"score": 94
},
{
"timeStamp": "2017-10-11T00:00:00Z",
"score": 94
},
{
"timeStamp": "2017-10-12T00:00:00Z",
"score": 94
}
]
}
]
从 2017-10-10 到 2017-10-12,获取美国西部 Azure 数据中心的相对延迟。
参数
-AsJob
在后台运行 cmdlet
类型: | SwitchParameter |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-City
城市的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Country
国家/地区的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-EndTime
Azure 可访问性报告的结束时间。
类型: | DateTime |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Location
用于将查询范围限定为的可选 Azure 区域。
类型: | List<T>[String] |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-NetworkWatcher
网络观察程序资源
类型: | PSNetworkWatcher |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-NetworkWatcherLocation
网络观察程序的位置。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-NetworkWatcherName
网络观察程序的名称。
类型: | String |
别名: | ResourceName, Name |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Provider
-ResourceGroupName
网络观察程序资源组的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceId
网络观察程序资源的 ID。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-StartTime
Azure 可访问性报告的开始时间。
类型: | DateTime |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-State
状态的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
输入
参数:NetworkWatcher (ByValue)
输出
备注
关键字:azure, azurerm, arm, 资源, 管理, 经理, 网络, 网络, 网络观察程序, 可访问性, 报告
相关链接
- New-AzureRmNetworkWatcher
- Get-AzureRmNetworkWatcher
- Remove-AzureRmNetworkWatcher
- Get-AzureRmNetworkWatcherNextHop
- Get-AzureRmNetworkWatcherSecurityGroupView
- Get-AzureRmNetworkWatcherTopology
- Start-AzureRmNetworkWatcherResourceTroubleshooting
- New-AzureRmNetworkWatcherPacketCapture
- New-AzureRmPacketCaptureFilterConfig
- Get-AzureRmNetworkWatcherPacketCapture
- Remove-AzureRmNetworkWatcherPacketCapture
- Stop-AzureRmNetworkWatcherPacketCapture
- New-AzureRmNetworkWatcherProtocolConfiguration
- Test-AzureRmNetworkWatcherIPFlow
- Test-AzureRmNetworkWatcher连接ivity
- Stop-AzureRmNetworkWatcherConnectionMonitor
- Start-AzureRmNetworkWatcherConnectionMonitor
- Set-AzureRmNetworkWatcherConnectionMonitor
- Set-AzureRmNetworkWatcherConfigFlowLog
- Remove-AzureRmNetworkWatcherConnectionMonitor
- New-AzureRmNetworkWatcherConnectionMonitor
- Get-AzureRmNetworkWatcherTroubleshootingResult
- Get-AzureRMNetworkWatcherReachabilityReport
- Get-AzureRmNetworkWatcherReachabilityProvidersList
- Get-AzureRmNetworkWatcherFlowLogStatus
- Get-AzureRmNetworkWatcherConnectionMonitorReport
- Get-AzureRmNetworkWatcherConnectionMonitor