SearchModelFactory.SearchIndexerDataUserAssignedIdentity(String) 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.
Specifies the identity for a datasource to use.
public static Azure.Search.Documents.Indexes.Models.SearchIndexerDataUserAssignedIdentity SearchIndexerDataUserAssignedIdentity(string resourceId = default);
static member SearchIndexerDataUserAssignedIdentity : string -> Azure.Search.Documents.Indexes.Models.SearchIndexerDataUserAssignedIdentity
Public Shared Function SearchIndexerDataUserAssignedIdentity (Optional resourceId As String = Nothing) As SearchIndexerDataUserAssignedIdentity
Parameters
- resourceId
- String
The fully qualified Azure resource Id of a user assigned managed identity typically in the form "/subscriptions/12345678-1234-1234-1234-1234567890ab/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId" that should have been assigned to the search service.
Returns
A new SearchIndexerDataUserAssignedIdentity instance for mocking.