Microsoft.Azure.Commands.StreamAnalytics.Models.StreamAnalyticsClient.CreateOrUpdatePSInput C# (CSharp) Метод

CreateOrUpdatePSInput() защищенный Метод

protected CreateOrUpdatePSInput ( string resourceGroupName, string jobName, string inputName, string rawJsonContent ) : Microsoft.Azure.Management.StreamAnalytics.Models.Input
resourceGroupName string
jobName string
inputName string
rawJsonContent string
Результат Microsoft.Azure.Management.StreamAnalytics.Models.Input
        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;
        }