code: public Observable<PublicIPAddressInner> beginCreateOrUpdateAsync(String resourceGroupName, String publicIpAddressName, PublicIPAddressInner parameters) {
          return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, publicIpAddressName, parameters).map(new Func1<ServiceResponse<PublicIPAddressInner>, PublicIPAddressInner>() {
              @Override
              public PublicIPAddressInner call(ServiceResponse<PublicIPAddressInner> response) {
                  return response.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
  @return the observable to the PublicIPAddressInner object