Partager via


IAzureReservationAPIClient.GetAppliedReservationListWithHttpMessagesAsync Méthode

Définition

Obtenez la liste des éléments applicables Reservation.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Reservations.Models.AppliedReservations>> GetAppliedReservationListWithHttpMessagesAsync (string subscriptionId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppliedReservationListWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Reservations.Models.AppliedReservations>>
Public Function GetAppliedReservationListWithHttpMessagesAsync (subscriptionId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AppliedReservations))

Paramètres

subscriptionId
String

ID de l’abonnement

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Obtenez les « réservations » applicables qui sont appliquées à cet abonnement ou à un groupe de ressources dans le cadre de cet abonnement.

S’applique à