共用方式為


GuestConfigurationHcrpAssignmentResource.GetReportsAsync Method

Definition

List all reports for the guest configuration assignment, latest report first.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}/reports
  • Operation Id: GuestConfigurationHCRPAssignmentReports_List
  • Default Api Version: 2024-04-05
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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of GuestConfigurationAssignmentReport that may take multiple service requests to iterate over.

Applies to