Skip to content

Commit fa6ac08

Browse files
committed
Reverting type change for parameter
1 parent 69d1790 commit fa6ac08

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Storage/custom/latest-2019-04-30/New-AzStorageAccount.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,15 @@ function New-AzStorageAccount {
180180
[Parameter(ParameterSetName='CreateExpandedKeyVaultEncryption', HelpMessage='Indicates the type of storage account.')]
181181
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Storage.Support.Kind])]
182182
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Category('Body')]
183-
[string]
183+
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Support.Kind]
184184
# Indicates the type of storage account.
185185
${SkuKind},
186186

187187
[Parameter(ParameterSetName='CreateExpandedStorageEncryption', Mandatory, HelpMessage='Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.')]
188188
[Parameter(ParameterSetName='CreateExpandedKeyVaultEncryption', Mandatory, HelpMessage='Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.')]
189189
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Storage.Support.SkuName])]
190190
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Category('Body')]
191-
[string]
191+
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Support.SkuName]
192192
# Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
193193
${SkuName},
194194

src/Storage/docs/latest-2019-04-30/New-AzStorageAccount.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@ If an account is already created and a subsequent create or update request is is
1717
### CreateExpandedStorageEncryption (Default)
1818
```
1919
New-AzStorageAccount -Name <String> -ResourceGroupName <String> -SubscriptionId <String> -Kind <Kind>
20-
-Location <String> -SkuName <String> [-AccessTier <AccessTier>] [-AssignIdentity]
20+
-Location <String> -SkuName <SkuName> [-AccessTier <AccessTier>] [-AssignIdentity]
2121
[-CustomDomainName <String>] [-EnableAzureFilesAadIntegration] [-EnableHierarchicalNamespace]
2222
[-EnableHttpsTrafficOnly] [-EncryptBlobService] [-EncryptFileService] [-EncryptQueueService]
2323
[-EncryptTableService] [-NetworkRuleSetBypass <Bypass>] [-NetworkRuleSetDefaultAction <DefaultAction>]
2424
[-NetworkRuleSetIPRule <IIPRule[]>] [-NetworkRuleSetVirtualNetworkRule <IVirtualNetworkRule[]>]
25-
[-SkuKind <String>] [-SkuRestriction <IRestriction[]>] [-StorageEncryption] [-Tag <Hashtable>]
25+
[-SkuKind <Kind>] [-SkuRestriction <IRestriction[]>] [-StorageEncryption] [-Tag <Hashtable>]
2626
[-DefaultProfile <PSObject>] [-AsJob] [-Confirm] [-WhatIf] [<CommonParameters>]
2727
```
2828

2929
### CreateExpandedKeyVaultEncryption
3030
```
3131
New-AzStorageAccount -Name <String> -ResourceGroupName <String> -SubscriptionId <String> -Kind <Kind>
32-
-Location <String> -SkuName <String> [-AccessTier <AccessTier>] [-AssignIdentity]
32+
-Location <String> -SkuName <SkuName> [-AccessTier <AccessTier>] [-AssignIdentity]
3333
[-CustomDomainName <String>] [-EnableAzureFilesAadIntegration] [-EnableHierarchicalNamespace]
3434
[-EnableHttpsTrafficOnly] [-EncryptBlobService] [-EncryptFileService] [-EncryptQueueService]
3535
[-EncryptTableService] [-KeyName <String>] [-KeyVaultEncryption] [-KeyVaultUri <String>]
3636
[-KeyVersion <String>] [-NetworkRuleSetBypass <Bypass>] [-NetworkRuleSetDefaultAction <DefaultAction>]
3737
[-NetworkRuleSetIPRule <IIPRule[]>] [-NetworkRuleSetVirtualNetworkRule <IVirtualNetworkRule[]>]
38-
[-SkuKind <String>] [-SkuRestriction <IRestriction[]>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>]
39-
[-AsJob] [-Confirm] [-WhatIf] [<CommonParameters>]
38+
[-SkuKind <Kind>] [-SkuRestriction <IRestriction[]>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob]
39+
[-Confirm] [-WhatIf] [<CommonParameters>]
4040
```
4141

4242
## DESCRIPTION
@@ -466,7 +466,7 @@ Dynamic: False
466466
Indicates the type of storage account.
467467
468468
```yaml
469-
Type: System.String
469+
Type: Microsoft.Azure.PowerShell.Cmdlets.Storage.Support.Kind
470470
Parameter Sets: (All)
471471
Aliases:
472472

@@ -484,7 +484,7 @@ Required for account creation; optional for update.
484484
Note that in older versions, SKU name was called accountType.
485485
486486
```yaml
487-
Type: System.String
487+
Type: Microsoft.Azure.PowerShell.Cmdlets.Storage.Support.SkuName
488488
Parameter Sets: (All)
489489
Aliases:
490490

0 commit comments

Comments
 (0)