/// <summary>
 /// Create or update a gallery.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='galleryName'>
 /// The name of the gallery.
 /// </param>
 /// <param name='gallery'>
 /// Parameters supplied to the create or update gallery operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <GalleryInner> CreateOrUpdateAsync(this IGalleriesOperations operations, string resourceGroupName, string galleryName, GalleryInner gallery, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, galleryName, gallery, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
예제 #2
0
 ///GENMHASH:4C297816DBAE1263D05C994CFC8D1928:C5C9A7A1846EEA08D381D40B63B43DC6
 internal GalleryImpl(string name, GalleryInner innerModel, IComputeManager computeManager)
     : base(name, innerModel, computeManager)
 {
 }