ReservationOrderResource.ChangeDirectoryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET