閱讀英文

共用方式為


Get-AzInsightsPrivateLinkScope

取得私人連結範圍

語法

Get-AzInsightsPrivateLinkScope
   [-ResourceGroupName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzInsightsPrivateLinkScope
   -ResourceGroupName <String>
   -Name <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzInsightsPrivateLinkScope
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

列出或取得私人連結範圍

範例

範例 1

Get-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name"

列出資源群組 「rg_name」 底下的私人連結範圍

範例 2

Get-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name" -Name "scope_name"

取得資源群組 「rg_name」 下名稱為 「scope_name」 的私人連結範圍

參數

-DefaultProfile

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

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

-Name

Private Link 範圍名稱

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

-ResourceGroupName

資源組名

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

-ResourceId

資源標識碼

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

輸入

String

輸出

PSMonitorPrivateLinkScope