Virtual Machine Sizes - List
Retourne les tailles de machine virtuelle prises en charge dans un emplacement
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes?api-version=2024-10-01
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
Emplacement sur lequel les tailles de machine virtuelle sont interrogées. Modèle d’expression régulière: |
subscription
|
path | True |
string |
ID de l’abonnement cible. |
api-version
|
query | True |
string |
Version de l’API à utiliser pour cette opération. |
Réponses
Nom | Type | Description |
---|---|---|
200 OK |
D’ACCORD |
|
Other Status Codes |
Réponse d’erreur décrivant pourquoi l’opération a échoué. |
Sécurité
azure_auth
Flux OAuth2 Azure Active Directory.
Type:
oauth2
Flux:
implicit
URL d’autorisation:
https://login.microsoftonline.com/common/oauth2/authorize
Étendues
Nom | Description |
---|---|
user_impersonation | emprunter l’identité de votre compte d’utilisateur |
Exemples
List VM Sizes
Exemple de requête
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.MachineLearningServices/locations/eastus/vmSizes?api-version=2024-10-01
Exemple de réponse
{
"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"
]
}
]
}
Définitions
Nom | Description |
---|---|
Billing |
Devise de facturation |
Error |
Informations supplémentaires sur l’erreur de gestion des ressources. |
Error |
Détail de l’erreur. |
Error |
Réponse d’erreur |
Estimated |
Informations de prix estimées pour l’utilisation d’une machine virtuelle d’un type de système d’exploitation particulier, d’un niveau, etc. |
Estimated |
Informations de prix estimées pour l’utilisation d’une machine virtuelle. |
Unit |
Unité de mesure de temps |
Virtual |
Décrit les propriétés d’une taille de machine virtuelle. |
Virtual |
Réponse de l’opération liste de taille de machine virtuelle. |
VMPrice |
Type de système d’exploitation |
VMTier |
Niveau de machine virtuelle |
BillingCurrency
Devise de facturation
Nom | Type | Description |
---|---|---|
USD |
string |
ErrorAdditionalInfo
Informations supplémentaires sur l’erreur de gestion des ressources.
Nom | Type | Description |
---|---|---|
info |
object |
Informations supplémentaires. |
type |
string |
Type d’informations supplémentaire. |
ErrorDetail
Détail de l’erreur.
Nom | Type | Description |
---|---|---|
additionalInfo |
Informations supplémentaires sur l’erreur. |
|
code |
string |
Code d’erreur. |
details |
Détails de l’erreur. |
|
message |
string |
Message d’erreur. |
target |
string |
Cible d’erreur. |
ErrorResponse
Réponse d’erreur
Nom | Type | Description |
---|---|---|
error |
Objet d’erreur. |
EstimatedVMPrice
Informations de prix estimées pour l’utilisation d’une machine virtuelle d’un type de système d’exploitation particulier, d’un niveau, etc.
Nom | Type | Description |
---|---|---|
osType |
Type de système d’exploitation |
|
retailPrice |
number |
Prix de détail |
vmTier |
Niveau de machine virtuelle |
EstimatedVMPrices
Informations de prix estimées pour l’utilisation d’une machine virtuelle.
Nom | Type | Description |
---|---|---|
billingCurrency |
Devise de facturation |
|
unitOfMeasure |
Unité de mesure de temps |
|
values |
Liste des prix estimés des machines virtuelles. |
UnitOfMeasure
Unité de mesure de temps
Nom | Type | Description |
---|---|---|
OneHour |
string |
VirtualMachineSize
Décrit les propriétés d’une taille de machine virtuelle.
Nom | Type | Description |
---|---|---|
estimatedVMPrices |
Prix estimé des machines virtuelles |
|
family |
string |
Nom de la famille de machines virtuelles |
gpus |
integer |
Nombre de processeurs virtuels |
lowPriorityCapable |
boolean |
Faible priorité compatible |
maxResourceVolumeMB |
integer |
Taille du volume de ressources |
memoryGB |
number |
Taille de la mémoire |
name |
string |
Nom de la taille de la machine virtuelle |
osVhdSizeMB |
integer |
Taille du disque dur virtuel du système d’exploitation |
premiumIO |
boolean |
E/S Premium pris en charge |
supportedComputeTypes |
string[] |
Types de calcul pris en charge |
vCPUs |
integer |
Nombre de processeurs virtuels |
VirtualMachineSizeListResult
Réponse de l’opération liste de taille de machine virtuelle.
Nom | Type | Description |
---|---|---|
value |
Liste des tailles de machine virtuelle prises en charge par AmlCompute. |
VMPriceOSType
Type de système d’exploitation
Nom | Type | Description |
---|---|---|
Linux |
string |
|
Windows |
string |
VMTier
Niveau de machine virtuelle
Nom | Type | Description |
---|---|---|
LowPriority |
string |
|
Spot |
string |
|
Standard |
string |