Aracılığıyla paylaş


IPoliciesOperations.GetByBillingProfileWithHttpMessagesAsync Yöntem

Tanım

Faturalama profilinin ilkelerini listeler. Bu işlem yalnızca sözleşme türü Microsoft Müşteri Sözleşmesi olan ödeme hesapları için desteklenir. https://docs.microsoft.com/en-us/rest/api/billing/

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.Policy>> GetByBillingProfileWithHttpMessagesAsync (string billingAccountName, string billingProfileName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByBillingProfileWithHttpMessagesAsync : string * 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.Policy>>
Public Function GetByBillingProfileWithHttpMessagesAsync (billingAccountName As String, billingProfileName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Policy))

Parametreler

billingAccountName
String

Bir ödeme hesabını benzersiz olarak tanımlayan kimlik.

billingProfileName
String

Faturalama profilini benzersiz olarak tanımlayan kimlik.

customHeaders
Dictionary<String,List<String>>

İsteğe eklenecek üst bilgiler.

cancellationToken
CancellationToken

İptal belirteci.

Döndürülenler

Özel durumlar

İşlem geçersiz bir durum kodu döndürdiğinde oluşturuldu

Yanıtın seri durumdan çıkarılamadığında oluşturulur

Gerekli bir parametre null olduğunda oluşturulur

Şunlara uygulanır