Compute.GalleryImageVersionsCreateOrUpdate 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.
public System.Threading.Tasks.Task GalleryImageVersionsCreateOrUpdate (string subscriptionId, string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersion body, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersion>,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.GalleryImageVersionsCreateOrUpdate : string * string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersion * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersion>, 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 GalleryImageVersionsCreateOrUpdate (subscriptionId As String, resourceGroupName As String, galleryName As String, galleryImageName As String, galleryImageVersionName As String, body As IGalleryImageVersion, onOk As Func(Of HttpResponseMessage, Task(Of IGalleryImageVersion), 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
- galleryImageName
- String
- galleryImageVersionName
- String
- body
- IGalleryImageVersion
- onDefault
- Func<HttpResponseMessage,Task<ICloudError>,Task>
- eventListener
- IEventListener
- sender
- ISendAsync