OsPolicyAssignmentState class
Input properties used for looking up and filtering OsPolicyAssignment resources.
Constructors
-
OsPolicyAssignmentState({Input<
bool?> ? baseline, Input<bool?> ? deleted, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? etag, Input<OsPolicyAssignmentInstanceFilter?> ? instanceFilter, Input<String?> ? location, Input<String?> ? name, Input<List< ? osPolicies, Input<OsPolicyAssignmentOsPolicy> ?>String?> ? project, Input<bool?> ? reconciling, Input<String?> ? revisionCreateTime, Input<String?> ? revisionId, Input<OsPolicyAssignmentRollout?> ? rollout, Input<String?> ? rolloutState, Input<bool?> ? skipAwaitRollout, Input<String?> ? uid}) -
Creates a new OsPolicyAssignmentState.
baselineOutput only. Indicates that this revision has been successfullydeletedOutput only. Indicates that this revision deletes the OS policydeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionOS policy assignment description. Length of the description is limited to 1024 characters.etagThe etag for this OS policy assignment. If this is provided oninstanceFilterFilter to select VMs. Structure islocationThe location for the resourcenameResource name.osPoliciesList of OS policies to be applied to the VMs.projectThe project for the resourcereconcilingOutput only. Indicates that reconciliation is in progressrevisionCreateTimeOutput only. The timestamp that the revision wasrevisionIdOutput only. The assignment revision ID A new revision isrolloutRollout to deploy the OS policy assignment. A rolloutrolloutStateOutput only. OS policy assignment rollout stateskipAwaitRolloutSet to true to skip awaiting rollout during resource creation and update.uidOutput only. Server generated unique id for the OS policy assignmentconst -
OsPolicyAssignmentState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
baseline
→ Input<
bool?> ? -
Output only. 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
truefor this field.final -
deleted
→ Input<
bool?> ? -
Output only. Indicates that this revision deletes the OS policy
assignment.
final
-
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
-
etag
→ Input<
String?> ? -
The etag for this OS policy assignment. If this is provided on
update, it must match the server's etag.
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
-
reconciling
→ Input<
bool?> ? -
Output only. Indicates that reconciliation is in progress
for the revision. This value is
truewhen therolloutStateis one of:final -
revisionCreateTime
→ Input<
String?> ? -
Output only. The timestamp that the revision was
created.
final
-
revisionId
→ Input<
String?> ? -
Output only. The assignment revision ID A new revision is
committed whenever a rollout is triggered for a OS policy assignment
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
-
rolloutState
→ Input<
String?> ? -
Output only. OS policy assignment rollout state
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
-
uid
→ Input<
String?> ? -
Output only. Server generated unique id for the OS policy assignment
resource.
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