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>]
Voorbeelden
Voorbeeld 1
PS C:\> Remove-AzsUserSubscription -SubscriptionId "c90173b1-de7a-4b1d-8600-b832b0e65946"
Verwijder het opgegeven tenantabonnement.
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 |
| 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 |
Zie de sectie NOTES voor INPUTOBJECT-eigenschappen en maak een hash-tabel om deze samen te stellen.
| 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 |
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.ISubscriptionsAdminIdentity
Uitvoerwaarden
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>:
[DelegatedProvider <String>]: DelegatedProvider-id.[DelegatedProviderSubscriptionId <String>]: Abonnements-id van gedelegeerde provider.[Id <String>]: Resource-id-pad[Location <String>]: De AzureStack-locatie.[ManifestName <String>]: de manifestnaam.[Offer <String>]: Naam van een aanbieding.[OfferDelegationName <String>]: Naam van een aanbiedingsdelegatie.[OperationsStatusName <String>]: de naam van de bewerkingsstatus.[Plan <String>]: Naam van het plan.[PlanAcquisitionId <String>]: De aankoop-id van het plan[Quota <String>]: Naam van het quotum.[ResourceGroupName <String>]: De resourcegroep waaronder de resource zich 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 id van het doelabonnement.[Tenant <String>]: Naam van maptenant.