你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Reports - Get Timeseries

获取给定试验的时数

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/Timeseries?api-version=2019-11-01&startDateTimeUTC={startDateTimeUTC}&endDateTimeUTC={endDateTimeUTC}&aggregationInterval={aggregationInterval}&timeseriesType={timeseriesType}
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/Timeseries?api-version=2019-11-01&startDateTimeUTC={startDateTimeUTC}&endDateTimeUTC={endDateTimeUTC}&aggregationInterval={aggregationInterval}&timeseriesType={timeseriesType}&endpoint={endpoint}&country={country}

URI 参数

名称 必需 类型 说明
experimentName
path True

string

与试验关联的试验标识符

Regex pattern: ^[a-zA-Z0-9_\-\(\)\.]*[^\.]$

profileName
path True

string

与租户和合作伙伴关联的配置文件标识符

Regex pattern: ^[a-zA-Z0-9_\-\(\)\.]*[^\.]$

resourceGroupName
path True

string

Azure 订阅中的资源组的名称。

Regex pattern: ^[a-zA-Z0-9_\-\(\)\.]*[^\.]$

subscriptionId
path True

string

可以唯一标识 Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。

aggregationInterval
query True

timeseriesAggregationInterval

Timeseries 的聚合间隔

api-version
query True

string

客户端 API 版本。

endDateTimeUTC
query True

string

date-time

UTC 中时报的结束日期/时间

startDateTimeUTC
query True

string

date-time

UTC 中时报的开始日期日期/时间

timeseriesType
query True

timeseriesType

Timeseries 的类型

country
query

string

与《泰晤士报》相关的国家/地区。 值是此处指定的国家/地区 ISO 代码- https://www.iso.org/iso-3166-country-codes.html

endpoint
query

string

特定终结点

响应

名称 类型 说明
200 OK

Timeseries

成功的操作

Other Status Codes

ErrorResponse

描述操作失败原因的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 流

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名称 说明
user_impersonation 模拟用户帐户

示例

Gets a Timeseries for a given Experiment

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment/Timeseries?api-version=2019-11-01&startDateTimeUTC=2019-07-21T17:32:28Z&endDateTimeUTC=2019-09-21T17:32:28Z&aggregationInterval=Hourly&timeseriesType=MeasurementCounts

Sample Response

{
  "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment/Timeseries",
  "properties": {
    "endpoint": "https://endpointA.com",
    "startDateTimeUTC": "2019-07-29",
    "endDateTimeUTC": "2019-08-02",
    "aggregationInterval": "Hourly",
    "timeseriesType": "MeasurementCounts",
    "country": "United States",
    "timeseriesData": [
      {
        "dateTimeUTC": "2019-07-22T17:32:28Z",
        "value": 79
      }
    ]
  }
}

定义

名称 说明
aggregationInterval

Timeseries 的聚合间隔

ErrorResponse

错误响应指示 Front Door 服务无法处理传入请求。 错误消息中提供了原因。

Timeseries

定义时报

timeseriesAggregationInterval

Timeseries 的聚合间隔

TimeseriesDataPoint

定义在时间顺序中使用的时间顺序数据点

timeseriesType

Timeseries 的类型

aggregationInterval

Timeseries 的聚合间隔

名称 类型 说明
Daily

string

Hourly

string

ErrorResponse

错误响应指示 Front Door 服务无法处理传入请求。 错误消息中提供了原因。

名称 类型 说明
code

string

错误代码。

message

string

指示操作失败原因的错误消息。

Timeseries

定义时报

名称 类型 说明
id

string

资源 ID。

location

string

资源位置。

name

string

资源名称。

properties.aggregationInterval

aggregationInterval

Timeseries 的聚合间隔

properties.country

string

与《泰晤士报》相关的国家/地区。 值是此处指定的国家/地区 ISO 代码- https://www.iso.org/iso-3166-country-codes.html

properties.endDateTimeUTC

string

UTC 中时报的结束日期/时间

properties.endpoint

string

与 Timeseries 数据点关联的终结点

properties.startDateTimeUTC

string

UTC 中时报的开始日期日期/时间

properties.timeseriesData

TimeseriesDataPoint[]

时间系列的数据点集

properties.timeseriesType

timeseriesType

Timeseries 的类型

tags

object

资源标记。

type

string

资源类型。

timeseriesAggregationInterval

Timeseries 的聚合间隔

名称 类型 说明
Daily

string

Hourly

string

TimeseriesDataPoint

定义在时间顺序中使用的时间顺序数据点

名称 类型 说明
dateTimeUTC

string

UTC 中 Timeseries 数据点的 DateTime

value

number

Timeseries 数据点的值

timeseriesType

Timeseries 的类型

名称 类型 说明
LatencyP50

string

LatencyP75

string

LatencyP95

string

MeasurementCounts

string