@@ -332,13 +332,16 @@ public static VmImagesInEdgeZoneListResult ListByEdgeZone(this IVirtualMachineIm
332
332
/// <param name='skus'>
333
333
/// A valid image SKU.
334
334
/// </param>
335
+ /// <param name='expand'>
336
+ /// The expand expression to apply on the operation.
337
+ /// </param>
335
338
/// <param name='top'>
336
339
/// </param>
337
340
/// <param name='orderby'>
338
341
/// </param>
339
- public static IPage < VirtualMachineImage > ListWithProperties ( this IVirtualMachineImagesOperations operations , string location , string publisherName , string offer , string skus , int ? top = default ( int ? ) , string orderby = default ( string ) )
342
+ public static IList < VirtualMachineImage > ListWithProperties ( this IVirtualMachineImagesOperations operations , string location , string publisherName , string offer , string skus , string expand , int ? top = default ( int ? ) , string orderby = default ( string ) )
340
343
{
341
- return operations . ListWithPropertiesAsync ( location , publisherName , offer , skus , top , orderby ) . GetAwaiter ( ) . GetResult ( ) ;
344
+ return operations . ListWithPropertiesAsync ( location , publisherName , offer , skus , expand , top , orderby ) . GetAwaiter ( ) . GetResult ( ) ;
342
345
}
343
346
344
347
/// <param name='operations'>
@@ -356,16 +359,19 @@ public static VmImagesInEdgeZoneListResult ListByEdgeZone(this IVirtualMachineIm
356
359
/// <param name='skus'>
357
360
/// A valid image SKU.
358
361
/// </param>
362
+ /// <param name='expand'>
363
+ /// The expand expression to apply on the operation.
364
+ /// </param>
359
365
/// <param name='top'>
360
366
/// </param>
361
367
/// <param name='orderby'>
362
368
/// </param>
363
369
/// <param name='cancellationToken'>
364
370
/// The cancellation token.
365
371
/// </param>
366
- public static async Task < IPage < VirtualMachineImage > > ListWithPropertiesAsync ( this IVirtualMachineImagesOperations operations , string location , string publisherName , string offer , string skus , int ? top = default ( int ? ) , string orderby = default ( string ) , CancellationToken cancellationToken = default ( CancellationToken ) )
372
+ public static async Task < IList < VirtualMachineImage > > ListWithPropertiesAsync ( this IVirtualMachineImagesOperations operations , string location , string publisherName , string offer , string skus , string expand , int ? top = default ( int ? ) , string orderby = default ( string ) , CancellationToken cancellationToken = default ( CancellationToken ) )
367
373
{
368
- using ( var _result = await operations . ListWithPropertiesWithHttpMessagesAsync ( location , publisherName , offer , skus , top , orderby , null , cancellationToken ) . ConfigureAwait ( false ) )
374
+ using ( var _result = await operations . ListWithPropertiesWithHttpMessagesAsync ( location , publisherName , offer , skus , expand , top , orderby , null , cancellationToken ) . ConfigureAwait ( false ) )
369
375
{
370
376
return _result . Body ;
371
377
}
@@ -377,7 +383,7 @@ public static VmImagesInEdgeZoneListResult ListByEdgeZone(this IVirtualMachineIm
377
383
/// <param name='nextPageLink'>
378
384
/// The NextLink from the previous successful call to List operation.
379
385
/// </param>
380
- public static IPage < VirtualMachineImage > ListWithPropertiesNext ( this IVirtualMachineImagesOperations operations , string nextPageLink )
386
+ public static IList < VirtualMachineImage > ListWithPropertiesNext ( this IVirtualMachineImagesOperations operations , string nextPageLink )
381
387
{
382
388
return operations . ListWithPropertiesNextAsync ( nextPageLink ) . GetAwaiter ( ) . GetResult ( ) ;
383
389
}
@@ -391,7 +397,7 @@ public static IPage<VirtualMachineImage> ListWithPropertiesNext(this IVirtualMac
391
397
/// <param name='cancellationToken'>
392
398
/// The cancellation token.
393
399
/// </param>
394
- public static async Task < IPage < VirtualMachineImage > > ListWithPropertiesNextAsync ( this IVirtualMachineImagesOperations operations , string nextPageLink , CancellationToken cancellationToken = default ( CancellationToken ) )
400
+ public static async Task < IList < VirtualMachineImage > > ListWithPropertiesNextAsync ( this IVirtualMachineImagesOperations operations , string nextPageLink , CancellationToken cancellationToken = default ( CancellationToken ) )
395
401
{
396
402
using ( var _result = await operations . ListWithPropertiesNextWithHttpMessagesAsync ( nextPageLink , null , cancellationToken ) . ConfigureAwait ( false ) )
397
403
{
0 commit comments