Compartilhar via


PhoneNumbersClient.GetAvailableOfferings Método

Definição

Lista as ofertas disponíveis no país especificado.

public virtual Azure.Pageable<Azure.Communication.PhoneNumbers.PhoneNumberOffering> GetAvailableOfferings (string twoLetterIsoCountryName, Azure.Communication.PhoneNumbers.PhoneNumberType? phoneNumberType = default, Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType? phoneNumberAssignmentType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableOfferings : string * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberType> * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.PhoneNumbers.PhoneNumberOffering>
override this.GetAvailableOfferings : string * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberType> * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.PhoneNumbers.PhoneNumberOffering>
Public Overridable Function GetAvailableOfferings (twoLetterIsoCountryName As String, Optional phoneNumberType As Nullable(Of PhoneNumberType) = Nothing, Optional phoneNumberAssignmentType As Nullable(Of PhoneNumberAssignmentType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PhoneNumberOffering)

Parâmetros

twoLetterIsoCountryName
String

O código de país ISO 3166-2, por exemplo, EUA.

phoneNumberType
Nullable<PhoneNumberType>

O tipo de números de telefone a serem pesquisados.

phoneNumberAssignmentType
Nullable<PhoneNumberAssignmentType>

O tipo de atribuição dos números de telefone a serem pesquisados.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a