You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Compute] az vm disk attach: Add new parameters --source-snapshots-or-disks and --source-disk-restore-point to support implicit disk creation from snapshot and disk restore points(#31830)
c.argument('disk_ids', nargs='+', min_api='2024-03-01', help='The disk IDs of the managed disk (space-delimited).')
547
+
c.argument('source_snapshots_or_disks', options_list=['--source-snapshots-or-disks', '--source-resource'], nargs='+', min_api='2024-11-01', help='Create a data disk from a snapshot or another disk. Can use the ID of a disk or snapshot.')
548
+
c.argument('source_disk_restore_point', options_list=['--source-disk-restore-point', '--source-disk-rp'], nargs='+', min_api='2024-11-01', help='create a data disk from a disk restore point. Can use the ID of a disk restore point.')
547
549
548
550
withself.argument_context('vm disk detach') asc:
549
551
c.argument('disk_name', arg_type=name_arg_type, help='The data disk name.')
0 commit comments