Interface GenerateDetailedCostReportOperationStatus
public interface GenerateDetailedCostReportOperationStatus
Resource collection API of GenerateDetailedCostReportOperationStatus.
-
Method Summary
Modifier and TypeMethodDescriptionGet the status of the specified operation.com.azure.core.http.rest.Response<GenerateDetailedCostReportOperationStatuses>getWithResponse(String operationId, String scope, com.azure.core.util.Context context) Get the status of the specified operation.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<GenerateDetailedCostReportOperationStatuses> getWithResponse(String operationId, String scope, com.azure.core.util.Context context) Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header.- Parameters:
operationId- The target operation Id.scope- The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For details, see https://aka.ms/costmgmt/scopes.context- The context to associate with this operation.- Returns:
- the status of the specified operation along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header.- Parameters:
operationId- The target operation Id.scope- The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For details, see https://aka.ms/costmgmt/scopes.- Returns:
- the status of the specified operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-