Compartir a través de


ISkillsetsOperations.CreateOrUpdateWithHttpMessagesAsync Método

Definición

Sobrecargas

CreateOrUpdateWithHttpMessagesAsync(Skillset, SearchRequestOptions, AccessCondition, Dictionary<String,List<String>>, CancellationToken)

Crea un nuevo conjunto de aptitudes o actualiza un conjunto de aptitudes si ya existe.

CreateOrUpdateWithHttpMessagesAsync(String, Skillset, SearchRequestOptions, Dictionary<String,List<String>>, CancellationToken)

Crea un nuevo conjunto de aptitudes en un servicio de búsqueda o actualiza el conjunto de aptitudes si ya existe. https://docs.microsoft.com/rest/api/searchservice/update-skillset

CreateOrUpdateWithHttpMessagesAsync(Skillset, SearchRequestOptions, AccessCondition, Dictionary<String,List<String>>, CancellationToken)

Crea un nuevo conjunto de aptitudes o actualiza un conjunto de aptitudes si ya existe.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Search.Models.Skillset>> CreateOrUpdateWithHttpMessagesAsync (Microsoft.Azure.Search.Models.Skillset skillset, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : Microsoft.Azure.Search.Models.Skillset * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Search.Models.Skillset>>
Public Function CreateOrUpdateWithHttpMessagesAsync (skillset As Skillset, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Skillset))

Parámetros

skillset
Skillset

Definición del conjunto de aptitudes 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

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a

CreateOrUpdateWithHttpMessagesAsync(String, Skillset, SearchRequestOptions, Dictionary<String,List<String>>, CancellationToken)

Crea un nuevo conjunto de aptitudes en un servicio de búsqueda o actualiza el conjunto de aptitudes si ya existe. https://docs.microsoft.com/rest/api/searchservice/update-skillset

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Search.Models.Skillset>> CreateOrUpdateWithHttpMessagesAsync (string skillsetName, Microsoft.Azure.Search.Models.Skillset skillset, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * Microsoft.Azure.Search.Models.Skillset * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Search.Models.Skillset>>
Public Function CreateOrUpdateWithHttpMessagesAsync (skillsetName As String, skillset As Skillset, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Skillset))

Parámetros

skillsetName
String

Nombre del conjunto de aptitudes que se va a crear o actualizar.

skillset
Skillset

Conjunto de aptitudes que contiene una o varias aptitudes para crear o actualizar en un servicio de búsqueda.

searchRequestOptions
SearchRequestOptions

Parámetros adicionales para la operación

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a