You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ms-zhenhua opened this issue
Nov 29, 2024
· 1 comment
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.MgmtThis issue is related to a management-plane library.
bugThis issue requires a change to an existing behavior in the product in order to be resolved.MgmtThis issue is related to a management-plane library.
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json
API Spec version
2024-03-01
Describe the bug
PUT response does not return scheduledEventsPolicy which exists in PUT Request, which is not consistent with the MS-DOC.
PUT Request:
PUT https: //management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest0001/providers/Microsoft.Compute/virtualMachines/acctest0001?api-version=2024-03-01
X-Ms-Correlation-Request-Id: 3be91d8c-1ad8-851d-64c8-701eb11965e5
{
"location": "westeurope",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS3_v2"
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest0001/providers/Microsoft.Network/networkInterfaces/acctest0001",
"properties": {
"primary": false
}
}
]
},
"osProfile": {
"adminPassword": "xxx",
"adminUsername": "testadmin",
"computerName": "hostname230630032848831819",
"linuxConfiguration": {
"disablePasswordAuthentication": false
}
},
"scheduledEventsPolicy": {
"scheduledEventsAdditionalPublishingTargets": {
"eventGridAndResourceGraph": {
"enable": false
}
},
"userInitiatedReboot": {
"automaticallyApprove": true
},
"userInitiatedRedeploy": {
"automaticallyApprove": true
}
},
"securityProfile": {
"encryptionAtHost": true
},
"storageProfile": {
"imageReference": {
"offer": "UbuntuServer",
"publisher": "Canonical",
"sku": "16.04-LTS",
"version": "latest"
},
"osDisk": {
"caching": "ReadWrite",
"createOption": "FromImage",
"name": "myosdisk1",
"writeAcceleratorEnabled": false
}
}
}
}
Expected behavior
PUT response should return the same value of scheduledEventsPolicy which exists in PUT Request,
Actual behavior
PUT response does not return the value of scheduledEventsPolicy which exists in PUT Request,
Reproduction Steps
Environment
No response
The text was updated successfully, but these errors were encountered: