code: public Observable<PublicIPPrefixInner> createOrUpdateAsync(String resourceGroupName, String publicIpPrefixName, PublicIPPrefixInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, publicIpPrefixName, parameters).map(new Func1<ServiceResponse<PublicIPPrefixInner>, PublicIPPrefixInner>() {
              @Override
              public PublicIPPrefixInner call(ServiceResponse<PublicIPPrefixInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates a static or dynamic public IP prefix.
  
  @param resourceGroupName The name of the resource group.
  @param publicIpPrefixName The name of the public IP prefix.
  @param parameters Parameters supplied to the create or update public IP prefix operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request