Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhoneNumberAdministrationClient

Package version

Client class for interacting with Azure Communication Services PhoneNumber Administration.

Hierarchy

  • PhoneNumberAdministrationClient

Index

Constructors

constructor

Methods

cancelSearch

configurePhoneNumber

createSearch

getAreaCodes

getCapabilitiesUpdate

getPhoneNumberConfiguration

getPhonePlanLocationOptions

getRelease

getSearch

listPhoneNumbers

listPhonePlanGroups

  • Iterates the available phone plan groups for a country.

    Example usage:

    let client = new PhoneNumberAdministrationClient(credentials);
    for await (const phonePlanGroup of client.listPhonePlanGroups("CA")) {
      console.log("plan group id: ", phonePlanGroup.phonePlanGroupId);
    }
    summary

    List all available phone plan groups for a country.

    Parameters

    Returns PagedAsyncIterableIterator<PhonePlanGroup>

listPhonePlans

  • Iterates the available phone plan for a plan group.

    Example usage:

    let client = new PhoneNumberAdministrationClient(credentials);
    for await (const phonePlan of client.listPhonePlanGroups(PLAN_GROUP_INFO)) {
      console.log("plan id: ", phonePlan.phonePlanId);
    }
    
    Gets all available phone plans for a given plan group.
    @param planGroupInfo Information need to search for plans.
    @param options Additional request options.

    Parameters

    Returns PagedAsyncIterableIterator<PhonePlan>

listReleases

  • Iterates the releases created by the Azure resource.

    Example usage:

    let client = new PhoneNumberAdministrationClient(credentials);
    for await (const entity of client.listReleases()) {
      console.log("id: ", entity.id);
    }

    Gets all releases created by the Azure resource.

    Parameters

    Returns PagedAsyncIterableIterator<PhoneNumberEntity>

listSearches

  • Iterates the searches created by the Azure resource.

    Example usage:

    let client = new PhoneNumberAdministrationClient(credentials);
    for await (const entity of client.listReleases()) {
      console.log("id: ", entity.id);
    }

    Gets all searches created by the Azure resource.

    Parameters

    Returns PagedAsyncIterableIterator<PhoneNumberEntity>

listSupportedCountries

purchaseSearch

releasePhoneNumbers

unconfigurePhoneNumber

updatePhoneNumbersCapabilities

Generated using TypeDoc