Get-AzureRmReservationOrder
Get ReservationOrder
Warning
The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.
Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.
Syntax
Get-AzureRmReservationOrder
[-ReservationOrderId <Guid>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
List of all the ReservationOrder
s that the user has access to in the current tenant. If ReservationOrderId parameter is set, get that specific ReservationOrder.
Examples
Example 1
PS C:\> Get-AzureRmReservationOrder
List all ReservationOrder
that the user has access to in the current tenant
Example 2
PS C:\> Get-AzureRmReservationOrder -ReservationOrderId "00000000-ffff-ffff-0000-00000fffff"
Get ReservationOrder
with the specified ReservationOrderId
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReservationOrderId
Id of the specific ReservationOrder that user wants to see
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.Azure.Commands.Reservations.Models.PSReservationOrderPage
Microsoft.Azure.Commands.Reservations.Models.PSReservationOrder