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
LookupOrganizationPolicyin 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:
- Boolean
Policies List<GetOrganization Policy Boolean Policy> - Constraint string
- Etag string
- Folder string
- Id string
The provider-assigned unique ID for this managed resource.
- List
Policies List<GetOrganization Policy List Policy> - Restore
Policies List<GetOrganization Policy Restore Policy> - Update
Time string - Version int
- Boolean
Policies []GetOrganization Policy Boolean Policy - Constraint string
- Etag string
- Folder string
- Id string
The provider-assigned unique ID for this managed resource.
- List
Policies []GetOrganization Policy List Policy - Restore
Policies []GetOrganization Policy Restore Policy - Update
Time string - Version int
- boolean
Policies GetOrganization Policy Boolean Policy[] - constraint string
- etag string
- folder string
- id string
The provider-assigned unique ID for this managed resource.
- list
Policies GetOrganization Policy List Policy[] - restore
Policies GetOrganization Policy Restore Policy[] - update
Time string - version number
- boolean_
policies List[GetOrganization Policy Boolean Policy] - constraint str
- etag str
- folder str
- id str
The provider-assigned unique ID for this managed resource.
- list_
policies List[GetOrganization Policy List Policy] - restore_
policies List[GetOrganization Policy Restore Policy] - 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.
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.
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.
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.
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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.