Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-AzApplicationInsights

Returns an Application Insights component.

Syntax

ListBySubscription (Default)

Get-AzApplicationInsights
 [-SubscriptionId <String[]>]
 [-DefaultProfile <PSObject>]
 [<CommonParameters>]

Get

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

ListByResourceGroupName

Get-AzApplicationInsights
 -ResourceGroupName <String>
 [-SubscriptionId <String[]>]
 [-DefaultProfile <PSObject>]
 [<CommonParameters>]

GetByResourceId

Get-AzApplicationInsights
 -ResourceId <String>
 [-Full]
 [-DefaultProfile <PSObject>]
 [<CommonParameters>]

GetByInputObject

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.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

-Full

Returns an Application Insights component.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:IncludeDailyCap, IncludeDailyCapStatus, IncludePricingPlan

Parameter sets

-InputObject

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

Parameter properties

Type:IApplicationInsightsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Name

The name of the Application Insights component resource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ApplicationInsightsComponentName, ComponentName

Parameter sets

-ResourceGroupName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ResourceId

The resource ID of applicationinsights component.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SubscriptionId

The ID of the target subscription.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

IApplicationInsightsIdentity

Outputs

IApplicationInsightsComponent

PSApplicationInsightsComponentWithPricingPlan


Feedback

Was this page helpful?