Compartilhar via


CapacityReservationsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

A operação para criar ou atualizar uma reserva de capacidade. Observe que algumas propriedades só podem ser definidas durante a criação da reserva de capacidade. Consulte para https://aka.ms/CapacityReservation obter mais detalhes.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservation> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.ICapacityReservationsOperations operations, string resourceGroupName, string capacityReservationGroupName, string capacityReservationName, Microsoft.Azure.Management.Compute.Models.CapacityReservation parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Compute.ICapacityReservationsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.CapacityReservation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservation>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ICapacityReservationsOperations, resourceGroupName As String, capacityReservationGroupName As String, capacityReservationName As String, parameters As CapacityReservation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapacityReservation)

Parâmetros

operations
ICapacityReservationsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

capacityReservationGroupName
String

O nome do grupo de reserva de capacidade.

capacityReservationName
String

O nome da reserva de capacidade.

parameters
CapacityReservation

Parâmetros fornecidos para a reserva criar capacidade.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a