MockableCostManagementArmClient.GetGenerateDetailedCostReportOperationResultAsync 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 the specified operation. The link with this operationId is provided as a response header of the initial request.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource>> GetGenerateDetailedCostReportOperationResultAsync(Azure.Core.ResourceIdentifier scope, Azure.WaitUntil waitUntil, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGenerateDetailedCostReportOperationResultAsync : Azure.Core.ResourceIdentifier * Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource>>
override this.GetGenerateDetailedCostReportOperationResultAsync : Azure.Core.ResourceIdentifier * Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource>>
Public Overridable Function GetGenerateDetailedCostReportOperationResultAsync (scope As ResourceIdentifier, waitUntil As WaitUntil, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of GenerateDetailedCostReportOperationResultResource))
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- operationId
- String
The target operation Id.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
operationId is null.
operationId is an empty string, and was expected to be non-empty.