code: public SummarizeResultsInner summarizeForPolicyDefinition(String subscriptionId, String policyDefinitionName, QueryOptions queryOptions) {
          return summarizeForPolicyDefinitionWithServiceResponseAsync(subscriptionId, policyDefinitionName, queryOptions).toBlocking().single().body();
      }
docs: Summarizes policy states for the subscription level policy definition.
  
  @param subscriptionId Microsoft Azure subscription ID.
  @param policyDefinitionName Policy definition name.
  @param queryOptions Additional parameters for the operation
  @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 SummarizeResultsInner object if successful.