protected virtual Transformation CreateOrUpdatePSTransformation(string resourceGroupName, string jobName, string transformationName, string rawJsonContent)
{
if (string.IsNullOrWhiteSpace(rawJsonContent))
{
throw new ArgumentNullException("rawJsonContent");
}
// If create failed, the current behavior is to throw
var response = StreamAnalyticsManagementClient.Transformations.CreateOrUpdateWithRawJsonContent(
resourceGroupName,
jobName,
transformationName,
new TransformationCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent });
return response.Transformation;
}