Get-AzsPlan
List all plans across all subscriptions.
Syntax
Get-AzsPlan
[-Skip <Int32>]
[-Top <Int32>]
[<CommonParameters>]
Get-AzsPlan
-Name <String>
-ResourceGroupName <String>
[<CommonParameters>]
Get-AzsPlan
-ResourceGroupName <String>
[-Skip <Int32>]
[-Top <Int32>]
[<CommonParameters>]
Get-AzsPlan
-ResourceId <String>
[<CommonParameters>]
Description
List all plans across all subscriptions.
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-AzsPlan -ResourceGroupName rg1 -Name plan1
Get a specifc plan under this subscriptions.
Parameters
-Name
Name of the plan.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group the resource is located under.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
The resource id.
Type: | String |
Aliases: | id |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Skip
Skip the first N items as specified by the parameter value.
Type: | Int32 |
Position: | Named |
Default value: | -1 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Top
Return the top N items as specified by the parameter value. Applies after the -Skip parameter.
Type: | Int32 |
Position: | Named |
Default value: | -1 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.AzureStack.Management.Subscriptions.Admin.Models.Plan