code: public PolicyEventsQueryResultsInner listQueryResultsForPolicyDefinition(String subscriptionId, String policyDefinitionName) {
          return listQueryResultsForPolicyDefinitionWithServiceResponseAsync(subscriptionId, policyDefinitionName).toBlocking().single().body();
      }
docs: Queries policy events for the subscription level policy definition.
  
  @param subscriptionId Microsoft Azure subscription ID.
  @param policyDefinitionName Policy definition name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws QueryFailureException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PolicyEventsQueryResultsInner object if successful.