OrganizationPolicyState class

Input properties used for looking up and filtering OrganizationPolicy resources.

Constructors

OrganizationPolicyState({Input<OrganizationPolicyBooleanPolicy?>? booleanPolicy, Input<String?>? constraint, Input<String?>? deletionPolicy, Input<String?>? etag, Input<String?>? folder, Input<OrganizationPolicyListPolicy?>? listPolicy, Input<OrganizationPolicyRestorePolicy?>? restorePolicy, Input<String?>? updateTime, Input<int?>? version})
Creates a new OrganizationPolicyState. booleanPolicy A boolean policy is a constraint that is either enforced or not. Structure is documented below. constraint The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". etag (Computed) The etag of the organization policy. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. folder The resource name of the folder to set the policy for. Its format is folders/{folder_id}. listPolicy A policy that can define specific values that are allowed or denied for the given constraint. It restorePolicy A restore policy is a constraint to restore the default policy. Structure is documented below. updateTime (Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z". version Version of the Policy. Default version is 0.
const
OrganizationPolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

booleanPolicy → Input<OrganizationPolicyBooleanPolicy?>?
A boolean policy is a constraint that is either enforced or not. Structure is documented below.
final
constraint → Input<String?>?
The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints.
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
etag → Input<String?>?
(Computed) The etag of the organization policy. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other.
final
folder → Input<String?>?
The resource name of the folder to set the policy for. Its format is folders/{folder_id}.
final
hashCode → int
The hash code for this object.
no setterinherited
listPolicy → Input<OrganizationPolicyListPolicy?>?
A policy that can define specific values that are allowed or denied for the given constraint. It can also be used to allow or deny all values. Structure is documented below.
final
restorePolicy → Input<OrganizationPolicyRestorePolicy?>?
A restore policy is a constraint to restore the default policy. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updateTime → Input<String?>?
(Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z".
final
version → Input<int?>?
Version of the Policy. Default version is 0.
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