Add-AzsPlanToOffer
Hiermee wordt een plan gekoppeld aan een aanbieding.
Syntax
Add-AzsPlanToOffer
-OfferName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-MaxAcquisitionCount <Int32>]
[-PlanLinkType <PlanLinkType>]
[-PlanName <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Add-AzsPlanToOffer
-OfferName <String>
-ResourceGroupName <String>
-PlanLink \<IPlanLinkDefinition>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Add-AzsPlanToOffer
-INPUTOBJECT \<ISubscriptionsAdminIdentity>
-PlanLink \<IPlanLinkDefinition>
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Add-AzsPlanToOffer
-INPUTOBJECT \<ISubscriptionsAdminIdentity>
[-MaxAcquisitionCount <Int32>]
[-PlanLinkType <PlanLinkType>]
[-PlanName <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
Hiermee wordt een plan gekoppeld aan een aanbieding.
Voorbeelden
Voorbeeld 1
PS C:\> Add-AzsPlanToOffer -PlanName "addonplan" -PlanLinkType Addon -OfferName "testoffer" -ResourceGroupName "testrg" -MaxAcquisitionCount 18
AddonPlans : {/subscriptions/d77ed1d7-cb62-4658-a777-386a8ae523dd/resourceGroups/testrg/providers/Microsoft.Subscriptions.Admin/plans/addonplan}
BasePlanIds : {/subscriptions/d77ed1d7-cb62-4658-a777-386a8ae523dd/resourceGroups/testrg/providers/Microsoft.Subscriptions.Admin/plans/testplan}
Description :
DisplayName : testoffer
ExternalReferenceId :
Id : /subscriptions/d77ed1d7-cb62-4658-a777-386a8ae523dd/resourceGroups/testrg/providers/Microsoft.Subscriptions.Admin/offers/testoffer
Location : redmond
MaxSubscriptionsPerAccount : 0
Name : testoffer
PropertiesName : testoffer
State : Private
SubscriptionCount : 0
Tags : Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.ResourceTags
Type : Microsoft.Subscriptions.Admin/offers
Hiermee wordt een plan gekoppeld aan een aanbieding.
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 |
Identiteitsparameter Om te maken, raadpleegt u de sectie NOTES voor INPUTOBJECT-eigenschappen en maakt u een hash-tabel.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.ISubscriptionsAdminIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Het maximale aantal overnames per abonnees
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Naam van een aanbieding.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Definitie voor het koppelen en ontkoppelen van abonnementen aan aanbiedingen. Zie de sectie NOTES voor PLANLINK-eigenschappen en maak een hash-tabel om deze samen te stellen.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlanLinkDefinition |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Type van de plankoppeling.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Support.PlanLinkType |
| Position: | Named |
| Default value: | None |
| 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 |
De resourcegroep waar de resource zich onder bevindt.
| Type: | String |
| 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.IPlanLinkDefinition
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.ISubscriptionsAdminIdentity
Uitvoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IOffer
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.
INPUTOBJECT <ISubscriptionsAdminIdentity>: Identiteitsparameter
[DelegatedProvider <String>]: DelegatedProvider-id.[DelegatedProviderSubscriptionId <String>]: Abonnements-id van gedelegeerde provider.[Id <String>]: Pad naar resource-id[Location <String>]: De AzureStack-locatie.[ManifestName <String>]: de manifestnaam.[Offer <String>]: Naam van een aanbieding.[OfferDelegationName <String>]: Naam van een aanbiedingsdelegering.[OperationsStatusName <String>]: de naam van de bewerkingsstatus.[Plan <String>]: Naam van het plan.[PlanAcquisitionId <String>]: De overname-id van het plan[Quota <String>]: Naam van het quotum.[ResourceGroupName <String>]: De resourcegroep waar de resource zich onder bevindt.[SubscriptionId <String>]: Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.[TargetSubscriptionId <String>]: de doelabonnement-id.[Tenant <String>]: Naam van maptenant.
PLANLINK <IPlanLinkDefinition>: definitie voor het koppelen en ontkoppelen van plannen voor aanbiedingen.
[MaxAcquisitionCount <Int32?>]: Het maximale aantal overnames per abonnees[PlanLinkType <PlanLinkType?>]: Type van de plankoppeling.[PlanName <String>]: Naam van het plan.