Share via


New-PartnerCustomerSubscriptionRegistration

Registers the specified subscription.

Syntax

New-PartnerCustomerSubscriptionRegistration
   -CustomerId <String>
   -SubscriptionId <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Registers the specified subscription, so that is eligible to purcahse Azure reservations.

Examples

Example 1

PS C:\> New-PartnerCustomerSubscriptionRegistration -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -SubscriptionId 'aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e'

Registers the specified subscription.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CustomerId

The identifier for the customer.

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

-SubscriptionId

The identifier for the subscription.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.String