code: public PublicIPAddressInner getByResourceGroup(String resourceGroupName, String publicIpAddressName, String expand) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, publicIpAddressName, expand).toBlocking().single().body();
      }
docs: Gets the specified public IP address in a specified resource group.
  
  @param resourceGroupName The name of the resource group.
  @param publicIpAddressName The name of the subnet.
  @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 PublicIPAddressInner object if successful.