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

Machines - List Connections

返回终止或源自指定计算机的连接集合

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/connections?api-version=2015-11-01-preview
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/connections?api-version=2015-11-01-preview&startTime={startTime}&endTime={endTime}

URI 参数

Name In Required Type Description
machineName
path True
  • string

计算机资源名称。

resourceGroupName
path True
  • string

指定 subscriptionId 中的资源组名称。

Regex pattern: [a-zA-Z0-9_-]+

subscriptionId
path True
  • string

Azure 订阅标识符。

workspaceName
path True
  • string

包含感兴趣的资源的 OMS 工作区。

Regex pattern: [a-zA-Z0-9_][a-zA-Z0-9_-]+[a-zA-Z0-9_]

api-version
query True
  • string

API 版本。

endTime
query
  • string
date-time

指定间隔结束时间的 UTC 日期和时间。 如果未指定服务,则使用 DateTime.UtcNow

startTime
query
  • string
date-time

指定间隔开始时间的 UTC 日期和时间。 如果未指定服务,则使用 DateTime.UtcNow - 10m

响应

Name Type Description
200 OK

操作已成功完成。

Other Status Codes

处理该请求时出错。 请参阅 error.code 参数来标识特定错误。

安全性

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

示例

SMMachinesListConnectionsGet

Sample Request

GET https://management.azure.com/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/connections?api-version=2015-11-01-preview&startTime=2018-01-07T07:31:38.4041029Z&endTime=2018-01-07T07:31:38.4041029Z

Sample Response

{
  "value": [
    {
      "kind": "rel:connection",
      "properties": {
        "source": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123/processes/p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4"
        },
        "destination": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f107e3f1cb5d792e6abfed7832ba4e864f995cee",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-f107e3f1cb5d792e6abfed7832ba4e864f995cee"
        },
        "serverPort": {
          "kind": "ref:port",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            },
            "ipAddress": "1.0.0.1",
            "portNumber": 9000
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_9000",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports",
          "name": "b-01000001_9000"
        },
        "failureState": "ok"
      },
      "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123@p@p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_9000",
      "type": "Microsoft.OperationalInsights/workspaces/features/connections",
      "name": "m@m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123@p@p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_9000"
    },
    {
      "kind": "rel:connection",
      "properties": {
        "source": {
          "kind": "ref:clientgroup",
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-01000001_8000",
          "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups",
          "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-01000001_8000"
        },
        "destination": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-68cf5e3251379179122fa88e761e2acd5577c249",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-68cf5e3251379179122fa88e761e2acd5577c249"
        },
        "serverPort": {
          "kind": "ref:port",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            },
            "ipAddress": "1.0.0.1",
            "portNumber": 8000
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_8000",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports",
          "name": "b-01000001_8000"
        },
        "failureState": "ok"
      },
      "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000",
      "type": "Microsoft.OperationalInsights/workspaces/features/connections",
      "name": "c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000"
    },
    {
      "kind": "rel:connection",
      "properties": {
        "source": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2"
        },
        "destination": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-08445135a7215e343f0f49b8d0b70c3b853ef87f",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-08445135a7215e343f0f49b8d0b70c3b853ef87f"
        },
        "serverPort": {
          "kind": "ref:port",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B"
            },
            "ipAddress": "2.0.0.1",
            "portNumber": 1001
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-02000001_1001",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports",
          "name": "b-02000001_1001"
        },
        "failureState": "ok"
      },
      "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-08445135a7215e343f0f49b8d0b70c3b853ef87f!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-02000001_1001",
      "type": "Microsoft.OperationalInsights/workspaces/features/connections",
      "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-08445135a7215e343f0f49b8d0b70c3b853ef87f!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-02000001_1001"
    },
    {
      "kind": "rel:connection",
      "properties": {
        "source": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2"
        },
        "destination": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-573847EE-4D31-4936-A8B2-771372806C80"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/processes/p-daedaa0e25869b6cf36525d51c2d321335e69f71",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-daedaa0e25869b6cf36525d51c2d321335e69f71"
        },
        "serverPort": {
          "kind": "ref:port",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-573847EE-4D31-4936-A8B2-771372806C80"
            },
            "ipAddress": "2.0.0.2",
            "portNumber": 1002
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/ports/b-02000002_1002",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports",
          "name": "b-02000002_1002"
        },
        "failureState": "ok"
      },
      "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-daedaa0e25869b6cf36525d51c2d321335e69f71!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-02000002_1002",
      "type": "Microsoft.OperationalInsights/workspaces/features/connections",
      "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-daedaa0e25869b6cf36525d51c2d321335e69f71!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-02000002_1002"
    },
    {
      "kind": "rel:connection",
      "properties": {
        "source": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2"
        },
        "destination": {
          "kind": "ref:process",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            }
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-68cf5e3251379179122fa88e761e2acd5577c249",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
          "name": "p-68cf5e3251379179122fa88e761e2acd5577c249"
        },
        "serverPort": {
          "kind": "ref:port",
          "properties": {
            "machine": {
              "kind": "ref:machine",
              "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4",
              "type": "Microsoft.OperationalInsights/workspaces/features/machines",
              "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4"
            },
            "ipAddress": "1.0.0.1",
            "portNumber": 8000
          },
          "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_8000",
          "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports",
          "name": "b-01000001_8000"
        },
        "failureState": "ok"
      },
      "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000",
      "type": "Microsoft.OperationalInsights/workspaces/features/connections",
      "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000"
    }
  ]
}

定义

ClientGroupReference

对客户端组的引用。

Connection

网络连接。

ConnectionCollection

连接资源的集合。

ConnectionFailureState

连接失败状态:

  • ok 指示没有失败
  • failed 指示仅失败
  • mixed 指示失败和成功
Error

错误详细信息。

ErrorResponse

API 的错误响应。

MachineReference

对计算机的引用。

MachineReferenceWithHints

计算机引用,其中包含计算机的名称和操作系统提示。

OperatingSystemFamily

指定操作系统系列,例如 Linux、Windows 等。

PortReference

对端口的引用。

ProcessReference

对进程的引用。

ClientGroupReference

对客户端组的引用。

Name Type Description
id
  • string

资源 URI。

kind string:
  • ref:clientgroup

指定引用的子类。

name
  • string

资源名称。

type
  • string

资源类型限定符。

Connection

网络连接。

Name Type Description
id
  • string

资源标识符。

kind string:
  • rel:connection

其他资源类型限定符。

name
  • string

资源名称。

properties.destination ResourceReference:

关系的目标资源。

properties.endTime
  • string

关系结束时间。

properties.failureState

指定是否只成功、失败或混合了此资源表示的两个连接。

properties.serverPort

对建立此连接的服务器端口的引用。

properties.source ResourceReference:

关系的源资源。

properties.startTime
  • string

关系开始时间。

type
  • string

资源类型。

ConnectionCollection

连接资源的集合。

Name Type Description
nextLink
  • string

下一组资源的 URL。

value

连接资源的集合。

ConnectionFailureState

连接失败状态:

  • ok 指示没有失败
  • failed 指示仅失败
  • mixed 指示失败和成功
Name Type Description
failed
  • string
mixed
  • string
ok
  • string

Error

错误详细信息。

Name Type Description
code
  • string

标识特定错误的错误代码。

message
  • string

调用方区域设置中的错误消息。

ErrorResponse

API 的错误响应。

Name Type Description
error

错误信息。

MachineReference

对计算机的引用。

Name Type Description
id
  • string

资源 URI。

kind string:
  • ref:machine

指定引用的子类。

name
  • string

资源名称。

type
  • string

资源类型限定符。

MachineReferenceWithHints

计算机引用,其中包含计算机的名称和操作系统提示。

Name Type Description
id
  • string

资源 URI。

kind string:
  • ref:machinewithhints

指定引用的子类。

name
  • string

资源名称。

properties.displayNameHint
  • string

姓氏的已知显示名称。

properties.osFamilyHint

上一个已知操作系统系列。

type
  • string

资源类型限定符。

OperatingSystemFamily

指定操作系统系列,例如 Linux、Windows 等。

Name Type Description
aix
  • string
linux
  • string
solaris
  • string
unknown
  • string
windows
  • string

PortReference

对端口的引用。

Name Type Description
id
  • string

资源 URI。

kind string:
  • ref:port

指定引用的子类。

name
  • string

资源名称。

properties.ipAddress
  • string

端口的 IP 地址。

properties.machine

托管端口的计算机。

properties.portNumber
  • integer

端口号。

type
  • string

资源类型限定符。

ProcessReference

对进程的引用。

Name Type Description
id
  • string

资源 URI。

kind string:
  • ref:process

指定引用的子类。

name
  • string

资源名称。

properties.machine

托管进程的计算机。

type
  • string

资源类型限定符。