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

Network Experiment Profiles - List

获取订阅下的网络试验配置文件的列表

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/NetworkExperimentProfiles?api-version=2019-11-01

URI 参数

名称 必需 类型 说明
subscriptionId
path True

string

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

api-version
query True

string

客户端 API 版本。

响应

名称 类型 说明
200 OK

ProfileList

成功的操作

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 模拟用户帐户

示例

List NetworkExperiment Profiles in a Resource Group

Sample Request

GET https://management.azure.com/subscriptions/subid/providers/Microsoft.Network/NetworkExperimentProfiles?api-version=2019-11-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/",
      "name": "MyProfile",
      "type": "Microsoft.Network/NetworkExperimentprofiles",
      "tags": {
        "key1": "value1",
        "key2": "value2"
      },
      "location": "WestUs",
      "properties": {
        "enabledState": "Enabled",
        "resourceState": "Creating"
      }
    }
  ]
}

定义

名称 说明
ErrorResponse

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

NetworkExperimentResourceState

定义服务器端资源状态

Profile

定义网络试验配置文件和试验列表

ProfileList

定义配置文件列表。 它包含 Profile 对象的列表和用于获取下一组结果的 URL 链接。

state

试验的状态

ErrorResponse

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

名称 类型 说明
code

string

错误代码。

message

string

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

NetworkExperimentResourceState

定义服务器端资源状态

名称 类型 说明
Creating

string

Deleting

string

Disabled

string

Disabling

string

Enabled

string

Enabling

string

Profile

定义网络试验配置文件和试验列表

名称 类型 说明
etag

string

获取一个唯一的只读字符串,每当资源更新时,该字符串都会更改。

id

string

资源 ID。

location

string

资源位置。

name

string

配置文件的名称

properties.enabledState

state

试验的状态

properties.resourceState

NetworkExperimentResourceState

资源状态。

tags

object

资源标记。

type

string

资源类型。

ProfileList

定义配置文件列表。 它包含 Profile 对象的列表和用于获取下一组结果的 URL 链接。

名称 类型 说明
nextLink

string

用于获取下一组 Profile 对象的 URL(如果有)。

value

Profile[]

资源组中的配置文件列表。

state

试验的状态

名称 类型 说明
Disabled

string

Enabled

string