Language

MockableCommvaultContentStoreTenantResource.CountByProtectionGroups 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 Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult> CountByProtectionGroups(Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CountByProtectionGroups : Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult>
override this.CountByProtectionGroups : Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult>
Public Overridable Function CountByProtectionGroups (content As CountProtectedItemsContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CountProtectedItemsResult)

Parameters

content
CountProtectedItemsContent

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to