MockableCostManagementArmClient.GetGenerateDetailedCostReportOperationStatuses Method

Definition

Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header.

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

Parameters

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

operationId is null.

operationId is an empty string, and was expected to be non-empty.

Applies to