From 8cbf0e6f20258a94c2b9cf95f37aabf7bc62426a Mon Sep 17 00:00:00 2001 From: Flynn Date: Tue, 28 Jun 2022 13:44:59 +0800 Subject: [PATCH 1/2] format the help markdown files of Az.CognitiveServices --- .../help/Get-AzCognitiveServicesAccountModel.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountModel.md b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountModel.md index 04716b570262..01d37ec48117 100644 --- a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountModel.md +++ b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountModel.md @@ -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]} From 526992ba718a9e5b03b5a969e2f2ff8b1569bc79 Mon Sep 17 00:00:00 2001 From: Flynn Date: Wed, 29 Jun 2022 13:48:03 +0800 Subject: [PATCH 2/2] fix --- .../help/Update-AzCognitiveServicesAccountNetworkRuleSet.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/CognitiveServices/CognitiveServices/help/Update-AzCognitiveServicesAccountNetworkRuleSet.md b/src/CognitiveServices/CognitiveServices/help/Update-AzCognitiveServicesAccountNetworkRuleSet.md index 43cada10014c..a00f45ef88bb 100644 --- a/src/CognitiveServices/CognitiveServices/help/Update-AzCognitiveServicesAccountNetworkRuleSet.md +++ b/src/CognitiveServices/CognitiveServices/help/Update-AzCognitiveServicesAccountNetworkRuleSet.md @@ -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.