Compute - List Nodes
Kérje le a számítás összes számítási csomópontjának adatait (pl. IP-címet, portot stb.).
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes?api-version=2024-04-01
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
compute
|
path | True |
string |
Az Azure Machine Learning-számítás neve. |
resource
|
path | True |
string |
Az erőforráscsoport neve. A név megkülönbözteti a kis- és nagybetűket. |
subscription
|
path | True |
string |
A cél-előfizetés azonosítója. |
workspace
|
path | True |
string |
Az Azure Machine Learning-munkaterület neve. Regex pattern: |
api-version
|
query | True |
string |
A művelethez használandó API-verzió. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
A művelet sikeres volt. A válasz tartalmazza az IP-címek listáját. |
|
Other Status Codes |
Hibaválasz, amely leírja, hogy a művelet miért hiúsult meg. |
Biztonság
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 | felhasználói fiók megszemélyesítése |
Példák
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"
}
Definíciók
Name | Description |
---|---|
Aml |
Az AmlCompute-hez kapcsolódó számítási csomópont adatai. |
Aml |
Az AmlCompute-csomópontok eredménye |
Error |
Az erőforrás-kezelési hiba további információi. |
Error |
A hiba részletei. |
Error |
Hibaválasz |
node |
A számítási csomópont állapota. Az értékek tétlenek, futtathatók, előkészíthetők, használhatatlanok, elhagyhatók és előre meghatározottak. |
AmlComputeNodeInformation
Az AmlCompute-hez kapcsolódó számítási csomópont adatai.
Name | Típus | Description |
---|---|---|
nodeId |
string |
Csomópont azonosítója. |
nodeState |
A számítási csomópont állapota. Az értékek tétlenek, futtathatók, előkészíthetők, használhatatlanok, elhagyhatók és előre meghatározottak. |
|
port |
number |
Port. |
privateIpAddress |
string |
Magánhálózati IP-cím. |
publicIpAddress |
string |
Nyilvános IP-cím. |
runId |
string |
Futtatási azonosító. |
AmlComputeNodesInformation
Az AmlCompute-csomópontok eredménye
Name | Típus | Description |
---|---|---|
nextLink |
string |
A folytatási jogkivonat. |
nodes |
A visszaadott AmlCompute csomópontok részleteinek gyűjteménye. |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
Name | Típus | Description |
---|---|---|
info |
object |
A további információk. |
type |
string |
A további adattípus. |
ErrorDetail
A hiba részletei.
Name | Típus | Description |
---|---|---|
additionalInfo |
A hiba további információi. |
|
code |
string |
A hibakód. |
details |
A hiba részletei. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hiba célja. |
ErrorResponse
Hibaválasz
Name | Típus | Description |
---|---|---|
error |
A hibaobjektum. |
nodeState
A számítási csomópont állapota. Az értékek tétlenek, futtathatók, előkészíthetők, használhatatlanok, elhagyhatók és előre meghatározottak.
Name | Típus | Description |
---|---|---|
idle |
string |
|
leaving |
string |
|
preempted |
string |
|
preparing |
string |
|
running |
string |
|
unusable |
string |