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
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.- 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:
- Boolean
Policies List<GetOrganization Policy Boolean Policy> - Constraint string
- Etag string
- Id string
The provider-assigned unique ID for this managed resource.
- List
Policies List<GetOrganization Policy List Policy> - Project string
- Restore
Policies List<GetOrganization Policy Restore Policy> - Update
Time string - Version int
- Boolean
Policies []GetOrganization Policy Boolean Policy - Constraint string
- Etag string
- Id string
The provider-assigned unique ID for this managed resource.
- List
Policies []GetOrganization Policy List Policy - Project string
- Restore
Policies []GetOrganization Policy Restore Policy - Update
Time string - Version int
- boolean
Policies GetOrganization Policy Boolean Policy[] - constraint string
- etag string
- id string
The provider-assigned unique ID for this managed resource.
- list
Policies GetOrganization Policy List Policy[] - project string
- restore
Policies GetOrganization Policy Restore Policy[] - update
Time string - version number
- boolean_
policies List[GetOrganization Policy Boolean Policy] - constraint str
- etag str
- id str
The provider-assigned unique ID for this managed resource.
- list_
policies List[GetOrganization Policy List Policy] - project str
- 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.