GallerySharingProfileOperationsExtensions.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 sharing profile of a gallery.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.SharingUpdate> UpdateAsync (this Microsoft.Azure.Management.Compute.IGallerySharingProfileOperations operations, string resourceGroupName, string galleryName, Microsoft.Azure.Management.Compute.Models.SharingUpdate sharingUpdate, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.IGallerySharingProfileOperations * string * string * Microsoft.Azure.Management.Compute.Models.SharingUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.SharingUpdate>
<Extension()>
Public Function UpdateAsync (operations As IGallerySharingProfileOperations, resourceGroupName As String, galleryName As String, sharingUpdate As SharingUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharingUpdate)
Parameters
- operations
- IGallerySharingProfileOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- galleryName
- String
The name of the Shared Image Gallery.
- sharingUpdate
- SharingUpdate
Parameters supplied to the update gallery sharing profile.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET