New-AzsPlan
Maak of werk het plan bij.
Syntax
New-AzsPlan
-Name <String>
-ResourceGroupName <String>
-QuotaIds <String[]>
[-SubscriptionId <String>]
[-Description <String>]
[-DisplayName <String>]
[-ExternalReferenceId <String>]
[-Location <String>]
[-PropertiesName <String>]
[-SkuIds <String[]>]
[-SubscriptionCount <Int32>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
New-AzsPlan
-Name <String>
-ResourceGroupName <String>
-PlanDefinition \<IPlan>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
Maak of werk het plan bij.
Voorbeelden
Voorbeeld 1
PS C:\> New-AzsPlan -Name "testplan" -ResourceGroupName "testrg" -QuotaIds "/subscriptions/d77ed1d7-cb62-4658-a777-386a8ae523dd/providers/Microsoft.Subscriptions.Admin/locations/redmond/quotas/delegatedProviderQuota" -Description "testplan"
Description : testplan
DisplayName : testplan
ExternalReferenceId :
Id : /subscriptions/d77ed1d7-cb62-4658-a777-386a8ae523dd/resourceGroups/testrg/providers/Microsoft.Subscriptions.Admin/plans/testplan
Location : redmond
Name : testplan
PropertiesName : testplan
QuotaIds : {/subscriptions/d77ed1d7-cb62-4658-a777-386a8ae523dd/providers/Microsoft.Subscriptions.Admin/locations/redmond/quotas/delegatedProviderQuota}
SkuIds :
SubscriptionCount : 0
Tags : Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.ResourceTags
Type : Microsoft.Subscriptions.Admin/plans
Hiermee maakt u een nieuw plan
Parameters
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Beschrijving van het plan.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Weergavenaam.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Externe referentie-id.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Locatie van de resource
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzLocation)[0].Location |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Naam van het plan.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Een plan vertegenwoordigt een pakket quota en mogelijkheden die tenants worden aangeboden. Een tenant kan dit plan verkrijgen via een aanbieding om zijn toegang tot onderliggende cloudservices te upgraden. Zie de sectie NOTES voor PLANDEFINITION-eigenschappen en maak een hash-tabel om deze samen te stellen.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlan |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Naam van het plan.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Quotum-id's onder het plan.
| Type: | String[] |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De resourcegroep waar de resource zich onder bevindt.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
SKU-id's.
| Type: | String[] |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Aantal abonnementen.
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Invoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlan
Uitvoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlan
ALIASSEN
Notities
COMPLEXE PARAMETEREIGENSCHAPPEN Om de hieronder beschreven parameters te maken, maakt u een hash-tabel met de juiste eigenschappen. Voer Get-Help about_Hash_Tables uit voor informatie over hashtabellen.
PLANDEFINITION <IPlan>: Een plan vertegenwoordigt een pakket quota en mogelijkheden die tenants worden aangeboden. Een tenant kan dit plan verkrijgen via een aanbieding om zijn toegang tot onderliggende cloudservices te upgraden.
[Location <String>]: Locatie van de resource[Description <String>]: Beschrijving van het plan.[DisplayName <String>]: Weergavenaam.[ExternalReferenceId <String>]: Externe referentie-id.[PropertiesName <String>]: Naam van het plan.[QuotaIds <String[]>]: Quotum-id's onder het plan.[SkuIds <String[]>]: SKU-id's.[SubscriptionCount <Int32?>]: Aantal abonnementen.