protected override void AutomationProcessRecord()
        {
            var runbook = this.AutomationClient.ImportRunbook(
                this.ResourceGroupName,
                this.AutomationAccountName,
                this.ResolvePath(this.Path),
                this.Description,
                this.Tags,
                RunbookTypeSdkValue.Resolve(this.Type),
                this.LogProgress,
                this.LogVerbose,
                this.Published.IsPresent,
                this.Force.IsPresent,
                this.Name);

            this.WriteObject(runbook);
        }
        protected override void AutomationProcessRecord()
        {
            Runbook runbook = null;

            // ByRunbookName
            runbook = this.AutomationClient.CreateRunbookByName(
                this.ResourceGroupName,
                this.AutomationAccountName,
                this.Name,
                this.Description,
                this.Tags,
                RunbookTypeSdkValue.Resolve(this.Type),
                this.LogProgress,
                this.LogVerbose,
                false);

            this.WriteObject(runbook);
        }