Compute - List Nodes

İşlemdeki tüm işlem düğümlerinin ayrıntılarını (IP adresi, bağlantı noktası vb.) alın.

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

URI Parametreleri

Name İçinde Gerekli Tür Description
computeName
path True

string

Azure Machine Learning işleminin adı.

resourceGroupName
path True

string

Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir.

subscriptionId
path True

string

Hedef aboneliğin kimliği.

workspaceName
path True

string

Azure Machine Learning çalışma alanının adı.

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

api-version
query True

string

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

AmlComputeNodesInformation

İşlem başarılı oldu. Yanıt, IP adreslerinin listesini içerir.

Other Status Codes

ErrorResponse

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

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 kullanıcı hesabınızın kimliğine bürünme

Örnekler

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=2023-10-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"
}

Tanımlar

Name Description
AmlComputeNodeInformation

AmlCompute ile ilgili işlem düğümü bilgileri.

AmlComputeNodesInformation

AmlCompute Düğümlerinin Sonucu

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

nodeState

İşlem düğümünün durumu. Değerler boşta, çalışıyor, hazırlanıyor, kullanılamaz, bırakılıyor ve etkisiz hale getirildi.

AmlComputeNodeInformation

AmlCompute ile ilgili işlem düğümü bilgileri.

Name Tür Description
nodeId

string

Düğüm Kimliği.
İşlem düğümünün kimliği.

nodeState

nodeState

İşlem düğümünün durumu. Değerler boşta, çalışıyor, hazırlanıyor, kullanılamaz, bırakılıyor ve etkisiz hale getirildi.

port

number

Bağlantı noktası.
Düğümün SSH bağlantı noktası numarası.

privateIpAddress

string

Özel IP adresi.
İşlem düğümünün özel IP adresi.

publicIpAddress

string

Genel IP adresi.
İşlem düğümünün genel IP adresi.

runId

string

Çalıştırma kimliği.
Başka bir null değer varsa düğümde çalışan Denemenin kimliği.

AmlComputeNodesInformation

AmlCompute Düğümlerinin Sonucu

Name Tür Description
nextLink

string

Devamlılık belirteci.

nodes

AmlComputeNodeInformation[]

Döndürülen AmlCompute düğümlerinin koleksiyonu ayrıntıları.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

ErrorDetail

Hata ayrıntısı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.

nodeState

İşlem düğümünün durumu. Değerler boşta, çalışıyor, hazırlanıyor, kullanılamaz, bırakılıyor ve etkisiz hale getirildi.

Name Tür Description
idle

string

leaving

string

preempted

string

preparing

string

running

string

unusable

string