Test-​Azure​Rm​Relay​Name

Checks the Availability of the given NameSpace Name

Syntax

Test-AzureRmRelayName
    [-Namespace] <String>
    [<CommonParameters>]

Description

The Test-AzureRmRelayName Cmdlet Check Availability of the NameSpace Name

Examples

Example 1

PS C:\> Test-AzureRmRelayName -Namespace TestingtheAvailability

Example 2

PS C:\> Test-AzureRmRelayName -Namespace Testi

Example 3

PS C:\> Test-AzureRmRelayName -Namespace Test123

Returns the status on availability of the namespace name

Required Parameters

-Namespace

Relay Namespace Name.

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

Inputs

-Namespace

System.String

Outputs

[Microsoft.Azure.Commands.Relay.Models.CheckNameAvailabilityResultAttributes, Microsoft.Azure.Commands.Relay, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]

Outputs

Example 1

NameAvailable Reason Message


     True   None

Outputs

Example 2

NameAvailable Reason Message


    False InvalidName The specified service namespace is invalid.

Outputs

Example 3

NameAvailable Reason Message


    False NameInUse The specified service namespace is not available.