Partilhar via


Agreements interface

Interface que representa contratos.

Métodos

get(string, string, AgreementsGetOptionalParams)

Obtém um contrato por ID.

listByBillingAccount(string, AgreementsListByBillingAccountOptionalParams)

Lista os contratos de uma conta de faturação.

Detalhes de Método

get(string, string, AgreementsGetOptionalParams)

Obtém um contrato por ID.

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

Parâmetros

billingAccountName

string

O ID que identifica exclusivamente uma conta de faturação.

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 de uma conta de faturação.

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

Parâmetros

billingAccountName

string

O ID que identifica exclusivamente uma conta de faturação.

options
AgreementsListByBillingAccountOptionalParams

Os parâmetros de opções.

Devoluções