Compartilhar via


Get-AzsSubscriptionPlan

Get a collection of all acquired plans that subscription has access to.

Syntax

Get-AzsSubscriptionPlan
   -TargetSubscriptionId <Guid>
   [-Top <Int32>]
   [-Skip <Int32>]
   [<CommonParameters>]
Get-AzsSubscriptionPlan
   -AcquisitionId <Guid>
   -TargetSubscriptionId <Guid>
   [<CommonParameters>]
Get-AzsSubscriptionPlan
   -ResourceId <String>
   [<CommonParameters>]

Description

Get a collection of all acquired plans that subscription has access to.

Examples

-------------------------- EXAMPLE 1 --------------------------

Get-AzsSubscriptionPlan -TargetSubscriptionId "c90173b1-de7a-4b1d-8600-b832b0e65946"

Get a collection of all acquired plans that subscription has access to.

Parameters

-AcquisitionId

The plan acquisition Identifier

Type:Guid
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

-TargetSubscriptionId

The target subscription ID.

Type:Guid
Position:Named
Default value:None
Required:True
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.PlanAcquisition