// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.streamanalytics.generated;

/** Samples for Transformations CreateOrReplace. */
public final class TransformationsCreateOrReplaceSamples {
    /*
     * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Create.json
     */
    /**
     * Sample code: Create a transformation.
     *
     * @param manager Entry point to StreamAnalyticsManager.
     */
    public static void createATransformation(com.azure.resourcemanager.streamanalytics.StreamAnalyticsManager manager) {
        manager
            .transformations()
            .define("transformation952")
            .withExistingStreamingjob("sjrg4423", "sj8374")
            .withStreamingUnits(6)
            .withQuery("Select Id, Name from inputtest")
            .create();
    }
}
