Versionen von Betriebssystemrichtlinien vergleichen
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Dokument wird das Betriebssystemrichtlinienfeature von VM Manager mit dem Legacy-Gastrichtlinienfeature verglichen.
Vergleichstabelle
Sowohl die Betriebssystemrichtlinie als auch die Gastrichtlinienfeatures sind Teil der VM Manager-Suite und können durch die Einrichtung von VM Manager aktiviert werden.
Weitere Informationen finden Sie unter VM Manager einrichten.
Es gibt jedoch einige Unterschiede zwischen den beiden Optionen. Die Unterschiede sind in der folgenden Tabelle zusammengefasst.
Gastrichtlinie (Legacy)
Betriebssystemrichtlinie
Version des OS Config-Agents
Beliebig
Version vom 20210427 oder später 1
Ressourcentyp2
Global
Zonal
Erzwingung der Richtlinien und Compliance unterstützt
Nur erzwingen
Rollout unterstützt 3
Verfügbare Compliance-Berichte
Einzelne Richtlinie kann für mehrere Betriebssysteme definiert werden
3 Weitere Informationen zu Rollouts finden Sie unter Rollouts verstehen.
4Ein Softwareschema wird nur ausgeführt, wenn zuerst eine Gastrichtlinie erstellt wird.
Sie müssen die Gastrichtlinie löschen und neu erstellen, um ein Softwareschema neu auszuführen.
Aus diesem Grund verwendet die Betriebssystemrichtlinie eine ausführbare Datei, die kontinuierlich geprüft und erzwungen werden kann.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-19 (UTC)."],[[["\u003cp\u003eThis document contrasts VM Manager's OS policy feature with the legacy guest policy feature.\u003c/p\u003e\n"],["\u003cp\u003eBoth features are part of the VM Manager suite, but the OS policy requires a specific agent version (\u003ccode\u003e20210427\u003c/code\u003e or later), while the legacy guest policy works with any version.\u003c/p\u003e\n"],["\u003cp\u003eOS policy is zonal, whereas legacy guest policy is global.\u003c/p\u003e\n"],["\u003cp\u003eThe legacy guest policy only supports enforcement, while OS Policy is also able to provide policy compliance and rollout features.\u003c/p\u003e\n"],["\u003cp\u003eOS policies allow for more diverse use cases compared to legacy guest policies as they offer exclusion filters when selecting target VMs, as well as the ability to define a single policy for multiple operating systems.\u003c/p\u003e\n"]]],[],null,["# Compare OS policy versions\n\nThis document compares the OS policy feature of VM Manager with the legacy\nguest policy feature.\n\nComparison table\n----------------\n\nBoth the OS policy and guest policy (legacy) features are part of the\nVM Manager suite, and can be enabled by setting up VM Manager.\nFor more information, see [Set up VM Manager](/compute/vm-manager/docs/setup).\n\nHowever, there are a few differences between the two options. These differences\nare summarized in the following table.\n\n\n^1^To view agent version, see\n[View OS Config agent version](/compute/vm-manager/docs/upgrade-vm-manager#view-version).\n\n^2^For information about resource types, see\n[Global, regional, and zonal resources](/compute/docs/regions-zones/global-regional-zonal-resources).\n\n^3^For information about rollouts, see\n[Understanding rollouts](/compute/vm-manager/docs/os-policies/create-os-policy-assignment#rollouts).\n\n^4^A software recipe only runs when a guest policy is first created.\nTo rerun a software recipe, you would need to delete and recreate the guest policy.\nFor this reason, OS policy uses an executable that can be\ncontinuously checked and enforced.\n\n\u003cbr /\u003e\n\nWhat's next?\n------------\n\n- Learn more about [OS policies](/compute/vm-manager/docs/os-policies)."]]