Get-AzApplicationInsights

Returns an Application Insights component.

Syntax

Get-AzApplicationInsights
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzApplicationInsights
   [-SubscriptionId <String[]>]
   -ResourceGroupName <String>
   -Name <String>
   [-Full]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzApplicationInsights
   [-SubscriptionId <String[]>]
   -ResourceGroupName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzApplicationInsights
   -ResourceId <String>
   [-Full]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzApplicationInsights
   -InputObject <IApplicationInsightsIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Returns an Application Insights component.

Examples

Example 1: Get application insights resource

Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test"

Get application insights resource

Example 2: Get application insights resource with pricing plan information

Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan

Get application insights resource with pricing plan information

Parameters

-DefaultProfile

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

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Full

Type:SwitchParameter
Aliases:IncludeDailyCap, IncludeDailyCapStatus, IncludePricingPlan
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

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

-Name

The name of the Application Insights component resource.

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

-ResourceGroupName

The name of the resource group. The name is case insensitive.

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

-ResourceId

The resource ID of applicationinsights component.

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

Inputs

IApplicationInsightsIdentity

Outputs

IApplicationInsightsComponent

PSApplicationInsightsComponentWithPricingPlan