Skip to content

Commit 95e23ba

Browse files
committed
Update document for Get-AzureRmCognitiveServicesAccountType
1 parent 9c705f2 commit 95e23ba

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Az.CognitiveServices.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ FunctionsToExport = @()
7575
CmdletsToExport = 'Get-AzCognitiveServicesAccount',
7676
'Get-AzCognitiveServicesAccountKey',
7777
'Get-AzCognitiveServicesAccountSkus',
78-
'Get-AzCognitiveServicesAccountUsage',
78+
'Get-AzCognitiveServicesAccountType',
79+
'Get-AzCognitiveServicesAccountUsage',
7980
'New-AzCognitiveServicesAccount',
8081
'New-AzCognitiveServicesAccountKey',
8182
'Remove-AzCognitiveServicesAccount',

src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/CognitiveServicesAccount/GetAzureCognitiveServicesAccountType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Management.CognitiveServices
2424
/// <summary>
2525
/// Get Account Types for Cognitive Services Account Type(s)
2626
/// </summary>
27-
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CognitiveServicesAccountType"), OutputType(typeof(string[]), typeof(string))]
27+
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CognitiveServicesAccountType", DefaultParameterSetName = GetAccountTypesParamSetName), OutputType(typeof(string[]), typeof(string))]
2828
public class GetAzureCognitiveServicesAccountTypeCommand : CognitiveServicesAccountBaseCmdlet
2929
{
3030
protected const string GetAccountTypeWithNameParamSetName = "GetAccountTypeWithName";

src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
</Compile>
7474
</ItemGroup>
7575
<ItemGroup>
76+
<None Include="Az.CognitiveServices.psd1" />
7677
<None Include="AzureRM.CognitiveServices.psd1">
7778
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7879
</None>

src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/help/AzureRM.CognitiveServices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gets the API keys for an account.
2121
Gets the available SKUs for an account.
2222

2323
### [Get-AzureRmCognitiveServicesAccountType](Get-AzureRmCognitiveServicesAccountType.md)
24-
{{Fill in the Synopsis}}
24+
Gets the available Cognitive Services Account Types.
2525

2626
### [Get-AzureRmCognitiveServicesAccountUsage](Get-AzureRmCognitiveServicesAccountUsage.md)
2727
Get current usages for a Cognitive Services account.

src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/help/Get-AzureRmCognitiveServicesAccountType.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
external help file: Microsoft.Azure.Commands.Management.CognitiveServices.dll-Help.xml
33
Module Name: AzureRM.CognitiveServices
4-
online version:
4+
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.cognitiveservices/get-azurermcognitiveservicesaccounttype
55
schema: 2.0.0
66
---
77

88
# Get-AzureRmCognitiveServicesAccountType
99

1010
## SYNOPSIS
11-
{{Fill in the Synopsis}}
11+
Gets the available Cognitive Services Account Types.
1212

1313
## SYNTAX
1414

@@ -25,7 +25,7 @@ Get-AzureRmCognitiveServicesAccountType [-Location <String>] [-DefaultProfile <I
2525
```
2626

2727
## DESCRIPTION
28-
{{Fill in the Description}}
28+
The **Get-AzureRmCognitiveServicesAccountType** cmdlet gets the available Cognitive Services Account Types under this subscription.
2929

3030
## EXAMPLES
3131

0 commit comments

Comments
 (0)