MockableRecoveryServicesBackupResourceGroupResource.GetGetTieringCostOperationResultAsync 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.
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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.TieringCostInfo>> GetGetTieringCostOperationResultAsync (string vaultName, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGetTieringCostOperationResultAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.TieringCostInfo>>
override this.GetGetTieringCostOperationResultAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.TieringCostInfo>>
Public Overridable Function GetGetTieringCostOperationResultAsync (vaultName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TieringCostInfo))
Parameters
- vaultName
- String
The name of the recovery services vault.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
vaultName
or operationId
is an empty string, and was expected to be non-empty.
vaultName
or operationId
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET