Skip to content

Commit

Permalink
autogenerated
Browse files Browse the repository at this point in the history
  • Loading branch information
chunyu3 committed May 21, 2021
1 parent 481df7e commit e43ede7
Show file tree
Hide file tree
Showing 16 changed files with 2,720 additions and 82 deletions.
11 changes: 11 additions & 0 deletions src/azure-cli/azure/cli/command_modules/vm/_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
# Generation mode: Incremental
# --------------------------------------------------------------------------

# pylint: disable=unused-wildcard-import,wildcard-import
from .generated.action import * # noqa: F403
try:
from .manual.action import * # noqa: F403
except ImportError as e:
if e.name.endswith('manual.action'):
pass
else:
raise e


import json

from knack.util import CLIError
Expand Down
9 changes: 9 additions & 0 deletions src/azure-cli/azure/cli/command_modules/vm/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
#
# Generation mode: Incremental
# --------------------------------------------------------------------------
from .generated._help import helps # pylint: disable=reimported
try:
from .manual._help import helps # pylint: disable=reimported
except ImportError as e:
if e.name.endswith('manual._help'):
pass
else:
raise e

from knack.help_files import helps # pylint: disable=unused-import

try:
Expand Down
Binary file modified src/azure-cli/azure/cli/command_modules/vm/gen.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,39 @@ def cf_vm_cl(cli_ctx, *_):

def cf_ssh_public_key(cli_ctx, *_):
return cf_vm_cl(cli_ctx).ssh_public_keys


def cf_virtual_machine(cli_ctx, *_):
return cf_vm_cl(cli_ctx).virtual_machines


def cf_virtual_machine_scale_set(cli_ctx, *_):
return cf_vm_cl(cli_ctx).virtual_machine_scale_sets


def cf_restore_point_collection(cli_ctx, *_):
return cf_vm_cl(cli_ctx).restore_point_collections


def cf_restore_point(cli_ctx, *_):
return cf_vm_cl(cli_ctx).restore_points


def cf_virtual_machine_scale_set_vm_extension(cli_ctx, *_):
return cf_vm_cl(cli_ctx).virtual_machine_scale_set_vm_extensions


def cf_virtual_machine_scale_set_vms(cli_ctx, *_):
return cf_vm_cl(cli_ctx).virtual_machine_scale_set_vms


def cf_virtual_machine_scale_set_vm_run_command(cli_ctx, *_):
return cf_vm_cl(cli_ctx).virtual_machine_scale_set_vm_run_commands


def cf_disk_access(cli_ctx, *_):
return cf_vm_cl(cli_ctx).disk_accesses


def cf_disk_restore_point(cli_ctx, *_):
return cf_vm_cl(cli_ctx).disk_restore_point
Loading

0 comments on commit e43ede7

Please sign in to comment.