New-WebSitesSubscription

Creates a website subscription.

Syntax

New-WebSitesSubscription [-AdminId] <String> [-SubscriptionId] <String> [-Confirm]
 [-DedicatedAppServicePlansAllowed <Int32>] [-DesignatedSKUs <String[]>] [-RemoteSettings <RemoteSettings>]
 [-SharedAppServicePlansAllowed <Int32>] [-SuppressRequestIdLine] [-TotalAppServicePlansAllowed <Int32>]
 [-WhatIf] [<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.

Parameters

-AdminId

Specifies the owner of the subscription.
For example:

-AdminId "PattiF"

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

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-DedicatedAppServicePlansAllowed

{{Fill DedicatedAppServicePlansAllowed Description}}

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

-DesignatedSKUs

{{Fill DesignatedSKUs Description}}

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

-RemoteSettings

{{Fill RemoteSettings Description}}

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

-SharedAppServicePlansAllowed

{{Fill SharedAppServicePlansAllowed Description}}

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

-SuppressRequestIdLine

{{Fill SuppressRequestIdLine Description}}

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

-TotalAppServicePlansAllowed

{{Fill TotalAppServicePlansAllowed Description}}

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