CommvaultContentStoreExtensions.CountProtectedItems 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. <item> Mocking. To mock this method, please mock CountProtectedItems(CountProtectedItemsContent, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult> CountProtectedItems(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent content, System.Threading.CancellationToken cancellationToken = default);
static member CountProtectedItems : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CommvaultContentStore.Models.CountProtectedItemsResult>
<Extension()>
Public Function CountProtectedItems (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.