Redigera

Dela via


Get-AzInsightsPrivateLinkScope

Get private link scope

Syntax

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

Description

List or get private link scope

Examples

Example 1

Get-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name"

List private link scopes under resource group "rg_name"

Example 2

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

Get private link scope with name "scope_name" under resource group "rg_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

-Name

Private Link Scope Name

Type:String
Position:Named
Default value:None
Required:True
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

Inputs

String

Outputs

PSMonitorPrivateLinkScope