共用方式為


Get-AzApplicationInsights

傳回 Application Insights 元件。

語法

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

傳回 Application Insights 元件。

範例

範例 1:取得 Application Insights 資源

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

取得 Application Insights 資源

範例 2:使用定價方案資訊取得 Application Insights 資源

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

使用定價方案資訊取得 Application Insights 資源

參數

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Full

類型:SwitchParameter
別名:IncludeDailyCap, IncludeDailyCapStatus, IncludePricingPlan
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

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

類型:IApplicationInsightsIdentity
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Name

Application Insights 元件資源的名稱。

類型:String
別名:ApplicationInsightsComponentName, ComponentName
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

資源群組的名稱。 名稱不區分大小寫。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceId

applicationinsights 元件的資源標識符。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-SubscriptionId

目標訂用帳戶的標識碼。

類型:String[]
Position:Named
預設值:(Get-AzContext).Subscription.Id
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

輸出