Partager via


BillingPeriodsOperationsExtensions.GetAsync Méthode

Définition

Obtient une période de facturation nommée. Cette option est uniquement prise en charge pour les abonnements Azure Web-Direct. Les autres types d’abonnements qui n’ont pas été achetés directement via le portail web Azure ne sont pas pris en charge par le biais de cette API en préversion.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingPeriod> GetAsync (this Microsoft.Azure.Management.Billing.IBillingPeriodsOperations operations, string billingPeriodName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Billing.IBillingPeriodsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingPeriod>
<Extension()>
Public Function GetAsync (operations As IBillingPeriodsOperations, billingPeriodName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BillingPeriod)

Paramètres

operations
IBillingPeriodsOperations

Groupe d’opérations pour cette méthode d’extension.

billingPeriodName
String

Nom d’une ressource BillingPeriod.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à