Compartir a través de


ImagesOperationsExtensions.CreateOrUpdateAsync Método

Definición

Cree o actualice una imagen.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IImagesOperations operations, string resourceGroupName, string imageName, Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IImagesOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IImagesOperations, resourceGroupName As String, imageName As String, parameters As ImageInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImageInner)

Parámetros

operations
IImagesOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

imageName
String

Nombre de la imagen.

parameters
ImageInner

Parámetros proporcionados a la operación Crear imagen.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a