SearchModelFactory.SearchIndexerCache 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.
The type of the cache.
public static Azure.Search.Documents.Indexes.Models.SearchIndexerCache SearchIndexerCache(string id = default, string storageConnectionString = default, bool? enableReprocessing = default, Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity identity = default);
static member SearchIndexerCache : string * string * Nullable<bool> * Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity -> Azure.Search.Documents.Indexes.Models.SearchIndexerCache
Public Shared Function SearchIndexerCache (Optional id As String = Nothing, Optional storageConnectionString As String = Nothing, Optional enableReprocessing As Nullable(Of Boolean) = Nothing, Optional identity As SearchIndexerDataIdentity = Nothing) As SearchIndexerCache
Parameters
- id
- String
A guid for the SearchIndexerCache.
- storageConnectionString
- String
The connection string to the storage account where the cache data will be persisted.
- identity
- SearchIndexerDataIdentity
The user-assigned managed identity used for connections to the enrichment cache. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared.
Returns
A new SearchIndexerCache instance for mocking.