IBillingSubscriptionsOperations.GetWithHttpMessagesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient un abonnement par son ID. L’opération est prise en charge pour les comptes de facturation avec le type de contrat Contrat client Microsoft et Contrat Partenaire Microsoft. https://docs.microsoft.com/en-us/rest/api/billing/
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.BillingSubscription>> GetWithHttpMessagesAsync (string billingAccountName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : 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.Billing.Models.BillingSubscription>>
Public Function GetWithHttpMessagesAsync (billingAccountName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of BillingSubscription))
Paramètres
- billingAccountName
- String
ID qui identifie de manière unique un compte de facturation.
- 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 de status non valide
Levée en cas d’impossibilité de désérialiser la réponse
Levée lorsqu’un paramètre obligatoire a la valeur Null
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour