Partager via


InvoiceSections interface

Interface représentant une InvoiceSections.

Méthodes

beginCreateOrUpdate(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

Crée ou met à jour une section de facture. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

beginCreateOrUpdateAndWait(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

Crée ou met à jour une section de facture. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

beginDelete(string, string, string, InvoiceSectionsDeleteOptionalParams)

Supprime une section de facture. L’opération est prise en charge pour les comptes de facturation avec le type contrat client Microsoft.

beginDeleteAndWait(string, string, string, InvoiceSectionsDeleteOptionalParams)

Supprime une section de facture. L’opération est prise en charge pour les comptes de facturation avec le type contrat client Microsoft.

get(string, string, string, InvoiceSectionsGetOptionalParams)

Obtient une section de facture par son ID. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

listByBillingProfile(string, string, InvoiceSectionsListByBillingProfileOptionalParams)

Répertorie les sections de facture auxquelles un utilisateur a accès. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

validateDeleteEligibility(string, string, string, InvoiceSectionsValidateDeleteEligibilityOptionalParams)

Valide si la section de facture peut être supprimée. L’opération est prise en charge pour les comptes de facturation avec le type contrat client Microsoft.

Détails de la méthode

beginCreateOrUpdate(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

Crée ou met à jour une section de facture. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

function beginCreateOrUpdate(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<InvoiceSection>, InvoiceSection>>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

invoiceSectionName

string

ID qui identifie de façon unique une section de facture.

parameters
InvoiceSection

Section de facture.

options
InvoiceSectionsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<InvoiceSection>, InvoiceSection>>

beginCreateOrUpdateAndWait(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

Crée ou met à jour une section de facture. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

function beginCreateOrUpdateAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<InvoiceSection>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

invoiceSectionName

string

ID qui identifie de façon unique une section de facture.

parameters
InvoiceSection

Section de facture.

options
InvoiceSectionsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<InvoiceSection>

beginDelete(string, string, string, InvoiceSectionsDeleteOptionalParams)

Supprime une section de facture. L’opération est prise en charge pour les comptes de facturation avec le type contrat client Microsoft.

function beginDelete(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<InvoiceSectionsDeleteHeaders>, InvoiceSectionsDeleteHeaders>>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

invoiceSectionName

string

ID qui identifie de façon unique une section de facture.

options
InvoiceSectionsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<InvoiceSectionsDeleteHeaders>, InvoiceSectionsDeleteHeaders>>

beginDeleteAndWait(string, string, string, InvoiceSectionsDeleteOptionalParams)

Supprime une section de facture. L’opération est prise en charge pour les comptes de facturation avec le type contrat client Microsoft.

function beginDeleteAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams): Promise<InvoiceSectionsDeleteHeaders>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

invoiceSectionName

string

ID qui identifie de façon unique une section de facture.

options
InvoiceSectionsDeleteOptionalParams

Paramètres d’options.

Retours

get(string, string, string, InvoiceSectionsGetOptionalParams)

Obtient une section de facture par son ID. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

function get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsGetOptionalParams): Promise<InvoiceSection>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

invoiceSectionName

string

ID qui identifie de façon unique une section de facture.

options
InvoiceSectionsGetOptionalParams

Paramètres d’options.

Retours

Promise<InvoiceSection>

listByBillingProfile(string, string, InvoiceSectionsListByBillingProfileOptionalParams)

Répertorie les sections de facture auxquelles un utilisateur a accès. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat client Microsoft.

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: InvoiceSectionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<InvoiceSection, InvoiceSection[], PageSettings>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

options
InvoiceSectionsListByBillingProfileOptionalParams

Paramètres d’options.

Retours

validateDeleteEligibility(string, string, string, InvoiceSectionsValidateDeleteEligibilityOptionalParams)

Valide si la section de facture peut être supprimée. L’opération est prise en charge pour les comptes de facturation avec le type contrat client Microsoft.

function validateDeleteEligibility(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsValidateDeleteEligibilityOptionalParams): Promise<DeleteInvoiceSectionEligibilityResult>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

invoiceSectionName

string

ID qui identifie de façon unique une section de facture.

Retours