Share via


ReservationOrderResource.ChangeDirectoryAsync Method

Definition

Change directory (tenant) of ReservationOrder and all Reservation under it to specified tenant id

  • Request Path: /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/changeDirectory
  • Operation Id: ReservationOrder_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))

Parameters

content
ChangeDirectoryContent

Information needed to change directory of reservation order.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to