Language

MockableCommvaultContentStoreTenantResource.CountByProtectionGroupsAsync Method

Definition

Gets the count of protected items for provided CCA resource IDs across subscriptions.

  • Request Path. : /providers/Commvault.ContentStore/protectedItemCount.
  • Operation Id. : ProtectedItemsOperationGroup_CountByProtectionGroups.
  • Default Api Version. : 2026-07-03-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult>> CountByProtectionGroupsAsync(Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CountByProtectionGroupsAsync : Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult>>
override this.CountByProtectionGroupsAsync : Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult>>
Public Overridable Function CountByProtectionGroupsAsync (content As CountProtectedItemsContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CountProtectedItemsResult))

Parameters

content
CountProtectedItemsContent

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to