/// <summary>
 /// Create or update a transformation for a stream analytics job. The
 /// raw json content will be used.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.ITransformationOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <param name='transformationName'>
 /// Required. The name of the transformation for the stream analytics
 /// job.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters required to create or update a
 /// transformation for the stream analytics job. It is in json format.
 /// </param>
 /// <returns>
 /// The response of the transformation create operation.
 /// </returns>
 public static Task<TransformationCreateOrUpdateResponse> CreateOrUpdateWithRawJsonContentAsync(this ITransformationOperations operations, string resourceGroupName, string jobName, string transformationName, TransformationCreateOrUpdateWithRawJsonContentParameters parameters)
 {
     return operations.CreateOrUpdateWithRawJsonContentAsync(resourceGroupName, jobName, transformationName, parameters, CancellationToken.None);
 }
 /// <summary>
 /// Create or update a transformation for a stream analytics job. The
 /// raw json content will be used.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.ITransformationOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <param name='transformationName'>
 /// Required. The name of the transformation for the stream analytics
 /// job.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters required to create or update a
 /// transformation for the stream analytics job. It is in json format.
 /// </param>
 /// <returns>
 /// The response of the transformation create operation.
 /// </returns>
 public static TransformationCreateOrUpdateResponse CreateOrUpdateWithRawJsonContent(this ITransformationOperations operations, string resourceGroupName, string jobName, string transformationName, TransformationCreateOrUpdateWithRawJsonContentParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((ITransformationOperations)s).CreateOrUpdateWithRawJsonContentAsync(resourceGroupName, jobName, transformationName, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }