GenerateDetailedCostReportOperationResultCollection.Get Method

Definition

Gets the result of the specified operation. The link with this operationId is provided as a response header of the initial request.

  • Request Path. : /{scope}/providers/Microsoft.CostManagement/operationResults/{operationId}.
  • Operation Id. : GenerateDetailedCostReportOperationResults_Get.
  • Default Api Version. : 2025-03-01.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource> Get(Azure.WaitUntil waitUntil, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource>
override this.Get : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource>
Public Overridable Function Get (waitUntil As WaitUntil, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of GenerateDetailedCostReportOperationResultResource)

Parameters

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.

Applies to