Skip to content

Commit 465bc89

Browse files
isra-felazurepowershell
andauthored
[MySQL] Quick Fix for MySQL flexible server provisioning failure and doc fix (Azure#15538)
* Move MySql to main * Update ChangeLog.md Co-authored-by: azurepowershell <[email protected]>
1 parent ef3977c commit 465bc89

File tree

229 files changed

+15132
-21371
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+15132
-21371
lines changed

src/MySql/Az.MySql.psd1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2/26/2021
6+
# Generated on: 7/26/2021
77
#
88

99
@{
@@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
4545
DotNetFrameworkVersion = '4.7.2'
4646

4747
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48-
# CLRVersion = ''
48+
# ClrVersion = ''
4949

5050
# Processor architecture (None, X86, Amd64) required by this module
5151
# ProcessorArchitecture = ''
@@ -133,8 +133,7 @@ PrivateData = @{
133133
# IconUri = ''
134134

135135
# ReleaseNotes of this module
136-
ReleaseNotes = '* Added maintenance windows parameter to Update-AzMySqlFlexibleServer cmdlet
137-
* Added zone parameter to server New-AzMySqlFlexibleServer cmdlet.'
136+
# ReleaseNotes = ''
138137

139138
# Prerelease string of this module
140139
# Prerelease = ''

src/MySql/Az.MySql.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
}
3333

3434
if(-not $accountsModule) {
35-
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
35+
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
3636
} elseif (($accountsModule.Version -lt [System.Version]'2.2.3') -and (-not $localAccounts)) {
37-
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
37+
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
3838
}
3939
Write-Information "Loaded Module '$($accountsModule.Name)'"
4040

src/MySql/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Resolved Cx provisiong failure incident caused by backend server minimum storage change (10gb to 20gb)
22+
* Fixed doc of `Update-AzMySqlFlexibleServerConfiguration` [#15516]
2123

2224
## Version 0.6.0
2325
* Added maintenance windows parameter to Update-AzMySqlFlexibleServer cmdlet

src/MySql/MySql.sln

Lines changed: 72 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,90 @@
1+
12
Microsoft Visual Studio Solution File, Format Version 12.00
23
# Visual Studio Version 16
3-
VisualStudioVersion = 16.0.29709.97
4+
VisualStudioVersion = 16.6.30114.105
45
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{3942F83A-473B-47F8-BBE8-3558EA2136F2}"
67
EndProject
7-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{62843FE6-7575-4D88-B989-7DF7EEC0BC01}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}"
89
EndProject
9-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{442C609B-A431-4A71-B289-08F0B63C83E5}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}"
1011
EndProject
11-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}"
1213
EndProject
13-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Az.MySql", "Az.MySql.csproj", "{E9A81285-0025-487E-AAC7-15860C7F9E8B}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MySql", "Az.MySql.csproj", "{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}"
1415
EndProject
1516
Global
1617
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1718
Debug|Any CPU = Debug|Any CPU
19+
Debug|x64 = Debug|x64
20+
Debug|x86 = Debug|x86
1821
Release|Any CPU = Release|Any CPU
19-
EndGlobalSection
20-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
23-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
24-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
25-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Debug|Any CPU.Build.0 = Debug|Any CPU
27-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Release|Any CPU.ActiveCfg = Release|Any CPU
28-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Release|Any CPU.Build.0 = Release|Any CPU
29-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{E9A81285-0025-487E-AAC7-15860C7F9E8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{E9A81285-0025-487E-AAC7-15860C7F9E8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{E9A81285-0025-487E-AAC7-15860C7F9E8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{E9A81285-0025-487E-AAC7-15860C7F9E8B}.Release|Any CPU.Build.0 = Release|Any CPU
22+
Release|x64 = Release|x64
23+
Release|x86 = Release|x86
4124
EndGlobalSection
4225
GlobalSection(SolutionProperties) = preSolution
4326
HideSolutionNode = FALSE
4427
EndGlobalSection
45-
GlobalSection(ExtensibilityGlobals) = postSolution
46-
SolutionGuid = {F9B3D96E-9680-40BE-A917-02EE655D6030}
28+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Debug|x64.ActiveCfg = Debug|Any CPU
32+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Debug|x64.Build.0 = Debug|Any CPU
33+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Debug|x86.ActiveCfg = Debug|Any CPU
34+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Debug|x86.Build.0 = Debug|Any CPU
35+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Release|x64.ActiveCfg = Release|Any CPU
38+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Release|x64.Build.0 = Release|Any CPU
39+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Release|x86.ActiveCfg = Release|Any CPU
40+
{3942F83A-473B-47F8-BBE8-3558EA2136F2}.Release|x86.Build.0 = Release|Any CPU
41+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Debug|x64.ActiveCfg = Debug|Any CPU
44+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Debug|x64.Build.0 = Debug|Any CPU
45+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Debug|x86.ActiveCfg = Debug|Any CPU
46+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Debug|x86.Build.0 = Debug|Any CPU
47+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Release|x64.ActiveCfg = Release|Any CPU
50+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Release|x64.Build.0 = Release|Any CPU
51+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Release|x86.ActiveCfg = Release|Any CPU
52+
{C4BB8588-4061-482D-BE2F-5DF6CEE93D95}.Release|x86.Build.0 = Release|Any CPU
53+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Debug|x64.ActiveCfg = Debug|Any CPU
56+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Debug|x64.Build.0 = Debug|Any CPU
57+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Debug|x86.ActiveCfg = Debug|Any CPU
58+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Debug|x86.Build.0 = Debug|Any CPU
59+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
60+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Release|Any CPU.Build.0 = Release|Any CPU
61+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Release|x64.ActiveCfg = Release|Any CPU
62+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Release|x64.Build.0 = Release|Any CPU
63+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Release|x86.ActiveCfg = Release|Any CPU
64+
{78EC7CDC-8585-481D-8C29-B2F0EC7C1BB8}.Release|x86.Build.0 = Release|Any CPU
65+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
66+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
67+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Debug|x64.ActiveCfg = Debug|Any CPU
68+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Debug|x64.Build.0 = Debug|Any CPU
69+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Debug|x86.ActiveCfg = Debug|Any CPU
70+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Debug|x86.Build.0 = Debug|Any CPU
71+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
72+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Release|Any CPU.Build.0 = Release|Any CPU
73+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Release|x64.ActiveCfg = Release|Any CPU
74+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Release|x64.Build.0 = Release|Any CPU
75+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Release|x86.ActiveCfg = Release|Any CPU
76+
{5FA0698E-A451-4A24-8BD6-9EC8A77393AF}.Release|x86.Build.0 = Release|Any CPU
77+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
78+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
79+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Debug|x64.ActiveCfg = Debug|Any CPU
80+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Debug|x64.Build.0 = Debug|Any CPU
81+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Debug|x86.ActiveCfg = Debug|Any CPU
82+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Debug|x86.Build.0 = Debug|Any CPU
83+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
84+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Release|Any CPU.Build.0 = Release|Any CPU
85+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Release|x64.ActiveCfg = Release|Any CPU
86+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Release|x64.Build.0 = Release|Any CPU
87+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Release|x86.ActiveCfg = Release|Any CPU
88+
{7FEA44F4-B7B1-49C1-8751-0995C1973BE2}.Release|x86.Build.0 = Release|Any CPU
4789
EndGlobalSection
4890
EndGlobal

src/MySql/build-module.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ $moduleName = 'Az.MySql'
120120
$examplesFolder = Join-Path $PSScriptRoot 'examples'
121121
$null = New-Item -ItemType Directory -Force -Path $examplesFolder
122122

123+
Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
124+
$modelCmdlets = @()
125+
if ($modelCmdlets.Count -gt 0) {
126+
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
127+
CreateModelCmdlet($modelCmdlets)
128+
}
129+
123130
if($NoDocs) {
124131
Write-Host -ForegroundColor Green 'Creating exports...'
125132
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs -ExamplesFolder $examplesFolder

src/MySql/check-dependencies.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $tools = Join-Path $PSScriptRoot 'tools'
5353
$resourceDir = Join-Path $tools 'Resources'
5454
$resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psm1'
5555

56-
if ($Resources.IsPresent -and (-not (Test-Path -Path $resourceModule))) {
56+
if ($Resources.IsPresent -and ((-not (Test-Path -Path $resourceModule)) -or $RegenerateSupportModule.IsPresent)) {
5757
Write-Host -ForegroundColor Green "Building local Resource module used for test..."
5858
Set-Location $resourceDir
5959
$null = autorest .\readme.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources

0 commit comments

Comments
 (0)