共用方式為


StorageTaskResource.GetStorageTasksReportsAsync Method

Definition

Fetch the storage tasks run report summary for each assignment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}/reports
  • Operation Id: StorageTasksReport_List
  • Default Api Version: 2023-01-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.StorageActions.Models.StorageTaskReportInstance> GetStorageTasksReportsAsync (string maxpagesize = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageTasksReportsAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageActions.Models.StorageTaskReportInstance>
override this.GetStorageTasksReportsAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageActions.Models.StorageTaskReportInstance>
Public Overridable Function GetStorageTasksReportsAsync (Optional maxpagesize As String = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageTaskReportInstance)

Parameters

maxpagesize
String

Optional, specifies the maximum number of Storage Task Assignment Resource IDs to be included in the list response.

filter
String

Optional. When specified, it can be used to query using reporting properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to