Share via


RecoveryPointsOperationsExtensions.GetAccessToken Method

Definition

Returns the Access token for communication between BMS and Protection service

public static Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrAccessTokenResource GetAccessToken (this Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IRecoveryPointsOperations operations, string vaultName, string resourceGroupName, string fabricName, string containerName, string protectedItemName, string recoveryPointId, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AADPropertiesResource parameters);
static member GetAccessToken : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IRecoveryPointsOperations * string * string * string * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AADPropertiesResource -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrAccessTokenResource
<Extension()>
Public Function GetAccessToken (operations As IRecoveryPointsOperations, vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, protectedItemName As String, recoveryPointId As String, parameters As AADPropertiesResource) As CrrAccessTokenResource

Parameters

operations
IRecoveryPointsOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

fabricName
String

Fabric name associated with the container.

containerName
String

Name of the container.

protectedItemName
String

Name of the Protected Item.

recoveryPointId
String

Recovery Point Id

parameters
AADPropertiesResource

Get Access Token request

Returns

Applies to