共用方式為


Get-AzInsightsPrivateLinkScopedResource

取得私人連結範圍資源

語法

Get-AzInsightsPrivateLinkScopedResource
   -ResourceGroupName <String>
   -ScopeName <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzInsightsPrivateLinkScopedResource
   [-Name <String>]
   -InputObject <PSMonitorPrivateLinkScope>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzInsightsPrivateLinkScopedResource
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

取得或列出私人連結範圍資源、範圍資源可以是Log Analytics工作區或Application Insights元件

範例

範例 1

Get-AzInsightsPrivateLinkScopedResource -ResourceGroupName "rg_name" -ScopeName "scope_name"

列出私人連結範圍 「scope_name」 下的範圍資源

範例 2

Get-AzInsightsPrivateLinkScopedResource -ResourceGroupName "rg_name" -ScopeName "scope_name" -Name "scoped_resource_name"

在私人鏈接範圍 “scope_name” 底下取得範圍資源,名稱為 “scoped_resource_name”

參數

-DefaultProfile

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

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

-InputObject

PSMonitorPrivateLinkScope

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

-Name

範圍資源名稱

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

-ResourceGroupName

資源群組名稱

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

-ResourceId

資源識別碼

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

-ScopeName

Private Link 範圍名稱

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

輸入

String

輸出

icrosoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScopedResource