code: public MediaServiceInner update(String resourceGroupName, String mediaServiceName, MediaServiceInner parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, mediaServiceName, parameters).toBlocking().single().body();
      }
docs: Updates a Media Service.
  
  @param resourceGroupName Name of the resource group within the Azure subscription.
  @param mediaServiceName Name of the Media Service.
  @param parameters Media Service properties needed for update.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ApiErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the MediaServiceInner object if successful.