SubscriptionExtensions.GetBillingAccountPolicyAsync 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.
Obtenir la stratégie de compte de facturation.
- Chemin de la demande/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
- IdBillingAccount_GetPolicy d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.BillingAccountPolicyResource>> GetBillingAccountPolicyAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string billingAccountId, System.Threading.CancellationToken cancellationToken = default);
static member GetBillingAccountPolicyAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Subscription.BillingAccountPolicyResource>>
<Extension()>
Public Function GetBillingAccountPolicyAsync (tenantResource As TenantResource, billingAccountId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingAccountPolicyResource))
Paramètres
- tenantResource
- TenantResource
Instance TenantResource sur laquelle la méthode s’exécute.
- billingAccountId
- String
ID de compte de facturation.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
billingAccountId
est une chaîne vide et devait être non vide.
billingAccountId
a la valeur null.
S’applique à
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