code: public Observable<MediaServiceInner> createOrUpdateAsync(String resourceGroupName, String accountName, MediaServiceInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, accountName, parameters).map(new Func1<ServiceResponse<MediaServiceInner>, MediaServiceInner>() {
              @Override
              public MediaServiceInner call(ServiceResponse<MediaServiceInner> response) {
                  return response.body();
              }
          });
      }
docs: Create or update a Media Services account.
  Creates or updates a Media Services account.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param parameters The request parameters
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the MediaServiceInner object