Get-AzNewRelicPlan
List plans data
Syntax
Get-AzNewRelicPlan
[-SubscriptionId <String[]>]
[-AccountId <String>]
[-OrganizationId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
List plans data
Examples
Example 1: List plans data associated with specified organization
Get-AzNewRelicPlan -SubscriptionId 00001111-aaaa-2222-bbbb-3333cccc4444 -OrganizationId 11111111-2222-3333-4444-123456789104
PlanDataUsageType PlanDataBillingCycle PlanDataPlanDetail PlanDataEffectiveDate OrgCreationSource AccountCreationSource
----------------- -------------------- ------------------ --------------------- ----------------- ---------------------
PAYG MONTHLY newrelicpaygtestplan2@123456789123456@PUBIDnewrelicinc1234567891234.newrelic_liftr_payg 6/28/2023 9:28:22 AM LIFTR
List plans data associated with specified Organization Id
Example 2: Link plans account with specified organization in different subscription
Get-AzNewRelicPlan -SubscriptionId 00001111-aaaa-2222-bbbb-3333cccc4444 -OrganizationId 11111111-2222-3333-4444-123456789104 -AccountId 1234567
Link plans account with specified organization in different subscription
Parameters
-AccountId
Account Id.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-OrganizationId
Organization Id.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell