你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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>]

说明

获取或列出专用链接范围资源,范围资源可以是 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

资源 ID

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

-ScopeName

专用链接范围名称

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

输入

String

输出

icrosoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScopedResource