Remove-AzsUserSubscription
Syntax
Remove-AzsUserSubscription
-TargetSubscriptionId <String>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-Force]
[-PassThru]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Remove-AzsUserSubscription
-INPUTOBJECT \<ISubscriptionsAdminIdentity>
[-DefaultProfile <PSObject>]
[-Force]
[-PassThru]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Beispiele
Beispiel 1
PS C:\> Remove-AzsUserSubscription -SubscriptionId "c90173b1-de7a-4b1d-8600-b832b0e65946"
Löschen Sie das angegebene Mandantenabonnement.
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 |
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Informationen zum Erstellen finden Sie im Abschnitt "NOTES" für INPUTOBJECT-Eigenschaften und erstellen Sie eine Hashtabelle.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.SubscriptionsAdmin.Models.ISubscriptionsAdminIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
| Type: | String |
| Position: | Named |
| Default value: | None |
| 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.ISubscriptionsAdminIdentity
Ausgaben
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 erstellen.
INPUTOBJECT <ISubscriptionsAdminIdentity>:
[DelegatedProvider <String>]: DelegierterProvider-Bezeichner.[DelegatedProviderSubscriptionId <String>]: Delegierter Anbieterabonnement-Bezeichner.[Id <String>]: Ressourcenidentitätspfad[Location <String>]: Der AzureStack-Standort.[ManifestName <String>]: Der Manifestname.[Offer <String>]: Name eines Angebots.[OfferDelegationName <String>]: Name einer Angebotsdelegation.[OperationsStatusName <String>]: Der Statusname des Vorgangs.[Plan <String>]: Name des Plans.[PlanAcquisitionId <String>]: Der Plan-Erwerbsbezeichner[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>]: Verzeichnismandantname.