Microsoft.Azure.Commands.Compute.SetAzureVMPlanCommand.ExecuteCmdlet C# (CSharp) Method

ExecuteCmdlet() public method

public ExecuteCmdlet ( ) : void
return void
        public override void ExecuteCmdlet()
        {
            this.VM.Plan = new Plan
            {
                Name = this.Name,
                Product = this.Product,
                PromotionCode = this.PromotionCode,
                Publisher = this.Publisher
            };

            WriteObject(this.VM);
        }
    }
SetAzureVMPlanCommand