Compartir a través de


ICapacityReservationsOperations.BeginUpdateWithHttpMessagesAsync Método

Definición

Operación para actualizar una reserva de capacidad.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.CapacityReservation>> BeginUpdateWithHttpMessagesAsync (string resourceGroupName, string capacityReservationGroupName, string capacityReservationName, Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.CapacityReservation>>
Public Function BeginUpdateWithHttpMessagesAsync (resourceGroupName As String, capacityReservationGroupName As String, capacityReservationName As String, parameters As CapacityReservationUpdate, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of CapacityReservation))

Parámetros

resourceGroupName
String

Nombre del grupo de recursos.

capacityReservationGroupName
String

Nombre del grupo de reserva de capacidad.

capacityReservationName
String

Nombre de la reserva de capacidad.

parameters
CapacityReservationUpdate

Parámetros proporcionados a la operación Actualizar reserva de capacidad.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a