Show / Hide Table of Contents

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>",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Roles
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Okta.Group
Assembly: Pulumi.Okta.dll
Syntax
public class Roles : CustomResource

Constructors

View Source

Roles(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 Source

AdminRoles

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.