Class Roles
Creates Group level Admin Role Assignments.
This resource allows you to create and configure Group level Admin Role Assignments.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.Group.Roles("example", new Okta.Group.RolesArgs
{
AdminRoles =
{
"SUPER_ADMIN",
},
GroupId = "<group id>",
});
}
}
Inherited Members
Namespace: Pulumi.Okta.Group
Assembly: Pulumi.Okta.dll
Syntax
public class Roles : CustomResource
Constructors
View SourceRoles(String, RolesArgs, CustomResourceOptions)
Create a Roles resource with the given unique name, arguments, and options.
Declaration
public Roles(string name, RolesArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RolesArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAdminRoles
Admin roles associated with the group. It can be any of the following values "SUPER_ADMIN", "ORG_ADMIN", "APP_ADMIN", "USER_ADMIN", "HELP_DESK_ADMIN", "READ_ONLY_ADMIN", "MOBILE_ADMIN", "API_ACCESS_MANAGEMENT_ADMIN", "REPORT_ADMIN".
Declaration
public Output<ImmutableArray<string>> AdminRoles { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
GroupId
The ID of group to attach admin roles to.
Declaration
public Output<string> GroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RolesState, CustomResourceOptions)
Get an existing Roles resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Roles Get(string name, Input<string> id, RolesState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RolesState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Roles |