Show / Hide Table of Contents

Class GroupAssignment

Assigns a group to an application.

This resource allows you to create an App Group assignment.

When using this resource, make sure to add the following lifefycle argument to the application resource you are assigning to:

using Pulumi;

class MyStack : Stack
{
public MyStack()
{
}

}

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
public MyStack()
{
    var example = new Okta.App.GroupAssignment("example", new Okta.App.GroupAssignmentArgs
    {
        AppId = "<app id>",
        GroupId = "<group id>",
        Profile = @"{
""<app_profile_field>"": ""<value>""
}

",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
GroupAssignment
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.App
Assembly: Pulumi.Okta.dll
Syntax
public class GroupAssignment : CustomResource

Constructors

View Source

GroupAssignment(String, GroupAssignmentArgs, CustomResourceOptions)

Create a GroupAssignment resource with the given unique name, arguments, and options.

Declaration
public GroupAssignment(string name, GroupAssignmentArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

GroupAssignmentArgs 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

AppId

The ID of the application to assign a group to.

Declaration
public Output<string> AppId { get; }
Property Value
Type Description
Output<System.String>
View Source

GroupId

The ID of the group to assign the app to.

Declaration
public Output<string> GroupId { get; }
Property Value
Type Description
Output<System.String>
View Source

Priority

Declaration
public Output<int?> Priority { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Profile

JSON document containing application profile

Declaration
public Output<string> Profile { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, GroupAssignmentState, CustomResourceOptions)

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

Declaration
public static GroupAssignment Get(string name, Input<string> id, GroupAssignmentState 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.

GroupAssignmentState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
GroupAssignment
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.