Created
March 24, 2018 13:03
-
-
Save cinek810/b006709be25df3b40110953786ba611a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def resize_vm(cmd, resource_group_name, vm_name, size, no_wait=False): | |
vm = get_vm(cmd, resource_group_name, vm_name) | |
vm.hardware_profile.vm_size = size # pylint: disable=no-member | |
return set_vm(cmd, vm, no_wait) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment