Virtual Machine Sizes - List
Mengembalikan Ukuran VM yang didukung di lokasi
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes?api-version=2024-10-01
Parameter URI
Nama | Dalam | Diperlukan | Jenis | Deskripsi |
---|---|---|---|---|
location
|
path | True |
string |
Lokasi di mana ukuran komputer virtual dikueri. Pola regex: |
subscription
|
path | True |
string |
ID langganan target. |
api-version
|
query | True |
string |
Versi API yang akan digunakan untuk operasi ini. |
Respons
Nama | Jenis | Deskripsi |
---|---|---|
200 OK |
OKE |
|
Other Status Codes |
Respons kesalahan yang menjelaskan mengapa operasi gagal. |
Keamanan
azure_auth
Alur OAuth2 Azure Active Directory.
Jenis:
oauth2
Alur:
implicit
URL Otorisasi:
https://login.microsoftonline.com/common/oauth2/authorize
Cakupan
Nama | Deskripsi |
---|---|
user_impersonation | meniru akun pengguna Anda |
Contoh
List VM Sizes
Permintaan sampel
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.MachineLearningServices/locations/eastus/vmSizes?api-version=2024-10-01
Respon sampel
{
"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"
]
}
]
}
Definisi
Nama | Deskripsi |
---|---|
Billing |
Mata uang penagihan |
Error |
Info tambahan kesalahan manajemen sumber daya. |
Error |
Detail kesalahan. |
Error |
Respons kesalahan |
Estimated |
Estimasi info harga untuk menggunakan VM dari jenis OS, tingkat, dll. |
Estimated |
Estimasi info harga untuk menggunakan VM. |
Unit |
Satuan ukuran waktu |
Virtual |
Menjelaskan properti ukuran VM. |
Virtual |
Respons operasi Ukuran Mesin Virtual Daftar. |
VMPrice |
Jenis OS |
VMTier |
Tingkat VM |
BillingCurrency
Mata uang penagihan
Nama | Jenis | Deskripsi |
---|---|---|
USD |
string |
ErrorAdditionalInfo
Info tambahan kesalahan manajemen sumber daya.
Nama | Jenis | Deskripsi |
---|---|---|
info |
object |
Info tambahan. |
type |
string |
Jenis info tambahan. |
ErrorDetail
Detail kesalahan.
Nama | Jenis | Deskripsi |
---|---|---|
additionalInfo |
Info tambahan kesalahan. |
|
code |
string |
Kode kesalahan. |
details |
Detail kesalahan. |
|
message |
string |
Pesan kesalahan. |
target |
string |
Target kesalahan. |
ErrorResponse
Respons kesalahan
Nama | Jenis | Deskripsi |
---|---|---|
error |
Objek kesalahan. |
EstimatedVMPrice
Estimasi info harga untuk menggunakan VM dari jenis OS, tingkat, dll.
Nama | Jenis | Deskripsi |
---|---|---|
osType |
Jenis OS |
|
retailPrice |
number |
Harga eceran |
vmTier |
Tingkat VM |
EstimatedVMPrices
Estimasi info harga untuk menggunakan VM.
Nama | Jenis | Deskripsi |
---|---|---|
billingCurrency |
Mata uang penagihan |
|
unitOfMeasure |
Satuan ukuran waktu |
|
values |
Daftar perkiraan harga VM. |
UnitOfMeasure
Satuan ukuran waktu
Nama | Jenis | Deskripsi |
---|---|---|
OneHour |
string |
VirtualMachineSize
Menjelaskan properti ukuran VM.
Nama | Jenis | Deskripsi |
---|---|---|
estimatedVMPrices |
Estimasi harga VM |
|
family |
string |
Nama keluarga Komputer Virtual |
gpus |
integer |
Jumlah gPU |
lowPriorityCapable |
boolean |
Mampu berprioritas rendah |
maxResourceVolumeMB |
integer |
Ukuran volume sumber daya |
memoryGB |
number |
Ukuran memori |
name |
string |
Nama ukuran Komputer Virtual |
osVhdSizeMB |
integer |
Ukuran Disk VHD OS |
premiumIO |
boolean |
IO premium didukung |
supportedComputeTypes |
string[] |
Jenis Komputasi yang Didukung |
vCPUs |
integer |
Jumlah vPU |
VirtualMachineSizeListResult
Respons operasi Ukuran Mesin Virtual Daftar.
Nama | Jenis | Deskripsi |
---|---|---|
value |
Daftar ukuran komputer virtual yang didukung oleh AmlCompute. |
VMPriceOSType
Jenis OS
Nama | Jenis | Deskripsi |
---|---|---|
Linux |
string |
|
Windows |
string |
VMTier
Tingkat VM
Nama | Jenis | Deskripsi |
---|---|---|
LowPriority |
string |
|
Spot |
string |
|
Standard |
string |