Share via


MSGraph.ServicePrincipalsAddKeyViaJsonStringWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential> ServicePrincipalsAddKeyViaJsonStringWithResult (string servicePrincipalId, string jsonString, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.ISendAsync sender);
member this.ServicePrincipalsAddKeyViaJsonStringWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential>
Public Function ServicePrincipalsAddKeyViaJsonStringWithResult (servicePrincipalId As String, jsonString As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IMicrosoftGraphKeyCredential)

Parameters

servicePrincipalId
String
jsonString
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to