Get-AzureRmApplicationInsights
Get application insights resources
Important
You've reached a webpage for an outdated version of Azure PowerShell. All versions of the AzureRM PowerShell module are outdated, but not out of support. The Az PowerShell module is now the recommended PowerShell module for interacting with Azure. To get started with the Az PowerShell module, see Install Azure PowerShell. To learn how to migrate to the Az PowerShell module, see Migrate Azure PowerShell from AzureRM to Az.
Syntax
Get-AzureRmApplicationInsights
[[-ResourceGroupName] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmApplicationInsights
[-ResourceGroupName] <String>
[-Name] <String>
[-Full]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmApplicationInsights
[-ResourceId] <String>
[-Full]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get application insights resources in a resource group or specific resource
Examples
Example 1 Get application insights resource
PS C:\> Get-AzureRmApplicationInsights -ResourceGroupName "testgroup" -Name "test"
Id : /subscriptions/{subid}/resourceGroups/testgroup/providers/microsoft.insights/components/test
ResourceGroupName : testgroup
Name : test
Kind : web
Location : eastus
Type : microsoft.insights/components
AppId : 7c8f0641-d307-41bc-b8f2-d30701adb4b3
ApplicationType : web
Tags : {}
CreationDate : 7/5/2017 4:37:22 PM
FlowType : Redfield
HockeyAppId :
HockeyAppToken :
InstrumentationKey : 1e30d092-4b4b-47c6-ad39-7c10785d80f5
ProvisioningState : Succeeded
RequestSource : IbizaAIExtension
SamplingPercentage :
TenantId : b90b0dec-9b9a-4778-a84e-4ffb73bb17f7
Get application insights resource named "test" in resoruce group "testgroup"
Example 2 Get application insights resource with pricing plan information
PS C:\> Get-AzureRmApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan
Cap : 330
ResetTime : 0
StopSendNotificationWhenHitCap : True
CapExpirationTime :
IsCapped : False
Id : /subscriptions/{subid}/resourceGroups/testgroup/providers/microsoft.insights/components/test
ResourceGroupName : testgroup
Name : test
Kind : web
Location : eastus
Type : microsoft.insights/components
AppId : 7c8f0641-d307-41bc-b8f2-d30701adb4b3
ApplicationType : web
Tags : {}
CreationDate : 7/5/2017 4:37:22 PM
FlowType : Redfield
HockeyAppId :
HockeyAppToken :
InstrumentationKey : 1e30d092-4b4b-47c6-ad39-7c10785d80f5
ProvisioningState : Succeeded
RequestSource : IbizaAIExtension
SamplingPercentage :
TenantId : b90b0dec-9b9a-4778-a84e-4ffb73bb17f7
PricingPlan : Basic
Get application insights resource and include pricing plan information for resource named "test" in resoruce group "testgroup"
Parameters
The credentials, account, tenant, and subscription used for communication with azure.
Type: | Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
If specified, it will get back pricing plan/daily cap and status of the application insights component.
Type: | SwitchParameter |
Aliases: | IncludeDailyCap, IncludeDailyCapStatus, IncludePricingPlan |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Application Insights Resource Name.
Type: | String |
Aliases: | ApplicationInsightsComponentName, ComponentName |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Resource Group Name.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Application Insights Component Resource Id.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |