Virtual Machines - Redeploy

Sanal makineyi kapatır, yeni bir düğüme taşır ve yeniden açar.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy?api-version=2025-11-01

URI Parametreleri

Name İçinde Gerekli Tür Description
resourceGroupName
path True

string

minLength: 1
maxLength: 90

Kaynak grubunun adı. İsim büyük/küçük harfe duyarsızdır.

subscriptionId
path True

string

minLength: 1

Hedef aboneliğin kimliği.

vmName
path True

string

Sanal makinenin adı.

api-version
query True

string

minLength: 1

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

İstek başarılı oldu.

202 Accepted

Kaynak işlemi kabul edildi.

Üst Bilgiler

  • Location: string
  • Retry-After: integer
Other Status Codes

CloudError

Beklenmeyen bir hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow.

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ın kimliğine bürünme

Örnekler

VirtualMachine_Redeploy_MaximumSet_Gen
VirtualMachine_Redeploy_MinimumSet_Gen

VirtualMachine_Redeploy_MaximumSet_Gen

Örnek isteği

POST https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/rgcompute/providers/Microsoft.Compute/virtualMachines/a/redeploy?api-version=2025-11-01

Örnek yanıt

location: https://foo.com/operationstatus

VirtualMachine_Redeploy_MinimumSet_Gen

Örnek isteği

POST https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/rgcompute/providers/Microsoft.Compute/virtualMachines/aaaaaaaaaaaaaaa/redeploy?api-version=2025-11-01

Örnek yanıt

location: https://foo.com/operationstatus

Tanımlar

Name Description
ApiError

API hatası.

ApiErrorBase

Api hata tabanı.

CloudError

İşlem hizmetinden bir hata yanıtı.

InnerError

İç hata ayrıntıları.

ApiError

API hatası.

Name Tür Description
code

string

Hata kodu.

details

ApiErrorBase[]

Api hata ayrıntıları

innererror

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.

CloudError

İşlem hizmetinden bir hata yanıtı.

Name Tür Description
error

ApiError

API hatası.

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ü.