GetOrganizationPolicy

Allows management of Organization policies for a Google Folder. For more information see the official documentation

Using GetOrganizationPolicy

function getOrganizationPolicy(args: GetOrganizationPolicyArgs, opts?: InvokeOptions): Promise<GetOrganizationPolicyResult>
function  get_organization_policy(constraint=None, folder=None, opts=None)
func LookupOrganizationPolicy(ctx *Context, args *LookupOrganizationPolicyArgs, opts ...InvokeOption) (*LookupOrganizationPolicyResult, error)

Note: This function is named LookupOrganizationPolicy in the Go SDK.

public static class GetOrganizationPolicy {
    public static Task<GetOrganizationPolicyResult> InvokeAsync(GetOrganizationPolicyArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Constraint string

(Required) The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints.

Folder string

The resource name of the folder to set the policy for. Its format is folders/{folder_id}.

Constraint string

(Required) The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints.

Folder string

The resource name of the folder to set the policy for. Its format is folders/{folder_id}.

constraint string

(Required) The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints.

folder string

The resource name of the folder to set the policy for. Its format is folders/{folder_id}.

constraint str

(Required) The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints.

folder str

The resource name of the folder to set the policy for. Its format is folders/{folder_id}.

GetOrganizationPolicy Result

The following output properties are available:

BooleanPolicies List<GetOrganizationPolicyBooleanPolicy>
Constraint string
Etag string
Folder string
Id string

The provider-assigned unique ID for this managed resource.

ListPolicies List<GetOrganizationPolicyListPolicy>
RestorePolicies List<GetOrganizationPolicyRestorePolicy>
UpdateTime string
Version int
BooleanPolicies []GetOrganizationPolicyBooleanPolicy
Constraint string
Etag string
Folder string
Id string

The provider-assigned unique ID for this managed resource.

ListPolicies []GetOrganizationPolicyListPolicy
RestorePolicies []GetOrganizationPolicyRestorePolicy
UpdateTime string
Version int
booleanPolicies GetOrganizationPolicyBooleanPolicy[]
constraint string
etag string
folder string
id string

The provider-assigned unique ID for this managed resource.

listPolicies GetOrganizationPolicyListPolicy[]
restorePolicies GetOrganizationPolicyRestorePolicy[]
updateTime string
version number
boolean_policies List[GetOrganizationPolicyBooleanPolicy]
constraint str
etag str
folder str
id str

The provider-assigned unique ID for this managed resource.

list_policies List[GetOrganizationPolicyListPolicy]
restore_policies List[GetOrganizationPolicyRestorePolicy]
update_time str
version float

Supporting Types

GetOrganizationPolicyBooleanPolicy

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Enforced bool
Enforced bool
enforced boolean
enforced bool

GetOrganizationPolicyListPolicy

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Allows List<GetOrganizationPolicyListPolicyAllowArgs>
Denies List<GetOrganizationPolicyListPolicyDenyArgs>
InheritFromParent bool
SuggestedValue string
Allows []GetOrganizationPolicyListPolicyAllow
Denies []GetOrganizationPolicyListPolicyDeny
InheritFromParent bool
SuggestedValue string
allows GetOrganizationPolicyListPolicyAllow[]
denies GetOrganizationPolicyListPolicyDeny[]
inheritFromParent boolean
suggestedValue string
allows List[GetOrganizationPolicyListPolicyAllow]
denies List[GetOrganizationPolicyListPolicyDeny]
inheritFromParent bool
suggestedValue str

GetOrganizationPolicyListPolicyAllow

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

All bool
Values List<string>
All bool
Values []string
all boolean
values string[]
all bool
values List[str]

GetOrganizationPolicyListPolicyDeny

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

All bool
Values List<string>
All bool
Values []string
all boolean
values string[]
all bool
values List[str]

GetOrganizationPolicyRestorePolicy

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Default bool
Default bool
default boolean
default bool

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.