Partager via


Departments interface

Interface représentant un service.

Méthodes

get(string, string, DepartmentsGetOptionalParams)

Obtient un service par ID. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Entreprise.

listByBillingAccount(string, DepartmentsListByBillingAccountOptionalParams)

Répertorie les services auxquels un utilisateur a accès. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Entreprise.

Détails de la méthode

get(string, string, DepartmentsGetOptionalParams)

Obtient un service par ID. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Entreprise.

function get(billingAccountName: string, departmentName: string, options?: DepartmentsGetOptionalParams): Promise<Department>

Paramètres

billingAccountName

string

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

departmentName

string

Nom du service.

options
DepartmentsGetOptionalParams

Paramètres d’options.

Retours

Promise<Department>

listByBillingAccount(string, DepartmentsListByBillingAccountOptionalParams)

Répertorie les services auxquels un utilisateur a accès. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Entreprise.

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

Paramètres

billingAccountName

string

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

options
DepartmentsListByBillingAccountOptionalParams

Paramètres d’options.

Retours