Share via


ManagedIdentityId.WithUserAssignedResourceId(String) Method

Definition

Create an instance of ManagedIdentityId for a user assigned managed identity from a resource id.

public static Microsoft.Identity.Client.AppConfig.ManagedIdentityId WithUserAssignedResourceId (string resourceId);
static member WithUserAssignedResourceId : string -> Microsoft.Identity.Client.AppConfig.ManagedIdentityId
Public Shared Function WithUserAssignedResourceId (resourceId As String) As ManagedIdentityId

Parameters

resourceId
String

Resource id of the user assigned managed identity assigned to the azure resource.

Returns

Instance of ManagedIdentityId.

Exceptions

Applies to