共用方式為


AppComplianceAutomationExtensions.GetCollectionCountProviderActionAsync Method

Definition

Get the count of reports.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/getCollectionCount
  • Operation Id: ProviderActions_GetCollectionCount
  • Default Api Version: 2024-06-27
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.ReportCollectionGetCountResult>> GetCollectionCountProviderActionAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.AppComplianceAutomation.Models.ReportCollectionGetCountContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetCollectionCountProviderActionAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.AppComplianceAutomation.Models.ReportCollectionGetCountContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.ReportCollectionGetCountResult>>
<Extension()>
Public Function GetCollectionCountProviderActionAsync (tenantResource As TenantResource, content As ReportCollectionGetCountContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ReportCollectionGetCountResult))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

content
ReportCollectionGetCountContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource or content is null.

Applies to