你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Reports - Get Latency Scorecards
获取给定试验的延迟记分卡
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/LatencyScorecard?api-version=2019-11-01&aggregationInterval={aggregationInterval}
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/LatencyScorecard?api-version=2019-11-01&endDateTimeUTC={endDateTimeUTC}&country={country}&aggregationInterval={aggregationInterval}
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
experiment
|
path | True |
string |
与试验关联的试验标识符 Regex pattern: |
profile
|
path | True |
string |
与租户和合作伙伴关联的配置文件标识符 Regex pattern: |
resource
|
path | True |
string |
Azure 订阅中的资源组的名称。 Regex pattern: |
subscription
|
path | True |
string |
可以唯一标识 Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。 |
aggregation
|
query | True |
延迟记分卡的聚合间隔 |
|
api-version
|
query | True |
string |
客户端 API 版本。 |
country
|
query |
string |
与延迟记分卡关联的国家/地区。 值是此处指定的国家/地区 ISO 代码- https://www.iso.org/iso-3166-country-codes.html |
|
end
|
query |
string |
UTC 中延迟记分卡的结束日期时间 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
成功的操作 |
|
Other Status Codes |
描述操作失败原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Gets a Latency Scorecard for a given Experiment
Sample Request
Sample Response
{
"id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment/LatencyScorecard",
"name": "DailyLatencyScorecard",
"properties": {
"description": "This scorecard is the latency scorecard, aggregated over a day",
"endpointA": "https://endpointA.com",
"endpointB": "https://endpoingB.com",
"startDateTimeUTC": "2019-07-21T17:32:28Z",
"endDateTimeUTC": "2019-09-21T17:32:28Z",
"country": "USA"
}
}
定义
名称 | 说明 |
---|---|
Error |
错误响应指示 Front Door 服务无法处理传入请求。 错误消息中提供了原因。 |
Latency |
定义延迟记分卡中使用的延迟指标的属性 |
Latency |
定义 LatencyScorecard |
latency |
延迟记分卡的聚合间隔 |
ErrorResponse
错误响应指示 Front Door 服务无法处理传入请求。 错误消息中提供了原因。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
message |
string |
指示操作失败原因的错误消息。 |
LatencyMetric
定义延迟记分卡中使用的延迟指标的属性
名称 | 类型 | 说明 |
---|---|---|
aCLower95CI |
number |
终结点 A 的 95% 置信区间的下端 |
aHUpper95CI |
number |
终结点 A 的 95% 置信区间的上端 |
aValue |
number |
A 终结点的指标值 |
bCLower95CI |
number |
终结点 B 的 95% 置信区间的低端 |
bUpper95CI |
number |
终结点 B 的 95% 置信区间的上端 |
bValue |
number |
B 终结点的指标值 |
delta |
number |
终结点 A 和 B 之间的值差异 |
deltaPercent |
number |
终结点 A 和 B 之间的百分比差异 |
endDateTimeUTC |
string |
延迟记分卡的结束时间(UTC) |
name |
string |
延迟指标的名称 |
LatencyScorecard
定义 LatencyScorecard
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
location |
string |
资源位置。 |
name |
string |
资源名称。 |
properties.country |
string |
与延迟记分卡关联的国家/地区。 值是此处指定的国家/地区 ISO 代码- https://www.iso.org/iso-3166-country-codes.html |
properties.description |
string |
延迟记分卡的说明 |
properties.endDateTimeUTC |
string |
延迟记分卡的结束时间(UTC) |
properties.endpointA |
string |
记分卡中的 A 终结点 |
properties.endpointB |
string |
记分卡中的 B 终结点 |
properties.id |
string |
延迟记分卡的唯一标识符 |
properties.latencyMetrics |
延迟记分卡的延迟指标 |
|
properties.name |
string |
延迟记分卡的名称 |
properties.startDateTimeUTC |
string |
延迟记分卡的开始时间(UTC) |
tags |
object |
资源标记。 |
type |
string |
资源类型。 |
latencyScorecardAggregationInterval
延迟记分卡的聚合间隔
名称 | 类型 | 说明 |
---|---|---|
Daily |
string |
|
Monthly |
string |
|
Weekly |
string |