code: public PublicIPAddressInner createOrUpdate(String resourceGroupName, String publicIpAddressName, PublicIPAddressInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, publicIpAddressName, parameters).toBlocking().last().body();
      }
docs: Creates or updates a static or dynamic public IP address.
  
  @param resourceGroupName The name of the resource group.
  @param publicIpAddressName The name of the public IP address.
  @param parameters Parameters supplied to the create or update public IP address operation.
  @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.