Share via


ReservationsExtensions.GetReservationOrders(TenantResource) Method

Definition

Gets a collection of ReservationOrderResources in the TenantResource. MockingTo mock this method, please mock GetReservationOrders() instead.

public static Azure.ResourceManager.Reservations.ReservationOrderCollection GetReservationOrders (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetReservationOrders : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Reservations.ReservationOrderCollection
<Extension()>
Public Function GetReservationOrders (tenantResource As TenantResource) As ReservationOrderCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of ReservationOrderResources and their operations over a ReservationOrderResource.

Exceptions

tenantResource is null.

Applies to