Udostępnij za pośrednictwem


IBillingRoleAssignmentsOperations.DeleteByBillingAccountWithHttpMessagesAsync Metoda

Definicja

Usuwa przypisanie roli obiektu wywołującego na koncie rozliczeniowym. Ta operacja jest obsługiwana w przypadku kont rozliczeniowych z typem umowy Microsoft Partner Agreement lub Umowa z Klientem Microsoft.

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

Parametry

billingAccountName
String

Identyfikator, który jednoznacznie identyfikuje konto rozliczeniowe.

billingRoleAssignmentName
String

Identyfikator, który jednoznacznie identyfikuje przypisanie roli.

customHeaders
Dictionary<String,List<String>>

Nagłówki, które zostaną dodane do żądania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Wyjątki

Zgłaszany, gdy operacja zwróciła nieprawidłowy kod stanu

Zgłaszany, gdy nie można wykonać deserializacji odpowiedzi

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy