Modifier

Partager via


Get-AzSubscriptionAcceptOwnershipStatus

Accept subscription ownership status.

Syntax

Get-AzSubscriptionAcceptOwnershipStatus
   -SubscriptionId <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSubscriptionAcceptOwnershipStatus
   -InputObject <ISubscriptionIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Accept subscription ownership status.

Examples

Example 1: Accept subscription ownership status.

Get-AzSubscriptionAcceptOwnershipStatus -SubscriptionId XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

AcceptOwnershipState BillingOwner      ProvisioningState SubscriptionId                       SubscriptionTenantId
-------------------- ------------      ----------------- --------------                       --------------------
Completed            xxxxxxxx@xxxx.com Pending           XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Accept subscription ownership status.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type: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:ISubscriptionIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-SubscriptionId

Subscription Id.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ISubscriptionIdentity

Outputs

IAcceptOwnershipStatusResponse