< Back

Get-AzureRmApplicationInsights

Tue Jan 29, 2019 9:31 pm

NAME Get-AzureRmApplicationInsights



SYNOPSIS

Get application insights resources





SYNTAX

Get-AzureRmApplicationInsights [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [-Full]

[<CommonParameters>]



Get-AzureRmApplicationInsights [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>] [-Full] [<CommonParameters>]



Get-AzureRmApplicationInsights [[-ResourceGroupName] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

Get application insights resources in a resource group or specific resource





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Full [<SwitchParameter>]

If specified, it will get back pricing plan/daily cap and status of the application insights component.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Application Insights Resource Name.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name.



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

Application Insights Component Resource Id.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.ApplicationInsights.Models.PSApplicationInsightsComponent







NOTES









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"







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... oninsights