Udostępnij za pośrednictwem


ReservationOrderResource.ChangeDirectory 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 Azure.Response<Azure.ResourceManager.Reservations.Models.ChangeDirectoryDetail> ChangeDirectory (Azure.ResourceManager.Reservations.Models.ChangeDirectoryContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ChangeDirectory : Azure.ResourceManager.Reservations.Models.ChangeDirectoryContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Reservations.Models.ChangeDirectoryDetail>
override this.ChangeDirectory : Azure.ResourceManager.Reservations.Models.ChangeDirectoryContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Reservations.Models.ChangeDirectoryDetail>
Public Overridable Function ChangeDirectory (content As ChangeDirectoryContent, Optional cancellationToken As CancellationToken = Nothing) As 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