Add-AzsPlanToOffer
Verknüpft einen Plan mit einem Angebot.
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>]
Beschreibung
Verknüpft einen Plan mit einem Angebot.
Beispiele
Beispiel 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
Verknüpft einen Plan mit einem Angebot.
Parameter
Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Identity Parameter To build, see NOTES section for INPUTOBJECT properties and create a hash table.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.ISubscriptionsAdminIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Die maximale Anzahl der Erwerbe durch Abonnenten
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Name eines Angebots.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Definition für Verknüpfungs- und Entlinkungspläne zu Angeboten. Informationen zum Erstellen finden Sie im Abschnitt "NOTES" für PLANLINK-Eigenschaften und Erstellen einer Hashtabelle.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlanLinkDefinition |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Typ des Planlinks.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Support.PlanLinkType |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Name des Plans.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Die Ressourcengruppe, unter der sich die Ressource befindet.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementanmeldeinformationen, die microsoft Azure-Abonnement eindeutig identifizieren. Die Abonnement-ID ist Teil des URI für jeden Dienstaufruf.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Eingaben
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlanLinkDefinition
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.ISubscriptionsAdminIdentity
Ausgaben
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IOffer
ALIASE
Hinweise
KOMPLEXE PARAMETEREIGENSCHAFTEN Zum Erstellen der unten beschriebenen Parameter erstellen Sie eine Hashtabelle mit den entsprechenden Eigenschaften. Führen Sie Get-Help about_Hash_Tables aus, um Informationen zu Hashtabellen zu erfahren.
INPUTOBJECT <ISubscriptionsAdminIdentity>: Identity-Parameter
[DelegatedProvider <String>]: DelegierterProvider-Bezeichner.[DelegatedProviderSubscriptionId <String>]: Delegierter Anbieterabonnementbezeichner.[Id <String>]: Ressourcenidentitätspfad[Location <String>]: Der AzureStack-Standort.[ManifestName <String>]: Der Manifestname.[Offer <String>]: Name eines Angebots.[OfferDelegationName <String>]: Name einer Angebotsdelegierung.[OperationsStatusName <String>]: Der Name des Vorgangsstatus.[Plan <String>]: Name des Plans.[PlanAcquisitionId <String>]: Der Plankaufbezeichner[Quota <String>]: Name des Kontingents.[ResourceGroupName <String>]: Die Ressourcengruppe, unter der sich die Ressource befindet.[SubscriptionId <String>]: Abonnementanmeldeinformationen, die microsoft Azure-Abonnement eindeutig identifizieren. Die Abonnement-ID ist Teil des URI für jeden Dienstaufruf.[TargetSubscriptionId <String>]: Die Zielabonnement-ID.[Tenant <String>]: Verzeichnismandantenname.
PLANLINK IPlanLinkDefinition<>: Definition für Verknüpfungs- und Entlinkungspläne zu Angeboten.
[MaxAcquisitionCount <Int32?>]: Die maximale Anzahl der Erwerbe durch Abonnenten[PlanLinkType <PlanLinkType?>]: Typ des Planlinks.[PlanName <String>]: Name des Plans.