MSGraph.ServicePrincipalsCreateAppRoleAssignmentsWithResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphAppRoleAssignment> ServicePrincipalsCreateAppRoleAssignmentsWithResult (string servicePrincipalId, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphAppRoleAssignment body, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.ServicePrincipalsCreateAppRoleAssignmentsWithResult : string * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphAppRoleAssignment * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphAppRoleAssignment>
Public Function ServicePrincipalsCreateAppRoleAssignmentsWithResult (servicePrincipalId As String, body As IMicrosoftGraphAppRoleAssignment, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IMicrosoftGraphAppRoleAssignment)
Parameters
- servicePrincipalId
- String
- eventListener
- IEventListener
- sender
- ISendAsync
- serializationMode
- SerializationMode