SynonymMapsOperationsExtensions.CreateOrUpdate 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.
Overloads
CreateOrUpdate(ISynonymMapsOperations, SynonymMap, SearchRequestOptions, AccessCondition) |
Creates a new synonym map or updates a synonym map if it already exists. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map |
CreateOrUpdate(ISynonymMapsOperations, String, SynonymMap, SearchRequestOptions, AccessCondition) |
Creates a new synonym map or updates a synonym map if it already exists. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map |
CreateOrUpdate(ISynonymMapsOperations, SynonymMap, SearchRequestOptions, AccessCondition)
Creates a new synonym map or updates a synonym map if it already exists. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map
public static Microsoft.Azure.Search.Models.SynonymMap CreateOrUpdate (this Microsoft.Azure.Search.ISynonymMapsOperations operations, Microsoft.Azure.Search.Models.SynonymMap synonymMap, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default);
static member CreateOrUpdate : Microsoft.Azure.Search.ISynonymMapsOperations * Microsoft.Azure.Search.Models.SynonymMap * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition -> Microsoft.Azure.Search.Models.SynonymMap
<Extension()>
Public Function CreateOrUpdate (operations As ISynonymMapsOperations, synonymMap As SynonymMap, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing) As SynonymMap
Parameters
- operations
- ISynonymMapsOperations
The operations group for this extension method.
- synonymMap
- SynonymMap
The definition of the synonymmap to create or update.
- searchRequestOptions
- SearchRequestOptions
Additional parameters for the operation.
- accessCondition
- AccessCondition
Additional parameters for the operation.
Returns
The synonym map that was created or updated.
Applies to
CreateOrUpdate(ISynonymMapsOperations, String, SynonymMap, SearchRequestOptions, AccessCondition)
Creates a new synonym map or updates a synonym map if it already exists. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map
public static Microsoft.Azure.Search.Models.SynonymMap CreateOrUpdate (this Microsoft.Azure.Search.ISynonymMapsOperations operations, string synonymMapName, Microsoft.Azure.Search.Models.SynonymMap synonymMap, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default);
static member CreateOrUpdate : Microsoft.Azure.Search.ISynonymMapsOperations * string * Microsoft.Azure.Search.Models.SynonymMap * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition -> Microsoft.Azure.Search.Models.SynonymMap
<Extension()>
Public Function CreateOrUpdate (operations As ISynonymMapsOperations, synonymMapName As String, synonymMap As SynonymMap, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing) As SynonymMap
Parameters
- operations
- ISynonymMapsOperations
The operations group for this extension method.
- synonymMapName
- String
The name of the synonym map to create or update.
- synonymMap
- SynonymMap
The definition of the synonym map to create or update.
- searchRequestOptions
- SearchRequestOptions
Additional parameters for the operation
- accessCondition
- AccessCondition
Additional parameters for the operation
Returns
Applies to
Azure SDK for .NET