MicrosoftGraphAppRoleAssignment Class

Definition

Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

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

Constructors

MicrosoftGraphAppRoleAssignment()

Creates an new MicrosoftGraphAppRoleAssignment instance.

Fields

__additionalProperties

Properties

AppRoleId

The identifier (id) for the app role which is assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create.

CreatedDateTime

The time when the app role assignment was created.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.

DeletedDateTime
DisplayName

The name displayed in directory

Id

Read-only.

Item[String]
OdataId

The full id of object in directory

OdataType

The type of object in directory

PrincipalDisplayName

The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith).

PrincipalId

The unique identifier (id) for the user, group or service principal being granted the app role. Required on create.

PrincipalType

The type of the assigned principal. This can either be User, Group or ServicePrincipal. Read-only.

ResourceDisplayName

The display name of the resource app's service principal to which the assignment is made.

ResourceId

The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only).

Methods

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

Deserializes a IDictionary into an instance of MicrosoftGraphAppRoleAssignment.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphAppRoleAssignment.

FromJson(JsonNode)

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

FromJsonString(String)

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

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphAppRoleAssignment into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)
Validate(IEventListener)

Validates that this object meets the validation criteria.

Operators

Implicit(MicrosoftGraphAppRoleAssignment to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to