Get-AzConnectedPrivateLinkScope

Returns a Azure Arc PrivateLinkScope.

Syntax

Get-AzConnectedPrivateLinkScope
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzConnectedPrivateLinkScope
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzConnectedPrivateLinkScope
   -ResourceGroupName <String>
   -ScopeName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Returns a Azure Arc PrivateLinkScope.

Examples

Get-AzConnectedPrivateLinkScope -ResourceGroupName 'ytongtest'

Id                           : /subscriptions/subcriptionid/resourceGroups/ytongtest/providers/M
                               icrosoft.HybridCompute/privateLinkScopes/myScope
Location                     : centraluseuap
Name                         : myScope
PrivateEndpointConnection    : {}
PrivateLinkScopeId           : scopeId
ProvisioningState            : Succeeded
PublicNetworkAccess          : Enabled
ResourceGroupName            : ytongtest
SystemDataCreatedAt          :
SystemDataCreatedBy          :
SystemDataCreatedByType      :
SystemDataLastModifiedAt     :
SystemDataLastModifiedBy     :
SystemDataLastModifiedByType :
Tag                          : {
                               }
Type                         : Microsoft.HybridCompute/privateLinkScopes

get all private link scope of a resource group

Get-AzConnectedPrivateLinkScope -ResourceGroupName 'ytongtest' -ScopeName 'myScope'

Id                           : /subscriptions/********-****-****-****-**********/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope
Location                     : centraluseuap
Name                         : myScope
PrivateEndpointConnection    : {}
PrivateLinkScopeId           : ********-****-****-****-**********
ProvisioningState            : Succeeded
PublicNetworkAccess          : Enabled
ResourceGroupName            : ytongtest
SystemDataCreatedAt          :
SystemDataCreatedBy          :
SystemDataCreatedByType      :
SystemDataLastModifiedAt     :
SystemDataLastModifiedBy     :
SystemDataLastModifiedByType :
Tag                          : {
                               }
Type                         : Microsoft.HybridCompute/privateLinkScopes

get specific private link scope

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

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

-ScopeName

The name of the Azure Arc PrivateLinkScope resource.

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

-SubscriptionId

The ID of the target subscription.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IHybridComputePrivateLinkScope