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:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

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

-PrivateLinkServiceAlias

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

-ResourceGroupName

Specifies the name of the resource group.

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

Inputs

None

Outputs

Boolean