Skip to content

Commit

Permalink
format the help markdown files of Az.CognitiveServices (#18771)
Browse files Browse the repository at this point in the history
* format the help markdown files of Az.CognitiveServices

* fix
  • Loading branch information
CaptainFanZzz authored Jul 1, 2022
1 parent d826d91 commit c2b6d87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ Get Models available for a Cognitive Services account

### Example 1
```powershell
PS C:\> Get-AzCognitiveServicesAccountModel -ResourceGroupName cognitive-services-resource-group -AccountName resource-name
Get-AzCognitiveServicesAccountModel -ResourceGroupName cognitive-services-resource-group -AccountName resource-name
```

```output
BaseModel :
MaxCapacity : 3
Capabilities : {[fineTune, true]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ The **Update-AzCognitiveServicesAccountNetworkRuleSet** cmdlet updates the Netwo

### Example 1: Update all properties of NetworkRule, input Rules with JSON
```powershell
Update-AzCognitiveServicesAccountNetworkRuleSet -ResourceGroupName "myResourceGroup" -Name "myaccount" -DefaultAction Allow -IpRule (@{IpAddressOrRange="200.0.0.0/24"},@{IpAddressOrRange="28.2.0.0/16"})
-VirtualNetworkRule (@{VirtualNetworkResourceId="/subscriptions/s1/resourceGroups/g1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},@{VirtualNetworkResourceId="/subscriptions/s1/resourceGroups/g1/providers/Microsoft.Network/virtualN
etworks/vnet2/subnets/subnet2"})
Update-AzCognitiveServicesAccountNetworkRuleSet -ResourceGroupName "myResourceGroup" -Name "myaccount" -DefaultAction Allow -IpRule (@{IpAddressOrRange="200.0.0.0/24"},@{IpAddressOrRange="28.2.0.0/16"}) `
-VirtualNetworkRule (@{VirtualNetworkResourceId="/subscriptions/s1/resourceGroups/g1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},@{VirtualNetworkResourceId="/subscriptions/s1/resourceGroups/g1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2"})
```

This command update all properties of NetworkRule, input Rules with JSON.
Expand Down

0 comments on commit c2b6d87

Please sign in to comment.