def get_onboarding_status(resource_uri, custom_headers:nil)
      response = get_onboarding_status_async(resource_uri, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_onboarding_status(resource_uri, custom_headers:nil)
      response = get_onboarding_status_async(resource_uri, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Retrieves the VM Insights onboarding status for the specified resource or
 resource scope.

 @param resource_uri [String] The fully qualified Azure Resource manager
 identifier of the resource, or scope, whose status to retrieve.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [VMInsightsOnboardingStatus] operation results.