diff --git a/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md b/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md index 476618ee6da7..695f8f4e485b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md +++ b/sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.5.0-beta.2 (Unreleased) +## 1.5.0 (2024-05-10) ### Features Added diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj index 85094ad0dbc4..371f87bb4989 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj @@ -1,6 +1,6 @@ - 1.5.0-beta.2 + 1.5.0 1.4.0 Azure.ResourceManager.Compute diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineCollectionTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineCollectionTests.cs index 515f796516fd..e8b525f49674 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineCollectionTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineCollectionTests.cs @@ -80,7 +80,6 @@ public async Task GetAll() [TestCase] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task GetAllInSubscription() { var collection = await GetVirtualMachineCollectionAsync(); diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs index e40e172d85d3..e447a132ac31 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs @@ -1,14 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Threading.Tasks; using Azure.Core; using Azure.Core.TestFramework; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Compute.Tests.Helpers; -using Azure.ResourceManager.Resources; using Azure.ResourceManager.Models; +using Azure.ResourceManager.Resources; using NUnit.Framework; namespace Azure.ResourceManager.Compute.Tests @@ -32,7 +31,6 @@ private async Task CreateUserAssignedIdentityAsync() [TestCase] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task CreateVmWithSystemAssignedIdentity() { var collection = await GetVirtualMachineCollectionAsync(); @@ -51,7 +49,6 @@ public async Task CreateVmWithSystemAssignedIdentity() [TestCase] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task CreateVmWithUserAssignedIdentity() { var collection = await GetVirtualMachineCollectionAsync(); @@ -72,7 +69,6 @@ public async Task CreateVmWithUserAssignedIdentity() [TestCase] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task CreateVmWithSystemAndUserAssignedIdentity() { var collection = await GetVirtualMachineCollectionAsync(); @@ -93,7 +89,6 @@ public async Task CreateVmWithSystemAndUserAssignedIdentity() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromNoneToSystem() { var collection = await GetVirtualMachineCollectionAsync(); @@ -119,7 +114,6 @@ public async Task UpdateVmIdentityFromNoneToSystem() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromNoneToUser() { var collection = await GetVirtualMachineCollectionAsync(); @@ -148,7 +142,6 @@ public async Task UpdateVmIdentityFromNoneToUser() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromNoneToSystemAndUser() { var collection = await GetVirtualMachineCollectionAsync(); @@ -177,7 +170,6 @@ public async Task UpdateVmIdentityFromNoneToSystemAndUser() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromSystemToNone() { var collection = await GetVirtualMachineCollectionAsync(); @@ -205,7 +197,6 @@ public async Task UpdateVmIdentityFromSystemToNone() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromSystemToUser() { var collection = await GetVirtualMachineCollectionAsync(); @@ -238,7 +229,6 @@ public async Task UpdateVmIdentityFromSystemToUser() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromSystemToSystemUser() { var collection = await GetVirtualMachineCollectionAsync(); @@ -271,7 +261,6 @@ public async Task UpdateVmIdentityFromSystemToSystemUser() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromUserToNone() { var collection = await GetVirtualMachineCollectionAsync(); @@ -301,7 +290,6 @@ public async Task UpdateVmIdentityFromUserToNone() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromUserToSystem() { var collection = await GetVirtualMachineCollectionAsync(); @@ -333,7 +321,6 @@ public async Task UpdateVmIdentityFromUserToSystem() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromUserToSystemUser() { var collection = await GetVirtualMachineCollectionAsync(); @@ -366,7 +353,6 @@ public async Task UpdateVmIdentityFromUserToSystemUser() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromUserToTwoUsers() { var collection = await GetVirtualMachineCollectionAsync(); @@ -435,7 +421,6 @@ public async Task UpdateVmIdentityToRemoveUser() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromTwoUsersToOneUser() { var collection = await GetVirtualMachineCollectionAsync(); @@ -474,7 +459,6 @@ public async Task UpdateVmIdentityFromTwoUsersToOneUser() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromSystemUserToNone() { var collection = await GetVirtualMachineCollectionAsync(); @@ -504,7 +488,6 @@ public async Task UpdateVmIdentityFromSystemUserToNone() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromSystemUserToSystem() { var collection = await GetVirtualMachineCollectionAsync(); @@ -536,7 +519,6 @@ public async Task UpdateVmIdentityFromSystemUserToSystem() [Test] [RecordedTest] - [LiveOnly(Reason = "PrincipalId cannot be stored in test recordings.")] public async Task UpdateVmIdentityFromSystemUserToUser() { var collection = await GetVirtualMachineCollectionAsync();