GalleriesOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update a Shared Image Gallery.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.GalleryInner> UpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IGalleriesOperations operations, string resourceGroupName, string galleryName, Microsoft.Azure.Management.Compute.Fluent.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IGalleriesOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.GalleryUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.GalleryInner>
<Extension()>
Public Function UpdateAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, gallery As GalleryUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GalleryInner)
Parameters
- operations
- IGalleriesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- galleryName
- String
The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
- gallery
- GalleryUpdate
Parameters supplied to the update Shared Image Gallery operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET