Class PolicyArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Organizations
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class PolicyArgs : ResourceArgs
Constructors
View SourcePolicyArgs()
Declaration
public PolicyArgs()
Properties
View SourceBooleanPolicy
A boolean policy is a constraint that is either enforced or not. Structure is documented below.
Declaration
public Input<PolicyBooleanPolicyArgs> BooleanPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyBooleanPolicyArgs> |
Constraint
The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints.
Declaration
public Input<string> Constraint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ListPolicy
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.
Declaration
public Input<PolicyListPolicyArgs> ListPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyListPolicyArgs> |
OrgId
The numeric ID of the organization to set the policy for.
Declaration
public Input<string> OrgId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RestorePolicy
A restore policy is a constraint to restore the default policy. Structure is documented below.
Declaration
public Input<PolicyRestorePolicyArgs> RestorePolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyRestorePolicyArgs> |
Version
Version of the Policy. Default version is 0.
Declaration
public Input<int> Version { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |