OsPolicyAssignment

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

Link copied to clipboard
val baseline: Output<Boolean>

Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of true for this field.

Link copied to clipboard
val deleted: Output<Boolean>

Indicates that this revision deletes the OS policy assignment.

Link copied to clipboard
val description: Output<String>

OS policy assignment description. Length of the description is limited to 1024 characters.

Link copied to clipboard
val etag: Output<String>

The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val name: Output<String>

Resource name. Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id} This field is ignored when you create an OS policy assignment.

Link copied to clipboard

List of OS policies to be applied to the VMs.

Link copied to clipboard

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.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val reconciling: Output<Boolean>

Indicates that reconciliation is in progress for the revision. This value is true when the rollout_state is one of: * IN_PROGRESS * CANCELLING

Link copied to clipboard

The timestamp that the revision was created.

Link copied to clipboard
val revisionId: Output<String>

The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment

Link copied to clipboard

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.

Link copied to clipboard
val rolloutState: Output<String>

OS policy assignment rollout state

Link copied to clipboard
val uid: Output<String>

Server generated unique id for the OS policy assignment resource.

Link copied to clipboard
val urn: Output<String>