code: public ServiceEndpointPolicyInner getByResourceGroup(String resourceGroupName, String serviceEndpointPolicyName, String expand) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, serviceEndpointPolicyName, expand).toBlocking().single().body();
      }
docs: Gets the specified service Endpoint Policies in a specified resource group.
  
  @param resourceGroupName The name of the resource group.
  @param serviceEndpointPolicyName The name of the service endpoint policy.
  @param expand Expands referenced resources.
  @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 ServiceEndpointPolicyInner object if successful.