OsPolicyAssignmentArgs class

The set of arguments for OsPolicyAssignment. The set of arguments for OsPolicyAssignment.

Constructors

OsPolicyAssignmentArgs({Input<String?>? deletionPolicy, Input<String?>? description, required Input<OsPolicyAssignmentInstanceFilter> instanceFilter, required Input<String> location, Input<String?>? name, required Input<List<OsPolicyAssignmentOsPolicy>> osPolicies, Input<String?>? project, required Input<OsPolicyAssignmentRollout> rollout, Input<bool?>? skipAwaitRollout})
Creates a new OsPolicyAssignmentArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description OS policy assignment description. Length of the description is limited to 1024 characters. instanceFilter Filter to select VMs. Structure is location The location for the resource name Resource name. osPolicies List of OS policies to be applied to the VMs. project The project for the resource rollout Rollout to deploy the OS policy assignment. A rollout skipAwaitRollout Set to true to skip awaiting rollout during resource creation and update.
const
OsPolicyAssignmentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
OS policy assignment description. Length of the description is limited to 1024 characters.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceFilter → Input<OsPolicyAssignmentInstanceFilter>
Filter to select VMs. Structure is documented below.
final
location → Input<String>
The location for the resource
final
name → Input<String?>?
Resource name.
final
osPolicies → Input<List<OsPolicyAssignmentOsPolicy>>
List of OS policies to be applied to the VMs. Structure is documented below.
final
project → Input<String?>?
The project for the resource
final
rollout → Input<OsPolicyAssignmentRollout>
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: - instanceFilter - osPolicies 3) OSPolicyAssignment is deleted. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skipAwaitRollout → Input<bool?>?
Set to true to skip awaiting rollout during resource creation and update.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited