Share via


RecoveryServicesBackupExtensions.GetGetTieringCostOperationResultAsync Method

Definition

Gets the result of async operation for tiering cost

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupTieringCost/default/operationResults/{operationId}
  • Operation Id: GetTieringCostOperationResult_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.TieringCostInfo>> GetGetTieringCostOperationResultAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetGetTieringCostOperationResultAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.TieringCostInfo>>
<Extension()>
Public Function GetGetTieringCostOperationResultAsync (resourceGroupResource As ResourceGroupResource, vaultName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TieringCostInfo))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

vaultName
String

The name of the recovery services vault.

operationId
String

The String to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vaultName or operationId is an empty string, and was expected to be non-empty.

resourceGroupResource, vaultName or operationId is null.

Applies to