File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
src/azure-cli/azure/cli/command_modules/vm Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -1984,7 +1984,7 @@ def process_disk_create_namespace(cmd, namespace):
19841984 validate_edge_zone (cmd , namespace )
19851985 _validate_gallery_image_reference (namespace )
19861986 _validate_security_data_uri (namespace )
1987- _validate_upload_type (cmd , namespace )
1987+ _validate_upload_type (namespace )
19881988 _validate_secure_vm_disk_encryption_set (namespace )
19891989 _validate_hyper_v_generation (namespace )
19901990 if namespace .source :
@@ -2017,7 +2017,7 @@ def _validate_security_data_uri(namespace):
20172017 'Please specify --source when using the --security-data-uri parameter' )
20182018
20192019
2020- def _validate_upload_type (cmd , namespace ):
2020+ def _validate_upload_type (namespace ):
20212021 if 'upload_type' not in namespace :
20222022 return
20232023
Original file line number Diff line number Diff line change @@ -63,22 +63,11 @@ def load_command_table(self, _):
6363 operation_group = 'availability_sets'
6464 )
6565
66- compute_disk_sdk = CliCommandType (
67- operations_tmpl = 'azure.mgmt.compute.operations#DisksOperations.{}' ,
68- client_factory = cf_disks ,
69- operation_group = 'disks'
70- )
71-
7266 compute_image_sdk = CliCommandType (
7367 operations_tmpl = 'azure.mgmt.compute.operations#ImagesOperations.{}' ,
7468 client_factory = cf_images
7569 )
7670
77- compute_snapshot_sdk = CliCommandType (
78- operations_tmpl = 'azure.mgmt.compute.operations#SnapshotsOperations.{}' ,
79- client_factory = cf_snapshots
80- )
81-
8271 compute_vm_sdk = CliCommandType (
8372 operations_tmpl = 'azure.mgmt.compute.operations#VirtualMachinesOperations.{}' ,
8473 client_factory = cf_vm
You can’t perform that action at this time.
0 commit comments