diff --git a/src/MySql/Az.MySql.format.ps1xml b/src/MySql/Az.MySql.format.ps1xml
index aedacc9498d6..a969011ae487 100644
--- a/src/MySql/Az.MySql.format.ps1xml
+++ b/src/MySql/Az.MySql.format.ps1xml
@@ -1071,9 +1071,6 @@
-
-
-
@@ -1111,9 +1108,6 @@
AdministratorLogin
-
- AdministratorLoginPassword
-
@@ -1406,9 +1400,6 @@
-
-
-
@@ -1428,9 +1419,6 @@
-
- AdministratorLoginPassword
- MinimalTlsVersion
@@ -2441,9 +2429,6 @@
-
-
-
@@ -2502,9 +2487,6 @@
AdministratorLogin
-
- AdministratorLoginPassword
- AvailabilityZone
@@ -2568,9 +2550,6 @@
-
-
-
@@ -2584,9 +2563,6 @@
-
- AdministratorLoginPassword
- HaEnabled
diff --git a/src/MySql/Az.MySql.psd1 b/src/MySql/Az.MySql.psd1
index b1f176e255b2..96be40ab99cb 100644
--- a/src/MySql/Az.MySql.psd1
+++ b/src/MySql/Az.MySql.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 2/5/2021
+# Generated on: 2/23/2021
#
@{
@@ -12,7 +12,7 @@
RootModule = './Az.MySql.psm1'
# Version number of this module.
-ModuleVersion = '0.5.0'
+ModuleVersion = '0.1.0'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
DotNetFrameworkVersion = '4.7.2'
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-# CLRVersion = ''
+# ClrVersion = ''
# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
@@ -54,7 +54,7 @@ DotNetFrameworkVersion = '4.7.2'
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.5'; })
# Assemblies that must be loaded prior to importing this module
-RequiredAssemblies = 'bin\Az.MySql.private.dll'
+RequiredAssemblies = './bin/Az.MySql.private.dll'
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
@@ -63,7 +63,7 @@ RequiredAssemblies = 'bin\Az.MySql.private.dll'
# TypesToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
-FormatsToProcess = 'Az.MySql.format.ps1xml'
+FormatsToProcess = './Az.MySql.format.ps1xml'
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()
@@ -133,7 +133,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Added cmdlet ''Test-AzMySqlFlexibleServerConnect'''
+ # ReleaseNotes = ''
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/MySql/ChangeLog.md b/src/MySql/ChangeLog.md
index 6cbcb948e0b5..600c9af50441 100644
--- a/src/MySql/ChangeLog.md
+++ b/src/MySql/ChangeLog.md
@@ -18,6 +18,8 @@
- Additional information about change #1
-->
## Upcoming Release
+* Added maintenance windows parameter to Update-AzMySqlFlexibleServer cmdlet
+* Added zone parameter to server New-AzMySqlFlexibleServer cmdlet.
## Version 0.5.0
* Added cmdlet `Test-AzMySqlFlexibleServerConnect`
diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1
index fc0c9ce91608..fa34d369a292 100644
--- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1
@@ -53,6 +53,11 @@ param(
[System.String]
${Location},
+ [Parameter(HelpMessage = 'Availability zone into which to provision the resource.')]
+ [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
+ [System.String]
+ ${Zone},
+
[Parameter(HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
@@ -187,6 +192,11 @@ process {
$PSBoundParameters.Location = 'westus2'
}
+ if ($PSBoundParameters.ContainsKey('Zone')) {
+ $PSBoundParameters.AvailabilityZone = $PSBoundParameters.Zone
+ $null = $PSBoundParameters.Remove('Zone')
+ }
+
if (!$PSBoundParameters.ContainsKey('AdministratorLoginPassword')) {
$Password = Get-GeneratePassword
$PSBoundParameters.AdministratorLoginPassword = $Password | ConvertTo-SecureString -AsPlainText -Force
@@ -515,6 +525,7 @@ function CreateFirewallRule($Parameters) {
}
elseif ($StartIP -eq $EndIP) {
$Msg = 'Configuring server firewall rule to accept connections from ' + $StartIP
+ $RuleName = "FirewallIPAddress_" + $Date
}
else {
$Msg = 'Configuring server firewall rule to accept connections from {0} to {1}' -f $StartIP, $EndIp
diff --git a/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 b/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1
index 29e8e836dda7..3ddfd4cba2c1 100644
--- a/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1
+++ b/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1
@@ -45,10 +45,10 @@ function Restore-AzMySqlFlexibleServer_PointInTimeRestore {
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated]
${InputObject},
- [Parameter(HelpMessage = 'The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms')]
+ [Parameter(HelpMessage = 'Availability zone into which to provision the resource.')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
- ${Sku},
+ ${Zone},
[Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')]
[Alias('AzureRMContext', 'AzureCredential')]
@@ -113,16 +113,13 @@ function Restore-AzMySqlFlexibleServer_PointInTimeRestore {
$server = $PSBoundParameters['InputObject']
$PSBoundParameters.SourceServerId = $server.Id
$PSBoundParameters.Location = $server.Location
- $PSBoundParameters.SkuName = $server.SkuName
$null = $PSBoundParameters.Remove('InputObject')
- if($PSBoundParameters.ContainsKey('Sku'))
- {
- $PSBoundParameters.SkuName = $PSBoundParameters['Sku']
- $null = $PSBoundParameters.Remove('Sku')
+ if ($PSBoundParameters.ContainsKey('Zone')) {
+ $PSBoundParameters.AvailabilityZone = $PSBoundParameters.Zone
+ $null = $PSBoundParameters.Remove('Zone')
}
-
Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters
} catch {
throw
diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1
index ee1d9961c2ad..ece466dcae55 100644
--- a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1
@@ -56,12 +56,12 @@ function Update-AzMySqlFlexibleServer {
[System.String]
${ReplicationRole},
- [Parameter(HelpMessage='The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.')]
+ [Parameter(HelpMessage='The name of the sku, typically, tier + family + cores, e.g. Burstable_B1ms, Standard_D2ds_v4')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
${Sku},
- [Parameter(HelpMessage='The tier of the particular SKU, e.g. Basic.')]
+ [Parameter(HelpMessage='The tier of the particular SKU. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable.')]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier])]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier]
@@ -69,6 +69,7 @@ function Update-AzMySqlFlexibleServer {
[Parameter(HelpMessage='Enable or disable high availability feature.')]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum])]
+ [Validateset('Enabled', 'Disabled')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum]
# Enable HA or not for a server.
@@ -76,6 +77,7 @@ function Update-AzMySqlFlexibleServer {
[Parameter(HelpMessage='Enable ssl enforcement or not when connect to server.')]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum])]
+ [Validateset('Enabled', 'Disabled')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum]
${SslEnforcement},
@@ -103,6 +105,11 @@ function Update-AzMySqlFlexibleServer {
[System.Collections.Hashtable]
${Tag},
+ [Parameter(HelpMessage='Period of time (UTC) designated for maintenance. Examples: "Sun:23:30" to schedule on Sunday, 11:30pm UTC. To set back to default pass in "Disabled"')]
+ [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
+ [System.String]
+ ${MaintenanceWindow},
+
[Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -181,6 +188,40 @@ function Update-AzMySqlFlexibleServer {
$null = $PSBoundParameters.Remove('StorageAutogrow')
}
+ if ($PSBoundParameters.ContainsKey('MaintenanceWindow')) {
+
+ $PSBoundParameters.MaintenanceWindowDayOfWeek = $null
+ $PSBoundParameters.MaintenanceWindowStartHour = $null
+ $PSBoundParameters.MaintenanceWindowStartMinute = $null
+
+ if ($PSBoundParameters.MaintenanceWindow.ToLower() -eq "disabled"){
+ $PSBoundParameters.MaintenanceWindowDayOfWeek = 0
+ $PSBoundParameters.MaintenanceWindowStartHour = 0
+ $PSBoundParameters.MaintenanceWindowStartMinute = 0
+ $PSBoundParameters.MaintenanceWindowCustomWindow = "Disabled"
+ }
+ else {
+ $ParsedWindow = $PSBoundParameters.MaintenanceWindow -split ":"
+ $DaytoNumber = @{Mon = 1; Tue = 2; Wed = 3; Thur = 4; Fri = 5; Sat = 6; Sun = 0}
+
+ if ($ParsedWindow.Length -ge 1){
+ $PSBoundParameters.MaintenanceWindowDayOfWeek = $DaytoNumber[$ParsedWindow[0]]
+ }
+
+ if ($ParsedWindow.Length -ge 2){
+ $PSBoundParameters.MaintenanceWindowStartHour = $ParsedWindow[1]
+ }
+
+ if ($ParsedWindow.Length -ge 3){
+ $PSBoundParameters.MaintenanceWindowStartMinute = $ParsedWindow[2]
+ }
+
+ $PSBoundParameters.MaintenanceWindowCustomWindow = "Enabled"
+ }
+
+ $null = $PSBoundParameters.Remove('MaintenanceWindow')
+ }
+
Az.MySql.internal\Update-AzMySqlFlexibleServer @PSBoundParameters
} catch {
throw
diff --git a/src/MySql/exports/Get-AzMySqlConfiguration.ps1 b/src/MySql/exports/Get-AzMySqlConfiguration.ps1
index 3348a8ec02d1..8e08ba1bdcaa 100644
--- a/src/MySql/exports/Get-AzMySqlConfiguration.ps1
+++ b/src/MySql/exports/Get-AzMySqlConfiguration.ps1
@@ -61,7 +61,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlconfiguration
#>
function Get-AzMySqlConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration])]
diff --git a/src/MySql/exports/Get-AzMySqlConnectionString.ps1 b/src/MySql/exports/Get-AzMySqlConnectionString.ps1
index 236dc9524617..99e0c5268a0c 100644
--- a/src/MySql/exports/Get-AzMySqlConnectionString.ps1
+++ b/src/MySql/exports/Get-AzMySqlConnectionString.ps1
@@ -63,7 +63,7 @@ INPUTOBJECT : The server for the connection string.
[UserVisibleState ]: A state of a server that is visible to user.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconnectionstring
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlconnectionstring
#>
function Get-AzMySqlConnectionString {
[OutputType([System.String])]
diff --git a/src/MySql/exports/Get-AzMySqlFirewallRule.ps1 b/src/MySql/exports/Get-AzMySqlFirewallRule.ps1
index b4afa12e22da..c6bd399c53b8 100644
--- a/src/MySql/exports/Get-AzMySqlFirewallRule.ps1
+++ b/src/MySql/exports/Get-AzMySqlFirewallRule.ps1
@@ -60,7 +60,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlfirewallrule
#>
function Get-AzMySqlFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServer.ps1
index cb5674cbf6d3..5615e8ab5a5c 100644
--- a/src/MySql/exports/Get-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/Get-AzMySqlFlexibleServer.ps1
@@ -67,7 +67,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserver
#>
function Get-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerConfiguration.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerConfiguration.ps1
index 139f378f3282..faef6e3018b9 100644
--- a/src/MySql/exports/Get-AzMySqlFlexibleServerConfiguration.ps1
+++ b/src/MySql/exports/Get-AzMySqlFlexibleServerConfiguration.ps1
@@ -62,7 +62,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration
#>
function Get-AzMySqlFlexibleServerConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])]
diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1
index 90862b961add..78d9aab67058 100644
--- a/src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1
+++ b/src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1
@@ -49,7 +49,7 @@ INPUTOBJECT : The server for the connection string.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring
#>
function Get-AzMySqlFlexibleServerConnectionString {
[OutputType([System.String])]
diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerDatabase.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerDatabase.ps1
index f246a39c918a..90a1fe5bc0a7 100644
--- a/src/MySql/exports/Get-AzMySqlFlexibleServerDatabase.ps1
+++ b/src/MySql/exports/Get-AzMySqlFlexibleServerDatabase.ps1
@@ -62,7 +62,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase
#>
function Get-AzMySqlFlexibleServerDatabase {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase])]
diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerFirewallRule.ps1
index df522850d503..116396be86ed 100644
--- a/src/MySql/exports/Get-AzMySqlFlexibleServerFirewallRule.ps1
+++ b/src/MySql/exports/Get-AzMySqlFlexibleServerFirewallRule.ps1
@@ -61,7 +61,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule
#>
function Get-AzMySqlFlexibleServerFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1
index 7a4e1a05b3ef..2429480d59ff 100644
--- a/src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1
+++ b/src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1
@@ -46,7 +46,7 @@ Standard_E64ds_v4 MemoryOptimized 8192 64
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability
#>
function Get-AzMySqlFlexibleServerLocationBasedCapability {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties])]
diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerReplica.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerReplica.ps1
index 3cb99b5ee22b..ae10000fe1ce 100644
--- a/src/MySql/exports/Get-AzMySqlFlexibleServerReplica.ps1
+++ b/src/MySql/exports/Get-AzMySqlFlexibleServerReplica.ps1
@@ -28,7 +28,7 @@ mysql-test westus2 mysql_test 5.7 5120 Stand
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverreplica
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverreplica
#>
function Get-AzMySqlFlexibleServerReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
diff --git a/src/MySql/exports/Get-AzMySqlReplica.ps1 b/src/MySql/exports/Get-AzMySqlReplica.ps1
index bd1808902ac8..b3b1ecdea362 100644
--- a/src/MySql/exports/Get-AzMySqlReplica.ps1
+++ b/src/MySql/exports/Get-AzMySqlReplica.ps1
@@ -28,7 +28,7 @@ mysql-test-replica eastus mysql_test 5.7 10240 G
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlreplica
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlreplica
#>
function Get-AzMySqlReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
diff --git a/src/MySql/exports/Get-AzMySqlServer.ps1 b/src/MySql/exports/Get-AzMySqlServer.ps1
index cd9b19ae46a5..afa53849f192 100644
--- a/src/MySql/exports/Get-AzMySqlServer.ps1
+++ b/src/MySql/exports/Get-AzMySqlServer.ps1
@@ -66,7 +66,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlserver
#>
function Get-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
diff --git a/src/MySql/exports/Get-AzMySqlVirtualNetworkRule.ps1 b/src/MySql/exports/Get-AzMySqlVirtualNetworkRule.ps1
index 1f6227847ebf..5ce0ce706f66 100644
--- a/src/MySql/exports/Get-AzMySqlVirtualNetworkRule.ps1
+++ b/src/MySql/exports/Get-AzMySqlVirtualNetworkRule.ps1
@@ -60,7 +60,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlvirtualnetworkrule
#>
function Get-AzMySqlVirtualNetworkRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule])]
diff --git a/src/MySql/exports/New-AzMySqlFirewallRule.ps1 b/src/MySql/exports/New-AzMySqlFirewallRule.ps1
index d7e2d4839546..b6b805db335a 100644
--- a/src/MySql/exports/New-AzMySqlFirewallRule.ps1
+++ b/src/MySql/exports/New-AzMySqlFirewallRule.ps1
@@ -40,7 +40,7 @@ AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlfirewallrule
#>
function New-AzMySqlFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
diff --git a/src/MySql/exports/New-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/New-AzMySqlFlexibleServer.ps1
index e1e7ac36f113..336c6ab398a0 100644
--- a/src/MySql/exports/New-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/New-AzMySqlFlexibleServer.ps1
@@ -108,7 +108,7 @@ mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserver
#>
function New-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -140,6 +140,12 @@ param(
# The location the resource resides in.
${Location},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
+ [System.String]
+ # Availability zone into which to provision the resource.
+ ${Zone},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
diff --git a/src/MySql/exports/New-AzMySqlFlexibleServerDatabase.ps1 b/src/MySql/exports/New-AzMySqlFlexibleServerDatabase.ps1
index 0e8190b9a096..102aa587953a 100644
--- a/src/MySql/exports/New-AzMySqlFlexibleServerDatabase.ps1
+++ b/src/MySql/exports/New-AzMySqlFlexibleServerDatabase.ps1
@@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase
#>
function New-AzMySqlFlexibleServerDatabase {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase])]
diff --git a/src/MySql/exports/New-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/exports/New-AzMySqlFlexibleServerFirewallRule.ps1
index 924d1d5f35f7..2899787505ed 100644
--- a/src/MySql/exports/New-AzMySqlFlexibleServerFirewallRule.ps1
+++ b/src/MySql/exports/New-AzMySqlFlexibleServerFirewallRule.ps1
@@ -40,7 +40,7 @@ AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule
#>
function New-AzMySqlFlexibleServerFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
diff --git a/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1 b/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1
index 30a1673dd79f..8215c896793e 100644
--- a/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1
+++ b/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1
@@ -46,7 +46,7 @@ MASTER : The source server object to create replica from.
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AdministratorLogin ]: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
+ [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
[AvailabilityZone ]: availability Zone information of the server.
[CreateMode ]: The mode to create a new MySQL server.
[DelegatedSubnetArgumentSubnetArmResourceId ]: delegated subnet arm resource id.
@@ -71,7 +71,7 @@ MASTER : The source server object to create replica from.
[StorageProfileStorageMb ]: Max storage allowed for a server.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverreplica
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserverreplica
#>
function New-AzMySqlFlexibleServerReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
diff --git a/src/MySql/exports/New-AzMySqlReplica.ps1 b/src/MySql/exports/New-AzMySqlReplica.ps1
index f856b5143777..7b724b67dd42 100644
--- a/src/MySql/exports/New-AzMySqlReplica.ps1
+++ b/src/MySql/exports/New-AzMySqlReplica.ps1
@@ -68,7 +68,7 @@ MASTER : The source server object to create replica from.
[UserVisibleState ]: A state of a server that is visible to user.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlreplica
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlreplica
#>
function New-AzMySqlReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
diff --git a/src/MySql/exports/New-AzMySqlServer.ps1 b/src/MySql/exports/New-AzMySqlServer.ps1
index c35fd6c2a799..c99df6319e1e 100644
--- a/src/MySql/exports/New-AzMySqlServer.ps1
+++ b/src/MySql/exports/New-AzMySqlServer.ps1
@@ -28,7 +28,7 @@ mysql-test eastus mysql_test 5.7 5120 GP_Gen
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlserver
#>
function New-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
diff --git a/src/MySql/exports/New-AzMySqlVirtualNetworkRule.ps1 b/src/MySql/exports/New-AzMySqlVirtualNetworkRule.ps1
index b2aba9a68b77..4e1fbea8500f 100644
--- a/src/MySql/exports/New-AzMySqlVirtualNetworkRule.ps1
+++ b/src/MySql/exports/New-AzMySqlVirtualNetworkRule.ps1
@@ -29,7 +29,7 @@ vnet Microsoft.DBforMySQL/servers/virtualNetworkRules
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlvirtualnetworkrule
#>
function New-AzMySqlVirtualNetworkRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule])]
diff --git a/src/MySql/exports/ProxyCmdletDefinitions.ps1 b/src/MySql/exports/ProxyCmdletDefinitions.ps1
index 2d5a862b92a8..3395bd41852b 100644
--- a/src/MySql/exports/ProxyCmdletDefinitions.ps1
+++ b/src/MySql/exports/ProxyCmdletDefinitions.ps1
@@ -61,7 +61,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlconfiguration
#>
function Get-AzMySqlConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration])]
@@ -254,7 +254,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlfirewallrule
#>
function Get-AzMySqlFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
@@ -449,7 +449,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration
#>
function Get-AzMySqlFlexibleServerConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])]
@@ -644,7 +644,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase
#>
function Get-AzMySqlFlexibleServerDatabase {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase])]
@@ -838,7 +838,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule
#>
function Get-AzMySqlFlexibleServerFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
@@ -999,7 +999,7 @@ mysql-test westus2 mysql_test 5.7 5120 Stand
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverreplica
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverreplica
#>
function Get-AzMySqlFlexibleServerReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -1180,7 +1180,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserver
#>
function Get-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -1336,7 +1336,7 @@ mysql-test-replica eastus mysql_test 5.7 10240 G
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlreplica
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlreplica
#>
function Get-AzMySqlReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
@@ -1516,7 +1516,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlserver
#>
function Get-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
@@ -1704,7 +1704,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlvirtualnetworkrule
#>
function Get-AzMySqlVirtualNetworkRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule])]
@@ -1890,7 +1890,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase
#>
function New-AzMySqlFlexibleServerDatabase {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase])]
@@ -2072,7 +2072,7 @@ vnet Microsoft.DBforMySQL/servers/virtualNetworkRules
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlvirtualnetworkrule
#>
function New-AzMySqlVirtualNetworkRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule])]
@@ -2271,7 +2271,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlfirewallrule
#>
function Remove-AzMySqlFirewallRule {
[OutputType([System.Boolean])]
@@ -2465,7 +2465,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase
#>
function Remove-AzMySqlFlexibleServerDatabase {
[OutputType([System.Boolean])]
@@ -2660,7 +2660,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule
#>
function Remove-AzMySqlFlexibleServerFirewallRule {
[OutputType([System.Boolean])]
@@ -2855,7 +2855,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlflexibleserver
#>
function Remove-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
@@ -3044,7 +3044,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlserver
#>
function Remove-AzMySqlServer {
[OutputType([System.Boolean])]
@@ -3233,7 +3233,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlvirtualnetworkrule
#>
function Remove-AzMySqlVirtualNetworkRule {
[OutputType([System.Boolean])]
@@ -3426,7 +3426,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/restart-azmysqlflexibleserver
#>
function Restart-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
@@ -3615,7 +3615,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/restart-azmysqlserver
#>
function Restart-AzMySqlServer {
[OutputType([System.Boolean])]
@@ -3802,7 +3802,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/start-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/start-azmysqlflexibleserver
#>
function Start-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
@@ -3989,7 +3989,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/stop-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/stop-azmysqlflexibleserver
#>
function Stop-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
@@ -4184,7 +4184,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase
#>
function Update-AzMySqlFlexibleServerDatabase {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase])]
@@ -4393,7 +4393,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlvirtualnetworkrule
#>
function Update-AzMySqlVirtualNetworkRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule])]
@@ -4615,7 +4615,7 @@ INPUTOBJECT : The server for the connection string.
[UserVisibleState ]: A state of a server that is visible to user.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconnectionstring
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlconnectionstring
#>
function Get-AzMySqlConnectionString {
[OutputType([System.String])]
@@ -4787,7 +4787,7 @@ INPUTOBJECT : The server for the connection string.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring
#>
function Get-AzMySqlFlexibleServerConnectionString {
[OutputType([System.String])]
@@ -4961,7 +4961,7 @@ Standard_E64ds_v4 MemoryOptimized 8192 64
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability
+https://docs.microsoft.com/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability
#>
function Get-AzMySqlFlexibleServerLocationBasedCapability {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties])]
@@ -5108,7 +5108,7 @@ AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlfirewallrule
#>
function New-AzMySqlFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
@@ -5380,7 +5380,7 @@ mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserver
#>
function New-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -5412,6 +5412,12 @@ param(
# The location the resource resides in.
${Location},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
+ [System.String]
+ # Availability zone into which to provision the resource.
+ ${Zone},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
@@ -5656,7 +5662,7 @@ AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule
#>
function New-AzMySqlFlexibleServerFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
@@ -5866,7 +5872,7 @@ MASTER : The source server object to create replica from.
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AdministratorLogin ]: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
+ [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
[AvailabilityZone ]: availability Zone information of the server.
[CreateMode ]: The mode to create a new MySQL server.
[DelegatedSubnetArgumentSubnetArmResourceId ]: delegated subnet arm resource id.
@@ -5891,7 +5897,7 @@ MASTER : The source server object to create replica from.
[StorageProfileStorageMb ]: Max storage allowed for a server.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverreplica
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlflexibleserverreplica
#>
function New-AzMySqlFlexibleServerReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -6093,7 +6099,7 @@ MASTER : The source server object to create replica from.
[UserVisibleState ]: A state of a server that is visible to user.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlreplica
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlreplica
#>
function New-AzMySqlReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
@@ -6263,7 +6269,7 @@ mysql-test eastus mysql_test 5.7 5120 GP_Gen
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/new-azmysqlserver
#>
function New-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
@@ -6508,7 +6514,7 @@ INPUTOBJECT : The source server object to restore from.
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AdministratorLogin ]: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
+ [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
[AvailabilityZone ]: availability Zone information of the server.
[CreateMode ]: The mode to create a new MySQL server.
[DelegatedSubnetArgumentSubnetArmResourceId ]: delegated subnet arm resource id.
@@ -6533,7 +6539,7 @@ INPUTOBJECT : The source server object to restore from.
[StorageProfileStorageMb ]: Max storage allowed for a server.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/restore-azmysqlflexibleserver
#>
function Restore-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -6575,8 +6581,8 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
- # The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms
- ${Sku},
+ # Availability zone into which to provision the resource.
+ ${Zone},
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
@@ -6741,7 +6747,7 @@ INPUTOBJECT : The source server object to restore from.
[UserVisibleState ]: A state of a server that is visible to user.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/restore-azmysqlserver
#>
function Restore-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
@@ -6973,7 +6979,7 @@ INPUTOBJECT : The server to connect.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/test-azmysqlflexibleserverconnect
+https://docs.microsoft.com/powershell/module/az.mysql/test-azmysqlflexibleserverconnect
#>
function Test-AzMySqlFlexibleServerConnect {
[OutputType([System.String])]
@@ -7169,7 +7175,7 @@ INPUTOBJECT : Identity Parameter.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlconfiguration
#>
function Update-AzMySqlConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration])]
@@ -7377,7 +7383,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlfirewallrule
#>
function Update-AzMySqlFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
@@ -7606,7 +7612,7 @@ INPUTOBJECT : Identity Parameter.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserver
#>
function Update-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -7656,15 +7662,16 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
# The name of the sku, typically, tier + family + cores, e.g.
- # B_Gen4_1, GP_Gen5_8.
+ # Burstable_B1ms, Standard_D2ds_v4
${Sku},
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier])]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier]
- # The tier of the particular SKU, e.g.
- # Basic.
+ # The tier of the particular SKU.
+ # Accepted values: Burstable, GeneralPurpose, Memory Optimized.
+ # Default: Burstable.
${SkuTier},
[Parameter()]
@@ -7708,6 +7715,14 @@ param(
# Application-specific metadata in the form of key-value pairs.
${Tag},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
+ [System.String]
+ # Period of time (UTC) designated for maintenance.
+ # Examples: "Sun:23:30" to schedule on Sunday, 11:30pm UTC.
+ # To set back to default pass in "Disabled"
+ ${MaintenanceWindow},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -7863,7 +7878,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration
#>
function Update-AzMySqlFlexibleServerConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])]
@@ -8071,7 +8086,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule
#>
function Update-AzMySqlFlexibleServerFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
@@ -8300,7 +8315,7 @@ INPUTOBJECT : Identity Parameter.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlserver
#>
function Update-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
diff --git a/src/MySql/exports/Remove-AzMySqlFirewallRule.ps1 b/src/MySql/exports/Remove-AzMySqlFirewallRule.ps1
index d1a8fcb7fe0d..b91cdb44ea64 100644
--- a/src/MySql/exports/Remove-AzMySqlFirewallRule.ps1
+++ b/src/MySql/exports/Remove-AzMySqlFirewallRule.ps1
@@ -48,7 +48,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlfirewallrule
#>
function Remove-AzMySqlFirewallRule {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Remove-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Remove-AzMySqlFlexibleServer.ps1
index 1fe6f0627a8b..3203b2ffa347 100644
--- a/src/MySql/exports/Remove-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/Remove-AzMySqlFlexibleServer.ps1
@@ -48,7 +48,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlflexibleserver
#>
function Remove-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Remove-AzMySqlFlexibleServerDatabase.ps1 b/src/MySql/exports/Remove-AzMySqlFlexibleServerDatabase.ps1
index b72cd7907bbc..a42d1aea128d 100644
--- a/src/MySql/exports/Remove-AzMySqlFlexibleServerDatabase.ps1
+++ b/src/MySql/exports/Remove-AzMySqlFlexibleServerDatabase.ps1
@@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase
#>
function Remove-AzMySqlFlexibleServerDatabase {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Remove-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/exports/Remove-AzMySqlFlexibleServerFirewallRule.ps1
index f1640fb63f62..e546b8f0d0dd 100644
--- a/src/MySql/exports/Remove-AzMySqlFlexibleServerFirewallRule.ps1
+++ b/src/MySql/exports/Remove-AzMySqlFlexibleServerFirewallRule.ps1
@@ -48,7 +48,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule
#>
function Remove-AzMySqlFlexibleServerFirewallRule {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Remove-AzMySqlServer.ps1 b/src/MySql/exports/Remove-AzMySqlServer.ps1
index bf116d34ae7c..756441051f38 100644
--- a/src/MySql/exports/Remove-AzMySqlServer.ps1
+++ b/src/MySql/exports/Remove-AzMySqlServer.ps1
@@ -48,7 +48,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlserver
#>
function Remove-AzMySqlServer {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Remove-AzMySqlVirtualNetworkRule.ps1 b/src/MySql/exports/Remove-AzMySqlVirtualNetworkRule.ps1
index 5790d7a06640..e15b5166b6e7 100644
--- a/src/MySql/exports/Remove-AzMySqlVirtualNetworkRule.ps1
+++ b/src/MySql/exports/Remove-AzMySqlVirtualNetworkRule.ps1
@@ -48,7 +48,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/remove-azmysqlvirtualnetworkrule
#>
function Remove-AzMySqlVirtualNetworkRule {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Restart-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Restart-AzMySqlFlexibleServer.ps1
index 70865739463f..4eec862dc88b 100644
--- a/src/MySql/exports/Restart-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/Restart-AzMySqlFlexibleServer.ps1
@@ -46,7 +46,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/restart-azmysqlflexibleserver
#>
function Restart-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Restart-AzMySqlServer.ps1 b/src/MySql/exports/Restart-AzMySqlServer.ps1
index 91ae024b4343..6745d165ac5f 100644
--- a/src/MySql/exports/Restart-AzMySqlServer.ps1
+++ b/src/MySql/exports/Restart-AzMySqlServer.ps1
@@ -48,7 +48,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/restart-azmysqlserver
#>
function Restart-AzMySqlServer {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1
index 4c778cc6ce12..c756b98c0145 100644
--- a/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1
@@ -40,7 +40,7 @@ INPUTOBJECT : The source server object to restore from.
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AdministratorLogin ]: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
+ [AdministratorLoginPassword ]: The password of the administrator login (required for server creation).
[AvailabilityZone ]: availability Zone information of the server.
[CreateMode ]: The mode to create a new MySQL server.
[DelegatedSubnetArgumentSubnetArmResourceId ]: delegated subnet arm resource id.
@@ -65,7 +65,7 @@ INPUTOBJECT : The source server object to restore from.
[StorageProfileStorageMb ]: Max storage allowed for a server.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/restore-azmysqlflexibleserver
#>
function Restore-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -107,8 +107,8 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
- # The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms
- ${Sku},
+ # Availability zone into which to provision the resource.
+ ${Zone},
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
diff --git a/src/MySql/exports/Restore-AzMySqlServer.ps1 b/src/MySql/exports/Restore-AzMySqlServer.ps1
index d2a6f5681fe2..33151fc0d757 100644
--- a/src/MySql/exports/Restore-AzMySqlServer.ps1
+++ b/src/MySql/exports/Restore-AzMySqlServer.ps1
@@ -68,7 +68,7 @@ INPUTOBJECT : The source server object to restore from.
[UserVisibleState ]: A state of a server that is visible to user.
[Version ]: Server version.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/restore-azmysqlserver
#>
function Restore-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
diff --git a/src/MySql/exports/Start-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Start-AzMySqlFlexibleServer.ps1
index 096f7ea6ca33..87c76f4f85c8 100644
--- a/src/MySql/exports/Start-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/Start-AzMySqlFlexibleServer.ps1
@@ -46,7 +46,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/start-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/start-azmysqlflexibleserver
#>
function Start-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Stop-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Stop-AzMySqlFlexibleServer.ps1
index 4a7e1a453527..aefd8a181056 100644
--- a/src/MySql/exports/Stop-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/Stop-AzMySqlFlexibleServer.ps1
@@ -46,7 +46,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/stop-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/stop-azmysqlflexibleserver
#>
function Stop-AzMySqlFlexibleServer {
[OutputType([System.Boolean])]
diff --git a/src/MySql/exports/Test-AzMySqlFlexibleServerConnect.ps1 b/src/MySql/exports/Test-AzMySqlFlexibleServerConnect.ps1
index 4d878d12ca50..979b706be5e3 100644
--- a/src/MySql/exports/Test-AzMySqlFlexibleServerConnect.ps1
+++ b/src/MySql/exports/Test-AzMySqlFlexibleServerConnect.ps1
@@ -65,7 +65,7 @@ INPUTOBJECT : The server to connect.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/test-azmysqlflexibleserverconnect
+https://docs.microsoft.com/powershell/module/az.mysql/test-azmysqlflexibleserverconnect
#>
function Test-AzMySqlFlexibleServerConnect {
[OutputType([System.String])]
diff --git a/src/MySql/exports/Update-AzMySqlConfiguration.ps1 b/src/MySql/exports/Update-AzMySqlConfiguration.ps1
index 1db9e814902c..b513178ddd21 100644
--- a/src/MySql/exports/Update-AzMySqlConfiguration.ps1
+++ b/src/MySql/exports/Update-AzMySqlConfiguration.ps1
@@ -56,7 +56,7 @@ INPUTOBJECT : Identity Parameter.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlconfiguration
#>
function Update-AzMySqlConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration])]
diff --git a/src/MySql/exports/Update-AzMySqlFirewallRule.ps1 b/src/MySql/exports/Update-AzMySqlFirewallRule.ps1
index 67268e9935df..9c0452094f63 100644
--- a/src/MySql/exports/Update-AzMySqlFirewallRule.ps1
+++ b/src/MySql/exports/Update-AzMySqlFirewallRule.ps1
@@ -61,7 +61,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlfirewallrule
#>
function Update-AzMySqlFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
diff --git a/src/MySql/exports/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Update-AzMySqlFlexibleServer.ps1
index ccdcc1a13974..87c17a468b31 100644
--- a/src/MySql/exports/Update-AzMySqlFlexibleServer.ps1
+++ b/src/MySql/exports/Update-AzMySqlFlexibleServer.ps1
@@ -57,7 +57,7 @@ INPUTOBJECT : Identity Parameter.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserver
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserver
#>
function Update-AzMySqlFlexibleServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
@@ -107,15 +107,16 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[System.String]
# The name of the sku, typically, tier + family + cores, e.g.
- # B_Gen4_1, GP_Gen5_8.
+ # Burstable_B1ms, Standard_D2ds_v4
${Sku},
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier])]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier]
- # The tier of the particular SKU, e.g.
- # Basic.
+ # The tier of the particular SKU.
+ # Accepted values: Burstable, GeneralPurpose, Memory Optimized.
+ # Default: Burstable.
${SkuTier},
[Parameter()]
@@ -159,6 +160,14 @@ param(
# Application-specific metadata in the form of key-value pairs.
${Tag},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')]
+ [System.String]
+ # Period of time (UTC) designated for maintenance.
+ # Examples: "Sun:23:30" to schedule on Sunday, 11:30pm UTC.
+ # To set back to default pass in "Disabled"
+ ${MaintenanceWindow},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
diff --git a/src/MySql/exports/Update-AzMySqlFlexibleServerConfiguration.ps1 b/src/MySql/exports/Update-AzMySqlFlexibleServerConfiguration.ps1
index 41c3e6dff20b..de01c68fd82b 100644
--- a/src/MySql/exports/Update-AzMySqlFlexibleServerConfiguration.ps1
+++ b/src/MySql/exports/Update-AzMySqlFlexibleServerConfiguration.ps1
@@ -54,7 +54,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration
#>
function Update-AzMySqlFlexibleServerConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])]
diff --git a/src/MySql/exports/Update-AzMySqlFlexibleServerDatabase.ps1 b/src/MySql/exports/Update-AzMySqlFlexibleServerDatabase.ps1
index f1679885cad2..443143dce38a 100644
--- a/src/MySql/exports/Update-AzMySqlFlexibleServerDatabase.ps1
+++ b/src/MySql/exports/Update-AzMySqlFlexibleServerDatabase.ps1
@@ -54,7 +54,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase
#>
function Update-AzMySqlFlexibleServerDatabase {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase])]
diff --git a/src/MySql/exports/Update-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/exports/Update-AzMySqlFlexibleServerFirewallRule.ps1
index e1549a6fa70b..0d9fd99e4522 100644
--- a/src/MySql/exports/Update-AzMySqlFlexibleServerFirewallRule.ps1
+++ b/src/MySql/exports/Update-AzMySqlFlexibleServerFirewallRule.ps1
@@ -54,7 +54,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule
#>
function Update-AzMySqlFlexibleServerFirewallRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]
diff --git a/src/MySql/exports/Update-AzMySqlServer.ps1 b/src/MySql/exports/Update-AzMySqlServer.ps1
index 5e8d06fd5b54..fb6c72a427d5 100644
--- a/src/MySql/exports/Update-AzMySqlServer.ps1
+++ b/src/MySql/exports/Update-AzMySqlServer.ps1
@@ -57,7 +57,7 @@ INPUTOBJECT : Identity Parameter.
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlserver
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlserver
#>
function Update-AzMySqlServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])]
diff --git a/src/MySql/exports/Update-AzMySqlVirtualNetworkRule.ps1 b/src/MySql/exports/Update-AzMySqlVirtualNetworkRule.ps1
index f6d0f99c44d5..70f5f5c8ef08 100644
--- a/src/MySql/exports/Update-AzMySqlVirtualNetworkRule.ps1
+++ b/src/MySql/exports/Update-AzMySqlVirtualNetworkRule.ps1
@@ -56,7 +56,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[VirtualNetworkRuleName ]: The name of the virtual network rule.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlvirtualnetworkrule
+https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlvirtualnetworkrule
#>
function Update-AzMySqlVirtualNetworkRule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule])]
diff --git a/src/MySql/generate-info.json b/src/MySql/generate-info.json
index 7c0af3ac395b..0966a4012093 100644
--- a/src/MySql/generate-info.json
+++ b/src/MySql/generate-info.json
@@ -1,8 +1,8 @@
{
- "autorest_powershell": "3.0.414",
- "swagger_commit": "c95619ec11a9e817c49fdfe23de4224b990c5a61",
- "node": "v10.16.0",
- "autorest_core": "3.0.6365",
+ "autorest_powershell": "3.0.423",
+ "swagger_commit": "605f17bf33f419ee5cd3899f3ff799318a7caeb1",
+ "autorest_core": "3.0.6375",
"autorest_modelerfour": "4.15.414",
- "autorest": "3.0.6187"
+ "autorest": "`-- (empty)",
+ "node": "v14.15.5"
}
diff --git a/src/MySql/generated/api/Models/Api20171201/Server.PowerShell.cs b/src/MySql/generated/api/Models/Api20171201/Server.PowerShell.cs
index e85224c8d2cd..fae96b35c7af 100644
--- a/src/MySql/generated/api/Models/Api20171201/Server.PowerShell.cs
+++ b/src/MySql/generated/api/Models/Api20171201/Server.PowerShell.cs
@@ -102,21 +102,21 @@ internal Server(global::System.Collections.IDictionary content)
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuName, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuSize = (string) content.GetValueForProperty("SkuSize",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuSize, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuFamily = (string) content.GetValueForProperty("SkuFamily",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuFamily, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).StorageProfile = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfile) content.GetValueForProperty("StorageProfile",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).StorageProfile, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfileTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).InfrastructureEncryption = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption?) content.GetValueForProperty("InfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).InfrastructureEncryption, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement = (string) content.GetValueForProperty("ByokEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).AdministratorLogin = (string) content.GetValueForProperty("AdministratorLogin",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).AdministratorLogin, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).Version = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion?) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).Version, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SslEnforcement = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum?) content.GetValueForProperty("SslEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SslEnforcement, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).MinimalTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum?) content.GetValueForProperty("MinimalTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).MinimalTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement = (string) content.GetValueForProperty("ByokEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).UserVisibleState = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState?) content.GetValueForProperty("UserVisibleState",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).UserVisibleState, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).FullyQualifiedDomainName = (string) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).FullyQualifiedDomainName, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).EarliestRestoreDate = (global::System.DateTime?) content.GetValueForProperty("EarliestRestoreDate",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).EarliestRestoreDate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
@@ -154,21 +154,21 @@ internal Server(global::System.Management.Automation.PSObject content)
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuName, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuSize = (string) content.GetValueForProperty("SkuSize",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuSize, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuFamily = (string) content.GetValueForProperty("SkuFamily",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuFamily, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).StorageProfile = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfile) content.GetValueForProperty("StorageProfile",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).StorageProfile, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfileTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).InfrastructureEncryption = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption?) content.GetValueForProperty("InfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).InfrastructureEncryption, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement = (string) content.GetValueForProperty("ByokEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).AdministratorLogin = (string) content.GetValueForProperty("AdministratorLogin",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).AdministratorLogin, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).Version = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion?) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).Version, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SslEnforcement = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum?) content.GetValueForProperty("SslEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).SslEnforcement, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).MinimalTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum?) content.GetValueForProperty("MinimalTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).MinimalTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement = (string) content.GetValueForProperty("ByokEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).ByokEnforcement, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).UserVisibleState = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState?) content.GetValueForProperty("UserVisibleState",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).UserVisibleState, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).FullyQualifiedDomainName = (string) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).FullyQualifiedDomainName, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).EarliestRestoreDate = (global::System.DateTime?) content.GetValueForProperty("EarliestRestoreDate",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerInternal)this).EarliestRestoreDate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
diff --git a/src/MySql/generated/api/Models/Api20171201/Server.cs b/src/MySql/generated/api/Models/Api20171201/Server.cs
index 358298084b3b..8b22b71cfc5a 100644
--- a/src/MySql/generated/api/Models/Api20171201/Server.cs
+++ b/src/MySql/generated/api/Models/Api20171201/Server.cs
@@ -80,7 +80,7 @@ public partial class Server :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 1)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Location = value; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Location = value ; }
/// The master server id of a replica server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)]
@@ -224,7 +224,7 @@ public partial class Server :
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag = value ?? null /* model class */; }
///
/// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
diff --git a/src/MySql/generated/api/Models/Api20171201/ServerForCreate.PowerShell.cs b/src/MySql/generated/api/Models/Api20171201/ServerForCreate.PowerShell.cs
index 2f54147a94b5..b5b8556e4895 100644
--- a/src/MySql/generated/api/Models/Api20171201/ServerForCreate.PowerShell.cs
+++ b/src/MySql/generated/api/Models/Api20171201/ServerForCreate.PowerShell.cs
@@ -99,21 +99,21 @@ internal ServerForCreate(global::System.Collections.IDictionary content)
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreate) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForCreateTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Location, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTagsTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuName, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuSize = (string) content.GetValueForProperty("SkuSize",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuSize, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuFamily = (string) content.GetValueForProperty("SkuFamily",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuFamily, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfile = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfile) content.GetValueForProperty("StorageProfile",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfile, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfileTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).InfrastructureEncryption = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption?) content.GetValueForProperty("InfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).InfrastructureEncryption, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).CreateMode = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode) content.GetValueForProperty("CreateMode",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).CreateMode, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion?) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion?) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SslEnforcement = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum?) content.GetValueForProperty("SslEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SslEnforcement, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).MinimalTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum?) content.GetValueForProperty("MinimalTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).MinimalTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileStorageAutogrow = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow?) content.GetValueForProperty("StorageProfileStorageAutogrow",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileStorageAutogrow, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileBackupRetentionDay = (int?) content.GetValueForProperty("StorageProfileBackupRetentionDay",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileBackupRetentionDay, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileGeoRedundantBackup = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup?) content.GetValueForProperty("StorageProfileGeoRedundantBackup",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileGeoRedundantBackup, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup.CreateFrom);
@@ -140,21 +140,21 @@ internal ServerForCreate(global::System.Management.Automation.PSObject content)
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreate) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForCreateTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Location, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTagsTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuName, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuSize = (string) content.GetValueForProperty("SkuSize",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuSize, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuFamily = (string) content.GetValueForProperty("SkuFamily",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuFamily, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfile = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfile) content.GetValueForProperty("StorageProfile",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfile, Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfileTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).InfrastructureEncryption = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption?) content.GetValueForProperty("InfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).InfrastructureEncryption, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).CreateMode = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode) content.GetValueForProperty("CreateMode",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).CreateMode, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion?) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion?) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).Version, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SslEnforcement = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum?) content.GetValueForProperty("SslEnforcement",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SslEnforcement, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).MinimalTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum?) content.GetValueForProperty("MinimalTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).MinimalTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).IdentityTenantId, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileStorageAutogrow = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow?) content.GetValueForProperty("StorageProfileStorageAutogrow",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileStorageAutogrow, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileBackupRetentionDay = (int?) content.GetValueForProperty("StorageProfileBackupRetentionDay",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileBackupRetentionDay, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileGeoRedundantBackup = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup?) content.GetValueForProperty("StorageProfileGeoRedundantBackup",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateInternal)this).StorageProfileGeoRedundantBackup, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup.CreateFrom);
diff --git a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.PowerShell.cs b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.PowerShell.cs
index 3ba5e3c13730..a59e4567c358 100644
--- a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.PowerShell.cs
+++ b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.PowerShell.cs
@@ -97,7 +97,7 @@ internal ServerPropertiesForDefaultCreate(global::System.Collections.IDictionary
}
// actually deserialize
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLogin = (string) content.GetValueForProperty("AdministratorLogin",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLogin, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword = (string) content.GetValueForProperty("AdministratorLoginPassword",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword = (System.Security.SecureString) content.GetValueForProperty("AdministratorLoginPassword",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword, (object ss) => (System.Security.SecureString)ss);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileStorageAutogrow = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow?) content.GetValueForProperty("StorageProfileStorageAutogrow",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileStorageAutogrow, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileBackupRetentionDay = (int?) content.GetValueForProperty("StorageProfileBackupRetentionDay",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileBackupRetentionDay, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileGeoRedundantBackup = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup?) content.GetValueForProperty("StorageProfileGeoRedundantBackup",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileGeoRedundantBackup, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup.CreateFrom);
@@ -127,7 +127,7 @@ internal ServerPropertiesForDefaultCreate(global::System.Management.Automation.P
}
// actually deserialize
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLogin = (string) content.GetValueForProperty("AdministratorLogin",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLogin, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword = (string) content.GetValueForProperty("AdministratorLoginPassword",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword = (System.Security.SecureString) content.GetValueForProperty("AdministratorLoginPassword",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForDefaultCreateInternal)this).AdministratorLoginPassword, (object ss) => (System.Security.SecureString)ss);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileStorageAutogrow = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow?) content.GetValueForProperty("StorageProfileStorageAutogrow",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileStorageAutogrow, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileBackupRetentionDay = (int?) content.GetValueForProperty("StorageProfileBackupRetentionDay",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileBackupRetentionDay, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileGeoRedundantBackup = (Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup?) content.GetValueForProperty("StorageProfileGeoRedundantBackup",((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)this).StorageProfileGeoRedundantBackup, Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup.CreateFrom);
diff --git a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.cs b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.cs
index 9b674b6002f9..29587f270f7d 100644
--- a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.cs
+++ b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.cs
@@ -25,58 +25,58 @@ public partial class ServerPropertiesForDefaultCreate :
public string AdministratorLogin { get => this._administratorLogin; set => this._administratorLogin = value; }
/// Backing field for property.
- private string _administratorLoginPassword;
+ private System.Security.SecureString _administratorLoginPassword;
/// The password of the administrator login.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Owned)]
- public string AdministratorLoginPassword { get => this._administratorLoginPassword; set => this._administratorLoginPassword = value; }
+ public System.Security.SecureString AdministratorLoginPassword { get => this._administratorLoginPassword; set => this._administratorLoginPassword = value; }
/// The mode to create a new server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode = value ; }
/// Status showing whether the server enabled infrastructure encryption.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption)""); }
/// Enforce a minimal Tls version for the server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum)""); }
///
/// Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled'
/// or 'Disabled'
///
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum)""); }
/// Enable ssl enforcement or not when connect to server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).SslEnforcement = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).SslEnforcement = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum)""); }
/// Storage profile of a server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfile StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfile = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfile StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfile = value ?? null /* model class */; }
/// Backup retention days for the server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileBackupRetentionDay = value; }
+ public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileBackupRetentionDay = value ?? default(int); }
/// Enable Geo-redundant or not for server backup.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileGeoRedundantBackup = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileGeoRedundantBackup = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup)""); }
/// Enable Storage Auto Grow.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageAutogrow = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); }
/// Max storage allowed for a server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageMb = value; }
+ public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).StorageProfileStorageMb = value ?? default(int); }
/// Server version.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).Version = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).Version = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion)""); }
/// Creates an new instance.
public ServerPropertiesForDefaultCreate()
@@ -118,8 +118,8 @@ public partial interface IServerPropertiesForDefaultCreate :
ReadOnly = false,
Description = @"The password of the administrator login.",
SerializedName = @"administratorLoginPassword",
- PossibleTypes = new [] { typeof(string) })]
- string AdministratorLoginPassword { get; set; }
+ PossibleTypes = new [] { typeof(System.Security.SecureString) })]
+ System.Security.SecureString AdministratorLoginPassword { get; set; }
}
/// The properties used to create a new server.
@@ -132,7 +132,7 @@ internal partial interface IServerPropertiesForDefaultCreateInternal :
///
string AdministratorLogin { get; set; }
/// The password of the administrator login.
- string AdministratorLoginPassword { get; set; }
+ System.Security.SecureString AdministratorLoginPassword { get; set; }
}
}
\ No newline at end of file
diff --git a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.json.cs b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.json.cs
index 423d9a24f861..9f02f799b11e 100644
--- a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.json.cs
+++ b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForDefaultCreate.json.cs
@@ -72,7 +72,7 @@ internal ServerPropertiesForDefaultCreate(Microsoft.Azure.PowerShell.Cmdlets.MyS
}
__serverPropertiesForCreate = new Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForCreate(json);
{_administratorLogin = If( json?.PropertyT("administratorLogin"), out var __jsonAdministratorLogin) ? (string)__jsonAdministratorLogin : (string)AdministratorLogin;}
- {_administratorLoginPassword = If( json?.PropertyT("administratorLoginPassword"), out var __jsonAdministratorLoginPassword) ? (string)__jsonAdministratorLoginPassword : (string)AdministratorLoginPassword;}
+ {_administratorLoginPassword = If( json?.PropertyT("administratorLoginPassword"), out var __jsonAdministratorLoginPassword) ? new System.Net.NetworkCredential("",(string)__jsonAdministratorLoginPassword).SecurePassword : AdministratorLoginPassword;}
AfterFromJson(json);
}
@@ -97,7 +97,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode ToJson(Mic
}
__serverPropertiesForCreate?.ToJson(container, serializationMode);
AddIf( null != (((object)this._administratorLogin)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonString(this._administratorLogin.ToString()) : null, "administratorLogin" ,container.Add );
- AddIf( null != (((object)this._administratorLoginPassword)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonString(this._administratorLoginPassword.ToString()) : null, "administratorLoginPassword" ,container.Add );
+ AddIf( null != (((object)this._administratorLoginPassword)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonString(System.Runtime.InteropServices.Marshal.PtrToStringBSTR(System.Runtime.InteropServices.Marshal.SecureStringToBSTR(this._administratorLoginPassword))) : null, "administratorLoginPassword" ,container.Add );
AfterToJson(ref container);
return container;
}
diff --git a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForGeoRestore.cs b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForGeoRestore.cs
index ccfabd18cc5f..e420c524fb77 100644
--- a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForGeoRestore.cs
+++ b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForGeoRestore.cs
@@ -18,22 +18,22 @@ public partial class ServerPropertiesForGeoRestore :
/// The mode to create a new server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).CreateMode = value ; }
/// Status showing whether the server enabled infrastructure encryption.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).InfrastructureEncryption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption)""); }
/// Enforce a minimal Tls version for the server.
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).MinimalTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum)""); }
///
/// Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled'
/// or 'Disabled'
///
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
- public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess = value; }
+ public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)__serverPropertiesForCreate).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum)""); }
/// Backing field for