Skip to content

Commit

Permalink
Update doc for Test-AzSignalRName (#25827)
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Sindo authored and azure-powershell-bot committed Aug 16, 2024
1 parent 7ca3876 commit be7e4c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/SignalR/SignalR/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Improve the doc for `Test-AzSignalRName`.

## Version 2.0.1
* Introduced secrets detection feature to safeguard sensitive data.
Expand Down
12 changes: 6 additions & 6 deletions src/SignalR/SignalR/help/Test-AzSignalRName.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Test-AzSignalRName

## SYNOPSIS
Check the availability of a name. Alias: Test-AzSignal.
Check whether a name is available. Alias: Test-AzSignal.

## SYNTAX

Expand All @@ -18,22 +18,22 @@ Test-AzSignalRName [-Name] <String> [-Location] <String> [-DefaultProfile <IAzur
```

## DESCRIPTION
Check the availability of a name. Alias: Test-AzSignal.
Check whether a name is available. If a name is available, returns true. Otherwise, return false. Alias: Test-AzSignal.

## EXAMPLES

### Example 1: Check an existed name.
### Example 1: When the name is already in use, it's not available.
```powershell
Test-AzSignalRName -Name existedsignalr -Location eastus
Test-AzSignalRName -Name inusesignalr -Location eastus
```

```output
False
```

### Example 2: Check an unexisted name.
### Example 2: When the name is not in use, it's available.
```powershell
Test-AzSignalRName -Name unexistedsignalr -Location eastus
Test-AzSignalRName -Name availablesignalr -Location eastus
```

```output
Expand Down

0 comments on commit be7e4c7

Please sign in to comment.