Azure VM のバックアップが構成されているかどうかを確認しようとしています。次の REST API https://docs.microsoft.com/en-us/rest/api/compute/virtual-machines/instance-viewを使用して、Linux VM のみの Ex 出力に必要な情報を取得できました。
{
"computerName": "vm01",
"osName": "ubuntu",
"osVersion": "20.04",
"vmAgent": {
"vmAgentVersion": "2.5.0.2",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Ready",
"message": "Guest Agent is running",
"time": "2021-11-17T13:52:54+00:00"
}
],
"extensionHandlers": [
{
"type": "Microsoft.Azure.RecoveryServices.VMSnapshotLinux",
"typeHandlerVersion": "1.0.9187.0",
"status": {
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Ready",
"message": "Plugin enabled"
}
}
]
},
...
}
Windows 仮想マシン
{
"computerName": "vm02",
"osName": "Windows Server 2019 Datacenter",
"osVersion": "10.0.17763.2300",
"vmAgent": {
"vmAgentVersion": "2.7.41491.1029",
"statuses": [
...
]
},
"disks": [
...
],
"bootDiagnostics": {},
"hyperVGeneration": "V1",
"statuses": [
...
]
}
extensionHandlersの下にMicrosoft.Azure.RecoveryServices.VMSnapshotLinuxがありますが、Windows 仮想マシンには同等のものはありません。これを達成する方法はありますか?
一括検証とVault 情報が利用できません。