CostManagementExtensions.GetGenerateDetailedCostReportOperationResultAsync Method

Definition

Gets the result of the specified operation. The link with this operationId is provided as a response header of the initial request. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationResultAsync(ResourceIdentifier, WaitUntil, String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource>> GetGenerateDetailedCostReportOperationResultAsync(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, Azure.WaitUntil waitUntil, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetGenerateDetailedCostReportOperationResultAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationResultResource>>
<Extension()>
Public Function GetGenerateDetailedCostReportOperationResultAsync (client As ArmClient, scope As ResourceIdentifier, waitUntil As WaitUntil, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of GenerateDetailedCostReportOperationResultResource))

Parameters

client
ArmClient

The ArmClient the method will execute against.

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

client is null.

Applies to