Share via


Compute.GalleryApplicationVersionsCreateOrUpdate Method

Definition

public System.Threading.Tasks.Task GalleryApplicationVersionsCreateOrUpdate (string subscriptionId, string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion body, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.ICloudError>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.ISendAsync sender);
member this.GalleryApplicationVersionsCreateOrUpdate : string * string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.ICloudError>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function GalleryApplicationVersionsCreateOrUpdate (subscriptionId As String, resourceGroupName As String, galleryName As String, galleryApplicationName As String, galleryApplicationVersionName As String, body As IGalleryApplicationVersion, onOk As Func(Of HttpResponseMessage, Task(Of IGalleryApplicationVersion), Task), onDefault As Func(Of HttpResponseMessage, Task(Of ICloudError), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

subscriptionId
String
resourceGroupName
String
galleryName
String
galleryApplicationName
String
galleryApplicationVersionName
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to