RecoveryPointsOperationsExtensions.GetAccessTokenAsync 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.
Returns the Access token for communication between BMS and Protection service
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrAccessTokenResource> GetAccessTokenAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member GetAccessTokenAsync : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IRecoveryPointsOperations * string * string * string * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AADPropertiesResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrAccessTokenResource>
<Extension()>
Public Function GetAccessTokenAsync (operations As IRecoveryPointsOperations, vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, protectedItemName As String, recoveryPointId As String, parameters As AADPropertiesResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET