Skip to content

Commit 41ed5f6

Browse files
[Resources] Bump api version to 2022-09-01 (Azure#33148)
1 parent d294e07 commit 41ed5f6

File tree

94 files changed

+15187
-269387
lines changed

Some content is hidden

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

94 files changed

+15187
-269387
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
All should have PrivateAssets="All" set so they don't become package dependencies
161161
-->
162162
<ItemGroup>
163-
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20230208.1" PrivateAssets="All" />
163+
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20230210.4" PrivateAssets="All" />
164164
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20230131.1" PrivateAssets="All" />
165165
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
166166
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />

eng/emitter-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"main": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/cadl-csharp": "0.1.11-beta.20230208.1"
4+
"@azure-tools/cadl-csharp": "0.1.11-beta.20230210.4"
55
}
66
}

sdk/automanage/Azure.ResourceManager.Automanage/tests/AutomanageTestBase.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using System.Threading.Tasks;
88
using Azure.Core;
99
using Azure.Core.TestFramework;
10+
using Azure.Core.TestFramework.Models;
1011
using Azure.ResourceManager.Automanage.Models;
1112
using Azure.ResourceManager.Compute;
1213
using Azure.ResourceManager.Resources;
@@ -26,11 +27,13 @@ public class AutomanageTestBase : ManagementRecordedTestBase<AutomanageTestEnvir
2627
protected AutomanageTestBase(bool isAsync, RecordedTestMode mode)
2728
: base(isAsync, mode)
2829
{
30+
IgnoreApiVersionInResourcesOperations();
2931
}
3032

3133
protected AutomanageTestBase(bool isAsync)
3234
: base(isAsync)
3335
{
36+
IgnoreApiVersionInResourcesOperations();
3437
}
3538

3639
[SetUp]
@@ -141,5 +144,16 @@ protected async Task<ResourceIdentifier> CreateVirtualMachineFromTemplate(string
141144

142145
return vmId;
143146
}
147+
148+
private void IgnoreApiVersionInResourcesOperations()
149+
{
150+
// Ignore the api-version of deployment operations
151+
UriRegexSanitizers.Add(new UriRegexSanitizer(
152+
@"/providers/Microsoft.Resources/deployments/[^/]+(/operationStatuses/[^/]+)?pi-version=(?<group>[a-z0-9-]+)", "**"
153+
)
154+
{
155+
GroupForReplace = "group"
156+
});
157+
}
144158
}
145159
}

sdk/automanage/Azure.ResourceManager.Automanage/tests/SessionRecords/ConfigurationProfileAssignmentTests/CanCreateBestPracticesProductionProfileAssignment().json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)