public override void ExecuteCmdlet()
        {
            string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File));

            Name = ResolveResourceName(rawJsonContent, Name, "Transformation");

            if (Name != null && string.IsNullOrWhiteSpace(Name))
            {
                throw new ArgumentException(Resources.TransformationNameCannotBeEmpty);
            }

            CreatePSTransformationParameter parameter = new CreatePSTransformationParameter
            {
                ResourceGroupName  = ResourceGroupName,
                JobName            = JobName,
                TransformationName = Name,
                RawJsonContent     = rawJsonContent,
                Force         = Force.IsPresent,
                ConfirmAction = ConfirmAction
            };

            var result = StreamAnalyticsClient.CreatePSTransformation(parameter);

            if (result != null)
            {
                WriteObject(result);
            }
        }
        public override void ExecuteCmdlet()
        {
            string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File));

            Name = ResolveResourceName(rawJsonContent, Name, "Transformation");

            CreatePSTransformationParameter parameter = new CreatePSTransformationParameter
            {
                ResourceGroupName = ResourceGroupName,
                JobName = JobName,
                TransformationName = Name,
                RawJsonContent = rawJsonContent,
                Force = Force.IsPresent,
                ConfirmAction = ConfirmAction
            };

            WriteObject(StreamAnalyticsClient.CreatePSTransformation(parameter));
        }