Compartir a través de


IBackendOperations.GetEntityTagWithHttpMessagesAsync Método

Definición

Obtiene la versión de estado de entidad (Etag) del back-end especificado por su identificador.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.ApiManagement.Models.BackendGetEntityTagHeaders>> GetEntityTagWithHttpMessagesAsync (string resourceGroupName, string serviceName, string backendId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEntityTagWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.ApiManagement.Models.BackendGetEntityTagHeaders>>
Public Function GetEntityTagWithHttpMessagesAsync (resourceGroupName As String, serviceName As String, backendId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationHeaderResponse(Of BackendGetEntityTagHeaders))

Parámetros

resourceGroupName
String

Nombre del grupo de recursos.

serviceName
String

Nombre del servicio API Management.

backendId
String

Identificador de la entidad back-end. Debe ser único en la instancia de servicio de API Management actual.

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 un parámetro obligatorio es NULL

Se aplica a