Delen via


Virtual Machine Sizes - List

Retourneert ondersteunde VM-grootten op een locatie

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes?api-version=2025-09-01

URI-parameters

Name In Vereist Type Description
location
path True

string

pattern: ^[-\w\._]+$

De locatie waarop query's worden uitgevoerd op de grootte van virtuele machines.

subscriptionId
path True

string

minLength: 1

De id van het doelabonnement.

api-version
query True

string

minLength: 1

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

VirtualMachineSizeListResult

OK

Other Status Codes

ErrorResponse

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

OAuth2-stroom voor Azure Active Directory.

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

List VM Sizes

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.MachineLearningServices/locations/eastus/vmSizes?api-version=2025-09-01

Voorbeeldrespons

{
  "value": [
    {
      "name": "Standard_DS1_v2",
      "family": "standardDSv2Family",
      "vCPUs": 1,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 7168,
      "memoryGB": 3.5,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.13,
            "osType": "Windows",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.01,
            "osType": "Linux",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.07,
            "osType": "Linux",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.05,
            "osType": "Windows",
            "vmTier": "LowPriority"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance"
      ]
    },
    {
      "name": "Standard_DS2_v2",
      "family": "standardDSv2Family",
      "vCPUs": 2,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 14336,
      "memoryGB": 7,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.03,
            "osType": "Linux",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.15,
            "osType": "Linux",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.1,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.25,
            "osType": "Windows",
            "vmTier": "Standard"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance",
        "MIR"
      ]
    },
    {
      "name": "Standard_DS3_v2",
      "family": "standardDSv2Family",
      "vCPUs": 4,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 28672,
      "memoryGB": 14,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.2,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.06,
            "osType": "Linux",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.5,
            "osType": "Windows",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.29,
            "osType": "Linux",
            "vmTier": "Standard"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance",
        "MIR"
      ]
    },
    {
      "name": "Standard_DS4_v2",
      "family": "standardDSv2Family",
      "vCPUs": 8,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 57344,
      "memoryGB": 28,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.12,
            "osType": "Linux",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.4,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 1.01,
            "osType": "Windows",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.58,
            "osType": "Linux",
            "vmTier": "Standard"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance",
        "MIR"
      ]
    },
    {
      "name": "Standard_DS5_v2",
      "family": "standardDSv2Family",
      "vCPUs": 16,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 114688,
      "memoryGB": 56,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 1.17,
            "osType": "Linux",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.81,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 2.02,
            "osType": "Windows",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.23,
            "osType": "Linux",
            "vmTier": "LowPriority"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance",
        "MIR"
      ]
    },
    {
      "name": "Standard_DS11_v2",
      "family": "standardDSv2Family",
      "vCPUs": 2,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 28672,
      "memoryGB": 14,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.26,
            "osType": "Windows",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.18,
            "osType": "Linux",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.11,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.04,
            "osType": "Linux",
            "vmTier": "LowPriority"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance"
      ]
    },
    {
      "name": "Standard_DS12_v2",
      "family": "standardDSv2Family",
      "vCPUs": 4,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 57344,
      "memoryGB": 28,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.37,
            "osType": "Linux",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.53,
            "osType": "Windows",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.21,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.07,
            "osType": "Linux",
            "vmTier": "LowPriority"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance"
      ]
    },
    {
      "name": "Standard_DS13_v2",
      "family": "standardDSv2Family",
      "vCPUs": 8,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 114688,
      "memoryGB": 56,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.15,
            "osType": "Linux",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.42,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 0.74,
            "osType": "Linux",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 1.06,
            "osType": "Windows",
            "vmTier": "Standard"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance"
      ]
    },
    {
      "name": "Standard_DS14_v2",
      "family": "standardDSv2Family",
      "vCPUs": 16,
      "gpus": 0,
      "osVhdSizeMB": 1047552,
      "maxResourceVolumeMB": 229376,
      "memoryGB": 112,
      "lowPriorityCapable": true,
      "premiumIO": true,
      "estimatedVMPrices": {
        "billingCurrency": "USD",
        "unitOfMeasure": "OneHour",
        "values": [
          {
            "retailPrice": 0.3,
            "osType": "Linux",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 1.48,
            "osType": "Linux",
            "vmTier": "Standard"
          },
          {
            "retailPrice": 0.84,
            "osType": "Windows",
            "vmTier": "LowPriority"
          },
          {
            "retailPrice": 2.11,
            "osType": "Windows",
            "vmTier": "Standard"
          }
        ]
      },
      "supportedComputeTypes": [
        "AmlCompute",
        "ComputeInstance"
      ]
    }
  ]
}

Definities

Name Description
BillingCurrency

Valuta voor facturering

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

EstimatedVMPrice

De geschatte prijsinformatie voor het gebruik van een VM van een bepaald besturingssysteemtype, laag, enzovoort.

EstimatedVMPrices

De geschatte prijsinformatie voor het gebruik van een VM.

UnitOfMeasure

Tijdseenheid meten

VirtualMachineSize

Beschrijft de eigenschappen van een VM-grootte.

VirtualMachineSizeListResult

De reactie van de bewerking Lijst met de grootte van de virtuele machine.

VMPriceOSType

Type besturingssysteem

VMTier

VM-laag

BillingCurrency

Valuta voor facturering

Waarde Description
USD

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

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

EstimatedVMPrice

De geschatte prijsinformatie voor het gebruik van een VM van een bepaald besturingssysteemtype, laag, enzovoort.

Name Type Description
osType

VMPriceOSType

Type besturingssysteem
Het type besturingssysteem dat door de VM wordt gebruikt.

retailPrice

number (double)

Kleinhandelsprijs
De prijs die in rekening wordt gebracht voor het gebruik van de VM.

vmTier

VMTier

VM-laag
Het type VM.

EstimatedVMPrices

De geschatte prijsinformatie voor het gebruik van een VM.

Name Type Description
billingCurrency

BillingCurrency

Valuta voor facturering
Code met drie letters die de valuta van de VM-prijs aangeeft. Voorbeeld: USD

unitOfMeasure

UnitOfMeasure

Tijdseenheid meten
De tijdseenheid voor de opgegeven VM-prijs. Voorbeeld: OneHour

values

EstimatedVMPrice[]

Lijst met geschatte VM-prijzen.
De lijst met geschatte prijzen voor het gebruik van een VM van een bepaald type besturingssysteem, laag, enzovoort.

UnitOfMeasure

Tijdseenheid meten

Waarde Description
OneHour

VirtualMachineSize

Beschrijft de eigenschappen van een VM-grootte.

Name Type Description
estimatedVMPrices

EstimatedVMPrices

Geschatte VM-prijzen
De geschatte prijsinformatie voor het gebruik van een VM.

family

string

Familienaam van virtuele machine
De achternaam van de grootte van de virtuele machine.

gpus

integer (int32)

Aantal gPU's
Het aantal gPU's dat wordt ondersteund door de grootte van de virtuele machine.

lowPriorityCapable

boolean

Geschikt voor lage prioriteit
Hiermee geeft u aan of de grootte van de virtuele machine VM's met een lage prioriteit ondersteunt.

maxResourceVolumeMB

integer (int32)

Grootte van het resourcevolume
De grootte van het resourcevolume, in MB, die is toegestaan door de grootte van de virtuele machine.

memoryGB

number (double)

Geheugengrootte
De hoeveelheid geheugen, in GB, die wordt ondersteund door de grootte van de virtuele machine.

name

string

Naam van de grootte van de virtuele machine
De naam van de grootte van de virtuele machine.

osVhdSizeMB

integer (int32)

Besturingssysteem: VHD: Schijfgrootte
De VHD-schijfgrootte van het besturingssysteem, in MB, die is toegestaan door de grootte van de virtuele machine.

premiumIO

boolean

Premium IO ondersteund
Hiermee geeft u op of de grootte van de virtuele machine premium IO ondersteunt.

supportedComputeTypes

string[]

Ondersteunde rekentypen
Hiermee geeft u de rekentypen op die worden ondersteund door de grootte van de virtuele machine.

vCPUs

integer (int32)

Aantal vPU's
Het aantal vCPU's dat wordt ondersteund door de grootte van de virtuele machine.

VirtualMachineSizeListResult

De reactie van de bewerking Lijst met de grootte van de virtuele machine.

Name Type Description
value

VirtualMachineSize[]

De lijst met grootten van virtuele machines die worden ondersteund door AmlCompute.

VMPriceOSType

Type besturingssysteem

Waarde Description
Linux
Windows

VMTier

VM-laag

Waarde Description
Standard
LowPriority
Spot