Os Policy Assignment
Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
Properties
OS policy assignment description. Length of the description is limited to 1024 characters.
Filter to select VMs.
List of OS policies to be applied to the VMs.
Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
Indicates that reconciliation is in progress for the revision. This value is true
when the rollout_state
is one of: * IN_PROGRESS * CANCELLING
The timestamp that the revision was created.
The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
OS policy assignment rollout state