Test-AzPrivateLinkServiceVisibility

The Test-AzPrivateLinkServiceVisibility checks whether a private link service is visible for current use.

Syntax

Test-AzPrivateLinkServiceVisibility
    -Location <String>
    [-ResourceGroupName <String>]
    -PrivateLinkServiceAlias <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

Check whether a private link service is visible for current use.

Examples

Example 1: Check if contoso.cloudapp.azure.com is available for use.

Test-AzPrivateLinkServiceVisibility -Location westus -PrivateLinkServiceAlias "TestPLS.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"

Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Location
Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PrivateLinkServiceAlias
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

None

Outputs

Boolean