@@ -114,13 +114,6 @@ def load_arguments(self, _):
114114 min_api = '2020-12-01'
115115 )
116116
117- t_shared_to = self .get_models ('SharedToValues' , operation_group = 'shared_galleries' )
118- shared_to_type = CLIArgumentType (
119- arg_type = get_enum_type (t_shared_to ),
120- help = 'The query parameter to decide what shared galleries to fetch when doing listing operations. '
121- 'If not specified, list by subscription id.'
122- )
123-
124117 marker_type = CLIArgumentType (
125118 help = 'A string value that identifies the portion of the list of containers to be '
126119 'returned with the next listing operation. The operation returns the NextMarker value within '
@@ -1292,14 +1285,6 @@ def load_arguments(self, _):
12921285 c .argument ('features' , help = 'A list of gallery image features. E.g. "IsSecureBootSupported=true IsMeasuredBootSupported=false"' )
12931286 c .argument ('architecture' , arg_type = get_enum_type (self .get_models ('Architecture' , operation_group = 'gallery_images' )), min_api = '2021-10-01' , help = 'CPU architecture.' )
12941287
1295- with self .argument_context ('sig image-definition list-shared' ) as c :
1296- c .argument ('location' , arg_type = get_location_type (self .cli_ctx ), id_part = 'name' )
1297- c .argument ('gallery_unique_name' , type = str , help = 'The unique name of the Shared Gallery.' ,
1298- id_part = 'child_name_1' )
1299- c .argument ('shared_to' , shared_to_type )
1300- c .argument ('marker' , arg_type = marker_type )
1301- c .argument ('show_next_marker' , action = 'store_true' , help = 'Show nextMarker in result when specified.' )
1302-
13031288 with self .argument_context ('sig image-definition create' ) as c :
13041289 c .argument ('description' , help = 'the description of the gallery image definition' )
13051290 with self .argument_context ('sig image-definition update' ) as c :
@@ -1342,17 +1327,6 @@ def load_arguments(self, _):
13421327 help = 'Space-separated list of customer managed keys for encrypting the OS and data disks in the gallery artifact for each region. '
13431328 'Format for each edge zone: `<edge zone>,<os_des>,<lun1>,<lun1_des>,<lun2>,<lun2_des>`.' )
13441329
1345- with self .argument_context ('sig image-version list-shared' ) as c :
1346- c .argument ('location' , arg_type = get_location_type (self .cli_ctx ), id_part = 'name' )
1347- c .argument ('gallery_unique_name' , type = str , help = 'The unique name of the Shared Gallery.' ,
1348- id_part = 'child_name_1' )
1349- c .argument ('gallery_image_name' , options_list = ['--gallery-image-definition' , '-i' ], type = str , help = 'The name '
1350- 'of the Shared Gallery Image Definition from which the Image Versions are to be listed.' ,
1351- id_part = 'child_name_2' )
1352- c .argument ('shared_to' , shared_to_type )
1353- c .argument ('marker' , arg_type = marker_type )
1354- c .argument ('show_next_marker' , action = 'store_true' , help = 'Show nextMarker in result when specified.' )
1355-
13561330 with self .argument_context ('sig image-version show' ) as c :
13571331 c .argument ('expand' , help = "The expand expression to apply on the operation, e.g. 'ReplicationStatus'" )
13581332
@@ -1396,25 +1370,12 @@ def load_arguments(self, _):
13961370 c .argument ('public_gallery_name' , public_gallery_name_type )
13971371 c .argument ('gallery_image_name' , gallery_image_name_type )
13981372
1399- with self .argument_context ('sig image-definition list-community' ) as c :
1400- c .argument ('location' , arg_type = get_location_type (self .cli_ctx ), id_part = 'name' )
1401- c .argument ('public_gallery_name' , public_gallery_name_type )
1402- c .argument ('marker' , arg_type = marker_type )
1403- c .argument ('show_next_marker' , action = 'store_true' , help = 'Show nextMarker in result when specified.' )
1404-
14051373 with self .argument_context ('sig image-version show-community' ) as c :
14061374 c .argument ('location' , arg_type = get_location_type (self .cli_ctx ), id_part = 'name' )
14071375 c .argument ('public_gallery_name' , public_gallery_name_type )
14081376 c .argument ('gallery_image_name' , gallery_image_name_type )
14091377 c .argument ('gallery_image_version_name' , gallery_image_name_version_type )
14101378
1411- with self .argument_context ('sig image-version list-community' ) as c :
1412- c .argument ('location' , arg_type = get_location_type (self .cli_ctx ), id_part = 'name' )
1413- c .argument ('public_gallery_name' , public_gallery_name_type )
1414- c .argument ('gallery_image_name' , gallery_image_name_type )
1415- c .argument ('marker' , arg_type = marker_type )
1416- c .argument ('show_next_marker' , action = 'store_true' , help = 'Show nextMarker in result when specified.' )
1417-
14181379 # endregion
14191380
14201381 with self .argument_context ('vm create' , min_api = '2018-04-01' ) as c :
0 commit comments