Language

CommvaultContentStoreExtensions.CountByProtectionGroups Method

Definition

Gets the count of protected items for provided CCA resource IDs across subscriptions. <item> Mocking. To mock this method, please mock CountByProtectionGroups(CountProtectedItemsContent, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult> CountByProtectionGroups(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent content, System.Threading.CancellationToken cancellationToken = default);
static member CountByProtectionGroups : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult>
<Extension()>
Public Function CountByProtectionGroups (tenantResource As TenantResource, content As CountProtectedItemsContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CountProtectedItemsResult)

Parameters

tenantResource
TenantResource

The TenantResource the method will execute against.

content
CountProtectedItemsContent

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to