OrganizationPolicyArgs class
The set of arguments for OrganizationPolicy. The set of arguments for OrganizationPolicy.
Constructors
-
OrganizationPolicyArgs({Input<
OrganizationPolicyBooleanPolicy?> ? booleanPolicy, required Input<String> constraint, Input<String?> ? deletionPolicy, Input<OrganizationPolicyListPolicy?> ? listPolicy, required Input<String> project, Input<OrganizationPolicyRestorePolicy?> ? restorePolicy, Input<int?> ? version}) -
Creates a new OrganizationPolicyArgs.
booleanPolicyA boolean policy is a constraint that is either enforced or not. Structure is documented below.constraintThe name of the Constraint the Policy is configuring, for example,serviceuser.services. Check out the complete list of available constraints.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".listPolicyA 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.projectThe project id of the project to set the policy for.restorePolicyA restore policy is a constraint to restore the default policy. Structure is documented below.versionVersion of the Policy. Default version is 0.const -
OrganizationPolicyArgs.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
- 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
-
project
→ Input<
String> -
The project id of the project to set the policy for.
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
-
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