次の方法で共有


ViewResourceFormatCollection.GetAllAsync(String, CancellationToken) メソッド

定義

指定したハブ内の特定のユーザーに対して使用可能なすべてのビューを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views
  • 操作IdViews_ListByHub
public virtual Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource> GetAllAsync (string userId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource>
Public Overridable Function GetAllAsync (userId As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ViewResourceFormatResource)

パラメーター

userId
String

ユーザー ID。 ハブ レベルビューを取得するには、 * を使用します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の ViewResourceFormatResource サービス要求を受け取る可能性がある の非同期コレクション。

例外

userId が null です。

適用対象