Bagikan melalui


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: ^[-\w\._]+$

subscriptionId
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

VirtualMachineSizeListResult

OKE

Other Status Codes

ErrorResponse

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
BillingCurrency

Mata uang penagihan

ErrorAdditionalInfo

Info tambahan kesalahan manajemen sumber daya.

ErrorDetail

Detail kesalahan.

ErrorResponse

Respons kesalahan

EstimatedVMPrice

Estimasi info harga untuk menggunakan VM dari jenis OS, tingkat, dll.

EstimatedVMPrices

Estimasi info harga untuk menggunakan VM.

UnitOfMeasure

Satuan ukuran waktu

VirtualMachineSize

Menjelaskan properti ukuran VM.

VirtualMachineSizeListResult

Respons operasi Ukuran Mesin Virtual Daftar.

VMPriceOSType

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

ErrorAdditionalInfo[]

Info tambahan kesalahan.

code

string

Kode kesalahan.

details

ErrorDetail[]

Detail kesalahan.

message

string

Pesan kesalahan.

target

string

Target kesalahan.

ErrorResponse

Respons kesalahan

Nama Jenis Deskripsi
error

ErrorDetail

Objek kesalahan.

EstimatedVMPrice

Estimasi info harga untuk menggunakan VM dari jenis OS, tingkat, dll.

Nama Jenis Deskripsi
osType

VMPriceOSType

Jenis OS
Jenis sistem operasi yang digunakan oleh VM.

retailPrice

number

Harga eceran
Harga yang dikenakan untuk menggunakan VM.

vmTier

VMTier

Tingkat VM
Jenis VM.

EstimatedVMPrices

Estimasi info harga untuk menggunakan VM.

Nama Jenis Deskripsi
billingCurrency

BillingCurrency

Mata uang penagihan
Tiga kode bertuliskan yang menentukan mata uang harga VM. Contoh: USD

unitOfMeasure

UnitOfMeasure

Satuan ukuran waktu
Satuan pengukuran waktu untuk harga VM yang ditentukan. Contoh: OneHour

values

EstimatedVMPrice[]

Daftar perkiraan harga VM.
Daftar perkiraan harga untuk menggunakan VM dari jenis OS, tingkat tertentu, dll.

UnitOfMeasure

Satuan ukuran waktu

Nama Jenis Deskripsi
OneHour

string

VirtualMachineSize

Menjelaskan properti ukuran VM.

Nama Jenis Deskripsi
estimatedVMPrices

EstimatedVMPrices

Estimasi harga VM
Perkiraan informasi harga untuk menggunakan VM.

family

string

Nama keluarga Komputer Virtual
Nama keluarga dari ukuran komputer virtual.

gpus

integer

Jumlah gPU
Jumlah gPU yang didukung oleh ukuran komputer virtual.

lowPriorityCapable

boolean

Mampu berprioritas rendah
Menentukan apakah ukuran komputer virtual mendukung VM berprioritas rendah.

maxResourceVolumeMB

integer

Ukuran volume sumber daya
Ukuran volume sumber daya, dalam MB, diizinkan oleh ukuran komputer virtual.

memoryGB

number

Ukuran memori
Jumlah memori, dalam GB, didukung oleh ukuran komputer virtual.

name

string

Nama ukuran Komputer Virtual
Nama ukuran komputer virtual.

osVhdSizeMB

integer

Ukuran Disk VHD OS
Ukuran disk OS VHD, dalam MB, diizinkan oleh ukuran komputer virtual.

premiumIO

boolean

IO premium didukung
Menentukan apakah ukuran komputer virtual mendukung IO premium.

supportedComputeTypes

string[]

Jenis Komputasi yang Didukung
Menentukan jenis komputasi yang didukung oleh ukuran komputer virtual.

vCPUs

integer

Jumlah vPU
Jumlah vCPU yang didukung oleh ukuran komputer virtual.

VirtualMachineSizeListResult

Respons operasi Ukuran Mesin Virtual Daftar.

Nama Jenis Deskripsi
value

VirtualMachineSize[]

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