Virtual Machine Sizes - List
Gibt unterstützte VM-Größen an einem Speicherort zurück.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes?api-version=2025-12-01
URI-Parameter
| Name | In | Erforderlich | Typ | Beschreibung |
|---|---|---|---|---|
|
location
|
path | True |
string pattern: ^[-\w\._]+$ |
Der Name des Speicherorts. |
|
subscription
|
path | True |
string minLength: 1 |
Die ID des Zielabonnements. |
|
api-version
|
query | True |
string minLength: 1 |
Die API-Version, die für diesen Vorgang verwendet werden soll. |
Antworten
| Name | Typ | Beschreibung |
|---|---|---|
| 200 OK |
Die Anforderung ist erfolgreich. |
|
| Other Status Codes |
Unerwartete Fehlerantwort. |
Sicherheit
azure_auth
Azure Active Directory OAuth2-Fluss.
Typ:
oauth2
Ablauf:
implicit
Autorisierungs-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiche
| Name | Beschreibung |
|---|---|
| user_impersonation | Identitätswechsel ihres Benutzerkontos |
Beispiele
List VM Sizes
Beispielanforderung
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.MachineLearningServices/locations/eastus/vmSizes?api-version=2025-12-01
Beispiel für eine Antwort
{
"value": [
{
"name": "Standard_DS1_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Windows",
"retailPrice": 0.13,
"vmTier": "Standard"
},
{
"osType": "Linux",
"retailPrice": 0.01,
"vmTier": "LowPriority"
},
{
"osType": "Linux",
"retailPrice": 0.07,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 0.05,
"vmTier": "LowPriority"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 7168,
"memoryGB": 3.5,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance"
],
"vCPUs": 1
},
{
"name": "Standard_DS2_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Linux",
"retailPrice": 0.03,
"vmTier": "LowPriority"
},
{
"osType": "Linux",
"retailPrice": 0.15,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 0.1,
"vmTier": "LowPriority"
},
{
"osType": "Windows",
"retailPrice": 0.25,
"vmTier": "Standard"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 14336,
"memoryGB": 7,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance",
"MIR"
],
"vCPUs": 2
},
{
"name": "Standard_DS3_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Windows",
"retailPrice": 0.2,
"vmTier": "LowPriority"
},
{
"osType": "Linux",
"retailPrice": 0.06,
"vmTier": "LowPriority"
},
{
"osType": "Windows",
"retailPrice": 0.5,
"vmTier": "Standard"
},
{
"osType": "Linux",
"retailPrice": 0.29,
"vmTier": "Standard"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 28672,
"memoryGB": 14,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance",
"MIR"
],
"vCPUs": 4
},
{
"name": "Standard_DS4_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Linux",
"retailPrice": 0.12,
"vmTier": "LowPriority"
},
{
"osType": "Windows",
"retailPrice": 0.4,
"vmTier": "LowPriority"
},
{
"osType": "Windows",
"retailPrice": 1.01,
"vmTier": "Standard"
},
{
"osType": "Linux",
"retailPrice": 0.58,
"vmTier": "Standard"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 57344,
"memoryGB": 28,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance",
"MIR"
],
"vCPUs": 8
},
{
"name": "Standard_DS5_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Linux",
"retailPrice": 1.17,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 0.81,
"vmTier": "LowPriority"
},
{
"osType": "Windows",
"retailPrice": 2.02,
"vmTier": "Standard"
},
{
"osType": "Linux",
"retailPrice": 0.23,
"vmTier": "LowPriority"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 114688,
"memoryGB": 56,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance",
"MIR"
],
"vCPUs": 16
},
{
"name": "Standard_DS11_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Windows",
"retailPrice": 0.26,
"vmTier": "Standard"
},
{
"osType": "Linux",
"retailPrice": 0.18,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 0.11,
"vmTier": "LowPriority"
},
{
"osType": "Linux",
"retailPrice": 0.04,
"vmTier": "LowPriority"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 28672,
"memoryGB": 14,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance"
],
"vCPUs": 2
},
{
"name": "Standard_DS12_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Linux",
"retailPrice": 0.37,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 0.53,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 0.21,
"vmTier": "LowPriority"
},
{
"osType": "Linux",
"retailPrice": 0.07,
"vmTier": "LowPriority"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 57344,
"memoryGB": 28,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance"
],
"vCPUs": 4
},
{
"name": "Standard_DS13_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Linux",
"retailPrice": 0.15,
"vmTier": "LowPriority"
},
{
"osType": "Windows",
"retailPrice": 0.42,
"vmTier": "LowPriority"
},
{
"osType": "Linux",
"retailPrice": 0.74,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 1.06,
"vmTier": "Standard"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 114688,
"memoryGB": 56,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance"
],
"vCPUs": 8
},
{
"name": "Standard_DS14_v2",
"estimatedVMPrices": {
"billingCurrency": "USD",
"unitOfMeasure": "OneHour",
"values": [
{
"osType": "Linux",
"retailPrice": 0.3,
"vmTier": "LowPriority"
},
{
"osType": "Linux",
"retailPrice": 1.48,
"vmTier": "Standard"
},
{
"osType": "Windows",
"retailPrice": 0.84,
"vmTier": "LowPriority"
},
{
"osType": "Windows",
"retailPrice": 2.11,
"vmTier": "Standard"
}
]
},
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 229376,
"memoryGB": 112,
"osVhdSizeMB": 1047552,
"premiumIO": true,
"supportedComputeTypes": [
"AmlCompute",
"ComputeInstance"
],
"vCPUs": 16
}
]
}
Definitionen
| Name | Beschreibung |
|---|---|
|
Billing |
Code mit drei Buchstaben, der die Währung des VM-Preises angibt. Beispiel: USD |
|
Error |
Der Ressourcenverwaltungsfehler zusätzliche Informationen. |
|
Error |
Das Fehlerdetails. |
|
Error |
Fehlerantwort |
|
Estimated |
Die geschätzten Preisinformationen für die Verwendung einer VM eines bestimmten Betriebssystemtyps, einer bestimmten Stufe usw. |
|
Estimated |
Die Informationen zum geschätzten Preis für die Verwendung einer VM. |
|
Unit |
Die Zeiteinheit der Messung für den angegebenen VM-Preis. Beispiel: OneHour |
|
Virtual |
Beschreibt die Eigenschaften einer VM-Größe. |
|
Virtual |
Die Antwort des Vorgangs "Größe des virtuellen Computers auflisten". |
|
VMPrice |
Betriebssystemtyp, der von der VM verwendet wird. |
| VMTier |
Der Typ des virtuellen Computers. |
BillingCurrency
Code mit drei Buchstaben, der die Währung des VM-Preises angibt. Beispiel: USD
| Wert | Beschreibung |
|---|---|
| USD |
ErrorAdditionalInfo
Der Ressourcenverwaltungsfehler zusätzliche Informationen.
| Name | Typ | Beschreibung |
|---|---|---|
| info |
object |
Die zusätzlichen Informationen. |
| type |
string |
Der zusätzliche Informationstyp. |
ErrorDetail
Das Fehlerdetails.
| Name | Typ | Beschreibung |
|---|---|---|
| additionalInfo |
Die zusätzlichen Informationen des Fehlers. |
|
| code |
string |
Der Fehlercode. |
| details |
Die Fehlerdetails. |
|
| message |
string |
Die Fehlermeldung. |
| target |
string |
Das Fehlerziel. |
ErrorResponse
Fehlerantwort
| Name | Typ | Beschreibung |
|---|---|---|
| error |
Das Fehlerobjekt. |
EstimatedVMPrice
Die geschätzten Preisinformationen für die Verwendung einer VM eines bestimmten Betriebssystemtyps, einer bestimmten Stufe usw.
| Name | Typ | Beschreibung |
|---|---|---|
| osType |
Betriebssystemtyp |
|
| retailPrice |
number (double) |
Einzelhandelspreis |
| vmTier |
VM-Tarif |
EstimatedVMPrices
Die Informationen zum geschätzten Preis für die Verwendung einer VM.
| Name | Typ | Beschreibung |
|---|---|---|
| billingCurrency |
Abrechnungswährung |
|
| unitOfMeasure |
Maßeinheit der Zeiteinheit |
|
| values |
Liste der geschätzten VM-Preise. |
UnitOfMeasure
Die Zeiteinheit der Messung für den angegebenen VM-Preis. Beispiel: OneHour
| Wert | Beschreibung |
|---|---|
| OneHour |
VirtualMachineSize
Beschreibt die Eigenschaften einer VM-Größe.
| Name | Typ | Beschreibung |
|---|---|---|
| estimatedVMPrices |
Geschätzte VM-Preise |
|
| family |
string |
Familienname der virtuellen Maschine |
| gpus |
integer (int32) |
Anzahl der gPUs |
| lowPriorityCapable |
boolean |
Niedrig prioritär fähig |
| maxResourceVolumeMB |
integer (int32) |
Größe des Ressourcen-Volumes |
| memoryGB |
number (double) |
Arbeitsspeichergröße |
| name |
string |
Name der Größe der virtuellen Maschine |
| osVhdSizeMB |
integer (int32) |
Größe des Betriebssystem-VHD-Datenträgers |
| premiumIO |
boolean |
Premium IO unterstützt |
| supportedComputeTypes |
string[] |
Unterstützte Compute-Typen |
| vCPUs |
integer (int32) |
Anzahl der vPUs |
VirtualMachineSizeListResult
Die Antwort des Vorgangs "Größe des virtuellen Computers auflisten".
| Name | Typ | Beschreibung |
|---|---|---|
| value |
Die Liste der von AmlCompute unterstützten VM-Größen. |
VMPriceOSType
Betriebssystemtyp, der von der VM verwendet wird.
| Wert | Beschreibung |
|---|---|
| Linux | |
| Windows |
VMTier
Der Typ des virtuellen Computers.
| Wert | Beschreibung |
|---|---|
| Standard | |
| LowPriority | |
| Spot |