Language

ProtectionGroupCollection.Get(String, CancellationToken) Method

Definition

Get a ProtectionGroup

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Commvault.ContentStore/cloudAccounts/{cloudAccountName}/protectionGroups/{protectionGroupName}.
  • Operation Id. : ProtectionGroups_Get.
  • Default Api Version. : 2026-11-03.
public virtual Azure.Response<Azure.ResourceManager.CommvaultContentStore.ProtectionGroupResource> Get(string protectionGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CommvaultContentStore.ProtectionGroupResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CommvaultContentStore.ProtectionGroupResource>
Public Overridable Function Get (protectionGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ProtectionGroupResource)

Parameters

protectionGroupName
String

Name of the ProtectionGroup resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

protectionGroupName is null.

protectionGroupName is an empty string, and was expected to be non-empty.

Applies to