keycloak logo
Keycloak v5.1.0, Mar 14 23

keycloak.UsersPermissions

Create UsersPermissions Resource

new UsersPermissions(name: string, args: UsersPermissionsArgs, opts?: CustomResourceOptions);
@overload
def UsersPermissions(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     impersonate_scope: Optional[UsersPermissionsImpersonateScopeArgs] = None,
                     manage_group_membership_scope: Optional[UsersPermissionsManageGroupMembershipScopeArgs] = None,
                     manage_scope: Optional[UsersPermissionsManageScopeArgs] = None,
                     map_roles_scope: Optional[UsersPermissionsMapRolesScopeArgs] = None,
                     realm_id: Optional[str] = None,
                     user_impersonated_scope: Optional[UsersPermissionsUserImpersonatedScopeArgs] = None,
                     view_scope: Optional[UsersPermissionsViewScopeArgs] = None)
@overload
def UsersPermissions(resource_name: str,
                     args: UsersPermissionsArgs,
                     opts: Optional[ResourceOptions] = None)
func NewUsersPermissions(ctx *Context, name string, args UsersPermissionsArgs, opts ...ResourceOption) (*UsersPermissions, error)
public UsersPermissions(string name, UsersPermissionsArgs args, CustomResourceOptions? opts = null)
public UsersPermissions(String name, UsersPermissionsArgs args)
public UsersPermissions(String name, UsersPermissionsArgs args, CustomResourceOptions options)
type: keycloak:UsersPermissions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args UsersPermissionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args UsersPermissionsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args UsersPermissionsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args UsersPermissionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args UsersPermissionsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

UsersPermissions Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The UsersPermissions resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the UsersPermissions resource produces the following output properties:

AuthorizationResourceServerId string

Resource server id representing the realm management client on which this permission is managed

Enabled bool
Id string

The provider-assigned unique ID for this managed resource.

AuthorizationResourceServerId string

Resource server id representing the realm management client on which this permission is managed

Enabled bool
Id string

The provider-assigned unique ID for this managed resource.

authorizationResourceServerId String

Resource server id representing the realm management client on which this permission is managed

enabled Boolean
id String

The provider-assigned unique ID for this managed resource.

authorizationResourceServerId string

Resource server id representing the realm management client on which this permission is managed

enabled boolean
id string

The provider-assigned unique ID for this managed resource.

authorization_resource_server_id str

Resource server id representing the realm management client on which this permission is managed

enabled bool
id str

The provider-assigned unique ID for this managed resource.

authorizationResourceServerId String

Resource server id representing the realm management client on which this permission is managed

enabled Boolean
id String

The provider-assigned unique ID for this managed resource.

Look up Existing UsersPermissions Resource

Get an existing UsersPermissions resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: UsersPermissionsState, opts?: CustomResourceOptions): UsersPermissions
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authorization_resource_server_id: Optional[str] = None,
        enabled: Optional[bool] = None,
        impersonate_scope: Optional[UsersPermissionsImpersonateScopeArgs] = None,
        manage_group_membership_scope: Optional[UsersPermissionsManageGroupMembershipScopeArgs] = None,
        manage_scope: Optional[UsersPermissionsManageScopeArgs] = None,
        map_roles_scope: Optional[UsersPermissionsMapRolesScopeArgs] = None,
        realm_id: Optional[str] = None,
        user_impersonated_scope: Optional[UsersPermissionsUserImpersonatedScopeArgs] = None,
        view_scope: Optional[UsersPermissionsViewScopeArgs] = None) -> UsersPermissions
func GetUsersPermissions(ctx *Context, name string, id IDInput, state *UsersPermissionsState, opts ...ResourceOption) (*UsersPermissions, error)
public static UsersPermissions Get(string name, Input<string> id, UsersPermissionsState? state, CustomResourceOptions? opts = null)
public static UsersPermissions get(String name, Output<String> id, UsersPermissionsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:

Supporting Types

UsersPermissionsImpersonateScope

DecisionStrategy string
Description string
Policies List<string>
decisionStrategy String
description String
policies List<String>
decisionStrategy String
description String
policies List<String>

UsersPermissionsManageGroupMembershipScope

DecisionStrategy string
Description string
Policies List<string>
decisionStrategy String
description String
policies List<String>
decisionStrategy String
description String
policies List<String>

UsersPermissionsManageScope

DecisionStrategy string
Description string
Policies List<string>
decisionStrategy String
description String
policies List<String>
decisionStrategy String
description String
policies List<String>

UsersPermissionsMapRolesScope

DecisionStrategy string
Description string
Policies List<string>
decisionStrategy String
description String
policies List<String>
decisionStrategy String
description String
policies List<String>

UsersPermissionsUserImpersonatedScope

DecisionStrategy string
Description string
Policies List<string>
decisionStrategy String
description String
policies List<String>
decisionStrategy String
description String
policies List<String>

UsersPermissionsViewScope

DecisionStrategy string
Description string
Policies List<string>
decisionStrategy String
description String
policies List<String>
decisionStrategy String
description String
policies List<String>

Package Details

Repository
Keycloak pulumi/pulumi-keycloak
License
Apache-2.0
Notes

This Pulumi package is based on the keycloak Terraform Provider.