Share via


ProfileResourceFormatCollection.GetAllAsync(String, CancellationToken) Method

Definition

Gets all profile in the hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/profiles
  • Operation Id: Profiles_ListByHub
public virtual Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.ProfileResourceFormatResource> GetAllAsync (string localeCode = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.ProfileResourceFormatResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.ProfileResourceFormatResource>
Public Overridable Function GetAllAsync (Optional localeCode As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ProfileResourceFormatResource)

Parameters

localeCode
String

Locale of profile to retrieve, default is en-us.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to