次の方法で共有


Compute - List Nodes

コンピューティング内のすべてのコンピューティング ノードの詳細 (IP アドレス、ポートなど) を取得します。

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes?api-version=2024-04-01

URI パラメーター

名前 / 必須 説明
computeName
path True

string

Azure Machine Learning コンピューティングの名前。

resourceGroupName
path True

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

subscriptionId
path True

string

ターゲット サブスクリプションの ID。

workspaceName
path True

string

Azure Machine Learning ワークスペースの名前。

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$

api-version
query True

string

この操作に使用する API バージョン。

応答

名前 説明
200 OK

AmlComputeNodesInformation

操作に成功しました。 応答には、IP アドレスの一覧が含まれています。

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 ユーザー アカウントの借用

Get compute nodes information for a compute

Sample Request

POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123/listNodes?api-version=2024-04-01

Sample Response

{
  "nodes": [
    {
      "nodeId": "tvm-3601533753_1-20170719t162906z",
      "privateIpAddress": "13.84.190.124",
      "publicIpAddress": "13.84.190.134",
      "port": 50000,
      "nodeState": "running",
      "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890"
    },
    {
      "nodeId": "tvm-3601533753_2-20170719t162906z",
      "privateIpAddress": "13.84.190.124",
      "publicIpAddress": "13.84.190.134",
      "port": 50001,
      "nodeState": "idle"
    }
  ],
  "nextLink": "nextLink"
}

定義

名前 説明
AmlComputeNodeInformation

AmlCompute に関連するコンピューティング ノード情報。

AmlComputeNodesInformation

AmlCompute ノードの結果

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

nodeState

コンピューティング ノードの状態。 値はアイドル状態、実行中、準備中、使用不可、終了、割り込み済みです。

AmlComputeNodeInformation

AmlCompute に関連するコンピューティング ノード情報。

名前 説明
nodeId

string

ノード ID。
コンピューティング ノードの ID。

nodeState

nodeState

コンピューティング ノードの状態。 値はアイドル状態、実行中、準備中、使用不可、終了、割り込み済みです。

port

number

ポート。
ノードの SSH ポート番号。

privateIpAddress

string

プライベート IP アドレス。
コンピューティング ノードのプライベート IP アドレス。

publicIpAddress

string

パブリック IP アドレス。
コンピューティング ノードのパブリック IP アドレス。

runId

string

実行 ID。
ノードで実行されている実験の ID (それ以外の場合は null)。

AmlComputeNodesInformation

AmlCompute ノードの結果

名前 説明
nextLink

string

継続トークンです。

nodes

AmlComputeNodeInformation[]

返された AmlCompute ノードの詳細のコレクション。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細です。

message

string

エラー メッセージ。

target

string

エラーのターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

error オブジェクト。

nodeState

コンピューティング ノードの状態。 値はアイドル状態、実行中、準備中、使用不可、終了、割り込み済みです。

名前 説明
idle

string

leaving

string

preempted

string

preparing

string

running

string

unusable

string