Remove-AzsPlanFromOffer
Unlink a plan from an offer.
Syntax
Remove-AzsPlanFromOffer
-OfferName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-MaxAcquisitionCount <Int32>]
[-PlanLinkType <PlanLinkType>]
[-PlanName <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Remove-AzsPlanFromOffer
-OfferName <String>
-ResourceGroupName <String>
-PlanLink \<IPlanLinkDefinition>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Remove-AzsPlanFromOffer
-INPUTOBJECT \<ISubscriptionsAdminIdentity>
-PlanLink \<IPlanLinkDefinition>
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Remove-AzsPlanFromOffer
-INPUTOBJECT \<ISubscriptionsAdminIdentity>
[-MaxAcquisitionCount <Int32>]
[-PlanLinkType <PlanLinkType>]
[-PlanName <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
Unlink a plan from an offer.
Examples
Example 1:
PS C:\> Remove-AzsPlanFromOffer -PlanName "testplan" -PlanLinkType Addon -OfferName "testoffer" -ResourceGroupName "testrg"
Unlink a plan from an offer.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | System.Management.Automation.SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | System.Management.Automation.PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.ISubscriptionsAdminIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-MaxAcquisitionCount
The maximum acquisition count by subscribers
Type: | System.Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OfferName
Name of an offer.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PlanLink
Definition for linking and unlinking plans to offers. To construct, see NOTES section for PLANLINK properties and create a hash table.
Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlanLinkDefinition |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PlanLinkType
Type of the plan link.
Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Support.PlanLinkType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PlanName
Name of the plan.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group the resource is located under.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.
Type: | System.String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | System.Management.Automation.SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IPlanLinkDefinition
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.ISubscriptionsAdminIdentity
Outputs
Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.Api20151101.IOffer
ALIASES
Notes
COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT <ISubscriptionsAdminIdentity>: Identity Parameter
[DelegatedProvider <String>]
: DelegatedProvider identifier.[DelegatedProviderSubscriptionId <String>]
: Delegated provider subscription identifier.[Id <String>]
: Resource identity path[Location <String>]
: The AzureStack location.[ManifestName <String>]
: The manifest name.[Offer <String>]
: Name of an offer.[OfferDelegationName <String>]
: Name of a offer delegation.[OperationsStatusName <String>]
: The operation status name.[Plan <String>]
: Name of the plan.[PlanAcquisitionId <String>]
: The plan acquisition Identifier[Quota <String>]
: Name of the quota.[ResourceGroupName <String>]
: The resource group the resource is located under.[SubscriptionId <String>]
: Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.[TargetSubscriptionId <String>]
: The target subscription ID.[Tenant <String>]
: Directory tenant name.
PLANLINK <IPlanLinkDefinition>: Definition for linking and unlinking plans to offers.
[MaxAcquisitionCount <Int32?>]
: The maximum acquisition count by subscribers[PlanLinkType <PlanLinkType?>]
: Type of the plan link.[PlanName <String>]
: Name of the plan.