Beispiel #1
0
        public async Task OnRgChanged(string value)
        {
            if (value != null)
            {
                Model.ResorceGroup = value;
                Model.VmName       = null;
                Model.VmState      = null;
                LastVmStatus       = null;

                ShowLoading();
                var vms = await VmService.GetVmNames(Model.SubcriptionId, Model.ResorceGroup);

                Vms = vms ?? new List <string>();


                HideLoading();
            }
        }