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

GuestConfigurationVmssAssignmentResource.GetReportsAsync 方法

定义

列出 VMSS 来宾配置分配的所有报表,首先列出最新报告。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}/reports
  • 操作IdGuestConfigurationAssignmentReportsVMSS_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReport> GetReportsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetReportsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReport>
override this.GetReportsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.GuestConfiguration.Models.GuestConfigurationAssignmentReport>
Public Overridable Function GetReportsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GuestConfigurationAssignmentReport)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

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

适用于