ViewResourceFormatCollection.GetAll(String, CancellationToken) Method

Definition

Gets all available views for given user in the specified hub.

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

Parameters

userId
String

The user ID. Use * to retrieve hub level views.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ViewResourceFormatResource that may take multiple service requests to iterate over.

Exceptions

userId is null.

Applies to