Set-​Azure​RM​Offer

The Set-AzureRmOffer cmdlet updates the existing offer

Syntax

Set-AzureRMOffer
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -Offer <AdminOfferModel>
   [-PipelineVariable <String>]
   -ResourceGroup <String>
   [-SubscriptionId <Guid>]
   [<CommonParameters>]

Description

The Set-AzureRmOffer cmdlet updates the existing offer

Examples

Example 1:

$Offer = Get-AzureRMOffer -Name "ComputeOffer" -ResourceGroup "OfferGroup" -Managed; $Offer.DisplayName ="New Compute Offer";  Set-AzureRMOffer -Plan $Offer -ResourceGroup "OfferGroup"

Description

-----------

The example gets and updates the offer name 'ComputeOffer'

Required Parameters

-Offer

@{Text=}

Type:AdminOfferModel
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ResourceGroup

Specifies the resource group name of the offer

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

Optional Parameters

-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
-SubscriptionId

{{Fill SubscriptionId Description}}

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

Outputs

Microsoft.AzureStack.Management.Models.AdminOfferModel