Skip to content

Commit c1c318d

Browse files
committed
Added vm attach detach data disk cli command
1 parent 05a5d8f commit c1c318d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vm/disk/__cmd_group.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
from azure.cli.core.aaz import *
1212

1313

14+
@register_command_group(
15+
"vm disk",
16+
is_preview=True,
17+
)
1418
class __CMDGroup(AAZCommandGroup):
1519
"""Manage the managed data disks attached to a VM.
1620

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vm/disk/_attach_detach_data_disk.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
from azure.cli.core.aaz import *
1212

1313

14+
@register_command(
15+
"vm disk attach-detach-data-disk",
16+
is_preview=True,
17+
)
1418
class AttachDetachDataDisk(AAZCommand):
1519
"""Attach and detach data disks to/from the virtual machine.
1620
"""

0 commit comments

Comments
 (0)