다음을 통해 공유


Set-AzsPlan

Updates the specified plan

Syntax

Set-AzsPlan
   -Name <String>
   -ResourceGroupName <String>
   [-DisplayName <String>]
   [-QuotaIds <String[]>]
   [-SkuIds <String[]>]
   [-ExternalReferenceId <String>]
   [-Description <String>]
   [-Location <String>]
   [-SubscriptionCount <Int64>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzsPlan
   [-ResourceGroupName <String>]
   -InputObject <Plan>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzsPlan
   -ResourceId <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Updates the specified plan

Examples

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

Set-AzsPlan -Name "plan1" -ResourceGroupName "rg1" -Description "This plan is meant to be used by accounting only."

Updates the specified plan

Parameters

-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 the plan.

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

-DisplayName

Display name.

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

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

-Name

Name of the plan.

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

-QuotaIds

Quota identifiers under the plan.

Type:String[]
Position:Named
Default value:None
Required:False
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

-SkuIds

SKU identifiers.

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

-SubscriptionCount

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