Made recommended changes

This commit is contained in:
sumeetisp 2018-01-02 10:16:43 +05:30 committed by GitHub
parent fcd29c5813
commit 859b700385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1838,6 +1838,8 @@ def delete_blob(call=None, kwargs=None): # pylint: disable=unused-argument
def stop(name, resource_group=None, call=None):
'''
versionadded:: Fluorine
Stop a VM
CLI Examples:
@ -1857,7 +1859,6 @@ def stop(name, resource_group=None, call=None):
try:
instance_stop = compconn.virtual_machines.deallocate(group, name)
instance_stop.wait()
resource_group = group
except CloudError:
continue
else:
@ -1868,6 +1869,8 @@ def stop(name, resource_group=None, call=None):
def start(name, resource_group=None, call=None):
'''
versionadded:: Fluorine
Start a VM
CLI Examples:
@ -1887,7 +1890,6 @@ def start(name, resource_group=None, call=None):
try:
instance_start = compconn.virtual_machines.start(group, name)
instance_start.wait()
resource_group = group
except CloudError:
continue
else: