編集

次の方法で共有


Get-AzInsightsPrivateLinkScopedResource

Get for private link scoped resource

Syntax

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

Get or list for private link scoped resource, scoped resource could be Log Analytics workspace or Application Insights component

Examples

Example 1

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

List scoped resource under private link scope "scope_name"

Example 2

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

Get scoped resource under private link scope "scope_name" with name "scoped_resource_name"

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

PSMonitorPrivateLinkScope

Type:PSMonitorPrivateLinkScope
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Scoped resource Name

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Resource Group Name

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

Resource Id

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ScopeName

Private Link Scope Name

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

icrosoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScopedResource