Skip to content

Commit 5064fb8

Browse files
authored
Merge branch 'main' into parquet1
2 parents 73e95ce + f258ced commit 5064fb8

File tree

239 files changed

+15456
-21382
lines changed

Some content is hidden

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

239 files changed

+15456
-21382
lines changed
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
To add breaking changes and preview messages for cmdlets, there are two scenarios to handle.
2+
3+
- For auto gen cmdlets
4+
- For customized cmdlets
5+
6+
# For auto gen cmdlets
7+
8+
Breaking changes and preview messages for auto gen cmdlets are added through directives in readme.md. And following are some common cases.
9+
10+
## Case 1 — Module is deprecated
11+
12+
13+
14+
```yaml
15+
- where:
16+
verb: (.*)
17+
set:
18+
breaking-change:
19+
deprecated-by-version: 5.0.0
20+
change-effective-date: 2055/10/30
21+
```
22+
23+
## Case 2 — Breaking change for a cmdlet
24+
25+
```yaml
26+
- where:
27+
verb: New
28+
subject: VNetPeering
29+
set:
30+
breaking-change:
31+
replacement-cmdlet: New-AzNewVNetPeering
32+
deprecated-by-version: 5.0.0
33+
change-effective-date: 2022/05/30
34+
```
35+
36+
## Case 3 — Breaking change for multiple cmdlets
37+
38+
```yaml
39+
- where:
40+
subject: VNetPeering
41+
set:
42+
breaking-change:
43+
replacement-cmdlet: $.replace("VNetPeering", "VNewNetPeering")
44+
deprecated-by-version: 5.0.0
45+
change-effective-date: 2022/05/30
46+
```
47+
48+
## Case 4 — Breaking change for an output type
49+
50+
```yaml
51+
- where:
52+
verb: New
53+
subject: VNetPeering
54+
set:
55+
breaking-change:
56+
deprecated-cmdlet-output-type: oldtype
57+
replacement-cmdlet-output-type: newtype
58+
deprecated-output-properties:
59+
- propertyA
60+
- PropertyB
61+
new-output-properties:
62+
- PropertyC
63+
- PropertyD
64+
change-description: This is a custom message for the change.
65+
deprecated-by-version: 5.0.0
66+
change-effective-date: 2022/05/11
67+
```
68+
69+
## Case 5 — Breaking change for parameter sets(variants)
70+
71+
```yaml
72+
- where:
73+
verb: Remove
74+
subject: VNetPeering
75+
variant: Delete
76+
set:
77+
breaking-change:
78+
deprecated-by-version: 5.0.0
79+
change-efective-date: 2022/05/30
80+
```
81+
82+
## Case 6 — Breaking change for a parameter
83+
84+
```yaml
85+
- where:
86+
parameter-name: Sku
87+
set:
88+
breaking-change:
89+
old-parameter-type: int
90+
new-parameter-type: boolean
91+
become-mandatory: true
92+
change-description: This is a custom message for the change.
93+
deprecated-by-version: 5.0.0
94+
change-efective-date: 2022/05/30
95+
```
96+
97+
## Case 7 — Preview message
98+
99+
```yaml
100+
- where:
101+
verb: New
102+
subject: VNetPeering
103+
set:
104+
preview-message: This is a test preview message.
105+
```
106+
107+
# For customized cmdlets
108+
109+
To add breaking changes or preview messages for a customized cmdlets, you will need to add related attributes in code directly. And following are some common cases.
110+
111+
**Note: For Case 1/2/3/5, the attributes are applied on the functions. For case 5, the attribute is applied in the parameter. And these examples are based on the databricks module, so you will need to replace it with your module name.**
112+
113+
## Case 1 — Breaking change for a cmdlet
114+
115+
```csharp
116+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.CmdletBreakingChangeAttribute("4.0", "2022/05/30", ReplacementCmdletName = 'replace-xxx')
117+
```
118+
119+
## Case 2 — Breaking change for parameter sets(variants)
120+
121+
```csharp
122+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ParameterSetBreakingChangeAttribute(("parametersetname1", "parametersetname2"), "4.0", "2022/05/30")]
123+
```
124+
125+
## Case 3 — Breaking change for an output type
126+
127+
```csharp
128+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.OutputBreakingChange("oldtype", "5.0.0", "2022/05/11", ReplacementCmdletOutputType = "newtype", DeprecatedOutputProperties = ("propertyA", "PropertyB"), NewOutputProperties = ("PropertyC", "PropertyD"))]
129+
```
130+
131+
## Case 4 — Breaking change for a parameter
132+
133+
```csharp
134+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ParameterBreakingChangeAttribute("ResourceGroupName", "4.1", "2028/06/18")]
135+
```
136+
137+
## Case 5 — Preview message
138+
139+
```csharp
140+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PreviewMessageAttribute("This is a preview version")]
141+
```

src/CognitiveServices/CognitiveServices/ChangeLog.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222
* [Breaking Change] Changed type of PSCognitiveServicesAccount.Sku.Tier from SkuTier to string.
2323
* [Breaking Change] Removed ActionRequired from PrivateLinkServiceConnectionState.
2424
* Updated PowerShell to use 2021-04-30 version.
25-
* Add `Undo-AzCognitiveServicesAccountRemoval` cmdlet.
26-
* `New-AzureCognitiveServicesAccount` add `-RestrictOutboundNetworkAccess`, `-AllowedFqdnList`, `-DisableLocalAuth`, `-KeyVaultIdentityClientId`, `-IdentityType`, `-UserAssignedIdentityId`.
27-
* `Set-AzureCognitiveServicesAccount` add `-RestrictOutboundNetworkAccess`, `-AllowedFqdnList`, `-DisableLocalAuth`, `-KeyVaultIdentityClientId`, `-IdentityType`, `-UserAssignedIdentityId`.
28-
* `Remove-AzureCognitiveServicesAccount` add `-InRemovedState`, `-Location`.
29-
* `Get-AzureCognitiveServicesAccount` add `-InRemovedState`, `-Location`.
25+
* Added `Undo-AzCognitiveServicesAccountRemoval` cmdlet.
26+
* Added parameters `-RestrictOutboundNetworkAccess`, `-AllowedFqdnList`, `-DisableLocalAuth`, `-KeyVaultIdentityClientId`, `-IdentityType`, `-UserAssignedIdentityId` to `New-AzureCognitiveServicesAccount` and `Set-AzureCognitiveServicesAccount`.
27+
* Added parameters `-InRemovedState`, `-Location` to `Remove-AzureCognitiveServicesAccount` and `Get-AzureCognitiveServicesAccount`.
3028

3129
## Version 1.8.0
3230

src/Compute/Compute/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- `New-AzCapacityReservation`
3131
- `Remove-AzCapacityReservation`
3232
- `Get-AzCapacityReservation`
33-
* Added a new parameter `-CapacityReservationGroupId` to the folloinwg cmdlets:
33+
* Added a new parameter `-CapacityReservationGroupId` to the following cmdlets:
3434
- `New-AzVm`
3535
- `New-AzVmConfig`
3636
- `New-AzVmss`

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)