Skip to content

Commit 6eb2159

Browse files
azure-pipelines[bot]azure-powershell-botNickcandy
authored
Migrate RedisEnterpriseCache from generation to main (#26350)
* Move RedisEnterpriseCache to main * Update ChangeLog.md --------- Co-authored-by: azure-powershell-bot <[email protected]> Co-authored-by: NanxiangLiu <[email protected]>
1 parent fc9eee8 commit 6eb2159

16 files changed

+296
-57
lines changed

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/build-module.ps1

+4-3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ if(-not $Isolated -and -not $Debugger) {
6767
$binFolder = Join-Path $PSScriptRoot 'bin'
6868
$objFolder = Join-Path $PSScriptRoot 'obj'
6969

70+
$isAzure = [System.Convert]::ToBoolean('true')
71+
7072
if(-not $Debugger) {
7173
Write-Host -ForegroundColor Green 'Cleaning build folders...'
7274
$null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
@@ -143,7 +145,7 @@ if($NoDocs) {
143145
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
144146
}
145147
$null = New-Item -ItemType Directory -Force -Path $docsFolder
146-
$addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
148+
$addComplexInterfaceInfo = !$isAzure
147149
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
148150
}
149151

@@ -178,5 +180,4 @@ if (-not $DisableAfterBuildTasks){
178180
}
179181
}
180182

181-
182-
Write-Host -ForegroundColor Green '-------------Done-------------'
183+
Write-Host -ForegroundColor Green '-------------Done-------------'

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/custom/New-AzRedisEnterpriseCache.ps1

+24-4
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,17 @@ function New-AzRedisEnterpriseCache {
8282
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.SkuName])]
8383
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
8484
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.SkuName]
85-
# The type of Redis Enterprise cluster to deploy.
86-
# Allowed values: Enterprise_E1, Enterprise_E5, Enterprise_E10, Enterprise_E20, Enterprise_E50, Enterprise_E100, Enterprise_E200, Enterprise_E400,EnterpriseFlash_F300, EnterpriseFlash_F700, EnterpriseFlash_F1500
85+
# The type of RedisEnterprise cluster to deploy.
86+
# Accepted values: Balanced_B0, Balanced_B1, Balanced_B10, Balanced_B100, Balanced_B1000, Balanced_B150, Balanced_B20, Balanced_B250, Balanced_B3, Balanced_B350, Balanced_B5, Balanced_B50, Balanced_B500, Balanced_B700, ComputeOptimized_X10, ComputeOptimized_X100, ComputeOptimized_X150, ComputeOptimized_X20, ComputeOptimized_X250, ComputeOptimized_X3, ComputeOptimized_X350, ComputeOptimized_X5, ComputeOptimized_X50, ComputeOptimized_X500, ComputeOptimized_X700, EnterpriseFlash_F1500, EnterpriseFlash_F300, EnterpriseFlash_F700, Enterprise_E1, Enterprise_E10, Enterprise_E100, Enterprise_E20, Enterprise_E200, Enterprise_E400, Enterprise_E5, Enterprise_E50, FlashOptimized_A1000, FlashOptimized_A1500, FlashOptimized_A2000, FlashOptimized_A250, FlashOptimized_A4500, FlashOptimized_A500, FlashOptimized_A700, MemoryOptimized_M10, MemoryOptimized_M100, MemoryOptimized_M1000, MemoryOptimized_M150, MemoryOptimized_M1500, MemoryOptimized_M20, MemoryOptimized_M2000, MemoryOptimized_M250, MemoryOptimized_M350, MemoryOptimized_M50, MemoryOptimized_M500, MemoryOptimized_M700
8787
${Sku},
8888

8989
[Parameter()]
9090
[Alias('SkuCapacity')]
9191
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
9292
[System.Int32]
93-
# The size of the Redis Enterprise cluster - defaults to 2 or 3 depending on SKU.
94-
# Allowed values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs.
93+
# The size of the RedisEnterprise cluster.
94+
# Defaults to 2 or 3 or not applicable depending on SKU.Valid values are (2, 4, 6, ...) for Enterprise_* SKUs and (3, 9, 15, ...) for EnterpriseFlash_* SKUs.
95+
# For other SKUs capacity argument is not supported.
9596
${Capacity},
9697

9798
[Parameter()]
@@ -168,12 +169,29 @@ function New-AzRedisEnterpriseCache {
168169
# Allowed values: EnterpriseCluster, OSSCluster
169170
${ClusteringPolicy},
170171

172+
[Parameter(ParameterSetName='CreateClusterWithDatabase')]
173+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
174+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
175+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
176+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
177+
# Can be updated even after database is created.
178+
${AccessKeysAuthentication},
179+
171180
[Parameter()]
172181
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
173182
[System.String]
174183
# Key encryption key Url versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78"
175184
${CustomerManagedKeyEncryptionKeyUrl},
176185

186+
[Parameter()]
187+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.HighAvailability])]
188+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
189+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.HighAvailability]
190+
# Enabled by default. Can only be updated from disabled to enabled.
191+
# If highAvailability is disabled, the data set is not replicated.
192+
# This affects the availability SLA, and increases the risk of data loss.
193+
${HighAvailability},
194+
177195
[Parameter()]
178196
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ManagedServiceIdentityType])]
179197
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
@@ -321,6 +339,7 @@ function New-AzRedisEnterpriseCache {
321339
$null = $GetPSBoundParameters.Remove("RdbPersistenceFrequency")
322340
$null = $GetPSBoundParameters.Remove("GroupNickname")
323341
$null = $GetPSBoundParameters.Remove("LinkedDatabase")
342+
$null = $GetPSBoundParameters.Remove("AccessKeysAuthentication")
324343
$cluster = Az.RedisEnterpriseCache.internal\New-AzRedisEnterpriseCache @GetPSBoundParameters
325344

326345
if (('CreateClusterOnly') -contains $PSCmdlet.ParameterSetName)
@@ -341,6 +360,7 @@ function New-AzRedisEnterpriseCache {
341360
$null = $PSBoundParameters.Remove("CustomerManagedKeyEncryptionKeyUrl")
342361
$null = $PSBoundParameters.Remove("KeyEncryptionKeyIdentityType")
343362
$null = $PSBoundParameters.Remove("KeyEncryptionKeyIdentityUserAssignedIdentityResourceId")
363+
$null = $PSBoundParameters.Remove("HighAvailability")
344364
$null = $PSBoundParameters.Add("DatabaseName", "default")
345365
$database = Az.RedisEnterpriseCache.internal\New-AzRedisEnterpriseCacheDatabase @PSBoundParameters
346366
$cluster.Database = @{$database.Name = $database}

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/custom/New-AzRedisEnterpriseCacheDatabase.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ function New-AzRedisEnterpriseCacheDatabase {
162162
# The ID of the target subscription.
163163
${SubscriptionId},
164164

165+
[Parameter()]
166+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
167+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
168+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
169+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
170+
# Can be updated even after database is created.
171+
${AccessKeysAuthentication},
172+
165173
[Parameter()]
166174
[Alias('AzureRMContext', 'AzureCredential')]
167175
[ValidateNotNull()]

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/custom/Update-AzRedisEnterpriseCacheDatabase.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ function Update-AzRedisEnterpriseCacheDatabase {
8383
# The ID of the target subscription.
8484
${SubscriptionId},
8585

86+
[Parameter()]
87+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
88+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
89+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
90+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
91+
# Can be updated even after database is created.
92+
${AccessKeysAuthentication},
93+
8694
[Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
8795
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Path')]
8896
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.IRedisEnterpriseCacheIdentity]

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/exports/New-AzRedisEnterpriseCache.ps1

+23-4
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,17 @@ param(
8080
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.SkuName])]
8181
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
8282
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.SkuName]
83-
# The type of Redis Enterprise cluster to deploy.
84-
# Allowed values: Enterprise_E1, Enterprise_E5, Enterprise_E10, Enterprise_E20, Enterprise_E50, Enterprise_E100, Enterprise_E200, Enterprise_E400,EnterpriseFlash_F300, EnterpriseFlash_F700, EnterpriseFlash_F1500
83+
# The type of RedisEnterprise cluster to deploy.
84+
# Accepted values: Balanced_B0, Balanced_B1, Balanced_B10, Balanced_B100, Balanced_B1000, Balanced_B150, Balanced_B20, Balanced_B250, Balanced_B3, Balanced_B350, Balanced_B5, Balanced_B50, Balanced_B500, Balanced_B700, ComputeOptimized_X10, ComputeOptimized_X100, ComputeOptimized_X150, ComputeOptimized_X20, ComputeOptimized_X250, ComputeOptimized_X3, ComputeOptimized_X350, ComputeOptimized_X5, ComputeOptimized_X50, ComputeOptimized_X500, ComputeOptimized_X700, EnterpriseFlash_F1500, EnterpriseFlash_F300, EnterpriseFlash_F700, Enterprise_E1, Enterprise_E10, Enterprise_E100, Enterprise_E20, Enterprise_E200, Enterprise_E400, Enterprise_E5, Enterprise_E50, FlashOptimized_A1000, FlashOptimized_A1500, FlashOptimized_A2000, FlashOptimized_A250, FlashOptimized_A4500, FlashOptimized_A500, FlashOptimized_A700, MemoryOptimized_M10, MemoryOptimized_M100, MemoryOptimized_M1000, MemoryOptimized_M150, MemoryOptimized_M1500, MemoryOptimized_M20, MemoryOptimized_M2000, MemoryOptimized_M250, MemoryOptimized_M350, MemoryOptimized_M50, MemoryOptimized_M500, MemoryOptimized_M700
8585
${Sku},
8686

8787
[Parameter()]
8888
[Alias('SkuCapacity')]
8989
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
9090
[System.Int32]
91-
# The size of the Redis Enterprise cluster - defaults to 2 or 3 depending on SKU.
92-
# Allowed values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs.
91+
# The size of the RedisEnterprise cluster.
92+
# Defaults to 2 or 3 or not applicable depending on SKU.Valid values are (2, 4, 6, ...) for Enterprise_* SKUs and (3, 9, 15, ...) for EnterpriseFlash_* SKUs.
93+
# For other SKUs capacity argument is not supported.
9394
${Capacity},
9495

9596
[Parameter()]
@@ -167,13 +168,31 @@ param(
167168
# Allowed values: EnterpriseCluster, OSSCluster
168169
${ClusteringPolicy},
169170

171+
[Parameter(ParameterSetName='CreateClusterWithDatabase')]
172+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
173+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
174+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
175+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
176+
# Can be updated even after database is created.
177+
${AccessKeysAuthentication},
178+
170179
[Parameter()]
171180
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
172181
[System.String]
173182
# Key encryption key Url versioned only.
174183
# Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78"
175184
${CustomerManagedKeyEncryptionKeyUrl},
176185

186+
[Parameter()]
187+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.HighAvailability])]
188+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
189+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.HighAvailability]
190+
# Enabled by default.
191+
# Can only be updated from disabled to enabled.
192+
# If highAvailability is disabled, the data set is not replicated.
193+
# This affects the availability SLA, and increases the risk of data loss.
194+
${HighAvailability},
195+
177196
[Parameter()]
178197
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ManagedServiceIdentityType])]
179198
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/exports/New-AzRedisEnterpriseCacheDatabase.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,14 @@ param(
151151
# Allowed values: 1h, 6h, 12h
152152
${RdbPersistenceFrequency},
153153

154+
[Parameter()]
155+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
156+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
157+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
158+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
159+
# Can be updated even after database is created.
160+
${AccessKeysAuthentication},
161+
154162
[Parameter()]
155163
[Alias('AzureRMContext', 'AzureCredential')]
156164
[ValidateNotNull()]

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/exports/ProxyCmdletDefinitions.ps1

+39-4
Original file line numberDiff line numberDiff line change
@@ -3310,16 +3310,17 @@ param(
33103310
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.SkuName])]
33113311
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
33123312
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.SkuName]
3313-
# The type of Redis Enterprise cluster to deploy.
3314-
# Allowed values: Enterprise_E1, Enterprise_E5, Enterprise_E10, Enterprise_E20, Enterprise_E50, Enterprise_E100, Enterprise_E200, Enterprise_E400,EnterpriseFlash_F300, EnterpriseFlash_F700, EnterpriseFlash_F1500
3313+
# The type of RedisEnterprise cluster to deploy.
3314+
# Accepted values: Balanced_B0, Balanced_B1, Balanced_B10, Balanced_B100, Balanced_B1000, Balanced_B150, Balanced_B20, Balanced_B250, Balanced_B3, Balanced_B350, Balanced_B5, Balanced_B50, Balanced_B500, Balanced_B700, ComputeOptimized_X10, ComputeOptimized_X100, ComputeOptimized_X150, ComputeOptimized_X20, ComputeOptimized_X250, ComputeOptimized_X3, ComputeOptimized_X350, ComputeOptimized_X5, ComputeOptimized_X50, ComputeOptimized_X500, ComputeOptimized_X700, EnterpriseFlash_F1500, EnterpriseFlash_F300, EnterpriseFlash_F700, Enterprise_E1, Enterprise_E10, Enterprise_E100, Enterprise_E20, Enterprise_E200, Enterprise_E400, Enterprise_E5, Enterprise_E50, FlashOptimized_A1000, FlashOptimized_A1500, FlashOptimized_A2000, FlashOptimized_A250, FlashOptimized_A4500, FlashOptimized_A500, FlashOptimized_A700, MemoryOptimized_M10, MemoryOptimized_M100, MemoryOptimized_M1000, MemoryOptimized_M150, MemoryOptimized_M1500, MemoryOptimized_M20, MemoryOptimized_M2000, MemoryOptimized_M250, MemoryOptimized_M350, MemoryOptimized_M50, MemoryOptimized_M500, MemoryOptimized_M700
33153315
${Sku},
33163316

33173317
[Parameter()]
33183318
[Alias('SkuCapacity')]
33193319
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
33203320
[System.Int32]
3321-
# The size of the Redis Enterprise cluster - defaults to 2 or 3 depending on SKU.
3322-
# Allowed values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs.
3321+
# The size of the RedisEnterprise cluster.
3322+
# Defaults to 2 or 3 or not applicable depending on SKU.Valid values are (2, 4, 6, ...) for Enterprise_* SKUs and (3, 9, 15, ...) for EnterpriseFlash_* SKUs.
3323+
# For other SKUs capacity argument is not supported.
33233324
${Capacity},
33243325

33253326
[Parameter()]
@@ -3397,13 +3398,31 @@ param(
33973398
# Allowed values: EnterpriseCluster, OSSCluster
33983399
${ClusteringPolicy},
33993400

3401+
[Parameter(ParameterSetName='CreateClusterWithDatabase')]
3402+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
3403+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
3404+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
3405+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
3406+
# Can be updated even after database is created.
3407+
${AccessKeysAuthentication},
3408+
34003409
[Parameter()]
34013410
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
34023411
[System.String]
34033412
# Key encryption key Url versioned only.
34043413
# Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78"
34053414
${CustomerManagedKeyEncryptionKeyUrl},
34063415

3416+
[Parameter()]
3417+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.HighAvailability])]
3418+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
3419+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.HighAvailability]
3420+
# Enabled by default.
3421+
# Can only be updated from disabled to enabled.
3422+
# If highAvailability is disabled, the data set is not replicated.
3423+
# This affects the availability SLA, and increases the risk of data loss.
3424+
${HighAvailability},
3425+
34073426
[Parameter()]
34083427
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ManagedServiceIdentityType])]
34093428
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
@@ -3758,6 +3777,14 @@ param(
37583777
# Allowed values: 1h, 6h, 12h
37593778
${RdbPersistenceFrequency},
37603779

3780+
[Parameter()]
3781+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
3782+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
3783+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
3784+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
3785+
# Can be updated even after database is created.
3786+
${AccessKeysAuthentication},
3787+
37613788
[Parameter()]
37623789
[Alias('AzureRMContext', 'AzureCredential')]
37633790
[ValidateNotNull()]
@@ -4382,6 +4409,14 @@ param(
43824409
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
43834410
${InputObject},
43844411

4412+
[Parameter()]
4413+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
4414+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
4415+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
4416+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
4417+
# Can be updated even after database is created.
4418+
${AccessKeysAuthentication},
4419+
43854420
[Parameter()]
43864421
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.Protocol])]
43874422
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]

src/RedisEnterpriseCache/RedisEnterpriseCache.Autorest/exports/Update-AzRedisEnterpriseCacheDatabase.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ param(
7878
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
7979
${InputObject},
8080

81+
[Parameter()]
82+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication])]
83+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]
84+
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.AccessKeysAuthentication]
85+
# This property can be Enabled/Disabled to allow or deny access with the current access keys.
86+
# Can be updated even after database is created.
87+
${AccessKeysAuthentication},
88+
8189
[Parameter()]
8290
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.Protocol])]
8391
[Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Category('Body')]

0 commit comments

Comments
 (0)