Compartilhar via


ReservationOrderResource.ChangeDirectoryAsync Método

Definição

Alterar o diretório (locatário) de ReservationOrder e tudo Reservation sob ele para a ID de locatário especificada

  • Caminho da Solicitação/provedores/Microsoft.Capacity/reservationOrders/{reservationOrderId}/changeDirectory
  • Operação IdReservationOrder_ChangeDirectory
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.ChangeDirectoryDetail>> ChangeDirectoryAsync (Azure.ResourceManager.Reservations.Models.ChangeDirectoryContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ChangeDirectoryAsync : Azure.ResourceManager.Reservations.Models.ChangeDirectoryContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.ChangeDirectoryDetail>>
override this.ChangeDirectoryAsync : Azure.ResourceManager.Reservations.Models.ChangeDirectoryContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.ChangeDirectoryDetail>>
Public Overridable Function ChangeDirectoryAsync (content As ChangeDirectoryContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ChangeDirectoryDetail))

Parâmetros

content
ChangeDirectoryContent

Informações necessárias para alterar o diretório da ordem de reserva.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a