Compartir a través de


SynonymMapsOperationsExtensions.CreateOrUpdateAsync Método

Definición

Sobrecargas

CreateOrUpdateAsync(ISynonymMapsOperations, SynonymMap, SearchRequestOptions, AccessCondition, CancellationToken)

Crea un nuevo mapa de sinónimos o actualiza un mapa de sinónimos si ya existe. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map

CreateOrUpdateAsync(ISynonymMapsOperations, String, SynonymMap, SearchRequestOptions, AccessCondition, CancellationToken)

Crea un nuevo mapa de sinónimos o actualiza un mapa de sinónimos si ya existe. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map

CreateOrUpdateAsync(ISynonymMapsOperations, SynonymMap, SearchRequestOptions, AccessCondition, CancellationToken)

Source:
SynonymMapsOperationsExtensions.Customization.cs

Crea un nuevo mapa de sinónimos o actualiza un mapa de sinónimos si ya existe. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map

public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.SynonymMap> CreateOrUpdateAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Search.ISynonymMapsOperations * Microsoft.Azure.Search.Models.SynonymMap * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.SynonymMap>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISynonymMapsOperations, synonymMap As SynonymMap, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SynonymMap)

Parámetros

operations
ISynonymMapsOperations

El grupo de operaciones de este método de extensión.

synonymMap
SynonymMap

Definición del mapa de sinónimos que se va a crear o actualizar.

searchRequestOptions
SearchRequestOptions

Parámetros adicionales para la operación.

accessCondition
AccessCondition

Parámetros adicionales para la operación.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Mapa de sinónimos que se creó o actualizó.

Se aplica a

CreateOrUpdateAsync(ISynonymMapsOperations, String, SynonymMap, SearchRequestOptions, AccessCondition, CancellationToken)

Source:
SynonymMapsOperationsExtensions.Customization.cs

Crea un nuevo mapa de sinónimos o actualiza un mapa de sinónimos si ya existe. https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map

public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.SynonymMap> CreateOrUpdateAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Search.ISynonymMapsOperations * string * Microsoft.Azure.Search.Models.SynonymMap * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.SynonymMap>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISynonymMapsOperations, synonymMapName As String, synonymMap As SynonymMap, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SynonymMap)

Parámetros

operations
ISynonymMapsOperations

El grupo de operaciones de este método de extensión.

synonymMapName
String

Nombre del mapa de sinónimos que se va a crear o actualizar.

synonymMap
SynonymMap

Definición del mapa de sinónimos que se va a crear o actualizar.

searchRequestOptions
SearchRequestOptions

Parámetros adicionales para la operación

accessCondition
AccessCondition

Parámetros adicionales para la operación

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a