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=2024-04-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
De locatie waarop de grootte van virtuele machines wordt opgevraagd. Regex-patroon: |
subscription
|
path | True |
string |
De id van het doelabonnement. |
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom.
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=2024-04-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 |
---|---|
Billing |
Factureringsvaluta |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
Estimated |
De geschatte prijsgegevens voor het gebruik van een VM van een bepaald type besturingssysteem, een bepaalde laag, enzovoort. |
Estimated |
De geschatte prijsinformatie voor het gebruik van een VM. |
Unit |
Tijdseenheid |
Virtual |
Beschrijft de eigenschappen van een VM-grootte. |
Virtual |
Het bewerkingsantwoord Voor de grootte van de virtuele machine weergeven. |
VMPrice |
Type besturingssysteem |
VMTier |
VM-laag |
BillingCurrency
Factureringsvaluta
Name | Type | Description |
---|---|---|
USD |
string |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het type aanvullende informatie. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
Aanvullende informatie over de fout. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
EstimatedVMPrice
De geschatte prijsgegevens voor het gebruik van een VM van een bepaald type besturingssysteem, een bepaalde laag, enzovoort.
Name | Type | Description |
---|---|---|
osType |
Type besturingssysteem |
|
retailPrice |
number |
Kleinhandelsprijs |
vmTier |
VM-laag |
EstimatedVMPrices
De geschatte prijsinformatie voor het gebruik van een VM.
Name | Type | Description |
---|---|---|
billingCurrency |
Factureringsvaluta |
|
unitOfMeasure |
Tijdseenheid |
|
values |
Lijst met geschatte VM-prijzen. |
UnitOfMeasure
Tijdseenheid
Name | Type | Description |
---|---|---|
OneHour |
string |
VirtualMachineSize
Beschrijft de eigenschappen van een VM-grootte.
Name | Type | Description |
---|---|---|
estimatedVMPrices |
Geschatte VM-prijzen |
|
family |
string |
Familienaam van virtuele machine |
gpus |
integer |
Aantal gPUs |
lowPriorityCapable |
boolean |
Geschikt voor lage prioriteit |
maxResourceVolumeMB |
integer |
Grootte van resourcevolume |
memoryGB |
number |
Geheugengrootte |
name |
string |
Naam van grootte van virtuele machine |
osVhdSizeMB |
integer |
Grootte van VHD-schijf van besturingssysteem |
premiumIO |
boolean |
Premium IO ondersteund |
supportedComputeTypes |
string[] |
Ondersteunde rekentypen |
vCPUs |
integer |
Aantal vPUs |
VirtualMachineSizeListResult
Het bewerkingsantwoord Voor de grootte van de virtuele machine weergeven.
Name | Type | Description |
---|---|---|
value |
De lijst met grootten van virtuele machines die worden ondersteund door AmlCompute. |
VMPriceOSType
Type besturingssysteem
Name | Type | Description |
---|---|---|
Linux |
string |
|
Windows |
string |
VMTier
VM-laag
Name | Type | Description |
---|---|---|
LowPriority |
string |
|
Spot |
string |
|
Standard |
string |