MicrosoftGraphAppRole Class

Definition

appRole

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphAppRoleTypeConverter))]
public class MicrosoftGraphAppRole : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphAppRole, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphAppRoleTypeConverter))>]
type MicrosoftGraphAppRole = class
    interface IMicrosoftGraphAppRole
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class MicrosoftGraphAppRole
Implements IAssociativeArray(Of Object), IMicrosoftGraphAppRole
Inheritance
MicrosoftGraphAppRole
Attributes
Implements

Constructors

MicrosoftGraphAppRole()

Creates an new MicrosoftGraphAppRole instance.

Fields

__additionalProperties

Properties

AllowedMemberType

Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment to other applications' service principals are also known as application permissions. The 'Application' value is only supported for app roles defined on application entities.

Description

The description for the app role. This is displayed when the app role is being assigned and, if the app role functions as an application permission, during consent experiences.

DisplayName

Display name for the permission that appears in the app role assignment and consent experiences.

Id

Unique role identifier inside the appRoles collection. When creating a new app role, a new Guid identifier must be provided.

IsEnabled

When creating or updating an app role, this must be set to true (which is the default). To delete a role, this must first be set to false. At that point, in a subsequent call, this role may be removed.

Item[String]
Origin

Specifies if the app role is defined on the application object or on the servicePrincipal entity. Must not be included in any POST or PATCH requests. Read-only.

Value

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MicrosoftGraphAppRole.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphAppRole.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphAppRole.

FromJsonString(String)

Creates a new instance of MicrosoftGraphAppRole, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphAppRole into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)

Operators

Implicit(MicrosoftGraphAppRole to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to