Skip to content

Commit 855cfd5

Browse files
authored
[Cognitive Services] Upgrade to 2021-04-30 (#15133)
* [Cognitive Services] Upgrade to 2021-04-30
1 parent 388e6a3 commit 855cfd5

File tree

64 files changed

+24756
-12438
lines changed

Some content is hidden

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

64 files changed

+24756
-12438
lines changed

src/CognitiveServices/CognitiveServices.Test/CognitiveServices.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<PsModuleName>CognitiveServices</PsModuleName>
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.Azure.Management.CognitiveServices" Version="7.4.0-preview" />
14+
<PackageReference Include="Microsoft.Azure.Management.CognitiveServices" Version="8.0.0-preview" />
1515
<PackageReference Include="Microsoft.Azure.Management.Network" Version="20.4.0" />
1616
</ItemGroup>
1717

src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.cs

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ public void TestNewAccount()
4242
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-NewAzureRmCognitiveServicesAccount");
4343
}
4444

45-
[Fact]
46-
[Trait(Category.AcceptanceType, Category.CheckIn)]
47-
public void TestNewAccountWithInvalidName()
48-
{
49-
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-NewAzureRmCognitiveServicesAccountInvalidName");
50-
}
51-
5245
[Fact]
5346
[Trait(Category.AcceptanceType, Category.CheckIn)]
5447
public void TestNewAccountWithCustomDomain()
@@ -63,13 +56,6 @@ public void TestNewAccountWithVnet()
6356
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-NewAzureRmCognitiveServicesAccountWithVnet");
6457
}
6558

66-
[Fact]
67-
[Trait(Category.AcceptanceType, Category.CheckIn)]
68-
public void TestCreateAllKindsOfAccounts()
69-
{
70-
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-NewAzureRmAllKindsOfCognitiveServicesAccounts");
71-
}
72-
7359
[Fact]
7460
[Trait(Category.AcceptanceType, Category.CheckIn)]
7561
public void TestRemoveAccount()
@@ -192,6 +178,13 @@ public void TestManagedIdentity()
192178
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-ManagedIdentity");
193179
}
194180

181+
[Fact]
182+
[Trait(Category.AcceptanceType, Category.CheckIn)]
183+
public void TestUserAssignedIdentity()
184+
{
185+
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-UserAssignedIdentity");
186+
}
187+
195188
[Fact]
196189
[Trait(Category.AcceptanceType, Category.CheckIn)]
197190
public void TestEncryption()
@@ -220,6 +213,20 @@ public void TestPublicNetworkAccess()
220213
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-PublicNetworkAccess");
221214
}
222215

216+
[Fact]
217+
[Trait(Category.AcceptanceType, Category.CheckIn)]
218+
public void TestRestrictOutboundNetworkAccess()
219+
{
220+
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-RestrictOutboundNetworkAccess");
221+
}
222+
223+
[Fact]
224+
[Trait(Category.AcceptanceType, Category.CheckIn)]
225+
public void TestDisableLocalAuth()
226+
{
227+
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-DisableLocalAuth");
228+
}
229+
223230
[Fact]
224231
[Trait(Category.AcceptanceType, Category.CheckIn)]
225232
public void TestCapabilities()
@@ -233,5 +240,12 @@ public void TestApiProperties()
233240
{
234241
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-ApiProperties");
235242
}
243+
244+
[Fact]
245+
[Trait(Category.AcceptanceType, Category.CheckIn)]
246+
public void TestSoftDelete()
247+
{
248+
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-SoftDelete");
249+
}
236250
}
237251
}

0 commit comments

Comments
 (0)