Megosztás a következőn keresztül:


Set-AzsOffer

Update the offer.

Syntax

Set-AzsOffer
   -Name <String>
   -ResourceGroupName <String>
   [-DisplayName <String>]
   [-BasePlanIds <String[]>]
   [-Description <String>]
   [-ExternalReferenceId <String>]
   [-State <String>]
   [-Location <String>]
   [-SubscriptionCount <Int64>]
   [-MaxSubscriptionsPerAccount <Int64>]
   [-AddonPlanDefinition <AddonPlanDefinition[]>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzsOffer
   [-ResourceGroupName <String>]
   -InputObject <Offer>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzsOffer
   -ResourceId <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Update the offer.

Examples

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

Set-AzsOffer -Name offer1 -ResourceGroupName rg1 -State Private

Update the offer.

Parameters

-AddonPlanDefinition

References to add-on plans that a tenant can optionally acquire as a part of the offer.

Type:AddonPlanDefinition[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BasePlanIds

Identifiers of the base plans that become available to the tenant immediately when a tenant subscribes to the offer.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

Description of offer.

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

-DisplayName

Display name of offer.

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

-ExternalReferenceId

External reference identifier.

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

-InputObject

The input object of type Microsoft.AzureStack.Management.Subscriptions.Admin.Models.Offer.

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

-Location

Location of the resource.

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

-MaxSubscriptionsPerAccount

Maximum subscriptions per account.

Type:Int64
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-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
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-State

Offer accessibility state.

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

-SubscriptionCount

Current subscription count.

Type:Int64
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.Management.Subscriptions.Admin.Models.Offer