Microsoft.Azure.Commands.StreamAnalytics.Models.StreamAnalyticsClient.CreateOrUpdatePSOutput C# (CSharp) Méthode

CreateOrUpdatePSOutput() protected méthode

protected CreateOrUpdatePSOutput ( string resourceGroupName, string jobName, string outputName, string rawJsonContent ) : Microsoft.Azure.Management.StreamAnalytics.Models.Output
resourceGroupName string
jobName string
outputName string
rawJsonContent string
Résultat Microsoft.Azure.Management.StreamAnalytics.Models.Output
        protected virtual Output CreateOrUpdatePSOutput(string resourceGroupName, string jobName, string outputName, string rawJsonContent)
        {
            if (string.IsNullOrWhiteSpace(rawJsonContent))
            {
                throw new ArgumentNullException("rawJsonContent");
            }

            // If create failed, the current behavior is to throw
            var response = StreamAnalyticsManagementClient.Outputs.CreateOrUpdateWithRawJsonContent(
                    resourceGroupName,
                    jobName,
                    outputName,
                    new OutputCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent });

            return response.Output;
        }