Partager via


Get-AzsManagedOffer

Get the list of offers as the administrator.

Syntax

Get-AzsManagedOffer
   [-Skip <Int32>]
   [-Top <Int32>]
   [<CommonParameters>]
Get-AzsManagedOffer
   -Name <String>
   -ResourceGroupName <String>
   [<CommonParameters>]
Get-AzsManagedOffer
   -ResourceGroupName <String>
   [-Skip <Int32>]
   [-Top <Int32>]
   [<CommonParameters>]
Get-AzsManagedOffer
   -ResourceId <String>
   [<CommonParameters>]

Description

Get the list of offers.

Examples

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

Get-AzsManagedOffer -Name offer -ResourceGroupName offerrg

Get the list of offers as the administrator.

Parameters

-Name

Name of an offer.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

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.Offer