UsersPermissions
Create a UsersPermissions Resource
new UsersPermissions(name: string, args: UsersPermissionsArgs, opts?: CustomResourceOptions);
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)
func NewUsersPermissions(ctx *Context, name string, args UsersPermissionsArgs, opts ...ResourceOption) (*UsersPermissions, error)
public UsersPermissions(string name, UsersPermissionsArgs args, CustomResourceOptions? opts = null)
- 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.
- opts ResourceOptions
- A bag of options that control this 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.
UsersPermissions Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The UsersPermissions resource accepts the following input properties:
- Realm
Id string - Impersonate
Scope UsersPermissions Impersonate Scope Args - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - Manage
Scope UsersPermissions Manage Scope Args - Map
Roles UsersScope Permissions Map Roles Scope Args - User
Impersonated UsersScope Permissions User Impersonated Scope Args - View
Scope UsersPermissions View Scope Args
- Realm
Id string - Impersonate
Scope UsersPermissions Impersonate Scope - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope - Manage
Scope UsersPermissions Manage Scope - Map
Roles UsersScope Permissions Map Roles Scope - User
Impersonated UsersScope Permissions User Impersonated Scope - View
Scope UsersPermissions View Scope
- realm
Id string - impersonate
Scope UsersPermissions Impersonate Scope - manage
Group UsersMembership Scope Permissions Manage Group Membership Scope - manage
Scope UsersPermissions Manage Scope - map
Roles UsersScope Permissions Map Roles Scope - user
Impersonated UsersScope Permissions User Impersonated Scope - view
Scope UsersPermissions View Scope
- realm_
id str - impersonate_
scope UsersPermissions Impersonate Scope Args - manage_
group_ Usersmembership_ scope Permissions Manage Group Membership Scope Args - manage_
scope UsersPermissions Manage Scope Args - map_
roles_ Usersscope Permissions Map Roles Scope Args - user_
impersonated_ Usersscope Permissions User Impersonated Scope Args - view_
scope UsersPermissions View Scope Args
Outputs
All input properties are implicitly available as output properties. Additionally, the UsersPermissions resource produces the following output properties:
Look up an 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)
- 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.
The following state arguments are supported:
- string
Resource server id representing the realm management client on which this permission is managed
- Enabled bool
- Impersonate
Scope UsersPermissions Impersonate Scope Args - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope Args - Manage
Scope UsersPermissions Manage Scope Args - Map
Roles UsersScope Permissions Map Roles Scope Args - Realm
Id string - User
Impersonated UsersScope Permissions User Impersonated Scope Args - View
Scope UsersPermissions View Scope Args
- string
Resource server id representing the realm management client on which this permission is managed
- Enabled bool
- Impersonate
Scope UsersPermissions Impersonate Scope - Manage
Group UsersMembership Scope Permissions Manage Group Membership Scope - Manage
Scope UsersPermissions Manage Scope - Map
Roles UsersScope Permissions Map Roles Scope - Realm
Id string - User
Impersonated UsersScope Permissions User Impersonated Scope - View
Scope UsersPermissions View Scope
- string
Resource server id representing the realm management client on which this permission is managed
- enabled boolean
- impersonate
Scope UsersPermissions Impersonate Scope - manage
Group UsersMembership Scope Permissions Manage Group Membership Scope - manage
Scope UsersPermissions Manage Scope - map
Roles UsersScope Permissions Map Roles Scope - realm
Id string - user
Impersonated UsersScope Permissions User Impersonated Scope - view
Scope UsersPermissions View Scope
- str
Resource server id representing the realm management client on which this permission is managed
- enabled bool
- impersonate_
scope UsersPermissions Impersonate Scope Args - manage_
group_ Usersmembership_ scope Permissions Manage Group Membership Scope Args - manage_
scope UsersPermissions Manage Scope Args - map_
roles_ Usersscope Permissions Map Roles Scope Args - realm_
id str - user_
impersonated_ Usersscope Permissions User Impersonated Scope Args - view_
scope UsersPermissions View Scope Args
Supporting Types
UsersPermissionsImpersonateScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
UsersPermissionsManageGroupMembershipScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
UsersPermissionsManageScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
UsersPermissionsMapRolesScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
UsersPermissionsUserImpersonatedScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
UsersPermissionsViewScope
- Decision
Strategy string - Description string
- Policies List<string>
- Decision
Strategy string - Description string
- Policies []string
- decision
Strategy string - description string
- policies string[]
- decision_
strategy str - description str
- policies Sequence[str]
Package Details
- Repository
- https://github.com/pulumi/pulumi-keycloak
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
keycloak
Terraform Provider.