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

SnapshotResourceCollection.GetAllAsync 方法

定义

获取 AppComplianceAutomation 快照列表。

  • 请求路径/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots
  • 操作IdSnapshots_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource> GetAllAsync (string skipToken = default, int? top = default, string select = default, string reportCreatorTenantId = default, string offerGuid = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource>
override this.GetAllAsync : string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional select As String = Nothing, Optional reportCreatorTenantId As String = Nothing, Optional offerGuid As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SnapshotResource)

参数

skipToken
String

检索结果时跳过。

top
Nullable<Int32>

检索结果时要返回的元素数。

select
String

OData Select 语句。 将每个条目的属性限制为仅请求的项,例如 ?$select=reportName,id。

reportCreatorTenantId
String

报表创建者的租户 ID。

offerGuid
String

映射到报表的 offerGuid。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 SnapshotResource ,可能需要多个服务请求进行迭代。

适用于