Compute - List Nodes
Haal de details op (bijvoorbeeld IP-adres, poort, enzovoort) van alle rekenknooppunten in de berekening.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes?api-version=2024-10-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
compute
|
path | True |
string |
Naam van de Azure Machine Learning-berekening. |
resource
|
path | True |
string |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
subscription
|
path | True |
string |
De id van het doelabonnement. |
workspace
|
path | True |
string |
Naam van Azure Machine Learning-werkruimte. Regex-patroon: |
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
De bewerking is geslaagd. Het antwoord bevat de lijst met IP-adressen. |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Get compute nodes information for a compute
Voorbeeldaanvraag
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123/listNodes?api-version=2024-10-01
Voorbeeldrespons
{
"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"
}
Definities
Name | Description |
---|---|
Aml |
Informatie over rekenknooppunten met betrekking tot een AmlCompute. |
Aml |
Resultaat van AmlCompute-knooppunten |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
node |
Status van het rekenknooppunt. Waarden zijn inactief, actief, wordt uitgevoerd, voorbereid, onbruikbaar, verlaten en afgewend. |
AmlComputeNodeInformation
Informatie over rekenknooppunten met betrekking tot een AmlCompute.
Name | Type | Description |
---|---|---|
nodeId |
string |
Knooppunt-id. |
nodeState |
Status van het rekenknooppunt. Waarden zijn inactief, actief, wordt uitgevoerd, voorbereid, onbruikbaar, verlaten en afgewend. |
|
port |
number |
Haven. |
privateIpAddress |
string |
Privé-IP-adres. |
publicIpAddress |
string |
Openbaar IP-adres. |
runId |
string |
Voer de id uit. |
AmlComputeNodesInformation
Resultaat van AmlCompute-knooppunten
Name | Type | Description |
---|---|---|
nextLink |
string |
Het vervolgtoken. |
nodes |
De verzameling geretourneerde AmlCompute-knooppunten. |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
nodeState
Status van het rekenknooppunt. Waarden zijn inactief, actief, wordt uitgevoerd, voorbereid, onbruikbaar, verlaten en afgewend.
Name | Type | Description |
---|---|---|
idle |
string |
|
leaving |
string |
|
preempted |
string |
|
preparing |
string |
|
running |
string |
|
unusable |
string |