New-​Azure​RM​Offer

The New-AzureRmOffer cmdlet creates an offer composing of the specified base plans and add ons

Syntax

New-AzureRMOffer
   [-AddOnPlans <AddonPlanDefinition[]>]
   -ArmLocation <String>
   [-BasePlanIds <String[]>]
   [-DisplayName <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -Name <String>
   [-PipelineVariable <String>]
   -ResourceGroup <String>
   [-State <AccessibilityState>]
   [<CommonParameters>]

Examples

Example 1:

New-AzureRMOffer -Name "ComputePlan" -DisplayName "ComputePlan" -State Private -BasePlanIds $BasePlanIds -ArmLocation "local"-ResourceGroup "OfferGroup"

Description

-----------

The example creates an offer with the provided base plans

Required Parameters

-ArmLocation

Specifies the location of the Azurestack Resource Manager. This parameter will be deprecated in a future release

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the offer

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroup

The existing resource group name where the offer resource is created

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

Optional Parameters

-AddOnPlans

An array of AddOn Plan Ids. The offer will support the extra quotas provided by the AddOns

Type:AddonPlanDefinition[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-BasePlanIds

An array of the base plan Ids. The offer is going to compose of all the base plans and associated quotas

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-DisplayName

@{Text=}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

Not SpecifiedThe following values are permitted for this object type.

Type:ActionPreference
Aliases:infa
Parameter Sets:SilentlyContinue, Stop, Continue, Inquire
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Not Specified

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PipelineVariable

Not Specified

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-State

Specifies the state of the plan. The state could be Private, Public or Decommissioned

Type:AccessibilityState
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.Management.Models.AdminOfferModel