New-WebSitesSubscription

Creates a website subscription.

Syntax

New-WebSitesSubscription
   [-AdminId] <String>
   [-SubscriptionId] <String>
   [-DesignatedSKUs <String[]>]
   [-TotalAppServicePlansAllowed <Int32>]
   [-DedicatedAppServicePlansAllowed <Int32>]
   [-SharedAppServicePlansAllowed <Int32>]
   [-RemoteSettings <RemoteSettings>]
   [-SuppressRequestIdLine]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-WebSitesSubscription cmdlet creates a website subscription.

Examples

Example 1: Create a website subscription

PS C:\> New-WebSitesSubscription -AdminId "User01" -SubscriptionId eede207d-d263-4212-ad32-fd29b5a1a6ce -Enabled

This command creates an enabled website subscription with the ID eede207d-d263-4212-ad32-fd29b5a1a6ce. This subscription is owned by User01.

Required Parameters

-AdminId

Specifies the owner of the subscription. For example:

-AdminId "PattiF"

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SubscriptionId

Specifies the subscription ID. For example:

-SubscriptionId "eede207d-d263-4212-ad32-fd29b5a1a6ce"

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DedicatedAppServicePlansAllowed

{{Fill DedicatedAppServicePlansAllowed Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DesignatedSKUs

{{Fill DesignatedSKUs Description}}

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

{{Fill RemoteSettings Description}}

Type:RemoteSettings
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SharedAppServicePlansAllowed

{{Fill SharedAppServicePlansAllowed Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SuppressRequestIdLine

{{Fill SuppressRequestIdLine Description}}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TotalAppServicePlansAllowed

{{Fill TotalAppServicePlansAllowed Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
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:False
Accept pipeline input:False
Accept wildcard characters:False