Virtual Machines - Create Or Update
Sanal makine oluşturma veya güncelleştirme işlemi. Bazı özelliklerin yalnızca sanal makine oluşturma sırasında ayarlanabileceğini lütfen unutmayın.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}?api-version=2026-04-01
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Kaynak grubunun adı. İsim büyük/küçük harfe duyarsızdır. |
|
subscription
|
path | True |
string minLength: 1 |
Hedef aboneliğin kimliği. |
|
vm
|
path | True |
string |
Sanal makinenin adı. |
|
api-version
|
query | True |
string minLength: 1 |
Bu işlem için kullanılacak API sürümü. |
İstek Başlığı
| Name | Gerekli | Tür | Description |
|---|---|---|---|
| If-Match |
string |
Dönüşümün ETag'i. Geçerli kaynağın üzerine her zaman yazmak için bu değeri atla. Eşzamanlı değişikliklerin yanlışlıkla üzerine yazılmasını önlemek için son görülen ETag değerini belirtin. |
|
| If-None-Match |
string |
Yeni bir kayıt kümesinin oluşturulmasına izin vermek, ancak var olan bir kayıt kümesinin güncelleştirilmesini önlemek için '*' olarak ayarlayın. Desteklenmeyen diğer değerler sunucudan hatayla sonuçlanır. |
İstek Gövdesi
| Name | Gerekli | Tür | Description |
|---|---|---|---|
| location | True |
string |
Kaynağın bulunduğu coğrafi konum |
| extendedLocation |
Sanal Makinenin genişletilmiş konumu. |
||
| identity |
Yapılandırıldıysa sanal makinenin kimliği. |
||
| placement |
Yerleştirme bölümü, sanal makine donanım yerleşimi için kullanıcı tanımlı kısıtlamaları belirtir. VM sağlandıktan sonra bu özellik değiştirilemez. En düşük api sürümü: 2024-11-01. |
||
| plan |
Sanal makineyi oluşturmak için kullanılan market görüntüsü hakkındaki bilgileri belirtir. Bu öğe yalnızca market görüntüleri için kullanılır. API'den market görüntüsü kullanabilmeniz için önce görüntüyü programlı kullanım için etkinleştirmeniz gerekir. Azure portalında, kullanmak istediğiniz market görüntüsünü bulun ve Program aracılığıyla dağıtmak istiyorum, Başlarken ->öğesine tıklayın. Gerekli bilgileri girin ve Kaydetöğesine tıklayın. |
||
| properties.additionalCapabilities |
Sanal makinede etkinleştirilen veya devre dışı bırakılan ek özellikleri belirtir. |
||
| properties.applicationProfile |
VM/VMSS'nin kullanımına sunulması gereken galeri uygulamalarını belirtir. |
||
| properties.availabilitySet |
Sanal makinenin atanması gereken kullanılabilirlik kümesi hakkındaki bilgileri belirtir. Aynı kullanılabilirlik kümesinde belirtilen sanal makineler, kullanılabilirliği en üst düzeye çıkarmak için farklı düğümlere ayrılır. Kullanılabilirlik kümeleri hakkında daha fazla bilgi için bkz. Kullanılabilirlik kümelerine genel bakış. Azure planlı bakımı hakkında daha fazla bilgi için bkz. Azure'de Sanal Makineler için bakım ve güncelleştirmeler. Şu anda vm yalnızca oluşturma zamanında kullanılabilirlik kümesine eklenebilir. VM'nin eklendiği kullanılabilirlik kümesi, kullanılabilirlik kümesi kaynağıyla aynı kaynak grubu altında olmalıdır. Mevcut vm kullanılabilirlik kümesine eklenemez. Bu özellik null olmayan bir properties.virtualMachineScaleSet başvurusuyla birlikte bulunamaz. |
||
| properties.billingProfile |
Azure Spot sanal makinesinin faturalamayla ilgili ayrıntılarını belirtir. En düşük api sürümü: 2019-03-01. |
||
| properties.capacityReservation |
Sanal makineyi ayırmak için kullanılan kapasite rezervasyonu hakkındaki bilgileri belirtir. En düşük api sürümü: 2021-04-01. |
||
| properties.diagnosticsProfile |
Önyükleme tanılama ayarları durumunu belirtir. En düşük api sürümü: 2015-06-15. |
||
| properties.evictionPolicy |
Azure Spot sanal makinesi ve Azure Spot ölçek kümesi için çıkarma ilkesini belirtir. Azure Spot sanal makineleri için hem 'Serbest Bırak' hem de 'Sil' desteklenir ve en düşük API sürümü 2019-03-01'dir. Azure Spot ölçek kümeleri için hem 'Serbest Bırak' hem de 'Sil' desteklenir ve en düşük api sürümü 2017-10-30-preview'dır. |
||
| properties.extensionsTimeBudget |
string |
Tüm uzantıların başlatılması için ayrılan zamanı belirtir. Süre 15 dakika ile 120 dakika (dahil) arasında olmalı ve ISO 8601 biçiminde belirtilmelidir. Varsayılan değer 90 dakikadır (PT1H30M). En düşük api sürümü: 2020-06-01. |
|
| properties.hardwareProfile |
Sanal makine için donanım ayarlarını belirtir. |
||
| properties.host |
Sanal makinenin bulunduğu ayrılmış konak hakkındaki bilgileri belirtir. En düşük api sürümü: 2018-10-01. |
||
| properties.hostGroup |
Sanal makinenin bulunduğu ayrılmış konak grubu hakkındaki bilgileri belirtir. Not: Kullanıcı hem konak hem de hostGroup özelliklerini belirtemez. En düşük api sürümü: 2020-06-01. |
||
| properties.interconnectBlockProfile |
Sanal Makineyi tahsis etmek için kullanılan Bağlantı Bloğu hakkında bilgi belirtir. Minimum API sürümü: 2026-03-01. |
||
| properties.licenseType |
string |
Kullanılan görüntünün veya diskin şirket içinde lisanslandığını belirtir. |
|
| properties.networkProfile |
Sanal makinenin ağ arabirimlerini belirtir. |
||
| properties.osProfile |
Sanal makineyi oluştururken kullanılan işletim sistemi ayarlarını belirtir. VM sağlandıktan sonra bazı ayarlar değiştirilemez. |
||
| properties.platformFaultDomain |
integer (int32) |
Sanal Makinenin oluşturulacağı ölçek kümesi mantıksal hata etki alanını belirtir. Varsayılan olarak, Sanal Makine otomatik olarak kullanılabilir hata etki alanları arasında dengeyi en iyi şekilde koruyan bir hata etki alanına atanır. Bu yalnızca bu Sanal Makinenin 'virtualMachineScaleSet' özelliği ayarlandıysa geçerlidir. Başvuruda bulunılan Sanal Makine Ölçek Kümesi'nin 'platformFaultDomainCount' değeri 1'den büyük olmalıdır. Sanal Makine oluşturulduktan sonra bu özellik güncelleştirilemez. Hata etki alanı ataması Sanal Makine Örneği Görünümü'nde görüntülenebilir. En düşük api‐sürümü: 2020‐12‐01. |
|
| properties.priority |
Sanal makinenin önceliğini belirtir. En düşük api sürümü: 2019-03-01 |
||
| properties.proximityPlacementGroup |
Sanal makinenin atanması gereken yakınlık yerleştirme grubu hakkındaki bilgileri belirtir. En düşük api sürümü: 2018-04-01. |
||
| properties.resiliencyProfile |
Sanal makine için dayanıklılık profili. |
||
| properties.scheduledEventsPolicy |
Sanal makine için Yeniden Dağıtma, Yeniden Başlatma ve ScheduledEventsAdditionalPublishingTargets Zamanlanmış Olayla ilgili yapılandırmaları belirtir. |
||
| properties.scheduledEventsProfile |
Zamanlanmış Olayla ilgili yapılandırmaları belirtir. |
||
| properties.securityProfile |
Sanal makine için Güvenlikle ilgili profil ayarlarını belirtir. |
||
| properties.storageProfile |
Sanal makine diskleri için depolama ayarlarını belirtir. |
||
| properties.userData |
string |
Base-64 kodlanmış olması gereken VM için UserData. Müşteri burada hiçbir gizli dizi geçirmemelidir. En düşük api sürümü: 2021-03-01. |
|
| properties.virtualMachineScaleSet |
Sanal makinenin atanması gereken sanal makine ölçek kümesi hakkındaki bilgileri belirtir. Kullanılabilirliği en üst düzeye çıkarmak için aynı sanal makine ölçek kümesinde belirtilen sanal makineler farklı düğümlere ayrılır. Şu anda vm yalnızca oluşturma zamanında sanal makine ölçek kümesine eklenebilir. Sanal makine ölçek kümesine mevcut bir VM eklenemez. Bu özellik null olmayan properties.availabilitySet başvurusuyla birlikte bulunamaz. En düşük api‐sürümü: 2019‐03‐01. |
||
| tags |
object |
Kaynak etiketleri. |
|
| zones |
string[] |
Kullanılabilirlik alanları. |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
Kaynak 'VirtualMachine' güncelleştirme işlemi başarılı oldu |
|
| 201 Created |
Kaynak 'VirtualMachine' oluşturma işlemi başarılı oldu Üst Bilgiler
|
|
| Other Status Codes |
Beklenmeyen bir hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Akışı.
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
| Name | Description |
|---|---|
| user_impersonation | kullanıcı hesabınızı taklit etme |
Örnekler
Create a custom-image vm from an unmanaged generalized os image.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"osDisk": {
"name": "myVMosdisk",
"image": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd"
},
"osType": "Windows",
"createOption": "FromImage",
"caching": "ReadWrite",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd"
}
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"osDisk": {
"name": "myVMosdisk",
"image": {
"uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Windows",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
}
},
"dataDisks": []
},
"vmId": "926cd555-a07c-4ff5-b214-4aa4dd09d79b",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"osDisk": {
"name": "myVMosdisk",
"image": {
"uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Windows",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
}
},
"dataDisks": []
},
"vmId": "926cd555-a07c-4ff5-b214-4aa4dd09d79b",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Linux vm with a patch setting assessmentMode of ImageDefault.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"assessmentMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"assessmentMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"assessmentMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Linux vm with a patch setting patchMode of AutomaticByPlatform and AutomaticByPlatformSettings.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform",
"automaticByPlatformSettings": {
"rebootSetting": "Never",
"bypassPlatformSafetyChecksOnUserSchedule": true
}
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform",
"automaticByPlatformSettings": {
"rebootSetting": "Never",
"bypassPlatformSafetyChecksOnUserSchedule": true
}
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform",
"automaticByPlatformSettings": {
"rebootSetting": "Never",
"bypassPlatformSafetyChecksOnUserSchedule": true
}
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Linux vm with a patch setting patchMode of ImageDefault.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Linux vm with a patch settings patchMode and assessmentMode set to AutomaticByPlatform.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a platform-image vm with unmanaged os and data disks.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": [
{
"diskSizeGB": 1023,
"createOption": "Empty",
"lun": 0,
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd"
}
},
{
"diskSizeGB": 1023,
"createOption": "Empty",
"lun": 1,
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd"
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
},
"createOption": "FromImage",
"name": "myVMosdisk",
"caching": "ReadWrite"
},
"dataDisks": [
{
"name": "dataDisk0",
"diskSizeGB": 1023,
"createOption": "Empty",
"caching": "None",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk0.vhd"
},
"lun": 0
},
{
"name": "dataDisk1",
"diskSizeGB": 1023,
"createOption": "Empty",
"caching": "None",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk1.vhd"
},
"lun": 1
}
]
},
"vmId": "5230a749-2f68-4830-900b-702182d32e63",
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
},
"createOption": "FromImage",
"name": "myVMosdisk",
"caching": "ReadWrite"
},
"dataDisks": [
{
"name": "dataDisk0",
"diskSizeGB": 1023,
"createOption": "Empty",
"caching": "None",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk0.vhd"
},
"lun": 0
},
{
"name": "dataDisk1",
"diskSizeGB": 1023,
"createOption": "Empty",
"caching": "None",
"vhd": {
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk1.vhd"
},
"lun": 1
}
]
},
"vmId": "5230a749-2f68-4830-900b-702182d32e63",
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM from a community gallery image
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"communityGalleryImageId": "/CommunityGalleries/galleryPublicName/Images/communityGalleryImageName/Versions/communityGalleryImageVersionName"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"communityGalleryImageId": "/CommunityGalleries/galleryPublicName/Images/communityGalleryImageName/Versions/communityGalleryImageVersionName"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"communityGalleryImageId": "/CommunityGalleries/galleryPublicName/Images/communityGalleryImageName/Versions/communityGalleryImageVersionName"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm from a custom image.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm from a generalized shared image.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM from a shared gallery image
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sharedGalleryImageId": "/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sharedGalleryImageId": "/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sharedGalleryImageId": "/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm from a specialized shared image.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": []
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm in a Virtual Machine Scale Set with customer assigned platformFaultDomain.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"virtualMachineScaleSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}"
},
"platformFaultDomain": 1
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "7cce54f2-ecd3-4ddd-a8d9-50984faa3918",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"virtualMachineScaleSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myExistingFlexVmss"
},
"platformFaultDomain": 1,
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "7cce54f2-ecd3-4ddd-a8d9-50984faa3918",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"virtualMachineScaleSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myExistingFlexVmss"
},
"platformFaultDomain": 1,
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm in an availability set.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"availabilitySet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}"
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"availabilitySet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/NSGEXISTINGAS"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"availabilitySet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/NSGEXISTINGAS"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with a marketplace image plan.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with additional disk properties (network access policy and tier).
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D4s_v3"
},
"storageProfile": {
"imageReference": {
"sku": "2022-datacenter-azure-edition",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"diskApiVersion": "2026-03-02",
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS",
"additionalDiskProperties": {
"managedDiskProperties": {
"networkAccessPolicy": "AllowPrivate",
"diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess"
}
}
},
"name": "myVMosdisk",
"createOption": "FromImage"
},
"dataDisks": [
{
"lun": 0,
"name": "myDataDisk",
"createOption": "Empty",
"diskSizeGB": 1024,
"managedDisk": {
"storageAccountType": "Premium_LRS",
"additionalDiskProperties": {
"managedDiskProperties": {
"networkAccessPolicy": "AllowPrivate",
"diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess",
"tier": "P30"
}
}
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2022-datacenter-azure-edition",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"diskApiVersion": "2026-03-02",
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS",
"additionalDiskProperties": {
"managedDiskProperties": {
"networkAccessPolicy": "AllowPrivate",
"diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess",
"tier": "P10"
}
}
}
},
"dataDisks": [
{
"lun": 0,
"name": "myDataDisk",
"createOption": "Empty",
"diskSizeGB": 1024,
"toBeDetached": false,
"managedDisk": {
"storageAccountType": "Premium_LRS",
"additionalDiskProperties": {
"managedDiskProperties": {
"networkAccessPolicy": "AllowPrivate",
"diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess",
"tier": "P30"
}
}
}
}
]
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D4s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2022-datacenter-azure-edition",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"diskApiVersion": "2026-03-02",
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS",
"additionalDiskProperties": {
"managedDiskProperties": {
"networkAccessPolicy": "AllowPrivate",
"diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess"
}
}
}
},
"dataDisks": [
{
"lun": 0,
"name": "myDataDisk",
"createOption": "Empty",
"diskSizeGB": 1024,
"toBeDetached": false,
"managedDisk": {
"storageAccountType": "Premium_LRS",
"additionalDiskProperties": {
"managedDiskProperties": {
"networkAccessPolicy": "AllowPrivate",
"diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess",
"tier": "P30"
}
}
}
}
]
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D4s_v3"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with an extensions time budget.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
},
"extensionsTimeBudget": "PT30M"
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"extensionsTimeBudget": "PT30M",
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"extensionsTimeBudget": "PT30M",
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with Application Profile.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "{image_sku}",
"publisher": "{image_publisher}",
"version": "latest",
"offer": "{image_offer}"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"applicationProfile": {
"galleryApplications": [
{
"tags": "myTag1",
"order": 1,
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
"treatFailureAsDeploymentFailure": false,
"enableAutomaticUpgrade": false
},
{
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"ssh": {
"publicKeys": [
{
"path": "/home/{your-username}/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
}
]
},
"disablePasswordAuthentication": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"applicationProfile": {
"galleryApplications": [
{
"tags": "myTag1",
"order": 1,
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config"
},
{
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"
}
]
},
"vmId": "e0de9b84-a506-4b95-9623-00a425d05c90",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"ssh": {
"publicKeys": [
{
"path": "/home/{your-username}/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
}
]
},
"disablePasswordAuthentication": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"applicationProfile": {
"galleryApplications": [
{
"tags": "myTag1",
"order": 1,
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config"
},
{
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"
}
]
},
"vmId": "e0de9b84-a506-4b95-9623-00a425d05c90",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with automatic zone placement
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus2",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
},
"placement": {
"zonePlacementPolicy": "Any",
"includeZones": [
"1",
"3"
]
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"zones": [
"3"
],
"placement": {
"zonePlacementPolicy": "Any",
"includeZones": [
"1",
"3"
]
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus2"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"zones": [
"3"
],
"placement": {
"zonePlacementPolicy": "Any",
"includeZones": [
"1",
"3"
]
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus2"
}
Create a vm with boot diagnostics.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with capacity reservation assignment disabled
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"capacityReservation": {
"disableCapacityReservationAssignment": true
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"capacityReservation": {
"disableCapacityReservationAssignment": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"capacityReservation": {
"disableCapacityReservationAssignment": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with data disks using 'Copy' and 'Restore' options.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
},
"dataDisks": [
{
"diskSizeGB": 1023,
"createOption": "Copy",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/{existing-snapshot-name}"
},
"lun": 0
},
{
"diskSizeGB": 1023,
"createOption": "Copy",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-disk-name}"
},
"lun": 1
},
{
"diskSizeGB": 1023,
"createOption": "Restore",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/{existing-rpc-name}/restorePoints/{existing-rp-name}/diskRestorePoints/{existing-disk-restore-point-name}"
},
"lun": 2
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": [
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Copy",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/{existing-snapshot-name}"
},
"lun": 0,
"diskSizeGB": 1023
},
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Copy",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-disk-name}"
},
"lun": 1,
"diskSizeGB": 1023
},
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Restore",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/{existing-rpc-name}/restorePoints/{existing-rp-name}/diskRestorePoints/{existing-disk-restore-point-name}"
},
"lun": 2,
"diskSizeGB": 1023
}
]
},
"vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": [
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Copy",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/{existing-snapshot-name}"
},
"lun": 0,
"diskSizeGB": 1023,
"toBeDetached": false
},
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Copy",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-disk-name}"
},
"lun": 1,
"diskSizeGB": 1023,
"toBeDetached": false
},
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Restore",
"sourceResource": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/{existing-rpc-name}/restorePoints/{existing-rp-name}/diskRestorePoints/{existing-disk-restore-point-name}"
},
"lun": 2,
"diskSizeGB": 1023,
"toBeDetached": false
}
]
},
"vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with Deterministic Processor Mode
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_E2pds_v8",
"processorMode": "Deterministic"
},
"storageProfile": {
"imageReference": {
"sku": "2019-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2019-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"hardwareProfile": {
"vmSize": "Standard_E2pds_v8",
"processorMode": "Deterministic"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2019-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"hardwareProfile": {
"vmSize": "Standard_E2pds_v8",
"processorMode": "Deterministic"
},
"provisioningState": "Updating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with Disk Controller Type
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D4_v3"
},
"scheduledEventsPolicy": {
"scheduledEventsAdditionalPublishingTargets": {
"eventGridAndResourceGraph": {
"enable": true,
"scheduledEventsApiVersion": "2020-07-01"
}
},
"userInitiatedRedeploy": {
"automaticallyApprove": true
},
"userInitiatedReboot": {
"automaticallyApprove": true
},
"allInstancesDown": {
"automaticallyApprove": true
}
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
},
"diskControllerType": "NVMe"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
},
"userData": "U29tZSBDdXN0b20gRGF0YQ=="
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": [],
"diskControllerType": "NVMe"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D4_v3"
},
"scheduledEventsPolicy": {
"scheduledEventsAdditionalPublishingTargets": {
"eventGridAndResourceGraph": {
"enable": true,
"scheduledEventsApiVersion": "2020-07-01"
}
},
"userInitiatedRedeploy": {
"automaticallyApprove": true
},
"userInitiatedReboot": {
"automaticallyApprove": true
},
"allInstancesDown": {
"automaticallyApprove": true
}
},
"provisioningState": "Updating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": [],
"diskControllerType": "NVMe"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D4_v3"
},
"scheduledEventsPolicy": {
"scheduledEventsAdditionalPublishingTargets": {
"eventGridAndResourceGraph": {
"enable": true,
"scheduledEventsApiVersion": "2020-07-01"
}
},
"userInitiatedRedeploy": {
"automaticallyApprove": true
},
"userInitiatedReboot": {
"automaticallyApprove": true
},
"allInstancesDown": {
"automaticallyApprove": true
}
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with DiskEncryptionSet resource id in the os disk and data disk.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"name": "myVMosdisk",
"createOption": "FromImage"
},
"dataDisks": [
{
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"diskSizeGB": 1023,
"createOption": "Empty",
"lun": 0
},
{
"caching": "ReadWrite",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"diskSizeGB": 1023,
"createOption": "Attach",
"lun": 1
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskencryptionset-name}"
}
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": [
{
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"diskSizeGB": 1023,
"createOption": "Empty",
"lun": 0
},
{
"caching": "ReadWrite",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"diskSizeGB": 1023,
"createOption": "Attach",
"lun": 1
}
]
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
},
"osDisk": {
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"caching": "ReadWrite",
"createOption": "FromImage",
"osType": "Linux"
},
"dataDisks": [
{
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"diskSizeGB": 1023,
"createOption": "Empty",
"lun": 0
},
{
"caching": "ReadWrite",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"diskSizeGB": 1023,
"createOption": "Attach",
"lun": 1
}
]
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with empty data disks.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
},
"dataDisks": [
{
"diskSizeGB": 1023,
"createOption": "Empty",
"lun": 0
},
{
"diskSizeGB": 1023,
"createOption": "Empty",
"lun": 1
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": [
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Empty",
"lun": 0,
"diskSizeGB": 1023
},
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Empty",
"lun": 1,
"diskSizeGB": 1023
}
]
},
"vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": [
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Empty",
"lun": 0,
"diskSizeGB": 1023,
"toBeDetached": false
},
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "Empty",
"lun": 1,
"diskSizeGB": 1023,
"toBeDetached": false
}
]
},
"vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
"hardwareProfile": {
"vmSize": "Standard_D2_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with encryption identity
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity": {}
}
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"securityProfile": {
"encryptionIdentity": {
"userAssignedIdentityResourceId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity"
}
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity": {}
}
},
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"encryptionIdentity": {
"userAssignedIdentityResourceId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity"
}
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity": {}
}
},
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"encryptionIdentity": {
"userAssignedIdentityResourceId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity"
}
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with ephemeral os disk provisioning in Cache disk using placement property.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "CacheDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "CacheDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "CacheDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with ephemeral os disk provisioning in Nvme disk using placement property.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "NvmeDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "NvmeDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "NvmeDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with ephemeral os disk provisioning in Resource disk using placement property.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "ResourceDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "ResourceDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local",
"placement": "ResourceDisk"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with ephemeral os disk.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"diffDiskSettings": {
"option": "Local"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a VM with FIPS 140-3 Enabled
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}?api-version=2026-04-01
{
"location": "eastus2euap",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"additionalCapabilities": {
"enableFips1403Encryption": true
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "vmOSdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "{vm-name}",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "{vm-name}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "vmOSdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"additionalCapabilities": {
"enableFips1403Encryption": true
},
"provisioningState": "Updating"
},
"name": "{vm-name}",
"location": "eastus2euap"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "{vm-name}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "vmOSdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"additionalCapabilities": {
"enableFips1403Encryption": true
},
"provisioningState": "Creating"
},
"name": "{vm-name}",
"location": "eastus2euap"
}
Create a VM with HibernationEnabled
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}?api-version=2026-04-01
{
"location": "eastus2euap",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"additionalCapabilities": {
"hibernationEnabled": true
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "vmOSdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "{vm-name}",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "{vm-name}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "vmOSdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"additionalCapabilities": {
"hibernationEnabled": true
},
"provisioningState": "Updating"
},
"name": "{vm-name}",
"location": "eastus2euap"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "{vm-name}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "vmOSdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"additionalCapabilities": {
"hibernationEnabled": true
},
"provisioningState": "Creating"
},
"name": "{vm-name}",
"location": "eastus2euap"
}
Create a vm with Host Encryption using encryptionAtHost property.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"securityProfile": {
"encryptionAtHost": true
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"encryptionAtHost": true
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"encryptionAtHost": true
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with managed boot diagnostics.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with network interface configuration
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkApiVersion": "2020-11-01",
"networkInterfaceConfigurations": [
{
"name": "{nic-config-name}",
"tags": {
"nicTag": "tag"
},
"properties": {
"primary": true,
"deleteOption": "Delete",
"ipConfigurations": [
{
"name": "{ip-config-name}",
"properties": {
"primary": true,
"publicIPAddressConfiguration": {
"name": "{publicIP-config-name}",
"tags": {
"pipTag": "tag"
},
"sku": {
"name": "Basic",
"tier": "Global"
},
"properties": {
"deleteOption": "Detach",
"publicIPAllocationMethod": "Static"
}
}
}
}
]
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/toBeCreatedNetworkInterface",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/toBeCreatedNetworkInterface",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with network interface configuration with public ip address dns settings
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkApiVersion": "2020-11-01",
"networkInterfaceConfigurations": [
{
"name": "{nic-config-name}",
"properties": {
"primary": true,
"deleteOption": "Delete",
"ipConfigurations": [
{
"name": "{ip-config-name}",
"properties": {
"primary": true,
"publicIPAddressConfiguration": {
"name": "{publicIP-config-name}",
"sku": {
"name": "Basic",
"tier": "Global"
},
"properties": {
"deleteOption": "Detach",
"publicIPAllocationMethod": "Static",
"dnsSettings": {
"domainNameLabel": "aaaaa",
"domainNameLabelScope": "TenantReuse"
}
}
}
}
}
]
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/toBeCreatedNetworkInterface",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/toBeCreatedNetworkInterface",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with Opportunistic Processor Mode
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v5",
"processorMode": "Opportunistic"
},
"storageProfile": {
"imageReference": {
"sku": "2019-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2019-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"hardwareProfile": {
"vmSize": "Standard_D2s_v5",
"processorMode": "Opportunistic"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2019-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"hardwareProfile": {
"vmSize": "Standard_D2s_v5",
"processorMode": "Opportunistic"
},
"provisioningState": "Updating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with password authentication.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b248db33-62ba-4d2d-b791-811e075ee0f5",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "b248db33-62ba-4d2d-b791-811e075ee0f5",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with premium storage.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with ProxyAgent Settings of enabled and mode.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"securityProfile": {
"proxyAgentSettings": {
"enabled": true,
"wireServer": {
"mode": "Audit"
},
"imds": {
"mode": "Audit"
}
}
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"proxyAgentSettings": {
"enabled": true,
"wireServer": {
"mode": "Audit"
},
"imds": {
"mode": "Audit"
}
}
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"proxyAgentSettings": {
"enabled": true,
"wireServer": {
"mode": "Audit"
},
"imds": {
"mode": "Audit"
}
}
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with Scheduled Events Profile
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"scheduledEventsPolicy": {
"scheduledEventsAdditionalPublishingTargets": {
"eventGridAndResourceGraph": {
"enable": true,
"scheduledEventsApiVersion": "2020-07-01"
}
},
"userInitiatedRedeploy": {
"automaticallyApprove": true
},
"userInitiatedReboot": {
"automaticallyApprove": true
},
"allInstancesDown": {
"automaticallyApprove": true
}
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
},
"scheduledEventsProfile": {
"terminateNotificationProfile": {
"notBeforeTimeout": "PT10M",
"enable": true
},
"osImageNotificationProfile": {
"notBeforeTimeout": "PT15M",
"enable": true
}
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"scheduledEventsPolicy": {
"scheduledEventsAdditionalPublishingTargets": {
"eventGridAndResourceGraph": {
"enable": true,
"scheduledEventsApiVersion": "2020-07-01"
}
},
"userInitiatedRedeploy": {
"automaticallyApprove": true
},
"userInitiatedReboot": {
"automaticallyApprove": true
},
"allInstancesDown": {
"automaticallyApprove": true
}
},
"scheduledEventsProfile": {
"terminateNotificationProfile": {
"notBeforeTimeout": "PT10M",
"enable": true
},
"osImageNotificationProfile": {
"notBeforeTimeout": "PT15M",
"enable": true
}
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"scheduledEventsPolicy": {
"scheduledEventsAdditionalPublishingTargets": {
"eventGridAndResourceGraph": {
"enable": true,
"scheduledEventsApiVersion": "2020-07-01"
}
},
"userInitiatedRedeploy": {
"automaticallyApprove": true
},
"userInitiatedReboot": {
"automaticallyApprove": true
},
"allInstancesDown": {
"automaticallyApprove": true
}
},
"scheduledEventsProfile": {
"terminateNotificationProfile": {
"notBeforeTimeout": "PT10M",
"enable": true
},
"osImageNotificationProfile": {
"notBeforeTimeout": "PT15M",
"enable": true
}
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with securityType ConfidentialVM with Customer Managed Keys
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DC2as_v5"
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"storageProfile": {
"imageReference": {
"sku": "windows-cvm",
"publisher": "MicrosoftWindowsServer",
"version": "17763.2183.2109130127",
"offer": "2019-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "DiskWithVMGuestState",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "windows-cvm",
"publisher": "MicrosoftWindowsServer",
"version": "17763.2183.2109130127",
"offer": "2019-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "DiskWithVMGuestState",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DC2as_v5"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "windows-cvm",
"publisher": "MicrosoftWindowsServer",
"version": "17763.2183.2109130127",
"offer": "2019-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "DiskWithVMGuestState",
"diskEncryptionSet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DC2as_v5"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a VM with securityType ConfidentialVM with NonPersistedTPM securityEncryptionType
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DC2es_v5"
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": false,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"storageProfile": {
"imageReference": {
"sku": "linux-cvm",
"publisher": "UbuntuServer",
"version": "17763.2183.2109130127",
"offer": "2022-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "NonPersistedTPM"
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "linux-cvm",
"publisher": "UbuntuServer",
"version": "17763.2183.2109130127",
"offer": "2022-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "NonPersistedTPM"
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": false,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DC2es_v5"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "linux-cvm",
"publisher": "UbuntuServer",
"version": "17763.2183.2109130127",
"offer": "2022-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "NonPersistedTPM"
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": false,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DC2es_v5"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a VM with securityType ConfidentialVM with Platform Managed Keys
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DC2as_v5"
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"storageProfile": {
"imageReference": {
"sku": "windows-cvm",
"publisher": "MicrosoftWindowsServer",
"version": "17763.2183.2109130127",
"offer": "2019-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "DiskWithVMGuestState"
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "windows-cvm",
"publisher": "MicrosoftWindowsServer",
"version": "17763.2183.2109130127",
"offer": "2019-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "DiskWithVMGuestState"
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DC2as_v5"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "windows-cvm",
"publisher": "MicrosoftWindowsServer",
"version": "17763.2183.2109130127",
"offer": "2019-datacenter-cvm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS",
"securityProfile": {
"securityEncryptionType": "DiskWithVMGuestState"
}
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "ConfidentialVM"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DC2as_v5"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a vm with SpotPlus priority
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v5"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"priority": "SpotPlus",
"evictionPolicy": "Deallocate",
"billingProfile": {
"maxPrice": -1
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "a9b2c3d4-e5f6-7890-abcd-ef1234567890",
"hardwareProfile": {
"vmSize": "Standard_D2s_v5"
},
"priority": "SpotPlus",
"evictionPolicy": "Deallocate",
"billingProfile": {
"maxPrice": -1
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "a9b2c3d4-e5f6-7890-abcd-ef1234567890",
"hardwareProfile": {
"vmSize": "Standard_D2s_v5"
},
"priority": "SpotPlus",
"evictionPolicy": "Deallocate",
"billingProfile": {
"maxPrice": -1
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a vm with ssh authentication.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "{image_sku}",
"publisher": "{image_publisher}",
"version": "latest",
"offer": "{image_offer}"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"linuxConfiguration": {
"ssh": {
"publicKeys": [
{
"path": "/home/{your-username}/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
}
]
},
"disablePasswordAuthentication": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"ssh": {
"publicKeys": [
{
"path": "/home/{your-username}/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
}
]
},
"disablePasswordAuthentication": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "e0de9b84-a506-4b95-9623-00a425d05c90",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"linuxConfiguration": {
"ssh": {
"publicKeys": [
{
"path": "/home/{your-username}/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
}
]
},
"disablePasswordAuthentication": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
"offer": "UbuntuServer"
},
"osDisk": {
"osType": "Linux",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"vmId": "e0de9b84-a506-4b95-9623-00a425d05c90",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a VM with Uefi Settings of secureBoot and vTPM.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "TrustedLaunch"
},
"storageProfile": {
"imageReference": {
"sku": "windows10-tvm",
"publisher": "MicrosoftWindowsServer",
"version": "18363.592.2001092016",
"offer": "windowsserver-gen2preview-preview"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "windows10-tvm",
"publisher": "MicrosoftWindowsServer",
"version": "18363.592.2001092016",
"offer": "windowsserver-gen2preview-preview"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "TrustedLaunch"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "windows10-tvm",
"publisher": "MicrosoftWindowsServer",
"version": "18363.592.2001092016",
"offer": "windowsserver-gen2preview-preview"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "StandardSSD_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"securityProfile": {
"uefiSettings": {
"secureBootEnabled": true,
"vTpmEnabled": true
},
"securityType": "TrustedLaunch"
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"provisioningState": "Creating"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Create a VM with UserData
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "vmOSdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "{vm-name}",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
},
"userData": "RXhhbXBsZSBVc2VyRGF0YQ=="
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "{vm-name}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "vmOSdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "{vm-name}",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/{vm-name}",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "{vm-name}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "vmOSdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"provisioningState": "Creating"
},
"name": "{vm-name}",
"location": "westus"
}
Create a VM with VM Size Properties
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D4_v3",
"vmSizeProperties": {
"vCPUsAvailable": 1,
"vCPUsPerCore": 1
}
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
"enabled": true
}
},
"userData": "U29tZSBDdXN0b20gRGF0YQ=="
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D4_v3",
"vmSizeProperties": {
"vCPUsAvailable": 1,
"vCPUsPerCore": 1
}
},
"provisioningState": "Updating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
}
},
"dataDisks": []
},
"diagnosticsProfile": {
"bootDiagnostics": {
"storageUri": "http://nsgdiagnostic.blob.core.windows.net",
"enabled": true
}
},
"vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
"hardwareProfile": {
"vmSize": "Standard_D4_v3",
"vmSizeProperties": {
"vCPUsAvailable": 1,
"vCPUsPerCore": 1
}
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Windows vm with a patch setting assessmentMode of ImageDefault.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"assessmentMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"assessmentMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": false,
"patchSettings": {
"assessmentMode": "ImageDefault"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Windows vm with a patch setting patchMode of AutomaticByOS.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByOS"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByOS"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByOS"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and AutomaticByPlatformSettings.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform",
"automaticByPlatformSettings": {
"rebootSetting": "Never",
"bypassPlatformSafetyChecksOnUserSchedule": false
}
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform",
"automaticByPlatformSettings": {
"rebootSetting": "Never",
"bypassPlatformSafetyChecksOnUserSchedule": false
}
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform",
"automaticByPlatformSettings": {
"rebootSetting": "Never",
"bypassPlatformSafetyChecksOnUserSchedule": false
}
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and enableHotpatching set to true.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"enableHotpatching": true
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"enableHotpatching": true
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"enableHotpatching": true
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Windows vm with a patch setting patchMode of Manual.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "Manual"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "Manual"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": false,
"patchSettings": {
"patchMode": "Manual"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create a Windows vm with patch settings patchMode and assessmentMode set to AutomaticByPlatform.
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"name": "myVMosdisk",
"createOption": "FromImage"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"type": "Microsoft.Compute/virtualMachines",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByPlatform",
"assessmentMode": "AutomaticByPlatform"
}
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
"offer": "WindowsServer"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
},
"dataDisks": []
},
"vmId": "a149cd25-409f-41af-8088-275f5486bc93",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"name": "myVM",
"location": "westus"
}
Create or update a VM with capacity reservation
Örnek isteği
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM?api-version=2026-04-01
{
"location": "westus",
"plan": {
"publisher": "microsoft-ads",
"product": "windows-data-science-vm",
"name": "windows2016"
},
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"storageProfile": {
"imageReference": {
"sku": "windows2016",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "windows-data-science-vm"
},
"osDisk": {
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
}
},
"capacityReservation": {
"capacityReservationGroup": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}"
}
},
"osProfile": {
"adminUsername": "{your-username}",
"computerName": "myVM",
"adminPassword": "{your-password}"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
"properties": {
"primary": true
}
}
]
}
}
}
Örnek yanıt
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"capacityReservation": {
"capacityReservationGroup": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
{
"name": "myVM",
"properties": {
"osProfile": {
"adminUsername": "{your-username}",
"secrets": [],
"computerName": "myVM",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
}
},
"capacityReservation": {
"capacityReservationGroup": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
"properties": {
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
"offer": "standard-data-science-vm"
},
"osDisk": {
"osType": "Windows",
"caching": "ReadOnly",
"managedDisk": {
"storageAccountType": "Standard_LRS"
},
"createOption": "FromImage",
"name": "myVMosdisk"
},
"dataDisks": []
},
"vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
},
"provisioningState": "Creating"
},
"plan": {
"publisher": "microsoft-ads",
"product": "standard-data-science-vm",
"name": "standard-data-science-vm"
},
"type": "Microsoft.Compute/virtualMachines",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
"location": "westus"
}
Tanımlar
| Name | Description |
|---|---|
|
Additional |
Sanal makinede veya sanal makine ölçek kümesinde bir özelliği etkinleştirir veya devre dışı bırakır. |
|
Additional |
Yönetilen bir disk için diskin örtük oluşturulduğu anda ayarlanabilecek ek özellikleri belirtir. |
|
Additional |
Windows Kurulumu tarafından kullanılan Unattend.xml dosyasına ekleyebileceğiniz ek XML biçimli bilgileri belirtir. İçerikler, ayar adı, bileşen adı ve içeriğin uygulandığı geçiş ile tanımlanır. |
|
All |
Tüm örnekler kapalıyken Zamanlanmış Etkinliklerin otomatik olarak onaylanıp onaylanmayacağını belirtir. |
|
Api |
API varlık başvurusu. |
|
Api |
API hatası. |
|
Api |
Api hata tabanı. |
|
Application |
VM/VMSS'nin kullanımına sunulması gereken galeri uygulamalarının listesini içerir |
|
Availability |
Yavaş G/Ç ile disklerin nasıl işleneceğini belirler. |
|
Available |
Kullanılabilir düzeltme eki özeti için bir sanal makine örneği görünümünün özelliklerini açıklar. |
|
Billing |
Azure Spot VM veya VMSS'nin faturalamayla ilgili ayrıntılarını belirtir. En düşük api sürümü: 2019-03-01. |
|
Boot |
Önyükleme Tanılama, VM durumunu tanılamak için Konsol Çıkışını ve Ekran Görüntüsünü görüntülemenizi sağlayan bir hata ayıklama özelliğidir. Konsol günlüğünüzün çıkışını kolayca görüntüleyebilirsiniz. Azure ayrıca hiper yöneticiden VM'nin ekran görüntüsünü görmenizi sağlar. |
|
Boot |
Sanal makine önyükleme tanılamasının örnek görünümü. |
|
Caching |
Önbelleğe alma gereksinimlerini belirtir. Olası değerler şunlardır: None,ReadOnly,ReadWrite. Varsayılan değerler şunlardır: Standart depolama için yok. Premium depolama için ReadOnly |
|
Capacity |
Kapasite rezervasyon Profilinin parametreleri. |
|
Capacity |
Uygun olursa sanal makinenin hangi tür kapasite rezervasyonundan kapasite tüketeceğini veya abonelikte mevcut herhangi bir rezerve kapasiteden ilişkilendirilmekten açıkça vazgeçip kapatıp kullanılmadığını belirtir. Minimum API sürümü: 2026-04-01. |
|
Cloud |
İşlem hizmetinden bir hata yanıtı. |
|
Common. |
|
|
Component |
|
|
created |
Kaynağı oluşturan kimliğin türü. |
|
Data |
Veri disklerini açıklar. |
|
Delete |
VM silindiğinde ağ arabirimine ne olacağını belirtin |
|
Diagnostics |
Önyükleme tanılama ayarları durumunu belirtir. En düşük api sürümü: 2015-06-15. |
|
Diff |
İşletim sistemi diski için kısa ömürlü disk seçeneğini belirtir. |
|
Diff |
İşletim sistemi diski için kısa ömürlü disk yerleşimini belirtir. Bu özellik, istekteki kullanıcı tarafından kısa ömürlü işletim sistemi diski sağlama için önbellek diski, kaynak disk veya nvme disk alanı gibi bir konumu seçmek için kullanılabilir. Kısa ömürlü işletim sistemi disk boyutu gereksinimleri hakkında daha fazla bilgi için lütfen https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements'da Windows VM için kısa ömürlü işletim sistemi disk boyutu gereksinimleri ve https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements'deki Linux VM'ye bakın. NvmeDisk için en düşük api sürümü: 2024-03-01. |
|
Diff |
İşletim sistemi diski için belirtilebilen kısa ömürlü disk ayarlarının parametrelerini açıklar. Not: Kısa ömürlü disk ayarları yalnızca yönetilen disk için belirtilebilir. |
|
Disk |
Yönetilen disklere extraalDiskProperties uygulanırken kullanılan Disk API sürümünü belirtir. Değer YYYY-MM-DD formatında olmalıdır. |
|
Disk |
Diskte bir erişilebilirlik veya bağlantı sorunu olursa, VM'nizin davranışını belirtin. |
|
Disk |
VM ve VirtualMachineScaleSet için yapılandırılan disk denetleyicisi türünü belirtir. Bu özellik yalnızca işletim sistemi diski ve VM sku'su 2. Nesil 'i (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2) destekleyen sanal makineler için desteklenir. Lütfen bölge için Microsoft.Compute SKU'ları api'sinin V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list) içerdiği yanıtta VM sku özelliklerinin bir parçası olarak döndürülen HyperVGenerations özelliğini denetleyin. Desteklenen Disk Denetleyicisi Türleri hakkında daha fazla bilgi için lütfen https://aka.ms/azure-diskcontrollertypesbölümüne bakın. |
|
Disk |
Sanal makine diskinin nasıl oluşturulması gerektiğini belirtir. Olası değerler Ekleme: Bu değer, sanal makineyi oluşturmak için özelleştirilmiş bir disk kullanırken kullanılır. fromImage : Bu değer, sanal makineyi oluşturmak için bir görüntü kullanırken kullanılır. Platform görüntüsü kullanıyorsanız, yukarıda açıklanan imageReference öğesini de kullanmanız gerekir. Market görüntüsü kullanıyorsanız daha önce açıklanan plan öğesini de kullanmanız gerekir. Boş: Bu değer boş bir veri diski oluşturulurken kullanılır. Kopyalama: Bu değer bir anlık görüntüden veya başka bir diskten veri diski oluşturmak için kullanılır. Geri yükleme: Bu değer, bir disk geri yükleme noktasından veri diski oluşturmak için kullanılır. |
|
Disk |
VM silindiğinde yönetilen diskin davranışını belirtir, örneğin yönetilen diskin silinip silinmediğini veya ayrılıp ayrılmadığını belirtir. Desteklenen değerler şunlardır: Delete. Bu değer kullanılırsa, VM silindiğinde yönetilen disk silinir. Ayırmak. Bu değer kullanılırsa, VM silindikten sonra yönetilen disk korunur. En düşük api sürümü: 2021-03-01. |
|
Disk |
Bir diski ayırırken kullanılacak veya zaten sanal makineden ayrılma sürecinde olan ayırma davranışını belirtir. Desteklenen değerler şunlardır: ForceDetach. detachOption: ForceDetach yalnızca yönetilen veri diskleri için geçerlidir. Veri diskinin önceki bir ayırma denemesi sanal makineden beklenmeyen bir hata nedeniyle tamamlanmadıysa ve disk hala serbest bırakılmadıysa, diski VM'den zorla ayırmak için son çare seçeneği olarak force-detach kullanın. Bu ayırma davranışı kullanılırken tüm yazma işlemleri temizlenmemiş olabilir. Bu özellik hala önizleme aşamasındadır. Veri diski güncelleştirmesini zorla ayırmak içinBeDetached 'true' değerine ve detachOption: 'ForceDetach' ayarını ayarlayın. |
|
Disk |
Disk için belirtilebilen müşteri tarafından yönetilen disk şifreleme kümesi kaynak kimliğinin parametresini açıklar. Not: Disk şifreleme kümesi kaynak kimliği yalnızca yönetilen disk için belirtilebilir. Daha fazla bilgi için lütfen https://aka.ms/mdssewithcmkoverview bakın. |
|
Disk |
Disk için Şifreleme Ayarlarını açıklar |
|
Disk |
Diskin örnek görünümü. |
|
Domain |
Etki alanı adı etiket kapsamı. Etki alanı adı etiketi kapsamı ve vm dizininden ilkeye göre oluşturulan karma etki alanı adı etiketinin birleştirilmiş olması, oluşturulacak PublicIPAddress kaynaklarının etki alanı adı etiketleri olacaktır |
|
Encryption |
Anahtar kasası işlemleri için erişim belirteci almak için ADE tarafından kullanılan Yönetilen Kimliği belirtir. |
|
Event |
eventGridAndResourceGraph ile ilgili Zamanlanmış Olayla ilgili yapılandırmaları belirtir. |
|
Extended |
Genişletilmiş konumun karmaşık türü. |
|
Extended |
Genişletilmiş konumun türü. |
|
Hardware |
Sanal makine için donanım ayarlarını belirtir. |
|
Host |
Belirli konak uç noktası ayarlarını belirtir. |
|
Hyper |
Bir kaynakla ilişkilendirilmiş HyperVGeneration Türünü belirtir |
|
Image |
Kullanılacak görüntü hakkındaki bilgileri belirtir. Platform görüntüleri, market görüntüleri veya sanal makine görüntüleri hakkında bilgi belirtebilirsiniz. Bu öğe bir platform görüntüsü, market görüntüsü veya sanal makine görüntüsü kullanmak istediğinizde gereklidir, ancak diğer oluşturma işlemlerinde kullanılmaz. NOT: Görüntü başvurusu yayımcısı ve teklifi yalnızca ölçek kümesini oluşturduğunuzda ayarlanabilir. |
|
Inner |
İç hata ayrıntıları. |
|
Instance |
Örnek görünümü durumu. |
|
Interconnect |
Bir Bağlantı Blok Profilinin parametreleri. |
|
Interconnect |
VM'yi bir bağlantı grubu ve alt gruplarla ilişkilendirmek için kullanılan sanal makine için bağlantı grubu profilini belirtir. |
|
Interconnect |
Interconnect Block örneği, bir Sanal Makine veya Scale Set VM örneği için detayları sunar. |
| IPVersions |
Api-Version 2017-03-30'dan itibaren kullanılabilir, belirli ipconfiguration'ın IPv4 veya IPv6 olup olmadığını temsil eder. Varsayılan değer IPv4 olarak alınır. Olası değerler şunlardır: 'IPv4' ve 'IPv6'. |
|
Key |
Key Vault Anahtarına bir başvuru açıklar |
|
Key |
Key Vault Gizli Dizisine bir başvuru açıklar |
|
Last |
Son yüklenen düzeltme eki özetinin özelliklerini açıklar. |
|
Linux |
Sanal makinedeki Linux işletim sistemi ayarlarını belirtir. Desteklenen Linux dağıtımlarının listesi için bkz.Azure-Endorsed Dağıtımlarında Linux |
|
Linux |
IaaS sanal makinesi için VM Konuk Düzeltme Eki Değerlendirmesi modunu belirtir. |
|
Linux |
Linux'ta VM Konuk Düzeltme Eki Uygulama ile ilgili ayarları belirtir. |
|
Linux |
Tüm AutomaticByPlatform düzeltme eki yükleme işlemleri için yeniden başlatma ayarını belirtir. |
|
Linux |
Linux düzeltme eki ayarlarında düzeltme eki modu AutomaticByPlatform seçildiğinde uygulanacak ek ayarları belirtir. |
|
Linux |
IaaS sanal makinesine veya OrchestrationMode ile sanal makine ölçek kümesiyle ilişkilendirilmiş sanal makinelere VM Konuk Düzeltme Eki Uygulama modunu Esnek olarak belirtir. |
|
Maintenance |
Son Bakım İşlemi Sonuç Kodu. |
|
Maintenance |
Bakım İşlem Durumu. |
|
Managed |
Yönetilen diskin parametreleri. |
|
Managed |
Diskin örtük oluşturulma anında ayarlanabilen yönetilen bir diskin özelliklerini belirtir. |
| Mode |
Özellik etkinse ProxyAgent'ın yürütüleceği modu belirtir. ProxyAgent denetime veya izlemeye başlar ancak Denetim modunda konak uç noktalarına yönelik istekler üzerinde erişim denetimini zorlamazken, Zorlama modunda erişim denetimini zorunlu kılacaktır. Varsayılan değer Zorlama modudur. |
| Modes |
Yürütme modunu belirtir. Denetim modunda sistem, günlüklere erişim engelleme girdileri yaymak da dahil olmak üzere erişim denetimi ilkesini zorunluyormuş gibi davranır, ancak konak uç noktalarına yönelik istekleri gerçekten reddetmez. Zorla modunda, sistem erişim denetimini zorlar ve önerilen işlem modudur. |
|
Network |
Diske ağ üzerinden erişim ilkesi. |
|
Network |
Ağ Arabirimi Yapılandırmalarında ağ kaynakları oluşturulurken kullanılan Microsoft.Network API sürümünü belirtir |
|
Network |
Yardımcı modun Ağ Arabirimi kaynağı için etkinleştirilip etkinleştirilmediğini belirtir. |
|
Network |
Yardımcı sku'nun Ağ Arabirimi kaynağı için etkinleştirilip etkinleştirilmediğini belirtir. |
|
Network |
Ağ arabirimi başvurularını açıklar. |
|
Network |
Sanal makinenin ağ arabirimlerini veya ağ yapılandırmasını belirtir. |
|
Operating |
Bu özellik, özel bir görüntüden VM oluşturuyorsanız diske dahil edilen işletim sisteminin türünü belirtmenize olanak tanır. Olası değerler şunlardır: Windows,Linux. |
| OSDisk |
Sanal makine tarafından kullanılan işletim sistemi diski hakkındaki bilgileri belirtir. Diskler hakkında daha fazla bilgi için bkz. Azure sanal makineleri için diskler ve VHD'ler hakkında. |
|
OSImage |
|
| OSProfile |
Sanal makine için işletim sistemi ayarlarını belirtir. VM sağlandıktan sonra bazı ayarlar değiştirilemez. |
|
Pass |
|
|
Patch |
İşlemin genel başarı veya başarısızlık durumu. İşlem tamamlanana kadar "InProgress" olarak kalır. Bu noktada "Bilinmeyen", "Başarısız", "Başarılı" veya "CompletedWithWarnings" olur. |
|
Patch |
Windows'da VM Konuk Düzeltme Eki Uygulama ile ilgili ayarları belirtir. |
| Placement |
Kaynak donanım yerleşimi için kullanıcı tanımlı kısıtlamaları açıklar. |
| Plan |
Sanal makineyi oluşturmak için kullanılan market görüntüsü hakkındaki bilgileri belirtir. Bu öğe yalnızca market görüntüleri için kullanılır. API'den market görüntüsü kullanabilmeniz için önce görüntüyü programlı kullanım için etkinleştirmeniz gerekir. Azure portalında, kullanmak istediğiniz market görüntüsünü bulun ve Program aracılığıyla dağıtmak istiyorum, Başlarken ->öğesine tıklayın. Gerekli bilgileri girin ve Kaydetöğesine tıklayın. |
|
Processor |
Sanal makine için işlemci frekans davranışını belirtir. Her üyenin kontrol ettiği davranışı görün. |
|
Protocol |
WinRM dinleyicisinin protokolünün belirtir. Olası değerler şunlardır: http, |
|
Proxy |
Sanal makine veya sanal makine ölçek kümesi için ProxyAgent ayarlarını belirtir. En düşük api sürümü: 2023-09-01. |
|
Public |
Genel IP Sku'su açıklanır. Yalnızca OrchestrationMode esnek olarak ayarlanabilir. |
|
Public |
Genel IP sku adını belirtin |
|
Public |
Genel IP sku katmanını belirtme |
|
Public |
Genel IP ayırma türünü belirtin |
|
Resiliency |
VM'de dayanıklılık çözümlerini etkinleştiriyor. Bu, yedekleme veya felaket kurtarma çözümlerini de kapsar. |
|
Resource |
Sanal makine için kullanılan kimlik türü. 'SystemAssigned, UserAssigned' türü hem örtük olarak oluşturulmuş bir kimliği hem de kullanıcı tarafından atanan bir kimlik kümesini içerir. 'Hiçbiri' türü sanal makineden tüm kimlikleri kaldırır. |
|
Scheduled |
|
|
Scheduled |
Yeniden Dağıtma, Yeniden Başlatma ve ScheduledEventsAdditionalPublishingTargets Zamanlanmış Olayla ilgili yapılandırmaları belirtir. |
|
Scheduled |
|
|
Security |
Yönetilen diskin EncryptionType değerini belirtir. VmGuestState blobu ile birlikte yönetilen diskin şifrelenmesi için DiskWithVMGuestState, yalnızca VMGuestState blobunun şifrelenmesi için VMGuestStateOnly ve VMGuestState blobunda üretici yazılımı durumunun kalıcı olmaması için NonPersistedTPM olarak ayarlanır.. Not: Yalnızca Gizli VM'ler için ayarlanabilir. |
|
Security |
Sanal makine veya sanal makine ölçek kümesi için Güvenlik profili ayarlarını belirtir. |
|
Security |
VM securityType'ı belirtir; UefiSettings yalnızca TrustedLaunch veya ConfidentialVM olarak ayarlandığında etkinleştirilir ve API sürümü 2025-11-01 başlayarak Standard değer döndürür. |
|
Setting |
İçeriğin uygulandığı ayarın adını belirtir. Olası değerler şunlardır: FirstLogonCommands ve AutoLogon. |
|
Ssh |
Azure'da çalışan Linux tabanlı VM'ler için SSH yapılandırması |
|
Ssh |
SSH sertifikası ortak anahtarı ve ortak anahtarın yerleştirildiği Linux VM'sinin yolu hakkında bilgi içerir. |
|
Status |
Düzey kodu. |
|
Storage |
Yönetilen disk için depolama hesabı türünü belirtir. Yönetilen işletim sistemi disk depolama hesabı türü yalnızca ölçek kümesini oluşturduğunuzda ayarlanabilir. NOT: UltraSSD_LRS yalnızca veri diskleriyle kullanılabilir. İşletim Sistemi Diski ile kullanılamaz. Standard_LRS Standart HDD kullanır. StandardSSD_LRS Standart SSD kullanır. Premium_LRS Premium SSD kullanır. UltraSSD_LRS Ultra disk kullanır. Premium_ZRS Premium SSD alanlar arası yedekli depolama kullanır. StandardSSD_ZRS Standart SSD alanlar arası yedekli depolama kullanır. Windows Sanal Makineleri için desteklenen diskler hakkında daha fazla bilgi için https://docs.microsoft.com/azure/virtual-machines/windows/disks-types ve Linux Sanal Makineleri için bkz. https://docs.microsoft.com/azure/virtual-machines/linux/disks-types |
|
Storage |
Disk için depolama hizalama durumunu belirtir. |
|
Storage |
Disk için depolama hata alanı hizalama türünü belirtir. |
|
Storage |
Sanal makine diskleri için depolama ayarlarını belirtir. |
|
Sub |
|
|
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
|
Terminate |
|
|
Uefi |
Sanal makineyi oluştururken kullanılan güvenli önyükleme ve vTPM gibi güvenlik ayarlarını belirtir. En düşük api sürümü: 2020-12-01. |
|
User |
Yeniden başlatma ile ilgili Zamanlanmış Olay ile ilgili yapılandırmaları belirtir. |
|
User |
İlgili Zamanlanmış Olayla ilgili yapılandırmaları yeniden dağıtmayı belirtir. |
|
Vault |
Key Vault'ta tek bir sertifika başvurusu ve sertifikanın VM'de nerede bulunması gerektiğini açıklar. |
|
Vault |
Tümü aynı Key Vault'ta bulunan bir sertifika kümesini açıklar. |
|
Virtual |
Bir diskin uri'sini açıklar. |
|
Virtual |
Sanal Makineyi açıklar. |
|
Virtual |
Sanal makinede çalışan VM Aracısı'nın örnek görünümü. |
|
Virtual |
Azure Spot VM/VMSS için çıkarma ilkesini belirtir |
|
Virtual |
Sanal Makine Uzantısını açıklar. |
|
Virtual |
Sanal makine uzantısı işleyicisinin örnek görünümü. |
|
Virtual |
Sanal makine uzantısının örnek görünümü. |
|
Virtual |
VM'nin sistem durumu. |
|
Virtual |
Sanal makine için kimlik. |
|
Virtual |
Sanal makinenin örnek görünümü. |
|
Virtual |
Genel IP adresiyle ilişkilendirilmiş IP etiketini içerir. |
|
Virtual |
Sanal makine ağ arabirimi yapılandırmalarını açıklar. |
|
Virtual |
Sanal makinelerin ağ yapılandırmasının DNS ayarlarını açıklar. |
|
Virtual |
Sanal makine ağ profilinin IP yapılandırmasını açıklar. |
|
Virtual |
Sanal makine düzeltme eki işlemlerinin durumu. |
|
Virtual |
Tek başına bir sanal makine veya ölçek kümesindeki sanal makineler için önceliği belirtir. |
|
Virtual |
Sanal makinelerin IP Yapılandırmasının PublicIPAddress yapılandırmasını açıklar |
|
Virtual |
Sanal makinelerin ağ yapılandırmasının DNS ayarlarını açıklar. |
|
Virtual |
Sanal makinenin boyutunu belirtir. Sabit listesi veri türü şu anda kullanım dışıdır ve 23 Aralık 2023'e kadar kaldırılacaktır. Kullanılabilir boyutların listesini almak için önerilen yol şu API'leri kullanmaktır: Kullanılabilirlik kümesindeki tüm kullanılabilir sanal makine boyutlarınılisteleyin bir bölgedeki tüm kullanılabilir sanal makine boyutlarını listeleyin yeniden boyutlandırmak için tüm kullanılabilir sanal makine boyutlarını listeleyin. Sanal makine boyutları hakkında daha fazla bilgi için bkz.sanal makineler için |
|
VMDisk |
Yönetilen disk için güvenlik profili ayarlarını belirtir. Not: Yalnızca Gizli VM'ler için ayarlanabilir. |
|
VMGallery |
İşlem galerisi uygulama sürümüne başvurmak için gerekli bilgileri belirtir |
|
VMSize |
Sanal makinedeki VM Boyutu Özellik ayarlarını belirtir. |
|
Windows |
Sanal makinedeki Windows işletim sistemi ayarlarını belirtir. |
|
Windows |
IaaS sanal makinesi için VM Konuk düzeltme eki değerlendirmesi modunu belirtir. |
|
Windows |
Tüm AutomaticByPlatform düzeltme eki yükleme işlemleri için yeniden başlatma ayarını belirtir. |
|
Windows |
Windows düzeltme eki ayarlarında düzeltme eki modu AutomaticByPlatform seçildiğinde uygulanacak ek ayarları belirtir. |
|
Windows |
IaaS sanal makinesine veya OrchestrationMode ile sanal makine ölçek kümesiyle ilişkilendirilmiş sanal makinelere VM Konuk Düzeltme Eki Uygulama modunu Esnek olarak belirtir. |
|
Win |
VM'nin Windows Uzaktan Yönetim yapılandırmasını açıklar |
|
Win |
Windows Uzaktan Yönetim dinleyicisinin Protokol ve parmak izini açıklar |
|
Zone |
Bölge hareket konfigürasyonunu tanımlar. Bu, bir kesinti sırasında VM'nin kullanılabilirlik bölgeleri arasında taşınmasına olanak tanır. |
|
Zone |
Kaynağın kullanılabilirlik alanına yerleştirilmesine ilişkin ilkeyi belirtir. Olası değerler şunlardır: Herhangi biri (Sanal Makineler için kullanılır), Otomatik (Sanal Makine Ölçek Kümeleri için kullanılır) - Kaynak oluşturma işleminin bir parçası olarak sistem tarafından otomatik olarak bir kullanılabilirlik alanı seçilir. |
AdditionalCapabilities
Sanal makinede veya sanal makine ölçek kümesinde bir özelliği etkinleştirir veya devre dışı bırakır.
| Name | Tür | Description |
|---|---|---|
| enableFips1403Encryption |
boolean |
Bayrak, bir uzantının protectedSettings üzerinde FIPS 140-3 uyumlu şifrelemenin kullanılmasını sağlar. Daha fazla bilgi için bkz. https://aka.ms/linuxagentfipssupport. |
| hibernationEnabled |
boolean |
VM'de hazırda bekletme özelliğini etkinleştiren veya devre dışı bırakan bayrak. |
| ultraSSDEnabled |
boolean |
VM veya VMSS üzerinde UltraSSD_LRS depolama hesabı türüne sahip bir veya daha fazla yönetilen veri diskine sahip bir özelliği etkinleştiren veya devre dışı bırakan bayrak. Depolama hesabı türü UltraSSD_LRS olan yönetilen diskler, yalnızca bu özellik etkinse bir sanal makineye veya sanal makine ölçek kümesine eklenebilir. |
AdditionalDiskProperties
Yönetilen bir disk için diskin örtük oluşturulduğu anda ayarlanabilecek ek özellikleri belirtir.
| Name | Tür | Description |
|---|---|---|
| managedDiskProperties |
Diskin örtük oluşturulduğu anda ayarlanabilecek yönetilen disk özelliklerini belirtir. |
AdditionalUnattendContent
Windows Kurulumu tarafından kullanılan Unattend.xml dosyasına ekleyebileceğiniz ek XML biçimli bilgileri belirtir. İçerikler, ayar adı, bileşen adı ve içeriğin uygulandığı geçiş ile tanımlanır.
| Name | Tür | Description |
|---|---|---|
| componentName |
Bileşen adı. Şu anda izin verilebilen tek değer Microsoft-Windows-Shell-Setup'dır. |
|
| content |
string |
Belirtilen yol ve bileşen için unattend.xml dosyasına eklenen XML biçimli içeriği belirtir. XML 4 KB'tan küçük olmalı ve eklenen ayar veya özelliğin kök öğesini içermelidir. |
| passName |
Geçiş adı. Şu anda izin verilen tek değer OobeSystem'dır. |
|
| settingName |
İçeriğin uygulandığı ayarın adını belirtir. Olası değerler şunlardır: FirstLogonCommands ve AutoLogon. |
AllInstancesDown
Tüm örnekler kapalıyken Zamanlanmış Etkinliklerin otomatik olarak onaylanıp onaylanmayacağını belirtir.
| Name | Tür | Description |
|---|---|---|
| automaticallyApprove |
boolean |
Tüm örnekler kapalıyken Zamanlanmış Etkinliklerin otomatik olarak onaylanıp onaylanmayacağını belirtir. Varsayılan değeri true |
ApiEntityReference
API varlık başvurusu.
| Name | Tür | Description |
|---|---|---|
| id |
string |
/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... biçiminde ARM kaynak kimliği |
ApiError
API hatası.
| Name | Tür | Description |
|---|---|---|
| code |
string |
Hata kodu. |
| details |
Api hata ayrıntıları |
|
| innererror |
Api iç hatası |
|
| message |
string |
Hata iletisi. |
| target |
string |
Belirli bir hatanın hedefi. |
ApiErrorBase
Api hata tabanı.
| Name | Tür | Description |
|---|---|---|
| code |
string |
Hata kodu. |
| message |
string |
Hata iletisi. |
| target |
string |
Belirli bir hatanın hedefi. |
ApplicationProfile
VM/VMSS'nin kullanımına sunulması gereken galeri uygulamalarının listesini içerir
| Name | Tür | Description |
|---|---|---|
| galleryApplications |
VM/VMSS için kullanılabilir hale getirilecek galeri uygulamalarını belirtir |
AvailabilityPolicyDiskDelay
Yavaş G/Ç ile disklerin nasıl işleneceğini belirler.
| Değer | Description |
|---|---|
| None |
Varsayılan olarak kullanılabilirlik politikası belirtilmemiş davranışa geçer; bu da yavaş disk I/O'da VM yeniden başlatılmasıdır. |
| AutomaticReattach |
Disk I/O arızası veya yavaş yanıt verdiğinde, diski ayırıp tekrar takmayı deneyin. |
AvailablePatchSummary
Kullanılabilir düzeltme eki özeti için bir sanal makine örneği görünümünün özelliklerini açıklar.
| Name | Tür | Description |
|---|---|---|
| assessmentActivityId |
string |
Bu sonucu üreten işlemin etkinlik kimliği. CRP ve uzantı günlükleri arasında bağıntı sağlamak için kullanılır. |
| criticalAndSecurityPatchCount |
integer (int32) |
Kullanılabilir olarak algılanan ve henüz yüklenmemiş kritik veya güvenlik düzeltme eklerinin sayısı. |
| error |
İşlemin yürütülmesi sırasında karşılaşılan hatalar. Details dizisi bunların listesini içerir. |
|
| lastModifiedTime |
string (date-time) |
İşlemin başladığı UTC zaman damgası. |
| otherPatchCount |
integer (int32) |
Kritik ve güvenlik hariç tüm kullanılabilir düzeltme eklerinin sayısı. |
| rebootPending |
boolean |
VM'nin genel yeniden başlatma durumu. Kısmen yüklenen yamalar, yüklemeyi tamamlamak için yeniden başlatma gerektirdiğinde ancak yeniden başlatma henüz gerçekleşmediğinde doğru olacaktır. |
| startTime |
string (date-time) |
İşlemin başladığı UTC zaman damgası. |
| status |
İşlemin genel başarı veya başarısızlık durumu. İşlem tamamlanana kadar "InProgress" olarak kalır. Bu noktada "Bilinmeyen", "Başarısız", "Başarılı" veya "CompletedWithWarnings" olur. |
BillingProfile
Azure Spot VM veya VMSS'nin faturalamayla ilgili ayrıntılarını belirtir. En düşük api sürümü: 2019-03-01.
| Name | Tür | Description |
|---|---|---|
| maxPrice |
number (double) |
Azure Spot VM/VMSS için ödemek istediğiniz maksimum fiyatı belirtir. Bu fiyat ABD Doları cinsindendir. |
BootDiagnostics
Önyükleme Tanılama, VM durumunu tanılamak için Konsol Çıkışını ve Ekran Görüntüsünü görüntülemenizi sağlayan bir hata ayıklama özelliğidir. Konsol günlüğünüzün çıkışını kolayca görüntüleyebilirsiniz. Azure ayrıca hiper yöneticiden VM'nin ekran görüntüsünü görmenizi sağlar.
| Name | Tür | Description |
|---|---|---|
| enabled |
boolean |
Sanal Makinede önyükleme tanılamasının etkinleştirilip etkinleştirilmemesi. |
| storageUri |
string |
Konsol çıkışını ve ekran görüntüsünü yerleştirmek için kullanılacak depolama hesabının Uri'si. Önyükleme tanılaması etkinleştirilirken storageUri belirtilmezse yönetilen depolama kullanılır. |
BootDiagnosticsInstanceView
Sanal makine önyükleme tanılamasının örnek görünümü.
| Name | Tür | Description |
|---|---|---|
| consoleScreenshotBlobUri |
string |
Konsol ekran görüntüsü blob URI'si. Not: Önyükleme tanılaması şu anda yönetilen depolama ile etkinleştirildiyse bu ayar . |
| serialConsoleLogBlobUri |
string |
Seri konsol günlük blobu Uri'si. Not: Önyükleme tanılaması şu anda yönetilen depolama ile etkinleştirildiyse bu ayar . |
| status |
VM için önyükleme tanılama durumu bilgileri. Not: Yalnızca önyükleme tanılamasını etkinleştirirken karşılaşılan hatalar varsa ayarlanır. |
CachingTypes
Önbelleğe alma gereksinimlerini belirtir. Olası değerler şunlardır: None,ReadOnly,ReadWrite. Varsayılan değerler şunlardır: Standart depolama için yok. Premium depolama için ReadOnly
| Değer | Description |
|---|---|
| None | |
| ReadOnly | |
| ReadWrite |
CapacityReservationProfile
Kapasite rezervasyon Profilinin parametreleri.
| Name | Tür | Description |
|---|---|---|
| capacityReservationGroup |
Yeterli kapasite ayrılmış olarak sağlanan sanal makineyi veya ölçek kümesi vm örneklerini ayırmada kullanılacak kapasite ayırma grubu kaynak kimliğini belirtir. Daha fazla bilgi için lütfen https://aka.ms/CapacityReservation bakın. |
|
| disableCapacityReservationAssignment |
boolean |
Sanal makinenin herhangi bir kapasite rezervasyonuyla ilişkilendirilmekten açıkça mu ayrılıp çıkarılmadığını belirtir. Doğru olarak ayarlandığında, sanal makinenin herhangi bir kapasite rezervasyonu ile örtük veya açık ilişkiye girmesine izin verilmez ve halka açık kapasiteden kapasite tüketir. Minimum API sürümü: 2026-04-01. |
CapacityReservationType
Uygun olursa sanal makinenin hangi tür kapasite rezervasyonundan kapasite tüketeceğini veya abonelikte mevcut herhangi bir rezerve kapasiteden ilişkilendirilmekten açıkça vazgeçip kapatıp kullanılmadığını belirtir. Minimum API sürümü: 2026-04-01.
| Değer | Description |
|---|---|
| NotEligible |
Sanal makine, açık kapasite rezervasyonuyla örtük olarak ilişkilendirilmeye uygun değildir ve herhangi bir kapasite rezervasyon grubuyla açıkça ilişkilendirilmez, bu nedenle halka açık kapasiteden kapasite tüketir. |
| Targeted |
Sanal makine, hedeflenen türde kapasite rezervasyonu grubu kaynağı ile ilişkilendirildiğinde belirli bir eşleşen kapasite rezervasyonundan kapasiteyi tüketir, ancak hedeflenen rezervasyonda kapasite yoksa halka açık kapasiteden kapasiteyi tüketmeye geri dönebilir. |
| Open |
Uygun olan sanal makine, abonelikte oluşturulan veya paylaşılan eşleşen açık kapasite rezervasyonundan elde edilen herhangi bir mevcut kapasiteyi örtük olarak ilişkilendirir ve tüketir. Not: VM, eşleşen rezervasyonu içeren açık kapasite rezervasyon grubu kaynağı ile açıkça ilişkilendirilmemelidir. |
| Disabled |
Sanal makinede kapasite rezervasyonu devre dışı bırakılmış ve herhangi bir kapasite rezervasyonu ile örtük veya açık ilişkilendirilmesine izin verilmeyecektir. |
| Block |
Sanal makine, blok tipi kapasite rezervasyonu grubu kaynağıyla ilişkilendirildiğinde belirli bir eşleşen kapasite rezervasyonundan kapasite tüketir ve blok rezervasyonunda kullanılabilir kapasite yoksa kapasite arızalarına maruz kalır. |
CloudError
İşlem hizmetinden bir hata yanıtı.
| Name | Tür | Description |
|---|---|---|
| error |
API hatası. |
Common.UserAssignedIdentitiesValue
| Name | Tür | Description |
|---|---|---|
| clientId |
string |
Kullanıcı tarafından atanan kimliğin istemci kimliği. |
| principalId |
string |
Kullanıcı tarafından atanan kimliğin asıl kimliği. |
ComponentNames
| Değer | Description |
|---|---|
| Microsoft-Windows-Shell-Setup |
createdByType
Kaynağı oluşturan kimliğin türü.
| Değer | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
DataDisk
Veri disklerini açıklar.
| Name | Tür | Description |
|---|---|---|
| caching |
Önbelleğe alma gereksinimlerini belirtir. Olası değerler şunlardır: Yok,Salt Okunur,Okuma Yazma. Varsayılan davranış: Standart depolama için yok . Premium depolama için ReadOnly. |
|
| createOption |
Sanal makine diskinin nasıl oluşturulması gerektiğini belirtir. Olası değerler Ekleme: Bu değer, sanal makineyi oluşturmak için özelleştirilmiş bir disk kullanırken kullanılır. FromImage: Bu değer, sanal makine veri diskini oluşturmak için bir görüntü kullanırken kullanılır. Platform görüntüsü kullanıyorsanız, yukarıda açıklanan imageReference öğesini de kullanmanız gerekir. Market görüntüsü kullanıyorsanız daha önce açıklanan plan öğesini de kullanmanız gerekir. Boş: Bu değer boş bir veri diski oluşturulurken kullanılır. Kopyalama: Bu değer bir anlık görüntüden veya başka bir diskten veri diski oluşturmak için kullanılır. Geri yükleme: Bu değer, bir disk geri yükleme noktasından veri diski oluşturmak için kullanılır. |
|
| deleteOption |
VM silindikten sonra veri disklerinin silinip silinmeyeceğini veya ayrılıp ayrılmayacağını belirtir. Olası değerler şunlardır: silme . Bu değer kullanılırsa, VM silindiğinde veri diski silinir. Ayırmak. Bu değer kullanılırsa, VM silindikten sonra veri diski korunur. Varsayılan değer Ayırmaolarak ayarlanır. |
|
| detachOption |
Bir diski ayırırken kullanılacak veya zaten sanal makineden ayrılma sürecinde olan ayırma davranışını belirtir. Desteklenen değerler: ForceDetach . detachOption: ForceDetach yalnızca yönetilen veri diskleri için geçerlidir. Veri diskinin önceki bir ayırma denemesi sanal makineden beklenmeyen bir hata nedeniyle tamamlanmadıysa ve disk hala serbest bırakılmadıysa, diski VM'den zorla ayırmak için son çare seçeneği olarak force-detach kullanın. Bu ayırma davranışı kullanılırken tüm yazma işlemleri temizlenmemiş olabilir. Bu özellik hala önizleme aşamasındadır. Veri diski güncelleştirmesini zorla ayırmak içinBeDetached 'true' değerine ve detachOption: 'ForceDetach' ayarını ayarlayın. |
|
| diskIOPSReadWrite |
integer (int64) |
StorageAccountType UltraSSD_LRS yönetilen disk için Read-Write IOPS'yi belirtir. |
| diskMBpsReadWrite |
integer (int64) |
StorageAccountType UltraSSD_LRS yönetilen disk için saniyede MB cinsinden bant genişliğini belirtir. |
| diskSizeGB |
integer (int32) |
Boş bir veri diskinin boyutunu gigabayt cinsinden belirtir. Bu öğe, sanal makine görüntüsündeki diskin boyutunun üzerine yazmak için kullanılabilir. 'diskSizeGB' özelliği disk için bayt sayısı x 1024^3'tür ve değer 1023'ten büyük olamaz. |
| image |
Kaynak kullanıcı görüntüsü sanal sabit diski. Sanal sabit disk, sanal makineye eklenmeden önce kopyalanır. SourceImage sağlanmışsa, hedef sanal sabit sürücü mevcut olmamalıdır. |
|
| lun |
integer (int32) |
Veri diskinin mantıksal birim numarasını belirtir. Bu değer VM içindeki veri disklerini tanımlamak için kullanılır ve bu nedenle vm'ye bağlı her veri diski için benzersiz olmalıdır. |
| managedDisk |
Yönetilen disk parametreleri. |
|
| name |
string |
Disk adı. |
| sourceResource |
Kaynak kaynak tanımlayıcısı. Bir anlık görüntü veya diskin oluşturulacağı disk geri yükleme noktası olabilir. |
|
| storageFaultDomainAlignment |
Disk için depolama hata alanı hizalama türünü belirtir. |
|
| toBeDetached |
boolean |
Veri diskinin VirtualMachine/VirtualMachineScaleset'ten ayrılma sürecinde olup olmadığını belirtir |
| vhd |
Sanal sabit disk. |
|
| writeAcceleratorEnabled |
boolean |
diskte writeAccelerator'ın etkinleştirilip etkinleştirilmeymeyeceğini veya devre dışı bırakılıp bırakılmayacağını belirtir. |
DeleteOptions
VM silindiğinde ağ arabirimine ne olacağını belirtin
| Değer | Description |
|---|---|
| Delete | |
| Detach |
DiagnosticsProfile
Önyükleme tanılama ayarları durumunu belirtir. En düşük api sürümü: 2015-06-15.
| Name | Tür | Description |
|---|---|---|
| bootDiagnostics |
Önyükleme Tanılama, VM durumunu tanılamak için Konsol Çıkışını ve Ekran Görüntüsünü görüntülemenizi sağlayan bir hata ayıklama özelliğidir. NOT: storageUri belirtiliyorsa depolama hesabının VM ile aynı bölgede ve abonelikte olduğundan emin olun. Konsol günlüğünüzün çıkışını kolayca görüntüleyebilirsiniz. Azure ayrıca hiper yöneticiden VM'nin ekran görüntüsünü görmenizi sağlar. |
DiffDiskOptions
İşletim sistemi diski için kısa ömürlü disk seçeneğini belirtir.
| Değer | Description |
|---|---|
| Local |
DiffDiskPlacement
İşletim sistemi diski için kısa ömürlü disk yerleşimini belirtir. Bu özellik, istekteki kullanıcı tarafından kısa ömürlü işletim sistemi diski sağlama için önbellek diski, kaynak disk veya nvme disk alanı gibi bir konumu seçmek için kullanılabilir. Kısa ömürlü işletim sistemi disk boyutu gereksinimleri hakkında daha fazla bilgi için lütfen https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements'da Windows VM için kısa ömürlü işletim sistemi disk boyutu gereksinimleri ve https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements'deki Linux VM'ye bakın. NvmeDisk için en düşük api sürümü: 2024-03-01.
| Değer | Description |
|---|---|
| CacheDisk | |
| ResourceDisk | |
| NvmeDisk |
DiffDiskSettings
İşletim sistemi diski için belirtilebilen kısa ömürlü disk ayarlarının parametrelerini açıklar. Not: Kısa ömürlü disk ayarları yalnızca yönetilen disk için belirtilebilir.
| Name | Tür | Description |
|---|---|---|
| enableFullCaching |
boolean |
Bu VM için tam önbelleklemenin etkinleştirilip etkinleştirilmeyeceğini belirtir; bu da işletim sistemi diskini ana bilgisayarda yerel olarak önbellek yapar ve bu VM'yi depolama kesintilerine karşı daha dayanıklı hale getirir |
| option |
İşletim sistemi diski için kısa ömürlü disk ayarlarını belirtir. |
|
| placement |
İşletim sistemi diski için kısa ömürlü disk yerleşimini belirtir. Olası değerler şunlardır: CacheDisk,ResourceDisk,NvmeDisk. Varsayılan davranış şunlardır: Vm boyutu için yapılandırılmışsa CacheDisk aksi takdirde ResourceDisk veya NvmeDisk. Önbellek diskini kullanıma sunan VM boyutlarını denetlemek için https://docs.microsoft.com/azure/virtual-machines/windows/sizes'de Windows VM ve https://docs.microsoft.com/azure/virtual-machines/linux/sizes'de Linux VM için VM boyutu belgelerine bakın. NvmeDisk için en düşük api sürümü: 2024-03-01. |
DiskApiVersion
Yönetilen disklere extraalDiskProperties uygulanırken kullanılan Disk API sürümünü belirtir. Değer YYYY-MM-DD formatında olmalıdır.
| Değer | Description |
|---|---|
| 2025-01-02 |
2025-01-02 Disk RP API sürümü. |
| 2026-03-02 |
2026-03-02 Disk RP API sürümü. |
DiskAvailabilityPolicy
Diskte bir erişilebilirlik veya bağlantı sorunu olursa, VM'nizin davranışını belirtin.
| Name | Tür | Description |
|---|---|---|
| actionOnDiskDelay |
Yavaş G/Ç ile disklerin nasıl işleneceğini belirler. |
DiskControllerTypes
VM ve VirtualMachineScaleSet için yapılandırılan disk denetleyicisi türünü belirtir. Bu özellik yalnızca işletim sistemi diski ve VM sku'su 2. Nesil 'i (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2) destekleyen sanal makineler için desteklenir. Lütfen bölge için Microsoft.Compute SKU'ları api'sinin V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list) içerdiği yanıtta VM sku özelliklerinin bir parçası olarak döndürülen HyperVGenerations özelliğini denetleyin. Desteklenen Disk Denetleyicisi Türleri hakkında daha fazla bilgi için lütfen https://aka.ms/azure-diskcontrollertypesbölümüne bakın.
| Değer | Description |
|---|---|
| SCSI | |
| NVMe |
DiskCreateOptionTypes
Sanal makine diskinin nasıl oluşturulması gerektiğini belirtir. Olası değerler Ekleme: Bu değer, sanal makineyi oluşturmak için özelleştirilmiş bir disk kullanırken kullanılır. fromImage : Bu değer, sanal makineyi oluşturmak için bir görüntü kullanırken kullanılır. Platform görüntüsü kullanıyorsanız, yukarıda açıklanan imageReference öğesini de kullanmanız gerekir. Market görüntüsü kullanıyorsanız daha önce açıklanan plan öğesini de kullanmanız gerekir. Boş: Bu değer boş bir veri diski oluşturulurken kullanılır. Kopyalama: Bu değer bir anlık görüntüden veya başka bir diskten veri diski oluşturmak için kullanılır. Geri yükleme: Bu değer, bir disk geri yükleme noktasından veri diski oluşturmak için kullanılır.
| Değer | Description |
|---|---|
| FromImage | |
| Empty | |
| Attach | |
| Copy | |
| Restore |
DiskDeleteOptionTypes
VM silindiğinde yönetilen diskin davranışını belirtir, örneğin yönetilen diskin silinip silinmediğini veya ayrılıp ayrılmadığını belirtir. Desteklenen değerler şunlardır: Delete. Bu değer kullanılırsa, VM silindiğinde yönetilen disk silinir. Ayırmak. Bu değer kullanılırsa, VM silindikten sonra yönetilen disk korunur. En düşük api sürümü: 2021-03-01.
| Değer | Description |
|---|---|
| Delete | |
| Detach |
DiskDetachOptionTypes
Bir diski ayırırken kullanılacak veya zaten sanal makineden ayrılma sürecinde olan ayırma davranışını belirtir. Desteklenen değerler şunlardır: ForceDetach. detachOption: ForceDetach yalnızca yönetilen veri diskleri için geçerlidir. Veri diskinin önceki bir ayırma denemesi sanal makineden beklenmeyen bir hata nedeniyle tamamlanmadıysa ve disk hala serbest bırakılmadıysa, diski VM'den zorla ayırmak için son çare seçeneği olarak force-detach kullanın. Bu ayırma davranışı kullanılırken tüm yazma işlemleri temizlenmemiş olabilir. Bu özellik hala önizleme aşamasındadır. Veri diski güncelleştirmesini zorla ayırmak içinBeDetached 'true' değerine ve detachOption: 'ForceDetach' ayarını ayarlayın.
| Değer | Description |
|---|---|
| ForceDetach |
DiskEncryptionSetParameters
Disk için belirtilebilen müşteri tarafından yönetilen disk şifreleme kümesi kaynak kimliğinin parametresini açıklar. Not: Disk şifreleme kümesi kaynak kimliği yalnızca yönetilen disk için belirtilebilir. Daha fazla bilgi için lütfen https://aka.ms/mdssewithcmkoverview bakın.
| Name | Tür | Description |
|---|---|---|
| id |
string |
Kaynak Kimliği |
DiskEncryptionSettings
Disk için Şifreleme Ayarlarını açıklar
| Name | Tür | Description |
|---|---|---|
| diskEncryptionKey |
Anahtar Kasası Gizli Anahtarı olan disk şifreleme anahtarının konumunu belirtir. |
|
| enabled |
boolean |
Sanal makinede disk şifrelemesinin etkinleştirilip etkinleştirilmeymeyeceğini belirtir. |
| keyEncryptionKey |
Anahtar şifreleme anahtarının Key Vault'taki konumunu belirtir. |
DiskInstanceView
Diskin örnek görünümü.
| Name | Tür | Description |
|---|---|---|
| encryptionSettings |
İşletim sistemi diskinin şifreleme ayarlarını belirtir. |
|
| name |
string |
Disk adı. |
| statuses |
Kaynak durumu bilgileri. |
|
| storageAlignmentStatus |
Disk için depolama hizalama durumunu belirtir. |
DomainNameLabelScopeTypes
Etki alanı adı etiket kapsamı. Etki alanı adı etiketi kapsamı ve vm dizininden ilkeye göre oluşturulan karma etki alanı adı etiketinin birleştirilmiş olması, oluşturulacak PublicIPAddress kaynaklarının etki alanı adı etiketleri olacaktır
| Değer | Description |
|---|---|
| TenantReuse | |
| SubscriptionReuse | |
| ResourceGroupReuse | |
| NoReuse |
EncryptionIdentity
Anahtar kasası işlemleri için erişim belirteci almak için ADE tarafından kullanılan Yönetilen Kimliği belirtir.
| Name | Tür | Description |
|---|---|---|
| userAssignedIdentityResourceId |
string |
VM ile ilişkili kullanıcı kimliklerinden birinin ARM Kaynak Kimliğini belirtir. |
EventGridAndResourceGraph
eventGridAndResourceGraph ile ilgili Zamanlanmış Olayla ilgili yapılandırmaları belirtir.
| Name | Tür | Description |
|---|---|---|
| enable |
boolean |
Zamanlanan olayla ilgili yapılandırmalar için olay kılavuzu ve kaynak grafiğinin etkinleştirilip etkinleştirilmediğini belirtir. |
| scheduledEventsApiVersion |
string |
Hangi Zamanlanmış Olaylar yapılandırma şeması sürümünün teslim edileceğini belirlemek için api-version değerini belirtir. |
ExtendedLocation
Genişletilmiş konumun karmaşık türü.
| Name | Tür | Description |
|---|---|---|
| name |
string |
Genişletilmiş konumun adı. |
| type |
Genişletilmiş konumun türü. |
ExtendedLocationTypes
Genişletilmiş konumun türü.
| Değer | Description |
|---|---|
| EdgeZone |
HardwareProfile
Sanal makine için donanım ayarlarını belirtir.
| Name | Tür | Description |
|---|---|---|
| processorMode |
Sanal makine veya sanal makine ölçek seti için işlemci modunu belirler. İsteğe bağlı; eğer hariç tutulursa, platform varsayılan geçerlidir (şu anda Deterministik). Bu özellik, çalışan bir VM veya VMSS'de açılış veya yeniden başlatma olmadan güncellenebilir. Minimum API sürümü: 2026-04-01. |
|
| vmSize |
Sanal makinenin boyutunu belirtir. Sabit listesi veri türü şu anda kullanım dışıdır ve 23 Aralık 2023'e kadar kaldırılacaktır. Kullanılabilir boyutların listesini almak için önerilen yol şu API'leri kullanmaktır: Kullanılabilirlik kümesindeki tüm kullanılabilir sanal makine boyutlarınılisteleyin bir bölgedeki tüm kullanılabilir sanal makine boyutlarını listeleyin yeniden boyutlandırmak için tüm kullanılabilir sanal makine boyutlarını listeleyin. Sanal makine boyutları hakkında daha fazla bilgi için bkz.sanal makineler için |
|
| vmSizeProperties |
Sanal makinenin boyutunu özelleştirmeye yönelik özellikleri belirtir. En düşük api sürümü: 2021-07-01. Bu özellik hala önizleme modundadır ve VirtualMachineScaleSet için desteklenmez. Daha fazla bilgi için lütfen vm özelleştirme |
HostEndpointSettings
Belirli konak uç noktası ayarlarını belirtir.
| Name | Tür | Description |
|---|---|---|
| inVMAccessControlProfileReferenceId |
string |
InVMAccessControlProfileVersion kaynak kimliğini /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version} biçiminde belirtir |
| mode |
Yürütme modunu belirtir. Denetim modunda sistem, günlüklere erişim engelleme girdileri yaymak da dahil olmak üzere erişim denetimi ilkesini zorunluyormuş gibi davranır, ancak konak uç noktalarına yönelik istekleri gerçekten reddetmez. Zorla modunda, sistem erişim denetimini zorlar ve önerilen işlem modudur. |
|
| useLocalFileRules |
boolean |
True olarak ayarlandığında, VM içindeki GuestProxyAgent'a VM'deki yerel bir dosyada tanımlanmış ek erişim kontrol kurallarını yüklemesini talimat verir. |
HyperVGenerationType
Bir kaynakla ilişkilendirilmiş HyperVGeneration Türünü belirtir
| Değer | Description |
|---|---|
| V1 | |
| V2 |
ImageReference
Kullanılacak görüntü hakkındaki bilgileri belirtir. Platform görüntüleri, market görüntüleri veya sanal makine görüntüleri hakkında bilgi belirtebilirsiniz. Bu öğe bir platform görüntüsü, market görüntüsü veya sanal makine görüntüsü kullanmak istediğinizde gereklidir, ancak diğer oluşturma işlemlerinde kullanılmaz. NOT: Görüntü başvurusu yayımcısı ve teklifi yalnızca ölçek kümesini oluşturduğunuzda ayarlanabilir.
| Name | Tür | Description |
|---|---|---|
| communityGalleryImageId |
string |
Vm dağıtımı için topluluk galerisi görüntüsü benzersiz kimliği belirtildi. Bu, topluluk galerisi görüntüsü GET çağrısından getirilebilir. |
| exactVersion |
string |
Ondalık sayılarda, sanal makineyi oluşturmak için kullanılan platform görüntüsünün veya market görüntüsünün sürümünü belirtir. Bu salt okunur alan yalnızca 'version' alanında belirtilen değer 'en son' olduğunda 'sürüm'den farklıdır. |
| id |
string |
Kaynak Kimliği |
| offer |
string |
Sanal makineyi oluşturmak için kullanılan platform görüntüsünün veya market görüntüsünün teklifini belirtir. |
| publisher |
string |
Görüntü yayımcısı. |
| sharedGalleryImageId |
string |
Vm dağıtımı için paylaşılan galeri görüntüsü benzersiz kimliği belirtildi. Bu, paylaşılan galeri görüntüsü GET çağrısından getirilebilir. |
| sku |
string |
Görüntü SKU'su. |
| version |
string |
Sanal makineyi oluşturmak için kullanılan platform görüntüsünün veya market görüntüsünün sürümünü belirtir. İzin verilen biçimler Major.Minor.Build veya 'en son' biçimlerdir. Major, Minor ve Build ondalık sayılardır. Dağıtım zamanında kullanılabilen bir görüntünün en son sürümünü kullanmak için 'en son' değerini belirtin. 'En son' kullansanız bile, yeni bir sürüm kullanılabilir olsa bile vm görüntüsü dağıtım zamanından sonra otomatik olarak güncelleştirilmeyecektir. Galeri görüntüsü dağıtımı için lütfen 'version' alanını kullanmayın, galeri görüntüsü her zaman dağıtım için 'id' alanını kullanmalıdır, galeri görüntüsünün 'en son' sürümünü kullanmak için yalnızca '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{imageName}' öğesini sürüm girişi olmadan ayarlayın. |
InnerError
İç hata ayrıntıları.
| Name | Tür | Description |
|---|---|---|
| errordetail |
string |
İç hata iletisi veya özel durum dökümü. |
| exceptiontype |
string |
Özel durum türü. |
InstanceViewStatus
Örnek görünümü durumu.
| Name | Tür | Description |
|---|---|---|
| code |
string |
Durum kodu. |
| displayStatus |
string |
Durum için kısa yerelleştirilebilir etiket. |
| level |
Düzey kodu. |
|
| message |
string |
Uyarılar ve hata iletileri dahil olmak üzere ayrıntılı durum iletisi. |
| time |
string (date-time) |
Durum zamanı. |
InterconnectBlockProfile
Bir Bağlantı Blok Profilinin parametreleri.
| Name | Tür | Description |
|---|---|---|
| interconnectBlock |
Yeterli kapasite rezerve edilmiş olduğu sürece Sanal Makine veya Ölçek Seti VM örneklerinin tahsisinde kullanılması gereken Bağlantı Bloğu kaynak kimliğini belirtir. |
InterconnectGroupProfile
VM'yi bir bağlantı grubu ve alt gruplarla ilişkilendirmek için kullanılan sanal makine için bağlantı grubu profilini belirtir.
| Name | Tür | Description |
|---|---|---|
| interconnectGroup |
Bağlantı grubu kaynağına referans. |
|
| subgroups |
Bağlantı grubu içindeki alt grup referanslarının listesi. |
InterconnectInstanceView
Interconnect Block örneği, bir Sanal Makine veya Scale Set VM örneği için detayları sunar.
| Name | Tür | Description |
|---|---|---|
| interconnectSubgroupId |
string |
Sanal Makinenin yerleştirildiği Bağlantı alt grubunun kimliği (GUID). |
IPVersions
Api-Version 2017-03-30'dan itibaren kullanılabilir, belirli ipconfiguration'ın IPv4 veya IPv6 olup olmadığını temsil eder. Varsayılan değer IPv4 olarak alınır. Olası değerler şunlardır: 'IPv4' ve 'IPv6'.
| Değer | Description |
|---|---|
| IPv4 | |
| IPv6 |
KeyVaultKeyReference
Key Vault Anahtarına bir başvuru açıklar
| Name | Tür | Description |
|---|---|---|
| keyUrl |
string |
Key Vault'ta anahtar şifreleme anahtarına başvuran URL. |
| sourceVault |
Anahtarı içeren Key Vault'un göreli URL'si. |
KeyVaultSecretReference
Key Vault Gizli Dizisine bir başvuru açıklar
| Name | Tür | Description |
|---|---|---|
| secretUrl |
string |
Key Vault'ta gizli diziye başvuran URL. |
| sourceVault |
Gizli diziyi içeren Key Vault'un göreli URL'si. |
LastPatchInstallationSummary
Son yüklenen düzeltme eki özetinin özelliklerini açıklar.
| Name | Tür | Description |
|---|---|---|
| error |
İşlemin yürütülmesi sırasında karşılaşılan hatalar. Details dizisi bunların listesini içerir. |
|
| excludedPatchCount |
integer (int32) |
Müşteri tarafından belirtilen dışlama listesi eşleşmesi tarafından açıkça hariç tutulan tüm kullanılabilir düzeltme eklerinin sayısı. |
| failedPatchCount |
integer (int32) |
Yüklemede başarısız olan düzeltme eklerinin sayısı. |
| installationActivityId |
string |
Bu sonucu üreten işlemin etkinlik kimliği. CRP ve uzantı günlükleri arasında bağıntı sağlamak için kullanılır. |
| installedPatchCount |
integer (int32) |
Başarıyla yüklenen düzeltme eklerinin sayısı. |
| lastModifiedTime |
string (date-time) |
İşlemin başladığı UTC zaman damgası. |
| maintenanceWindowExceeded |
boolean |
İşlemin amaçlanan tüm eylemlerini tamamlamadan önce süresinin tükenip bitmediğini açıklar |
| notSelectedPatchCount |
integer (int32) |
Kullanılabilir tüm düzeltme eklerinin sayısıdır, ancak bir sınıflandırma veya ekleme listesi girişiyle eşleşmediğinden yüklenmez. |
| pendingPatchCount |
integer (int32) |
Düzeltme eki yükleme işlemi boyunca yüklenmesi beklenen tüm kullanılabilir düzeltme eklerinin sayısı. |
| startTime |
string (date-time) |
İşlemin başladığı UTC zaman damgası. |
| status |
İşlemin genel başarı veya başarısızlık durumu. İşlem tamamlanana kadar "InProgress" olarak kalır. Bu noktada "Bilinmeyen", "Başarısız", "Başarılı" veya "CompletedWithWarnings" olur. |
LinuxConfiguration
Sanal makinedeki Linux işletim sistemi ayarlarını belirtir. Desteklenen Linux dağıtımlarının listesi için bkz.Azure-Endorsed Dağıtımlarında Linux
| Name | Tür | Description |
|---|---|---|
| disablePasswordAuthentication |
boolean |
Parola kimlik doğrulamasının devre dışı bırakılıp bırakılmayacağını belirtir. |
| enableVMAgentPlatformUpdates |
boolean |
VmAgent Platform Güncelleştirmelerinin Linux sanal makinesi için etkinleştirilip etkinleştirilmediğini gösterir. Varsayılan değer yanlış'tır. |
| patchSettings |
[Önizleme Özelliği] Linux'ta VM Konuk Düzeltme Eki Uygulama ile ilgili ayarları belirtir. |
|
| provisionVMAgent |
boolean |
Sanal makine aracısının sanal makinede sağlanıp sağlanmayacağını gösterir. Bu özellik istek gövdesinde belirtilmediğinde, varsayılan davranış bunu true olarak ayarlamaktır. Bu, VM'ye daha sonra uzantı eklenebilmesi için VM Aracısı'nın VM'ye yüklenmesini sağlar. |
| ssh |
Linux işletim sistemi için ssh anahtarı yapılandırmasını belirtir. |
LinuxPatchAssessmentMode
IaaS sanal makinesi için VM Konuk Düzeltme Eki Değerlendirmesi modunu belirtir.
Olası değerler şunlardır:
imageDefault
AutomaticByPlatform - Platform düzenli düzeltme eki değerlendirmelerini tetikler. provisionVMAgent özelliği true olmalıdır.
| Değer | Description |
|---|---|
| ImageDefault | |
| AutomaticByPlatform |
LinuxPatchSettings
Linux'ta VM Konuk Düzeltme Eki Uygulama ile ilgili ayarları belirtir.
| Name | Tür | Description |
|---|---|---|
| assessmentMode |
IaaS sanal makinesi için VM Konuk Düzeltme Eki Değerlendirmesi modunu belirtir. |
|
| automaticByPlatformSettings |
Linux üzerinde VM Konuk Düzeltme Eki Uygulama'da düzeltme eki modu AutomaticByPlatform için ek ayarları belirtir. |
|
| patchMode |
IaaS sanal makinesine veya OrchestrationMode ile sanal makine ölçek kümesiyle ilişkilendirilmiş sanal makinelere VM Konuk Düzeltme Eki Uygulama modunu Esnek olarak belirtir. |
LinuxVMGuestPatchAutomaticByPlatformRebootSetting
Tüm AutomaticByPlatform düzeltme eki yükleme işlemleri için yeniden başlatma ayarını belirtir.
| Değer | Description |
|---|---|
| Unknown | |
| IfRequired | |
| Never | |
| Always |
LinuxVMGuestPatchAutomaticByPlatformSettings
Linux düzeltme eki ayarlarında düzeltme eki modu AutomaticByPlatform seçildiğinde uygulanacak ek ayarları belirtir.
| Name | Tür | Description |
|---|---|---|
| bypassPlatformSafetyChecksOnUserSchedule |
boolean |
Müşterinin yanlışlıkla yükseltme yapmadan düzeltme eki uygulama zamanlamasını sağlar |
| rebootSetting |
Tüm AutomaticByPlatform düzeltme eki yükleme işlemleri için yeniden başlatma ayarını belirtir. |
LinuxVMGuestPatchMode
IaaS sanal makinesine veya OrchestrationMode ile sanal makine ölçek kümesiyle ilişkilendirilmiş sanal makinelere VM Konuk Düzeltme Eki Uygulama modunu Esnek olarak belirtir.
Olası değerler şunlardır:
ImageDefault - Sanal makinenin varsayılan düzeltme eki uygulama yapılandırması kullanılır.
AutomaticByPlatform - Sanal makine platform tarafından otomatik olarak güncelleştirilir. provisionVMAgent özelliği true olmalıdır
| Değer | Description |
|---|---|
| ImageDefault | |
| AutomaticByPlatform |
MaintenanceOperationResultCodeTypes
Son Bakım İşlemi Sonuç Kodu.
| Değer | Description |
|---|---|
| None | |
| RetryLater | |
| MaintenanceAborted | |
| MaintenanceCompleted |
MaintenanceRedeployStatus
Bakım İşlem Durumu.
| Name | Tür | Description |
|---|---|---|
| isCustomerInitiatedMaintenanceAllowed |
boolean |
Doğru, müşterinin Bakım gerçekleştirmesine izin veriliyorsa. |
| lastOperationMessage |
string |
Son Bakım İşlemi için ileti döndürüldü. |
| lastOperationResultCode |
Son Bakım İşlemi Sonuç Kodu. |
|
| maintenanceWindowEndTime |
string (date-time) |
Bakım Penceresi için Bitiş Saati. |
| maintenanceWindowStartTime |
string (date-time) |
Bakım Penceresi için Başlangıç Saati. |
| preMaintenanceWindowEndTime |
string (date-time) |
Bakım Öncesi Penceresi için Bitiş Zamanı. |
| preMaintenanceWindowStartTime |
string (date-time) |
Bakım Öncesi Penceresi için Başlangıç Saati. |
ManagedDiskParameters
Yönetilen diskin parametreleri.
| Name | Tür | Description |
|---|---|---|
| additionalDiskProperties |
Yönetilen disk için örtük oluşturulma anında ayarlanabilecek ek özellikleri belirtir. Bu özellik Restore Puanları için ele alınmaz. |
|
| diskEncryptionSet |
Yönetilen disk için müşteri tarafından yönetilen disk şifreleme kümesi kaynak kimliğini belirtir. |
|
| id |
string |
Kaynak Kimliği |
| securityProfile |
Yönetilen disk için güvenlik profilini belirtir. |
|
| storageAccountType |
Yönetilen disk için depolama hesabı türünü belirtir. NOT: UltraSSD_LRS yalnızca veri diskleriyle kullanılabilir, işletim sistemi diskiyle kullanılamaz. |
ManagedDiskProperties
Diskin örtük oluşturulma anında ayarlanabilen yönetilen bir diskin özelliklerini belirtir.
| Name | Tür | Description |
|---|---|---|
| availabilityPolicy |
Diskte bir erişilebilirlik veya bağlantı sorunu olursa, VM'nizin davranışını belirtin. |
|
| burstingEnabled |
boolean |
Diskin sağlanan performans hedefinin ötesinde patlamayı etkinleştirmek için true olarak ayarlayın. Patlatma varsayılan olarak devre dışıdır. Ultra diskler için geçerli değildir. |
| diskAccessId |
string |
Disklerde özel uç noktaları kullanmak için DiskAccess kaynağının Azure resource ID'si. |
| diskIOPSReadOnly |
integer (int64) |
Paylaşılan diski ReadOnly olarak takan tüm VM'lerde izin verilecek toplam IOPS sayısı. Bir işlem 4k ile 256k bayt arasında aktarım yapabilir. |
| diskMBpsReadOnly |
integer (int64) |
Paylaşılan diski ReadOnly olarak bağlamak için tüm VM'lerde izin verilecek toplam aktarım hızı (MB/sn). MB/sn, saniyede milyonlarca bayt anlamına gelir. Burada MB değeri, 10'un gücünün ISO gösterimini kullanır. |
| logicalSectorSize |
integer (int32) |
Ultra Diskler için bayt cinsinden mantıksal sektör boyutu. Desteklenen değerler 512 ve 4096'dır. Varsayılan değer 4096'dır. |
| maxShares |
integer (int32) minimum: 1 |
Diske aynı anda eklenebilen vm sayısı üst sınırı. Birden büyük değer, aynı anda birden çok VM'ye bağlanabilen bir diski gösterir. Sadece veri diskleri için geçerlidir. |
| networkAccessPolicy |
Diske ağ üzerinden erişim ilkesi. |
|
| optimizedForFrequentAttach |
boolean |
Bu özelliğin true olarak ayarlanması, sık sık (günde 5 kezden fazla) bir sanal makineden ayrılıp diğerine bağlı veri disklerinin güvenilirliğini ve performansını artırır. Bu özellik, disklerin sanal makinenin hata etki alanıyla hizalanmamalarına neden olduğundan, ayrılmamış ve sık sık bağlı olmayan diskler için ayarlanmamalıdır. |
| performancePlus |
boolean |
Dağıtılan diskin performans hedefini artırmak için bu bayrağı true olarak ayarlayın. Bu bayrak yalnızca disk oluşturma zamanında ayarlanabilir ve etkinleştirildikten sonra devre dışı bırakılamaz. |
| tier |
string |
Diskin performans seviyesi (örneğin, P4, S10) burada açıklandığı gibi: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Ultra diskler için geçerli değildir. |
Mode
Özellik etkinse ProxyAgent'ın yürütüleceği modu belirtir. ProxyAgent denetime veya izlemeye başlar ancak Denetim modunda konak uç noktalarına yönelik istekler üzerinde erişim denetimini zorlamazken, Zorlama modunda erişim denetimini zorunlu kılacaktır. Varsayılan değer Zorlama modudur.
| Değer | Description |
|---|---|
| Audit | |
| Enforce |
Modes
Yürütme modunu belirtir. Denetim modunda sistem, günlüklere erişim engelleme girdileri yaymak da dahil olmak üzere erişim denetimi ilkesini zorunluyormuş gibi davranır, ancak konak uç noktalarına yönelik istekleri gerçekten reddetmez. Zorla modunda, sistem erişim denetimini zorlar ve önerilen işlem modudur.
| Değer | Description |
|---|---|
| Audit | |
| Enforce | |
| Disabled |
NetworkAccessPolicy
Diske ağ üzerinden erişim ilkesi.
| Değer | Description |
|---|---|
| AllowAll |
Disk herhangi bir ağdan dışa aktarılabilir veya yüklenebilir. |
| AllowPrivate |
Disk, bir DiskAccess kaynağının özel uç noktaları kullanılarak dışa aktarılabilir veya yüklenebilir. |
| DenyAll |
Disk dışarı aktarılamıyor. |
NetworkApiVersion
Ağ Arabirimi Yapılandırmalarında ağ kaynakları oluşturulurken kullanılan Microsoft.Network API sürümünü belirtir
| Değer | Description |
|---|---|
| 2020-11-01 | |
| 2022-11-01 |
NetworkInterfaceAuxiliaryMode
Yardımcı modun Ağ Arabirimi kaynağı için etkinleştirilip etkinleştirilmediğini belirtir.
| Değer | Description |
|---|---|
| None | |
| AcceleratedConnections | |
| Floating |
NetworkInterfaceAuxiliarySku
Yardımcı sku'nun Ağ Arabirimi kaynağı için etkinleştirilip etkinleştirilmediğini belirtir.
| Değer | Description |
|---|---|
| None | |
| A1 | |
| A2 | |
| A4 | |
| A8 |
NetworkInterfaceReference
Ağ arabirimi başvurularını açıklar.
| Name | Tür | Description |
|---|---|---|
| id |
string |
Kaynak Kimliği |
| properties.deleteOption |
VM silindiğinde ağ arabirimine ne olacağını belirtin |
|
| properties.primary |
boolean |
Sanal makinenin 1'den fazla ağ arabirimi olması durumunda birincil ağ arabirimini belirtir. |
NetworkProfile
Sanal makinenin ağ arabirimlerini veya ağ yapılandırmasını belirtir.
| Name | Tür | Description |
|---|---|---|
| interconnectGroupProfile |
Sanal makineyle ilişkilendirilecek bağlantı grup profilini belirler. Minimum API sürümü: 2026-03-01. |
|
| networkApiVersion |
Ağ Arabirimi Yapılandırmalarında ağ kaynakları oluşturulurken kullanılan Microsoft.Network API sürümünü belirtir |
|
| networkInterfaceConfigurations |
Sanal makine ağ kaynaklarını oluşturmak için kullanılacak ağ yapılandırmalarını belirtir. |
|
| networkInterfaces |
Sanal makineyle ilişkilendirilmiş ağ arabirimleri için kaynak kimliklerinin listesini belirtir. |
OperatingSystemTypes
Bu özellik, özel bir görüntüden VM oluşturuyorsanız diske dahil edilen işletim sisteminin türünü belirtmenize olanak tanır. Olası değerler şunlardır: Windows,Linux.
| Değer | Description |
|---|---|
| Windows | |
| Linux |
OSDisk
Sanal makine tarafından kullanılan işletim sistemi diski hakkındaki bilgileri belirtir. Diskler hakkında daha fazla bilgi için bkz. Azure sanal makineleri için diskler ve VHD'ler hakkında.
| Name | Tür | Description |
|---|---|---|
| caching |
Önbelleğe alma gereksinimlerini belirtir. Olası değerler şunlardır: Yok,Salt Okunur,Okuma Yazma. Varsayılan davranış: Standart depolama için yok . Premium depolama için ReadOnly. |
|
| createOption |
Sanal makine diskinin nasıl oluşturulması gerektiğini belirtir. Olası değerler Ekleme: Bu değer, sanal makineyi oluşturmak için özelleştirilmiş bir disk kullanırken kullanılır. fromImage : Bu değer, sanal makineyi oluşturmak için bir görüntü kullanırken kullanılır. Platform görüntüsü kullanıyorsanız, yukarıda açıklanan imageReference öğesini de kullanmanız gerekir. Market görüntüsü kullanıyorsanız daha önce açıklanan plan öğesini de kullanmanız gerekir. |
|
| deleteOption |
VM silindikten sonra işletim sistemi disklerinin silinip silinmeyeceğini veya ayrılıp ayrılmayacağını belirtir. Olası değerler şunlardır: silme . Bu değer kullanılırsa, VM silindiğinde işletim sistemi diski silinir. Ayırmak. Bu değer kullanılırsa, VM silindikten sonra işletim sistemi diski korunur. Varsayılan değer Ayırmaolarak ayarlanır. Kısa ömürlü işletim sistemi diski için, varsayılan değer Deleteolarak ayarlanır. Kullanıcı kısa ömürlü işletim sistemi diski için silme seçeneğini değiştiremez. |
|
| diffDiskSettings |
Sanal makine tarafından kullanılan işletim sistemi diski için kısa ömürlü Disk Ayarlarını belirtir. |
|
| diskSizeGB |
integer (int32) |
Boş bir veri diskinin boyutunu gigabayt cinsinden belirtir. Bu öğe, sanal makine görüntüsündeki diskin boyutunun üzerine yazmak için kullanılabilir. 'diskSizeGB' özelliği disk için bayt sayısı x 1024^3'tür ve değer 1023'ten büyük olamaz. |
| encryptionSettings |
İşletim sistemi diskinin şifreleme ayarlarını belirtir. En düşük api sürümü: 2015-06-15. |
|
| image |
Kaynak kullanıcı görüntüsü sanal sabit diski. Sanal sabit disk, sanal makineye eklenmeden önce kopyalanır. SourceImage sağlanmışsa, hedef sanal sabit sürücü mevcut olmamalıdır. |
|
| managedDisk |
Yönetilen disk parametreleri. |
|
| name |
string |
Disk adı. |
| osType |
Bu özellik, kullanıcı görüntüsünden veya özelleştirilmiş bir VHD'den VM oluşturuyorsanız diske dahil edilen işletim sisteminin türünü belirtmenize olanak tanır. Olası değerler şunlardır: Windows,Linux. |
|
| storageFaultDomainAlignment |
Disk için depolama hata alanı hizalama türünü belirtir. |
|
| vhd |
Sanal sabit disk. |
|
| writeAcceleratorEnabled |
boolean |
diskte writeAccelerator'ın etkinleştirilip etkinleştirilmeymeyeceğini veya devre dışı bırakılıp bırakılmayacağını belirtir. |
OSImageNotificationProfile
| Name | Tür | Description |
|---|---|---|
| enable |
boolean |
İşletim Sistemi Görüntüsü Zamanlanmış olayının etkinleştirilip etkinleştirilmediğini veya devre dışı bırakıldığını belirtir. |
| notBeforeTimeout |
string |
Sanal Makinenin yeniden tasarlanan veya işletim sisteminin yükseltildiği süre, olay otomatik olarak onaylanmadan (zaman aşımına uğramadan) önce işletim sistemi görüntüsü zamanlanmış olayını onaylama olasılığına sahip olacaktır. Yapılandırma ISO 8601 biçiminde belirtilir ve değer 15 dakika (PT15M) olmalıdır |
OSProfile
Sanal makine için işletim sistemi ayarlarını belirtir. VM sağlandıktan sonra bazı ayarlar değiştirilemez.
| Name | Tür | Description |
|---|---|---|
| adminPassword |
string (password) |
Yönetici hesabının parolasını belirtir. |
| adminUsername |
string |
Yönetici hesabının adını belirtir. |
| allowExtensionOperations |
boolean |
Sanal makinede uzantı işlemlerine izin verilip verilmeyeceğini belirtir. Bu, yalnızca sanal makinede uzantı olmadığında False olarak ayarlanabilir. |
| computerName |
string |
Sanal makinenin konak işletim sistemi adını belirtir. Vm oluşturulduktan sonra bu ad güncelleştirilemez.
En uzun (Windows): 15 karakter.
En uzun (Linux): 64 karakter. Adlandırma kuralları ve kısıtlamaları için bkz. |
| customData |
string |
Özel verilerin 64 tabanında kodlanmış dizesini belirtir. Base-64 kodlanmış dizesinin kodu, Sanal Makinede dosya olarak kaydedilen ikili bir diziyle çözüldü. İkili dizinin uzunluk üst sınırı 65535 bayttır. Not: customData özelliğinde gizli dizi veya parola geçirmeyin. Vm oluşturulduktan sonra bu özellik güncelleştirilemez. 'customData' özelliği dosya olarak kaydedilecek VM'ye geçirilir, daha fazla bilgi için bkz. Azure VM'lerinde Özel Veriler. Linux VM'niz için cloud-init kullanmak için bkz. Oluşturma sırasında Linux VM'sini özelleştirmek için cloud-init kullanma. |
| linuxConfiguration |
Sanal makinedeki Linux işletim sistemi ayarlarını belirtir. Desteklenen Linux dağıtımlarının listesi için bkz.Azure-Endorsed Dağıtımlarında Linux |
|
| requireGuestProvisionSignal |
boolean |
True olarak ayarlanması veya atlanması gereken isteğe bağlı özellik. |
| secrets |
Sanal makineye yüklenmesi gereken sertifika kümesini belirtir. Sanal makineye sertifika yüklemek için Linux için |
|
| windowsConfiguration |
Sanal makinedeki Windows işletim sistemi ayarlarını belirtir. |
PassNames
| Değer | Description |
|---|---|
| OobeSystem |
PatchOperationStatus
İşlemin genel başarı veya başarısızlık durumu. İşlem tamamlanana kadar "InProgress" olarak kalır. Bu noktada "Bilinmeyen", "Başarısız", "Başarılı" veya "CompletedWithWarnings" olur.
| Değer | Description |
|---|---|
| Unknown | |
| InProgress | |
| Failed | |
| Succeeded | |
| CompletedWithWarnings |
PatchSettings
Windows'da VM Konuk Düzeltme Eki Uygulama ile ilgili ayarları belirtir.
| Name | Tür | Description |
|---|---|---|
| assessmentMode |
IaaS sanal makinesi için VM Konuk düzeltme eki değerlendirmesi modunu belirtir. |
|
| automaticByPlatformSettings |
Windows'da VM Konuk Düzeltme Eki Uygulama'da düzeltme eki modu AutomaticByPlatform için ek ayarları belirtir. |
|
| enableHotpatching |
boolean |
Müşterilerin yeniden başlatma gerektirmeden Azure VM'lerine düzeltme eki uygulamalarına olanak tanır. enableHotpatching için 'provisionVMAgent' true ve 'patchMode' değeri 'AutomaticByPlatform' olarak ayarlanmalıdır. |
| patchMode |
IaaS sanal makinesine veya OrchestrationMode ile sanal makine ölçek kümesiyle ilişkilendirilmiş sanal makinelere VM Konuk Düzeltme Eki Uygulama modunu Esnek olarak belirtir. |
Placement
Kaynak donanım yerleşimi için kullanıcı tanımlı kısıtlamaları açıklar.
| Name | Tür | Description |
|---|---|---|
| excludeZones |
string[] |
Bu özellik 'zonePlacementPolicy' özelliğini tamamlar. 'zonePlacementPolicy' 'Any'/'Auto' olarak ayarlanırsa, sistem tarafından seçilen kullanılabilirlik alanı 'excludeZones' ile geçirilen kullanılabilirlik alanları listesinde bulunmamalıdır. 'excludeZones' sağlanmazsa, bölgedeki tüm kullanılabilirlik alanları seçim için dikkate alınır. |
| includeZones |
string[] |
Bu özellik 'zonePlacementPolicy' özelliğini tamamlar. 'zonePlacementPolicy' 'Herhangi biri'/'Otomatik' olarak ayarlanırsa, sistem tarafından seçilen kullanılabilirlik alanının 'includeZones' ile geçirilen kullanılabilirlik alanları listesinde mevcut olması gerekir. 'includeZones' sağlanmazsa, bölgedeki tüm kullanılabilirlik alanları seçim için dikkate alınır. |
| zonePlacementPolicy |
Kaynağın kullanılabilirlik alanına yerleştirilmesine ilişkin ilkeyi belirtir. Olası değerler şunlardır: Herhangi biri (Sanal Makineler için kullanılır), Otomatik (Sanal Makine Ölçek Kümeleri için kullanılır) - Kaynak oluşturma işleminin bir parçası olarak sistem tarafından otomatik olarak bir kullanılabilirlik alanı seçilir. |
Plan
Sanal makineyi oluşturmak için kullanılan market görüntüsü hakkındaki bilgileri belirtir. Bu öğe yalnızca market görüntüleri için kullanılır. API'den market görüntüsü kullanabilmeniz için önce görüntüyü programlı kullanım için etkinleştirmeniz gerekir. Azure portalında, kullanmak istediğiniz market görüntüsünü bulun ve Program aracılığıyla dağıtmak istiyorum, Başlarken ->öğesine tıklayın. Gerekli bilgileri girin ve Kaydetöğesine tıklayın.
| Name | Tür | Description |
|---|---|---|
| name |
string |
Plan kimliği. |
| product |
string |
Marketten alınan görüntünün çarpımını belirtir. Bu, imageReference öğesi altındaki Offer ile aynı değerdir. |
| promotionCode |
string |
Promosyon kodu. |
| publisher |
string |
Yayımcı kimliği. |
ProcessorMode
Sanal makine için işlemci frekans davranışını belirtir. Her üyenin kontrol ettiği davranışı görün.
| Değer | Description |
|---|---|
| Deterministic |
Temel/nominal düzeyde öngörülebilir ve tutarlı işlemci frekansı sağlar. Turbo/Boost devre dışı bırakılmış. |
| Opportunistic |
Termal ve güç boşluğu izin verdiğinde daha yüksek frekanslı patlamalara izin verir. |
ProtocolTypes
WinRM dinleyicisinin protokolünün belirtir. Olası değerler şunlardır: http,
| Değer | Description |
|---|---|
| Http | |
| Https |
ProxyAgentSettings
Sanal makine veya sanal makine ölçek kümesi için ProxyAgent ayarlarını belirtir. En düşük api sürümü: 2023-09-01.
| Name | Tür | Description |
|---|---|---|
| addProxyAgentExtension |
boolean |
ProxyAgent Uzantısının örtük olarak yüklenip yüklenmeyeceğini belirtin. Bu seçenek şu anda yalnızca Linux İşletim Sistemi için geçerlidir. |
| enabled |
boolean |
ProxyAgent özelliğinin sanal makinede mi yoksa sanal makine ölçek kümesinde mi etkinleştirilmesi gerektiğini belirtir. |
| imds |
Sanal makine veya sanal makine ölçek kümesi oluşturulurken IMDS uç noktası ayarlarını belirtir. En düşük api sürümü: 2024-03-01. |
|
| keyIncarnationId |
integer (int32) |
Bu özelliğin değerini artırmak, kullanıcıların konuk ve konak arasındaki iletişim kanalının güvenliğini sağlamak için kullanılan anahtarı sıfırlamasına olanak tanır. |
| mode |
ProxyAgent'ın yürütüleceği modu belirtir. Uyarı: Bu özellik kullanım dışı bırakıldı, lütfen belirli bir konak uç noktası ayarı altında 'mode' belirtin. |
|
| wireServer |
Sanal makine veya sanal makine ölçek kümesi oluşturulurken Wire Server uç noktası ayarlarını belirtir. En düşük api sürümü: 2024-03-01. |
PublicIPAddressSku
Genel IP Sku'su açıklanır. Yalnızca OrchestrationMode esnek olarak ayarlanabilir.
| Name | Tür | Description |
|---|---|---|
| name |
Genel IP sku adını belirtin |
|
| tier |
Genel IP sku katmanını belirtme |
PublicIPAddressSkuName
Genel IP sku adını belirtin
| Değer | Description |
|---|---|
| Basic | |
| Standard |
PublicIPAddressSkuTier
Genel IP sku katmanını belirtme
| Değer | Description |
|---|---|
| Regional | |
| Global |
PublicIPAllocationMethod
Genel IP ayırma türünü belirtin
| Değer | Description |
|---|---|
| Dynamic | |
| Static |
ResiliencyProfile
VM'de dayanıklılık çözümlerini etkinleştiriyor. Bu, yedekleme veya felaket kurtarma çözümlerini de kapsar.
| Name | Tür | Description |
|---|---|---|
| zoneMovement |
Bölge hareket konfigürasyonu. |
ResourceIdentityType
Sanal makine için kullanılan kimlik türü. 'SystemAssigned, UserAssigned' türü hem örtük olarak oluşturulmuş bir kimliği hem de kullanıcı tarafından atanan bir kimlik kümesini içerir. 'Hiçbiri' türü sanal makineden tüm kimlikleri kaldırır.
| Değer | Description |
|---|---|
| SystemAssigned | |
| UserAssigned | |
| SystemAssigned, UserAssigned | |
| None |
ScheduledEventsAdditionalPublishingTargets
| Name | Tür | Description |
|---|---|---|
| eventGridAndResourceGraph |
eventGridAndResourceGraph Zamanlanmış Olay ayarı oluşturulurken kullanılan yapılandırma parametreleri. |
ScheduledEventsPolicy
Yeniden Dağıtma, Yeniden Başlatma ve ScheduledEventsAdditionalPublishingTargets Zamanlanmış Olayla ilgili yapılandırmaları belirtir.
| Name | Tür | Description |
|---|---|---|
| allInstancesDown |
AllInstancesDown zamanlanmış olay ayarı oluşturulurken kullanılan yapılandırma parametreleri. |
|
| scheduledEventsAdditionalPublishingTargets |
ScheduledEventsAdditionalPublishingTargets yayımlanırken kullanılan yapılandırma parametreleri. |
|
| userInitiatedReboot |
userInitiatedReboot zamanlanmış olay ayarı oluşturma işlemi oluşturulurken kullanılan yapılandırma parametreleri. |
|
| userInitiatedRedeploy |
userInitiatedRedeploy zamanlanmış olay ayarı oluşturma işlemi oluşturulurken kullanılan yapılandırma parametreleri. |
ScheduledEventsProfile
| Name | Tür | Description |
|---|---|---|
| osImageNotificationProfile |
İşletim Sistemi Görüntüsü Zamanlanmış Olay ile ilgili yapılandırmaları belirtir. |
|
| terminateNotificationProfile |
Zamanlanmış Olayla ilgili son yapılandırmaları belirtir. |
SecurityEncryptionTypes
Yönetilen diskin EncryptionType değerini belirtir. VmGuestState blobu ile birlikte yönetilen diskin şifrelenmesi için DiskWithVMGuestState, yalnızca VMGuestState blobunun şifrelenmesi için VMGuestStateOnly ve VMGuestState blobunda üretici yazılımı durumunun kalıcı olmaması için NonPersistedTPM olarak ayarlanır.. Not: Yalnızca Gizli VM'ler için ayarlanabilir.
| Değer | Description |
|---|---|
| VMGuestStateOnly | |
| DiskWithVMGuestState | |
| NonPersistedTPM |
SecurityProfile
Sanal makine veya sanal makine ölçek kümesi için Güvenlik profili ayarlarını belirtir.
| Name | Tür | Description |
|---|---|---|
| encryptionAtHost |
boolean |
Bu özellik, kullanıcı tarafından istekte sanal makine veya sanal makine ölçek kümesi için Konak Şifrelemesi'ni etkinleştirmek veya devre dışı bırakmak için kullanılabilir. Bu, ana bilgisayarın kendisinde Kaynak/Geçici disk de dahil olmak üzere tüm diskler için şifrelemeyi etkinleştirir. Varsayılan davranış: Bu özellik kaynak için true olarak ayarlanmadığı sürece konakta şifreleme devre dışı bırakılır. |
| encryptionIdentity |
Anahtar kasası işlemleri için erişim belirteci almak için ADE tarafından kullanılan Yönetilen Kimliği belirtir. |
|
| proxyAgentSettings |
Sanal makine oluşturulurken ProxyAgent ayarlarını belirtir. En düşük api sürümü: 2023-09-01. |
|
| securityType |
Sanal makinenin SecurityType değerini belirtir. UefiSettings'i etkinleştirmek için belirtilen herhangi bir değere ayarlanması gerekir. Varsayılan davranış şudur: UefiSettings bu özellik ayarlanmadıkça ve Standart değilse etkinleştirilmez. Belirtilmediyse, Standard api sürüm 2025-11-01 itibarıyla geri gönderilecektir. |
|
| uefiSettings |
Sanal makineyi oluştururken kullanılan güvenli önyükleme ve vTPM gibi güvenlik ayarlarını belirtir. En düşük api sürümü: 2020-12-01. |
SecurityTypes
VM securityType'ı belirtir; UefiSettings yalnızca TrustedLaunch veya ConfidentialVM olarak ayarlandığında etkinleştirilir ve API sürümü 2025-11-01 başlayarak Standard değer döndürür.
| Değer | Description |
|---|---|
| Standard |
SecureBoot veya vTPM gibi UEFI özellikleri olmayan bir VM'yi gösterir; securityType belirtilmediğinde varsayılan değer olarak döner. |
| TrustedLaunch | |
| ConfidentialVM |
SettingNames
İçeriğin uygulandığı ayarın adını belirtir. Olası değerler şunlardır: FirstLogonCommands ve AutoLogon.
| Değer | Description |
|---|---|
| AutoLogon | |
| FirstLogonCommands |
SshConfiguration
Azure'da çalışan Linux tabanlı VM'ler için SSH yapılandırması
| Name | Tür | Description |
|---|---|---|
| publicKeys |
Linux tabanlı VM'lerde kimlik doğrulaması yapmak için kullanılan SSH ortak anahtarlarının listesi. |
SshPublicKey
SSH sertifikası ortak anahtarı ve ortak anahtarın yerleştirildiği Linux VM'sinin yolu hakkında bilgi içerir.
| Name | Tür | Description |
|---|---|---|
| keyData |
string |
SSH aracılığıyla VM ile kimlik doğrulaması yapmak için kullanılan SSH ortak anahtar sertifikası. Anahtarın en az 2048 bit ve ssh-rsa biçiminde olması gerekir. Ssh anahtarları oluşturmak için bkz. [Azure'da Linux ve Mac vm'lerinde SSH anahtarları oluşturma]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). |
| path |
string |
Oluşturulan VM'de ssh ortak anahtarının depolandığı tam yolu belirtir. Dosya zaten varsa, belirtilen anahtar dosyanın sonuna eklenir. Örnek: /home/user/.ssh/authorized_keys |
StatusLevelTypes
Düzey kodu.
| Değer | Description |
|---|---|
| Info | |
| Warning | |
| Error |
StorageAccountTypes
Yönetilen disk için depolama hesabı türünü belirtir. Yönetilen işletim sistemi disk depolama hesabı türü yalnızca ölçek kümesini oluşturduğunuzda ayarlanabilir. NOT: UltraSSD_LRS yalnızca veri diskleriyle kullanılabilir. İşletim Sistemi Diski ile kullanılamaz. Standard_LRS Standart HDD kullanır. StandardSSD_LRS Standart SSD kullanır. Premium_LRS Premium SSD kullanır. UltraSSD_LRS Ultra disk kullanır. Premium_ZRS Premium SSD alanlar arası yedekli depolama kullanır. StandardSSD_ZRS Standart SSD alanlar arası yedekli depolama kullanır. Windows Sanal Makineleri için desteklenen diskler hakkında daha fazla bilgi için https://docs.microsoft.com/azure/virtual-machines/windows/disks-types ve Linux Sanal Makineleri için bkz. https://docs.microsoft.com/azure/virtual-machines/linux/disks-types
| Değer | Description |
|---|---|
| Standard_LRS | |
| Premium_LRS | |
| StandardSSD_LRS | |
| UltraSSD_LRS | |
| Premium_ZRS | |
| StandardSSD_ZRS | |
| PremiumV2_LRS |
StorageAlignmentStatus
Disk için depolama hizalama durumunu belirtir.
| Değer | Description |
|---|---|
| Unaligned |
Disk, Hata Alanı eşlemesini hesaplamak için Depolama Hata Alanı (Storage Fault Domain) özelliğine sahip değildir. Tek bir Depolama Hatası Alanı hatası hatası, bu disk profiline referans veren tüm VM'leri etkileyebilir. |
| Aligned |
Disk, Hata Alanı eşlemesini hesaplamak için Depolama Hata Alanı (Storage Fault Domain) içerir. Depolama Hatası Alanı arızası, tek bir Hesaplama Hata Alanı içindeki VM'lere mahsustur. |
StorageFaultDomainAlignmentType
Disk için depolama hata alanı hizalama türünü belirtir.
| Değer | Description |
|---|---|
| Aligned |
Disk Depolama Hata Alanları, Hesaplama Hata Alanları ile eşlenir. Disk yeterli Hata Alanını desteklemiyorsa dağıtım başarısız olur. |
| BestEffortAligned |
Depolama hata alanlarını hesaplama hata alanları ile eşlemeye çalışın. Disk yeterli Hata Alanını desteklemiyorsa diskler hizalanmamıştır. |
StorageProfile
Sanal makine diskleri için depolama ayarlarını belirtir.
| Name | Tür | Description |
|---|---|---|
| alignRegionalDisksToVMZone |
boolean |
Bölgesel disklerin VM bölgesine hizalanıp hizalanmayacağını/taşınıp taşınmayacağını belirtir. Bu yalnızca yerleştirme özelliği ayarlanmış VM'ler için geçerlidir. Bu değişikliğin geri alınamayacağını lütfen unutmayın. En düşük api sürümü: 2024-11-01. |
| dataDisks |
Data |
Sanal makineye veri diski eklemek için kullanılan parametreleri belirtir. Diskler hakkında daha fazla bilgi için bkz. Azure sanal makineleri için diskler ve VHD'ler hakkında. |
| diskApiVersion |
Yönetilen disklere extraalDiskProperties uygulanırken kullanılan Disk API sürümünü belirtir. Değer YYYY-MM-DD formatında olmalıdır (örneğin, "2026-03-02"). |
|
| diskControllerType |
VM için yapılandırılan disk denetleyicisi türünü belirtir. Not: Belirtilen belirtilmezse bu özellik, belirtilen en düşük API sürümünden işletim sistemi diskinin özelliklerine ve VM boyutuna göre V2 olarak ayarlanmış 'hyperVGeneration' ile oluşturulursa varsayılan disk denetleyicisi türüne ayarlanır. VM'yi örtük olarak serbest bırakacak ve yeniden dağıtan VM yapılandırmasındaki VM boyutunu güncelleştirmezseniz, vm'nin disk denetleyicisi türünü güncelleştirmeden önce VM'yi serbest bırakmanız gerekir. En düşük api sürümü: 2022-08-01. |
|
| imageReference |
Kullanılacak görüntü hakkındaki bilgileri belirtir. Platform görüntüleri, market görüntüleri veya sanal makine görüntüleri hakkında bilgi belirtebilirsiniz. Bu öğe bir platform görüntüsü, market görüntüsü veya sanal makine görüntüsü kullanmak istediğinizde gereklidir, ancak diğer oluşturma işlemlerinde kullanılmaz. |
|
| osDisk |
Sanal makine tarafından kullanılan işletim sistemi diski hakkındaki bilgileri belirtir. Diskler hakkında daha fazla bilgi için bkz. Azure sanal makineleri için diskler ve VHD'ler hakkında. |
SubResource
| Name | Tür | Description |
|---|---|---|
| id |
string |
Kaynak Kimliği |
systemData
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.
| Name | Tür | Description |
|---|---|---|
| createdAt |
string (date-time) |
Kaynak oluşturmanın zaman damgası (UTC). |
| createdBy |
string |
Kaynağı oluşturan kimlik. |
| createdByType |
Kaynağı oluşturan kimliğin türü. |
|
| lastModifiedAt |
string (date-time) |
Kaynağın son değişikliğinin zaman damgası (UTC) |
| lastModifiedBy |
string |
Kaynağı en son değiştiren kimlik. |
| lastModifiedByType |
Kaynağı en son değiştiren kimlik türü. |
TerminateNotificationProfile
| Name | Tür | Description |
|---|---|---|
| enable |
boolean |
Terminate Scheduled olayının etkinleştirilip etkinleştirilmediğini veya devre dışı bırakıldığını belirtir. |
| notBeforeTimeout |
string |
Sanal Makinenin silindiği yapılandırılabilir sürenin, olay otomatik olarak onaylanmadan (zaman aşımına uğramadan) önce Zamanlanmış Olayı Sonlandır'ı onaylaması gerekecektir. Yapılandırma ISO 8601 biçiminde belirtilmelidir, varsayılan değer 5 dakikadır (PT5M) |
UefiSettings
Sanal makineyi oluştururken kullanılan güvenli önyükleme ve vTPM gibi güvenlik ayarlarını belirtir. En düşük api sürümü: 2020-12-01.
| Name | Tür | Description |
|---|---|---|
| secureBootEnabled |
boolean |
Sanal makinede güvenli önyüklemenin etkinleştirilip etkinleştirilmeymeyeceğini belirtir. En düşük api sürümü: 2020-12-01. |
| vTpmEnabled |
boolean |
Sanal makinede vTPM'nin etkinleştirilip etkinleştirilmeymeyeceğini belirtir. En düşük api sürümü: 2020-12-01. |
UserInitiatedReboot
Yeniden başlatma ile ilgili Zamanlanmış Olay ile ilgili yapılandırmaları belirtir.
| Name | Tür | Description |
|---|---|---|
| automaticallyApprove |
boolean |
Yeniden Başlatma Zamanlanmış Olayla ilgili yapılandırmaları belirtir. |
UserInitiatedRedeploy
İlgili Zamanlanmış Olayla ilgili yapılandırmaları yeniden dağıtmayı belirtir.
| Name | Tür | Description |
|---|---|---|
| automaticallyApprove |
boolean |
Zamanlanmış Olayla ilgili yapılandırmaları Yeniden Dağıt'ı belirtir. |
VaultCertificate
Key Vault'ta tek bir sertifika başvurusu ve sertifikanın VM'de nerede bulunması gerektiğini açıklar.
| Name | Tür | Description |
|---|---|---|
| certificateStore |
string |
Windows VM'leri için, sanal makinede sertifikanın eklenmesi gereken sertifika depoyu belirtir. Belirtilen sertifika deposu, LocalMachine hesabında örtük olarak bulunur. Linux VM'leri için sertifika dosyası /var/lib/waagent dizinine yerleştirilir ve X509 sertifika dosyası için UppercaseThumbprint<.crt >dosya adı ve özel anahtar için <UppercaseThumbprint>.prv. Bu dosyaların her ikisi de .pem biçimindedir. |
| certificateUrl |
string |
Bu, Key Vault'a gizli dizi olarak yüklenmiş bir sertifikanın URL'sidir. Key Vault'a gizli dizi eklemek için bkz. anahtar kasasına anahtar veya gizli dizi ekleme |
VaultSecretGroup
Tümü aynı Key Vault'ta bulunan bir sertifika kümesini açıklar.
| Name | Tür | Description |
|---|---|---|
| sourceVault |
VaultCertificates içindeki tüm sertifikaları içeren Key Vault'un göreli URL'si. |
|
| vaultCertificates |
SourceVault'ta sertifikalar içeren anahtar kasası başvurularının listesi. |
VirtualHardDisk
Bir diskin uri'sini açıklar.
| Name | Tür | Description |
|---|---|---|
| uri |
string |
Sanal sabit diskin uri'sini belirtir. |
VirtualMachine
Sanal Makineyi açıklar.
| Name | Tür | Description |
|---|---|---|
| etag |
string |
Etag, müşterinin iyimser güncelleştirmeleri sağlamak için üst bilgide sağlayabilmesi için VM'nin Oluşturma/Güncelleştirme/Alma yanıtında döndürülen özelliktir. |
| extendedLocation |
Sanal Makinenin genişletilmiş konumu. |
|
| id |
string |
Kaynağın tam nitelikli kaynak kimliği. Örn - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| identity |
Yapılandırıldıysa sanal makinenin kimliği. |
|
| location |
string |
Kaynağın bulunduğu coğrafi konum |
| managedBy |
string |
Vm, VMSS'nin bir parçasıysa ManagedBy, Sanal Makine Ölçek Kümesi (VMSS) esnek ARM kaynak kimliği olarak ayarlanır. Bu özellik platform tarafından iç kaynak grubu silme iyileştirmesi için kullanılır. |
| name |
string |
Kaynağın adı |
| placement |
Yerleştirme bölümü, sanal makine donanım yerleşimi için kullanıcı tanımlı kısıtlamaları belirtir. VM sağlandıktan sonra bu özellik değiştirilemez. En düşük api sürümü: 2024-11-01. |
|
| plan |
Sanal makineyi oluşturmak için kullanılan market görüntüsü hakkındaki bilgileri belirtir. Bu öğe yalnızca market görüntüleri için kullanılır. API'den market görüntüsü kullanabilmeniz için önce görüntüyü programlı kullanım için etkinleştirmeniz gerekir. Azure portalında, kullanmak istediğiniz market görüntüsünü bulun ve Program aracılığıyla dağıtmak istiyorum, Başlarken ->öğesine tıklayın. Gerekli bilgileri girin ve Kaydetöğesine tıklayın. |
|
| properties.additionalCapabilities |
Sanal makinede etkinleştirilen veya devre dışı bırakılan ek özellikleri belirtir. |
|
| properties.applicationProfile |
VM/VMSS'nin kullanımına sunulması gereken galeri uygulamalarını belirtir. |
|
| properties.availabilitySet |
Sanal makinenin atanması gereken kullanılabilirlik kümesi hakkındaki bilgileri belirtir. Aynı kullanılabilirlik kümesinde belirtilen sanal makineler, kullanılabilirliği en üst düzeye çıkarmak için farklı düğümlere ayrılır. Kullanılabilirlik kümeleri hakkında daha fazla bilgi için bkz. Kullanılabilirlik kümelerine genel bakış. Azure planlı bakımı hakkında daha fazla bilgi için bkz. Azure'de Sanal Makineler için bakım ve güncelleştirmeler. Şu anda vm yalnızca oluşturma zamanında kullanılabilirlik kümesine eklenebilir. VM'nin eklendiği kullanılabilirlik kümesi, kullanılabilirlik kümesi kaynağıyla aynı kaynak grubu altında olmalıdır. Mevcut vm kullanılabilirlik kümesine eklenemez. Bu özellik null olmayan bir properties.virtualMachineScaleSet başvurusuyla birlikte bulunamaz. |
|
| properties.billingProfile |
Azure Spot sanal makinesinin faturalamayla ilgili ayrıntılarını belirtir. En düşük api sürümü: 2019-03-01. |
|
| properties.capacityReservation |
Sanal makineyi ayırmak için kullanılan kapasite rezervasyonu hakkındaki bilgileri belirtir. En düşük api sürümü: 2021-04-01. |
|
| properties.diagnosticsProfile |
Önyükleme tanılama ayarları durumunu belirtir. En düşük api sürümü: 2015-06-15. |
|
| properties.evictionPolicy |
Azure Spot sanal makinesi ve Azure Spot ölçek kümesi için çıkarma ilkesini belirtir. Azure Spot sanal makineleri için hem 'Serbest Bırak' hem de 'Sil' desteklenir ve en düşük API sürümü 2019-03-01'dir. Azure Spot ölçek kümeleri için hem 'Serbest Bırak' hem de 'Sil' desteklenir ve en düşük api sürümü 2017-10-30-preview'dır. |
|
| properties.extensionsTimeBudget |
string |
Tüm uzantıların başlatılması için ayrılan zamanı belirtir. Süre 15 dakika ile 120 dakika (dahil) arasında olmalı ve ISO 8601 biçiminde belirtilmelidir. Varsayılan değer 90 dakikadır (PT1H30M). En düşük api sürümü: 2020-06-01. |
| properties.hardwareProfile |
Sanal makine için donanım ayarlarını belirtir. |
|
| properties.host |
Sanal makinenin bulunduğu ayrılmış konak hakkındaki bilgileri belirtir. En düşük api sürümü: 2018-10-01. |
|
| properties.hostGroup |
Sanal makinenin bulunduğu ayrılmış konak grubu hakkındaki bilgileri belirtir. Not: Kullanıcı hem konak hem de hostGroup özelliklerini belirtemez. En düşük api sürümü: 2020-06-01. |
|
| properties.instanceView |
Sanal makine örneği görünümü. |
|
| properties.interconnectBlockProfile |
Sanal Makineyi tahsis etmek için kullanılan Bağlantı Bloğu hakkında bilgi belirtir. Minimum API sürümü: 2026-03-01. |
|
| properties.licenseType |
string |
Kullanılan görüntünün veya diskin şirket içinde lisanslandığını belirtir. |
| properties.networkProfile |
Sanal makinenin ağ arabirimlerini belirtir. |
|
| properties.osProfile |
Sanal makineyi oluştururken kullanılan işletim sistemi ayarlarını belirtir. VM sağlandıktan sonra bazı ayarlar değiştirilemez. |
|
| properties.platformFaultDomain |
integer (int32) |
Sanal Makinenin oluşturulacağı ölçek kümesi mantıksal hata etki alanını belirtir. Varsayılan olarak, Sanal Makine otomatik olarak kullanılabilir hata etki alanları arasında dengeyi en iyi şekilde koruyan bir hata etki alanına atanır. Bu yalnızca bu Sanal Makinenin 'virtualMachineScaleSet' özelliği ayarlandıysa geçerlidir. Başvuruda bulunılan Sanal Makine Ölçek Kümesi'nin 'platformFaultDomainCount' değeri 1'den büyük olmalıdır. Sanal Makine oluşturulduktan sonra bu özellik güncelleştirilemez. Hata etki alanı ataması Sanal Makine Örneği Görünümü'nde görüntülenebilir. En düşük api‐sürümü: 2020‐12‐01. |
| properties.priority |
Sanal makinenin önceliğini belirtir. En düşük api sürümü: 2019-03-01 |
|
| properties.provisioningState |
string |
Yalnızca yanıtta görünen sağlama durumu. |
| properties.proximityPlacementGroup |
Sanal makinenin atanması gereken yakınlık yerleştirme grubu hakkındaki bilgileri belirtir. En düşük api sürümü: 2018-04-01. |
|
| properties.resiliencyProfile |
Sanal makine için dayanıklılık profili. |
|
| properties.scheduledEventsPolicy |
Sanal makine için Yeniden Dağıtma, Yeniden Başlatma ve ScheduledEventsAdditionalPublishingTargets Zamanlanmış Olayla ilgili yapılandırmaları belirtir. |
|
| properties.scheduledEventsProfile |
Zamanlanmış Olayla ilgili yapılandırmaları belirtir. |
|
| properties.securityProfile |
Sanal makine için Güvenlikle ilgili profil ayarlarını belirtir. |
|
| properties.storageProfile |
Sanal makine diskleri için depolama ayarlarını belirtir. |
|
| properties.timeCreated |
string (date-time) |
Sanal Makine kaynağının oluşturulduğu saati belirtir. En düşük api sürümü: 2021-11-01. |
| properties.userData |
string |
Base-64 kodlanmış olması gereken VM için UserData. Müşteri burada hiçbir gizli dizi geçirmemelidir. En düşük api sürümü: 2021-03-01. |
| properties.virtualMachineScaleSet |
Sanal makinenin atanması gereken sanal makine ölçek kümesi hakkındaki bilgileri belirtir. Kullanılabilirliği en üst düzeye çıkarmak için aynı sanal makine ölçek kümesinde belirtilen sanal makineler farklı düğümlere ayrılır. Şu anda vm yalnızca oluşturma zamanında sanal makine ölçek kümesine eklenebilir. Sanal makine ölçek kümesine mevcut bir VM eklenemez. Bu özellik null olmayan properties.availabilitySet başvurusuyla birlikte bulunamaz. En düşük api‐sürümü: 2019‐03‐01. |
|
| properties.vmId |
string |
Tüm Azure IaaS VM'leri SMBIOS'unda kodlanıp depolanan ve platform BIOS komutları kullanılarak okunabilen 128 bit tanımlayıcısı olan VM benzersiz kimliğini belirtir. |
| resources |
Sanal makine alt uzantısı kaynakları. |
|
| systemData |
createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri. |
|
| tags |
object |
Kaynak etiketleri. |
| type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |
| zones |
string[] |
Kullanılabilirlik alanları. |
VirtualMachineAgentInstanceView
Sanal makinede çalışan VM Aracısı'nın örnek görünümü.
| Name | Tür | Description |
|---|---|---|
| extensionHandlers |
Sanal makine uzantısı işleyici örneği görünümü. |
|
| statuses |
Kaynak durumu bilgileri. |
|
| vmAgentVersion |
string |
VM Aracısı tam sürümü. |
VirtualMachineEvictionPolicyTypes
Azure Spot VM/VMSS için çıkarma ilkesini belirtir
| Değer | Description |
|---|---|
| Deallocate | |
| Delete |
VirtualMachineExtension
Sanal Makine Uzantısını açıklar.
| Name | Tür | Description |
|---|---|---|
| id |
string |
Kaynağın tam nitelikli kaynak kimliği. Örn - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| location |
string |
Kaynağın bulunduğu coğrafi konum |
| name |
string |
Kaynağın adı |
| properties.autoUpgradeMinorVersion |
boolean |
Dağıtım zamanında kullanılabilir durumdaysa uzantının daha yeni bir ikincil sürüm kullanıp kullanmayacağını gösterir. Ancak dağıtıldıktan sonra, bu özellik true olarak ayarlanmış olsa bile uzantı yeniden dağıtılmadığı sürece ikincil sürümleri yükseltmez. |
| properties.enableAutomaticUpgrade |
boolean |
Kullanılabilir uzantının daha yeni bir sürümü varsa, uzantının platform tarafından otomatik olarak yükseltilip yükseltilmeyeceğini gösterir. |
| properties.forceUpdateTag |
string |
Uzantı yapılandırması değişmemiş olsa bile uzantı işleyicisinin nasıl güncelleştirilmeye zorlanması gerektiği. |
| properties.instanceView |
Sanal makine uzantısı örneği görünümü. |
|
| properties.protectedSettings |
Uzantı protectedSettings veya protectedSettingsFromKeyVault içerebilir veya hiç korumalı ayar içeremez. |
|
| properties.protectedSettingsFromKeyVault |
Uzantılar, başvuruyla geçirilen ve anahtar kasasından tüketilen korumalı ayarlar |
|
| properties.provisionAfterExtensions |
string[] |
Bu uzantının sağlanması gereken uzantı adlarının koleksiyonu. |
| properties.provisioningState |
string |
Yalnızca yanıtta görünen sağlama durumu. |
| properties.publisher |
string |
Uzantı işleyici yayımcısının adı. |
| properties.settings |
Uzantı için Json tarafından biçimlendirilmiş genel ayarlar. |
|
| properties.suppressFailures |
boolean |
Uzantıdan kaynaklanan hataların gizlenip gizlenmeyeceğini gösterir (VM'ye bağlanmama gibi işlemsel hatalar bu değerden bağımsız olarak gizlenmeyecektir). Varsayılan değer false'tur. |
| properties.type |
string |
Uzantının türünü belirtir; "CustomScriptExtension" örnektir. |
| properties.typeHandlerVersion |
string |
Komut işleyicisinin Major.Minor sürümünü belirtir. Müşteri yalnızca bir uzantının Major.Minor sürümünü belirtebilir, Azure platformu ise Major.Minor serisinin en son Patch.Hotfix sürümünü sunar. |
| systemData |
createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri. |
|
| tags |
object |
Kaynak etiketleri. |
| type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |
VirtualMachineExtensionHandlerInstanceView
Sanal makine uzantısı işleyicisinin örnek görünümü.
| Name | Tür | Description |
|---|---|---|
| status |
Uzantı işleyici durumu. |
|
| type |
string |
Uzantının türünü belirtir; "CustomScriptExtension" örnektir. |
| typeHandlerVersion |
string |
Script handler'ın Major.Minor.Patch.Hotfix sürümünü belirtir. Azure platformu, Major.Minor serisinin en son Patch.Hotfix sürümünü sunacaktır. |
VirtualMachineExtensionInstanceView
Sanal makine uzantısının örnek görünümü.
| Name | Tür | Description |
|---|---|---|
| name |
string |
Sanal makine uzantısı adı. |
| statuses |
Kaynak durumu bilgileri. |
|
| substatuses |
Kaynak durumu bilgileri. |
|
| type |
string |
Uzantının türünü belirtir; "CustomScriptExtension" örnektir. |
| typeHandlerVersion |
string |
Script handler'ın Major.Minor.Patch.Hotfix sürümünü belirtir. Azure platformu, Major.Minor serisinin en son Patch.Hotfix sürümünü sunacaktır. |
VirtualMachineHealthStatus
VM'nin sistem durumu.
| Name | Tür | Description |
|---|---|---|
| status |
VM'nin sistem durumu bilgileri. |
VirtualMachineIdentity
Sanal makine için kimlik.
| Name | Tür | Description |
|---|---|---|
| principalId |
string |
Sanal makine kimliğinin asıl kimliği. Bu özellik yalnızca sistem tarafından atanan kimlik için sağlanacaktır. |
| tenantId |
string |
Sanal makineyle ilişkili kiracı kimliği. Bu özellik yalnızca sistem tarafından atanan kimlik için sağlanacaktır. |
| type |
Sanal makine için kullanılan kimlik türü. 'SystemAssigned, UserAssigned' türü hem örtük olarak oluşturulmuş bir kimliği hem de kullanıcı tarafından atanan bir kimlik kümesini içerir. 'Hiçbiri' türü sanal makineden tüm kimlikleri kaldırır. |
|
| userAssignedIdentities |
<string,
Common. |
Sanal Makine ile ilişkili kullanıcı kimliklerinin listesi. Kullanıcı kimliği sözlüğü anahtar referansları şu biçimde ARM kaynak kimlikleri olacaktır: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft. ManagedIdentity/userAssignedIdentities/{identityName}' ile birlikte bulundu. |
VirtualMachineInstanceView
Sanal makinenin örnek görünümü.
| Name | Tür | Description |
|---|---|---|
| assignedHost |
string |
Sanal makine, otomatik yerleştirmeyi etkinleştirmiş ayrılmış bir konak grubuyla ilişkilendirildiğinde, sanal makinenin otomatik yerleştirme yoluyla ayrıldığı ayrılmış konağın kaynak kimliği. En düşük api sürümü: 2020-06-01. |
| bootDiagnostics |
Önyükleme Tanılama, VM durumunu tanılamak için Konsol Çıkışını ve Ekran Görüntüsünü görüntülemenizi sağlayan bir hata ayıklama özelliğidir. Konsol günlüğünüzün çıkışını kolayca görüntüleyebilirsiniz. Azure ayrıca hiper yöneticiden VM'nin ekran görüntüsünü görmenizi sağlar. |
|
| capacityReservationType |
Uygun olursa sanal makinenin hangi tür kapasite rezervasyonundan kapasite tüketeceğini veya abonelikte mevcut herhangi bir rezerve kapasiteden ilişkilendirilmekten açıkça vazgeçip kapatıp kullanılmadığını belirtir. Minimum API sürümü: 2026-04-01. |
|
| computerName |
string |
Sanal makineye atanan bilgisayar adı. |
| disks |
Sanal makine disk bilgileri. |
|
| extensions |
Uzantı bilgileri. |
|
| hyperVGeneration |
Bir kaynakla ilişkilendirilmiş HyperVGeneration Türünü belirtir |
|
| interconnectInstanceView |
Sanal Makine'nin Bağlantı çalışma zamanı görünümü. Minimum API sürümü: 2026-03-01. |
|
| isVMInStandbyPool |
boolean |
[Önizleme Özelliği] VM'nin şu anda Bekleme Havuzu'nda mı yoksa dışında mı olduğunu belirtir. |
| maintenanceRedeployStatus |
Sanal makinedeki Bakım İşlemi durumu. |
|
| osName |
string |
Sanal makinede çalışan İşletim Sistemi. |
| osVersion |
string |
Sanal makinede çalışan İşletim Sistemi sürümü. |
| patchStatus |
[Önizleme Özelliği] Sanal makine düzeltme eki işlemlerinin durumu. |
|
| platformFaultDomain |
integer (int32) |
Sanal makinenin hata etki alanını belirtir. |
| platformUpdateDomain |
integer (int32) |
Sanal makinenin güncelleştirme etki alanını belirtir. |
| rdpThumbPrint |
string |
Uzak masaüstü sertifikası parmak izi. |
| statuses |
Kaynak durumu bilgileri. |
|
| vmAgent |
Sanal makinede çalışan VM Aracısı. |
|
| vmHealth |
VM'nin sistem durumu. |
VirtualMachineIpTag
Genel IP adresiyle ilişkilendirilmiş IP etiketini içerir.
| Name | Tür | Description |
|---|---|---|
| firstPartyServiceTagId |
string (arm-id) |
Birinci taraf hizmet etiketi kaynak tanımlayıcısı, kamuya açık IP adresiyle ilişkilendirilir. |
| ipTagType |
string |
IP etiketi türü. Örnek: FirstPartyUsage. |
| tag |
string |
Genel IP ile ilişkili IP etiketi. Örnek: SQL, Depolama vb. |
VirtualMachineNetworkInterfaceConfiguration
Sanal makine ağ arabirimi yapılandırmalarını açıklar.
| Name | Tür | Description |
|---|---|---|
| name |
string |
Ağ arabirimi yapılandırma adı. |
| properties.auxiliaryMode |
Yardımcı modun Ağ Arabirimi kaynağı için etkinleştirilip etkinleştirilmediğini belirtir. |
|
| properties.auxiliarySku |
Yardımcı sku'nun Ağ Arabirimi kaynağı için etkinleştirilip etkinleştirilmediğini belirtir. |
|
| properties.deleteOption |
VM silindiğinde ağ arabirimine ne olacağını belirtin |
|
| properties.disableTcpStateTracking |
boolean |
Tcp durumu izleme için ağ arabiriminin devre dışı bırakılıp bırakılmayacağını belirtir. |
| properties.dnsSettings |
Ağ arabirimlerine uygulanacak dns ayarları. |
|
| properties.dscpConfiguration | ||
| properties.enableAcceleratedNetworking |
boolean |
Ağ arabiriminin hızlandırılmış ağ etkinleştirilmiş olup olmadığını belirtir. |
| properties.enableFpga |
boolean |
Ağ arabiriminin FPGA ağ etkinleştirilmiş olup olmadığını belirtir. |
| properties.enableIPForwarding |
boolean |
Bu NIC'de IP iletmenin etkinleştirilip etkinleştirilmediği. |
| properties.ipConfigurations |
Ağ arabiriminin IP yapılandırmalarını belirtir. |
|
| properties.networkSecurityGroup |
Ağ güvenlik grubu. |
|
| properties.primary |
boolean |
Sanal makinenin 1'den fazla ağ arabirimi olması durumunda birincil ağ arabirimini belirtir. |
| tags |
object |
Bu NetworkInterfaceConfiguration tarafından oluşturulan networkInterface adresine uygulanan kaynak etiketleri |
VirtualMachineNetworkInterfaceDnsSettingsConfiguration
Sanal makinelerin ağ yapılandırmasının DNS ayarlarını açıklar.
| Name | Tür | Description |
|---|---|---|
| dnsServers |
string[] |
DNS sunucularının IP adresleri listesi |
VirtualMachineNetworkInterfaceIPConfiguration
Sanal makine ağ profilinin IP yapılandırmasını açıklar.
| Name | Tür | Description |
|---|---|---|
| name |
string |
IP yapılandırma adı. |
| properties.applicationGatewayBackendAddressPools |
Uygulama ağ geçitlerinin arka uç adres havuzlarına yönelik bir başvuru dizisi belirtir. Sanal makine birden çok uygulama ağ geçidinin arka uç adres havuzlarına başvurabilir. Birden çok sanal makine aynı uygulama ağ geçidini kullanamaz. |
|
| properties.applicationSecurityGroups |
Uygulama güvenlik grubuna bir başvuru dizisi belirtir. |
|
| properties.loadBalancerBackendAddressPools |
Yük dengeleyicilerin arka uç adres havuzlarına yönelik bir başvuru dizisi belirtir. Sanal makine, bir genel ve bir iç yük dengeleyicinin arka uç adres havuzları başvurabilir. [Birden çok sanal makine aynı temel sku yük dengeleyiciyi kullanamaz]. |
|
| properties.primary |
boolean |
Sanal makinenin 1'den fazla ağ arabirimi olması durumunda birincil ağ arabirimini belirtir. |
| properties.privateIPAddressVersion |
Api-Version 2017-03-30'dan itibaren kullanılabilir, belirli ipconfiguration'ın IPv4 veya IPv6 olup olmadığını temsil eder. Varsayılan değer IPv4 olarak alınır. Olası değerler şunlardır: 'IPv4' ve 'IPv6'. |
|
| properties.publicIPAddressConfiguration |
publicIPAddressConfiguration. |
|
| properties.subnet |
Alt ağın tanımlayıcısını belirtir. |
VirtualMachinePatchStatus
Sanal makine düzeltme eki işlemlerinin durumu.
| Name | Tür | Description |
|---|---|---|
| availablePatchSummary |
Sanal makine için en son değerlendirme işleminin kullanılabilir düzeltme eki özeti. |
|
| configurationStatuses |
Belirtilen patchMode'un etkinleştirme durumu |
|
| lastPatchInstallationSummary |
Sanal makine için en son yükleme işleminin yükleme özeti. |
VirtualMachinePriorityTypes
Tek başına bir sanal makine veya ölçek kümesindeki sanal makineler için önceliği belirtir.
| Değer | Description |
|---|---|
| Regular |
Bağımsız bir sanal makine veya ölçek setindeki sanal makineler için Regular Öncelik. Bu varsayılan önceliktir ve normal VM/VMSS'i dağıtmak için kullanılır. |
| Low |
Bağımsız bir sanal makine veya ölçek setindeki sanal makineler için düşük öncelik. Kullanımdan kaldırılacak, yerine Spot kullanın. |
| Spot |
Bağımsız bir sanal makine veya ölçek setindeki sanal makineler için spot öncelik. |
| SpotPlus |
SpotPlus önceliği, bağımsız bir sanal makine veya ölçek setindeki sanal makineler için. Bu, daha fazla güvenilirlik ve daha uzun çalışma süresi sunan Azure Spot Plus VM/VMSS'nin bir sonraki nesli olan Azure Spot Plus VM/VMSS'nin dağıtımında kullanılacak bir enum değeridir. |
VirtualMachinePublicIPAddressConfiguration
Sanal makinelerin IP Yapılandırmasının PublicIPAddress yapılandırmasını açıklar
| Name | Tür | Description |
|---|---|---|
| name |
string |
publicIP adresi yapılandırma adı. |
| properties.deleteOption |
VM silindiğinde genel IP adresine ne olacağını belirtin |
|
| properties.dnsSettings |
publicIP adreslerine uygulanacak dns ayarları. |
|
| properties.idleTimeoutInMinutes |
integer (int32) |
Genel IP adresinin boşta kalma zaman aşımı. |
| properties.ipTags |
Genel IP adresiyle ilişkili IP etiketlerinin listesi. |
|
| properties.publicIPAddressVersion |
Api-Version 2019-07-01'den itibaren kullanılabilir, belirli ipconfiguration'ın IPv4 veya IPv6 olup olmadığını temsil eder. Varsayılan değer IPv4 olarak alınır. Olası değerler şunlardır: 'IPv4' ve 'IPv6'. |
|
| properties.publicIPAllocationMethod |
Genel IP ayırma türünü belirtin |
|
| properties.publicIPPrefix |
PublicIP adreslerinin ayrıldığı PublicIPPrefix. |
|
| sku |
Genel IP Sku'su açıklanır. Yalnızca OrchestrationMode esnek olarak ayarlanabilir. |
|
| tags |
object |
Bu PublicIPAddressConfiguration tarafından oluşturulan publicIP adresine uygulanan kaynak etiketleri |
VirtualMachinePublicIPAddressDnsSettingsConfiguration
Sanal makinelerin ağ yapılandırmasının DNS ayarlarını açıklar.
| Name | Tür | Description |
|---|---|---|
| domainNameLabel |
string |
Oluşturulacak PublicIPAddress kaynaklarının Etki alanı adı etiketi ön eki. Oluşturulan ad etiketi, etki alanı adı etiketinin ve vm ağ profili benzersiz kimliğinin birleştirilmiş olmasıdır. |
| domainNameLabelScope |
Oluşturulacak PublicIPAddress kaynaklarının Etki alanı adı etiket kapsamı. Oluşturulan ad etiketi, karma etki alanı adı etiketinin etki alanı adı etiketi kapsamına ve vm ağ profili benzersiz kimliğine göre ilkeyle birleştirilmiş olmasıdır. |
VirtualMachineSizeTypes
Sanal makinenin boyutunu belirtir. Sabit listesi veri türü şu anda kullanım dışıdır ve 23 Aralık 2023'e kadar kaldırılacaktır. Kullanılabilir boyutların listesini almak için önerilen yol şu API'leri kullanmaktır: Kullanılabilirlik kümesindeki tüm kullanılabilir sanal makine boyutlarınılisteleyin bir bölgedeki tüm kullanılabilir sanal makine boyutlarını listeleyin yeniden boyutlandırmak için tüm kullanılabilir sanal makine boyutlarını listeleyin. Sanal makine boyutları hakkında daha fazla bilgi için bkz.sanal makineler için
| Değer | Description |
|---|---|
| Basic_A0 | |
| Basic_A1 | |
| Basic_A2 | |
| Basic_A3 | |
| Basic_A4 | |
| Standard_A0 | |
| Standard_A1 | |
| Standard_A2 | |
| Standard_A3 | |
| Standard_A4 | |
| Standard_A5 | |
| Standard_A6 | |
| Standard_A7 | |
| Standard_A8 | |
| Standard_A9 | |
| Standard_A10 | |
| Standard_A11 | |
| Standard_A1_v2 | |
| Standard_A2_v2 | |
| Standard_A4_v2 | |
| Standard_A8_v2 | |
| Standard_A2m_v2 | |
| Standard_A4m_v2 | |
| Standard_A8m_v2 | |
| Standard_B1s | |
| Standard_B1ms | |
| Standard_B2s | |
| Standard_B2ms | |
| Standard_B4ms | |
| Standard_B8ms | |
| Standard_D1 | |
| Standard_D2 | |
| Standard_D3 | |
| Standard_D4 | |
| Standard_D11 | |
| Standard_D12 | |
| Standard_D13 | |
| Standard_D14 | |
| Standard_D1_v2 | |
| Standard_D2_v2 | |
| Standard_D3_v2 | |
| Standard_D4_v2 | |
| Standard_D5_v2 | |
| Standard_D2_v3 | |
| Standard_D4_v3 | |
| Standard_D8_v3 | |
| Standard_D16_v3 | |
| Standard_D32_v3 | |
| Standard_D64_v3 | |
| Standard_D2s_v3 | |
| Standard_D4s_v3 | |
| Standard_D8s_v3 | |
| Standard_D16s_v3 | |
| Standard_D32s_v3 | |
| Standard_D64s_v3 | |
| Standard_D11_v2 | |
| Standard_D12_v2 | |
| Standard_D13_v2 | |
| Standard_D14_v2 | |
| Standard_D15_v2 | |
| Standard_DS1 | |
| Standard_DS2 | |
| Standard_DS3 | |
| Standard_DS4 | |
| Standard_DS11 | |
| Standard_DS12 | |
| Standard_DS13 | |
| Standard_DS14 | |
| Standard_DS1_v2 | |
| Standard_DS2_v2 | |
| Standard_DS3_v2 | |
| Standard_DS4_v2 | |
| Standard_DS5_v2 | |
| Standard_DS11_v2 | |
| Standard_DS12_v2 | |
| Standard_DS13_v2 | |
| Standard_DS14_v2 | |
| Standard_DS15_v2 | |
| Standard_DS13-4_v2 | |
| Standard_DS13-2_v2 | |
| Standard_DS14-8_v2 | |
| Standard_DS14-4_v2 | |
| Standard_E2_v3 | |
| Standard_E4_v3 | |
| Standard_E8_v3 | |
| Standard_E16_v3 | |
| Standard_E32_v3 | |
| Standard_E64_v3 | |
| Standard_E2s_v3 | |
| Standard_E4s_v3 | |
| Standard_E8s_v3 | |
| Standard_E16s_v3 | |
| Standard_E32s_v3 | |
| Standard_E64s_v3 | |
| Standard_E32-16_v3 | |
| Standard_E32-8s_v3 | |
| Standard_E64-32s_v3 | |
| Standard_E64-16s_v3 | |
| Standard_F1 | |
| Standard_F2 | |
| Standard_F4 | |
| Standard_F8 | |
| Standard_F16 | |
| Standard_F1s | |
| Standard_F2s | |
| Standard_F4s | |
| Standard_F8s | |
| Standard_F16s | |
| Standard_F2s_v2 | |
| Standard_F4s_v2 | |
| Standard_F8s_v2 | |
| Standard_F16s_v2 | |
| Standard_F32s_v2 | |
| Standard_F64s_v2 | |
| Standard_F72s_v2 | |
| Standard_G1 | |
| Standard_G2 | |
| Standard_G3 | |
| Standard_G4 | |
| Standard_G5 | |
| Standard_GS1 | |
| Standard_GS2 | |
| Standard_GS3 | |
| Standard_GS4 | |
| Standard_GS5 | |
| Standard_GS4-8 | |
| Standard_GS4-4 | |
| Standard_GS5-16 | |
| Standard_GS5-8 | |
| Standard_H8 | |
| Standard_H16 | |
| Standard_H8m | |
| Standard_H16m | |
| Standard_H16r | |
| Standard_H16mr | |
| Standard_L4s | |
| Standard_L8s | |
| Standard_L16s | |
| Standard_L32s | |
| Standard_M64s | |
| Standard_M64ms | |
| Standard_M128s | |
| Standard_M128ms | |
| Standard_M64-32ms | |
| Standard_M64-16ms | |
| Standard_M128-64ms | |
| Standard_M128-32ms | |
| Standard_NC6 | |
| Standard_NC12 | |
| Standard_NC24 | |
| Standard_NC24r | |
| Standard_NC6s_v2 | |
| Standard_NC12s_v2 | |
| Standard_NC24s_v2 | |
| Standard_NC24rs_v2 | |
| Standard_NC6s_v3 | |
| Standard_NC12s_v3 | |
| Standard_NC24s_v3 | |
| Standard_NC24rs_v3 | |
| Standard_ND6s | |
| Standard_ND12s | |
| Standard_ND24s | |
| Standard_ND24rs | |
| Standard_NV6 | |
| Standard_NV12 | |
| Standard_NV24 |
VMDiskSecurityProfile
Yönetilen disk için güvenlik profili ayarlarını belirtir. Not: Yalnızca Gizli VM'ler için ayarlanabilir.
| Name | Tür | Description |
|---|---|---|
| diskEncryptionSet |
Müşteri Tarafından Yönetilen Anahtar ile şifrelenmiş GizliVM İşletim Sistemi Diski ve VMGuest blobu için kullanılan yönetilen disk için müşteri tarafından yönetilen disk şifreleme kümesi kaynak kimliğini belirtir. |
|
| securityEncryptionType |
Yönetilen diskin EncryptionType değerini belirtir. VmGuestState blobu ile birlikte yönetilen diskin şifrelenmesi için DiskWithVMGuestState, yalnızca VMGuestState blobunun şifrelenmesi için VMGuestStateOnly ve VMGuestState blobunda üretici yazılımı durumunun kalıcı olmaması için NonPersistedTPM olarak ayarlanır.. Not: Yalnızca Gizli VM'ler için ayarlanabilir. |
VMGalleryApplication
İşlem galerisi uygulama sürümüne başvurmak için gerekli bilgileri belirtir
| Name | Tür | Description |
|---|---|---|
| configurationReference |
string |
İsteğe bağlı, Sağlanırsa paket için varsayılan yapılandırmanın yerini alacak azure blobunun uri'sini belirtir |
| enableAutomaticUpgrade |
boolean |
True olarak ayarlanırsa, PIR/SIG'de yeni bir Galeri Uygulaması sürümü kullanılabilir olduğunda, VM/VMSS için otomatik olarak güncelleştirilir |
| order |
integer (int32) |
İsteğe bağlı, Paketlerin yüklenmesi gereken sırayı belirtir |
| packageReferenceId |
string |
/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/applications/{application}/versions/{version} biçiminde GalleryApplicationVersion kaynak kimliğini belirtir |
| tags |
string |
İsteğe bağlı, Daha genel bağlam için bir geçiş değeri belirtir. |
| treatFailureAsDeploymentFailure |
boolean |
İsteğe bağlı, True ise, VmApplication'daki herhangi bir işlem için herhangi bir hata dağıtımda başarısız olur |
VMSizeProperties
Sanal makinedeki VM Boyutu Özellik ayarlarını belirtir.
| Name | Tür | Description |
|---|---|---|
| vCPUsAvailable |
integer (int32) |
VM için kullanılabilen vCPU sayısını belirtir. Bu özellik istek gövdesinde belirtilmezse, varsayılan davranış bunu bir bölgedeki kullanılabilir tüm sanal makine boyutlarını listele api yanıtında gösterilen vm boyutu için kullanılabilir vCPU değerine ayarlamaktır. |
| vCPUsPerCore |
integer (int32) |
vCPU ile fiziksel çekirdek oranını belirtir. Bu özellik istek gövdesinde belirtilmediğinde, varsayılan davranış, bir bölgedeki tüm kullanılabilir sanal makine boyutlarını listele api yanıtında kullanıma sunulan VM Boyutu için vCPUsPerCore değerine ayarlanır. Bu özelliğin 1 olarak ayarlanması, hiper iş parçacığının devre dışı bırakıldığını da gösterir. |
WindowsConfiguration
Sanal makinedeki Windows işletim sistemi ayarlarını belirtir.
| Name | Tür | Description |
|---|---|---|
| additionalUnattendContent |
Windows Kurulumu tarafından kullanılan Unattend.xml dosyasına ekleyebileceğiniz ek base-64 kodlanmış XML biçimli bilgileri belirtir. |
|
| enableAutomaticUpdates |
boolean |
Windows sanal makinesi için Otomatik Güncelleştirmeler'in etkinleştirilip etkinleştirilmediğini gösterir. Varsayılan değer doğrudur. Sanal makine ölçek kümeleri için bu özellik güncelleştirilebilir ve güncelleştirmeler işletim sistemi yeniden sağlama üzerinde etkili olur. |
| enableVMAgentPlatformUpdates |
boolean |
VMAgent Platform Güncelleştirmelerinin Windows Sanal Makinesi için etkinleştirilip etkinleştirilmediğini gösterir. |
| patchSettings |
[Önizleme Özelliği] Windows'da VM Konuk Düzeltme Eki Uygulama ile ilgili ayarları belirtir. |
|
| provisionVMAgent |
boolean |
Sanal makine aracısının sanal makinede sağlanıp sağlanmayacağını gösterir. Bu özellik istek gövdesinde belirtilmediğinde varsayılan olarak true olarak ayarlanır. Bu, VM'ye daha sonra uzantı eklenebilmesi için VM Aracısı'nın VM'ye yüklenmesini sağlar. |
| timeZone |
string |
Sanal makinenin saat dilimini belirtir. Örneğin, "Pasifik Standart Saati". Olası değerler TimeZoneInfo.GetSystemTimeZones tarafından döndürülen saat dilimlerinden TimeZoneInfo.Id değer olabilir. |
| winRM |
Windows Uzaktan Yönetim dinleyicilerini belirtir. Bu, uzak Windows PowerShell'i etkinleştirir. |
WindowsPatchAssessmentMode
IaaS sanal makinesi için VM Konuk düzeltme eki değerlendirmesi modunu belirtir.
Olası değerler şunlardır:
imageDefault
AutomaticByPlatform - Platform düzenli düzeltme eki değerlendirmelerini tetikler. provisionVMAgent özelliği true olmalıdır.
| Değer | Description |
|---|---|
| ImageDefault | |
| AutomaticByPlatform |
WindowsVMGuestPatchAutomaticByPlatformRebootSetting
Tüm AutomaticByPlatform düzeltme eki yükleme işlemleri için yeniden başlatma ayarını belirtir.
| Değer | Description |
|---|---|
| Unknown | |
| IfRequired | |
| Never | |
| Always |
WindowsVMGuestPatchAutomaticByPlatformSettings
Windows düzeltme eki ayarlarında düzeltme eki modu AutomaticByPlatform seçildiğinde uygulanacak ek ayarları belirtir.
| Name | Tür | Description |
|---|---|---|
| bypassPlatformSafetyChecksOnUserSchedule |
boolean |
Müşterinin yanlışlıkla yükseltme yapmadan düzeltme eki uygulama zamanlamasını sağlar |
| rebootSetting |
Tüm AutomaticByPlatform düzeltme eki yükleme işlemleri için yeniden başlatma ayarını belirtir. |
WindowsVMGuestPatchMode
IaaS sanal makinesine veya OrchestrationMode ile sanal makine ölçek kümesiyle ilişkilendirilmiş sanal makinelere VM Konuk Düzeltme Eki Uygulama modunu Esnek olarak belirtir.
Olası değerler şunlardır:
El ile - Bir sanal makineye düzeltme eki uygulanmasını denetlersiniz. Bunu yapmak için VM'nin içine el ile düzeltme eki uygularsınız. Bu modda otomatik güncelleştirmeler devre dışı bırakılır; WindowsConfiguration.enableAutomaticUpdates özelliği false olmalıdır
AutomaticByOS - Sanal makine işletim sistemi tarafından otomatik olarak güncelleştirilir. WindowsConfiguration.enableAutomaticUpdates özelliği true olmalıdır.
AutomaticByPlatform - Sanal makine platform tarafından otomatik olarak güncelleştirilir. provisionVMAgent ve WindowsConfiguration.enableAutomaticUpdates özellikleri true olmalıdır
| Değer | Description |
|---|---|
| Manual | |
| AutomaticByOS | |
| AutomaticByPlatform |
WinRMConfiguration
VM'nin Windows Uzaktan Yönetim yapılandırmasını açıklar
| Name | Tür | Description |
|---|---|---|
| listeners |
Windows Uzaktan Yönetim dinleyicilerinin listesi |
WinRMListener
Windows Uzaktan Yönetim dinleyicisinin Protokol ve parmak izini açıklar
| Name | Tür | Description |
|---|---|---|
| certificateUrl |
string |
Bu, Key Vault'a gizli dizi olarak yüklenmiş bir sertifikanın URL'sidir. Key Vault'a gizli dizi eklemek için bkz. anahtar kasasına anahtar veya gizli dizi ekleme |
| protocol |
WinRM dinleyicisinin protokolünün belirtir. Olası değerler şunlardır: http, |
ZoneMovement
Bölge hareket konfigürasyonunu tanımlar. Bu, bir kesinti sırasında VM'nin kullanılabilirlik bölgeleri arasında taşınmasına olanak tanır.
| Name | Tür | Description |
|---|---|---|
| isEnabled |
boolean |
Bölge hareketinin etkin olup olmadığını gösterir. Varsayılan olarak isEnabled false olarak ayarlanmıştır, yani VM bir bölgeden diğerine taşınamaz. |
ZonePlacementPolicyType
Kaynağın kullanılabilirlik alanına yerleştirilmesine ilişkin ilkeyi belirtir. Olası değerler şunlardır: Herhangi biri (Sanal Makineler için kullanılır), Otomatik (Sanal Makine Ölçek Kümeleri için kullanılır) - Kaynak oluşturma işleminin bir parçası olarak sistem tarafından otomatik olarak bir kullanılabilirlik alanı seçilir.
| Değer | Description |
|---|---|
| Any | |
| Auto |
Sanal Makine Ölçek Kümesi'nde otomatik bölge yerleştirme. |