protected virtual Input CreateOrUpdatePSInput(string resourceGroupName, string jobName, string inputName, string rawJsonContent)
{
if (string.IsNullOrWhiteSpace(rawJsonContent))
{
throw new ArgumentNullException("rawJsonContent");
}
// If create failed, the current behavior is to throw
var response = StreamAnalyticsManagementClient.Inputs.CreateOrUpdateWithRawJsonContent(
resourceGroupName,
jobName,
inputName,
new InputCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent });
return response.Input;
}