Skip to content

Commit 6636534

Browse files
committed
migrate to AAZ, re-run related test lively
1 parent 4be7def commit 6636534

File tree

17 files changed

+6652
-3395
lines changed

17 files changed

+6652
-3395
lines changed

src/azure-cli/azure/cli/command_modules/vm/_client_factory.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ def cf_images(cli_ctx, _):
6767
return _compute_client_factory(cli_ctx).images
6868

6969

70-
def cf_run_commands(cli_ctx, _):
71-
return _compute_client_factory(cli_ctx).virtual_machine_run_commands
72-
73-
7470
def cf_vmss_run_commands(cli_ctx, _):
7571
return _compute_client_factory(cli_ctx).virtual_machine_scale_set_vm_run_commands
7672

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from azure.cli.core.aaz import *
12+
13+
14+
@register_command_group(
15+
"vm run-command",
16+
)
17+
class __CMDGroup(AAZCommandGroup):
18+
"""Manage run commands on a Virtual Machine.
19+
20+
For more information, see https://learn.microsoft.com/azure/virtual-machines/windows/run-command or https://learn.microsoft.com/azure/virtual-machines/linux/run-command.
21+
"""
22+
pass
23+
24+
25+
__all__ = ["__CMDGroup"]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from .__cmd_group import *
12+
from ._create import *
13+
from ._delete import *
14+
from ._invoke import *
15+
from ._list import *
16+
from ._list_by_subscription import *
17+
from ._show import *
18+
from ._show_by_id import *
19+
from ._update import *
20+
from ._wait import *

0 commit comments

Comments
 (0)