|
5 | 5 |
|
6 | 6 | from azure.cli.command_modules.vm._client_factory import (cf_vm, |
7 | 7 | cf_vm_ext, cf_vm_ext_image, |
8 | | - cf_vm_image, cf_vm_image_term, cf_usage, |
| 8 | + cf_vm_image_term, cf_usage, |
9 | 9 | cf_vmss, cf_images, |
10 | 10 | cf_galleries, cf_gallery_images, cf_gallery_image_versions, |
11 | 11 | cf_proximity_placement_groups, |
@@ -82,11 +82,6 @@ def load_command_table(self, _): |
82 | 82 | client_factory=cf_vm_ext_image |
83 | 83 | ) |
84 | 84 |
|
85 | | - compute_vm_image_sdk = CliCommandType( |
86 | | - operations_tmpl='azure.mgmt.compute.operations#VirtualMachineImagesOperations.{}', |
87 | | - client_factory=cf_vm_image |
88 | | - ) |
89 | | - |
90 | 85 | compute_vm_image_term_sdk = CliCommandType( |
91 | 86 | operations_tmpl='azure.mgmt.marketplaceordering.operations#MarketplaceAgreementsOperations.{}', |
92 | 87 | client_factory=cf_vm_image_term |
@@ -341,7 +336,7 @@ def load_command_table(self, _): |
341 | 336 | with self.command_group('vm extension image', compute_vm_extension_image_sdk) as g: |
342 | 337 | g.custom_command('list', 'list_vm_extension_images') |
343 | 338 |
|
344 | | - with self.command_group('vm image', compute_vm_image_sdk) as g: |
| 339 | + with self.command_group('vm image') as g: |
345 | 340 | g.custom_command('list-offers', 'list_offers') |
346 | 341 | g.custom_command('list-publishers', 'list_publishers') |
347 | 342 | g.custom_command('list-skus', 'list_sku') |
|
0 commit comments