Get-AzNewRelicAccount
List all the existing accounts
Syntax
Get-AzNewRelicAccount
[-SubscriptionId <String[]>]
-Location <String>
-UserEmail <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
List all the existing accounts
Examples
Example 1: Get specific monitor account with specified location
Get-AzNewRelicAccount -Location eastus -UserEmail user1@outlook.com
OrganizationId AccountId AccountName Region
-------------- --------- ----------- ------
ea6e1130-d7a1-4519-826f-e7d51b66c7a4 3994857 3994857 eastus
40f16846-b6e5-4394-9dcd-36c484b5d907 3994838 3994838 eastus
d2f7ead5-855d-4c76-ab0e-8db6ace6a4e1 3974757 3974757 eastus
5ef43ba0-1831-44a3-a8d0-6da95bec103e 3968603 3968603 eastus
9a7aa973-ff6e-4e0f-acd6-86b41f6a7b80 3967352 3967352 eastus
51170629-d6fd-4c58-91a3-0efb267704e7 3967342 3967342 eastus
61c8301a-d564-4c97-aeec-d9bec5bca043 3966988 3966988 eastus
Get specific monitor account with specified location
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 |
-Location
Location for NewRelic.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
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 |
-UserEmail
User Email.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
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