Gets or sets specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. C# [Newtonsoft.Json.JsonProperty(PropertyName="diagnosticsProfile")]publicMicrosoft.Azure.Management.Compute.Models.DiagnosticsProfile DiagnosticsProfile {get;set; } ...
Set-AzureRmVMBootDiagnosticsCmdlet 會修改虛擬機的開機診斷屬性。 範例 範例1:啟用開機診斷 PowerShell PS C:\>$VM=Get-AzureRmVM-ResourceGroupName"ResourceGroup11"-Name"ContosoVM07"PS C:\>Set-AzureRmVMBootDiagnostics-VM$VM-Enable-ResourceGroupName"ResourceGroup11"-StorageAccountName"DiagnosticStorage"...
此扩展资源使用 storageName 变量和 diagnostic 变量来提供值。 要更改此扩展收集的数据,可将更多的性能计数器添加到 wadperfcounters 变量。 还可以选择将诊断数据放入其他存储帐户,而不是 VM 磁盘所在的存储帐户。 可在VM 上安装许多扩展,但最有用的扩展也许是自定义脚本扩展。 在本示例中,首次启动每个 VM 时,...
"storageAccount"=$storageAccountName}$exname="Microsoft.Insights.VMDiagnosticsSettings"$publisher="Microsoft.OSTCExtensions"$type="LinuxDiagnostic"$typeHandlerVersion="2.3"$protectedSettings= @{"storageAccountName"=$storageAccountName;` "storageAccountKey"=$storageAccountKey; ` "storageAccountEndPoint"="htt...
VM 意外重启或停止 磁盘管理 Azure 磁盘加密 VM 扩展无法正常运行 无法激活我的 Windows VM 收到分配失败 VM 计划内维护 VM 部署失败 无法创建 VM 按需容量预留问题 Azure 磁盘加密 (ADE) 自定义脚本扩展 (CSE) Azure 运行命令 VM 工具的远程故障排除 ...
public class WebRole : RoleEntryPoint { public override bool OnStart() { DiagnosticMonitorConfiguration diagConfig = DiagnosticMonitor.GetDefaultInitialConfiguration(); diagConfig.WindowsEventLog.DataSources.Add("System!*"); diagConfig.WindowsEventLog.DataSources.Add("Application!*"); diagConfig.Windows...
Specify what happens to the network interface when the VM is deleted DiagnosticsProfile Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. DiffDiskOptions Specifies the ephemeral disk settings for operating system disk. DiffDiskPlacement Specifies the ephemeral disk pla...
Files for FreeBSD VM disks Contact us for help Applies to: ✔️ Linux VMs ✔️ Windows VMs Original KB number: 3137442 This article lists the Microsoft Azure IaaS VM logs and diagnostic information that's collected during troubleshooting by Microsoft Support. With your consent, Microsoft...
Files for FreeBSD VM disks Contact us for help Applies to: ✔️ Linux VMs ✔️ Windows VMs Original KB number: 3137442 This article lists the Microsoft Azure IaaS VM logs and diagnostic information that's collected during troubleshooting by Microsoft Support. With your consent, Microsoft...
Configure the Monitoring option to select the storage account where you would like to place these diagnostic files. If you are deploying from a Azure Resource Manager template, navigate to your Virtual Machine resource and append the diagnostics profile section. Remember to use the “2015-06-15”...