Language

ProtectionGroupCollection.GetAsync(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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CommvaultContentStore.ProtectionGroupResource>> GetAsync(string protectionGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CommvaultContentStore.ProtectionGroupResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CommvaultContentStore.ProtectionGroupResource>>
Public Overridable Function GetAsync (protectionGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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