CostManagementExtensions.GetGenerateDetailedCostReportOperationStatuses Method

Definition

Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationStatuses(ResourceIdentifier, String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationStatusesResource> GetGenerateDetailedCostReportOperationStatuses(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetGenerateDetailedCostReportOperationStatuses : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CostManagement.GenerateDetailedCostReportOperationStatusesResource>
<Extension()>
Public Function GetGenerateDetailedCostReportOperationStatuses (client As ArmClient, scope As ResourceIdentifier, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GenerateDetailedCostReportOperationStatusesResource)

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope of the resource collection to get.

operationId
String

The target operation Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to