Partilhar via


Agreements interface

Interface que representa um Acordo.

Métodos

get(string, string, AgreementsGetOptionalParams)

Obtém um acordo por ID.

listByBillingAccount(string, AgreementsListByBillingAccountOptionalParams)

Lista os contratos para uma conta de cobrança.

Detalhes de Método

get(string, string, AgreementsGetOptionalParams)

Obtém um acordo por ID.

function get(billingAccountName: string, agreementName: string, options?: AgreementsGetOptionalParams): Promise<Agreement>

Parâmetros

billingAccountName

string

O ID que identifica exclusivamente uma conta de cobrança.

agreementName

string

O ID que identifica exclusivamente um contrato.

options
AgreementsGetOptionalParams

Os parâmetros de opções.

Devoluções

Promise<Agreement>

listByBillingAccount(string, AgreementsListByBillingAccountOptionalParams)

Lista os contratos para uma conta de cobrança.

function listByBillingAccount(billingAccountName: string, options?: AgreementsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Agreement, Agreement[], PageSettings>

Parâmetros

billingAccountName

string

O ID que identifica exclusivamente uma conta de cobrança.

options
AgreementsListByBillingAccountOptionalParams

Os parâmetros de opções.

Devoluções