Get-AzureRmReservationCatalog
Get the catalog of available reservations
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-AzureRmReservationCatalog
[-SubscriptionId <Guid>]
-ReservedResourceType <String>
[-Location <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get the regions and skus that are available for Reserved Instance purchase for the specified Azure subscription.
Examples
Example 1
PS C:\> Get-AzureRmReservationCatalog -ReservedResourceType VirtualMachines -Location westus
Get the VirtualMachines catalog in westus for the default subscription
Example 2
PS C:\> Get-AzureRmReservationCatalog -SubscriptionId "1111aaaa-b1b2-c0c2-d0d2-00000fffff" -ReservedResourceType SuseLinux
Get the SuseLinux catalog for the specified subscription
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 |
-Location
Specifies the location of the reserved resources in the catalog
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReservedResourceType
Specifies the type of the reserved resources in the catalog
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Id of the subscription
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.PSCatalog