GetOrganizationPolicy

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

Using GetOrganizationPolicy

function getOrganizationPolicy(args: GetOrganizationPolicyArgs, opts?: InvokeOptions): Promise<GetOrganizationPolicyResult>
function  get_organization_policy(constraint=None, project=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.

Project string

The project 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.

Project string

The project 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.

project string

The project 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.

project str

The project ID.

GetOrganizationPolicy Result

The following output properties are available:

BooleanPolicies List<GetOrganizationPolicyBooleanPolicy>
Constraint string
Etag string
Id string

The provider-assigned unique ID for this managed resource.

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

The provider-assigned unique ID for this managed resource.

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

The provider-assigned unique ID for this managed resource.

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

The provider-assigned unique ID for this managed resource.

list_policies List[GetOrganizationPolicyListPolicy]
project str
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.