Partager via


INamedValueOperations.ListByServiceWithHttpMessagesAsync Méthode

Définition

Répertorie une collection de valeurs nommées définies au sein d’une instance de service. https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-properties

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.NamedValueContract>>> ListByServiceWithHttpMessagesAsync (string resourceGroupName, string serviceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.NamedValueContract> odataQuery = default, bool? isKeyVaultRefreshFailed = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByServiceWithHttpMessagesAsync : string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.NamedValueContract> * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.NamedValueContract>>>
Public Function ListByServiceWithHttpMessagesAsync (resourceGroupName As String, serviceName As String, Optional odataQuery As ODataQuery(Of NamedValueContract) = Nothing, Optional isKeyVaultRefreshFailed As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of NamedValueContract)))

Paramètres

resourceGroupName
String

Nom du groupe de ressources.

serviceName
String

Nom du service Gestion des API.

odataQuery
ODataQuery<NamedValueContract>

Paramètres OData à appliquer à l’opération.

isKeyVaultRefreshFailed
Nullable<Boolean>

Lorsqu’elle est définie sur true, la réponse contient uniquement des entités de valeur nommées qui ont échoué à l’actualisation.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsque la réponse ne peut pas être désérialisée

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à