MockableCommvaultContentStoreTenantResource.CountByProtectionGroups Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.