SearchModelFactory.SearchIndexerDataUserAssignedIdentity 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, string federatedIdentityClientId = default);
static member SearchIndexerDataUserAssignedIdentity : string * string -> Azure.Search.Documents.Indexes.Models.SearchIndexerDataUserAssignedIdentity
Public Shared Function SearchIndexerDataUserAssignedIdentity (Optional resourceId As String = Nothing, Optional federatedIdentityClientId 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.
- federatedIdentityClientId
- String
Multi-tenant User-Assigned Managed Identity Support: The client id of the multi-tentant App that has been configured to federate with the user-assigned managed identity.
Returns
A new SearchIndexerDataUserAssignedIdentity instance for mocking.