Compartir a través de


IProductsOperations.ListByInvoiceSectionWithHttpMessagesAsync Método

Definición

Enumera los productos de una sección de factura. Estos no incluyen productos facturados en función del uso. La operación solo se admite para las cuentas de facturación con tipo de contrato Contrato de cliente de Microsoft. https://docs.microsoft.com/en-us/rest/api/billing/

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Product>>> ListByInvoiceSectionWithHttpMessagesAsync (string billingAccountName, string billingProfileName, string invoiceSectionName, string filter = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByInvoiceSectionWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Product>>>
Public Function ListByInvoiceSectionWithHttpMessagesAsync (billingAccountName As String, billingProfileName As String, invoiceSectionName As String, Optional filter As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of Product)))

Parámetros

billingAccountName
String

Identificador que identifica de forma única una cuenta de facturación.

billingProfileName
String

Identificador que identifica de forma única un perfil de facturación.

invoiceSectionName
String

Identificador que identifica de forma única una sección de factura.

filter
String

Se puede usar para filtrar por tipo de producto. El filtro admite "eq", "lt", "gt", "le", "ge" y "and". Actualmente no admite 'ne', 'or' o 'not'. El filtro de etiquetas es una cadena de par clave-valor donde la clave y el valor están separados por dos puntos (:).

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a