code: public ComponentPurgeStatusResponseInner getPurgeStatus(String resourceGroupName, String resourceName, String purgeId) {
          return getPurgeStatusWithServiceResponseAsync(resourceGroupName, resourceName, purgeId).toBlocking().single().body();
      }
docs: Get status for an ongoing purge operation.
  
  @param resourceGroupName The name of the resource group.
  @param resourceName The name of the Application Insights component resource.
  @param purgeId In a purge status request, this is the Id of the operation the status of which is returned.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the ComponentPurgeStatusResponseInner object if successful.