CommunicationSmtpUsernameCollection.GetAllAsync(CancellationToken) Method

Definition

Get all SmtpUsernameResources for a Communication resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames
  • Operation Id: SmtpUsernames_List
  • Default Api Version: 2025-09-01
  • Resource: CommunicationSmtpUsernameResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Communication.CommunicationSmtpUsernameResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Communication.CommunicationSmtpUsernameResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Communication.CommunicationSmtpUsernameResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CommunicationSmtpUsernameResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of CommunicationSmtpUsernameResource that may take multiple service requests to iterate over.

Applies to