你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MediaAssetCollection.GetAllAsync 方法

定义

使用可选的筛选和排序列出媒体服务帐户中的资产

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets
  • 操作IdAssets_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Media.MediaAssetResource> GetAllAsync (string filter = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.MediaAssetResource>
override this.GetAllAsync : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.MediaAssetResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MediaAssetResource)

参数

filter
String

限制返回的项集。

top
Nullable<Int32>

指定一个非负整数 n,用于限制从集合返回的项数。 服务返回的可用项数不超过指定的值 n。

orderby
String

指定结果集合的排序依据的键。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 MediaAssetResource ,可能需要循环访问多个服务请求。

适用于