Skip to content

Commit 81bf245

Browse files
grizzlytheodorehari-bodicherlaprchinkimberlyyipcKimberly Yip Chang
authored andcommitted
SDK for ComputeRP 2022-03-01 version (#28631)
* generated from new folder * fix updateed object * updated recordings for 2022-03-01 * new recordings * last recordings and test fixes * fix dedicated host test * add ; * mitigate failing test * fix last test recording * Generated SDK modules and recorded tests for UltraSSDCapability property in Dedicated Hosts for API version 2022-03-01 Compute #27949 (#27984) * generated * updated code Co-authored-by: Theodore Chang <[email protected]> * update with latest swagger form * dedicatedHost customization * small ssdk change 1.1 (#28006) * [RestorePoints] InstanceView Fix SDK changes (#28188) * sdk changes for instanview fix 1.1 * added record tests 2.1 Co-authored-by: Theodore Chang <[email protected]> * SDK changes for Vmss Flex deleteOption (#27923) * delete option vmss flex * record test * newline * regenerated sdk Co-authored-by: Kimberly Yip Chang <[email protected]> * Updated tests for changes in PR Azure/azure-rest-api-specs#18609 (#28063) * Generated SDK * added tests, playback recordings for VM and VMSS application profile (cherry picked from commit c08e89b426bb6dd41b9a37ecb3d42ad172509f89) * Fixed and re-recoded galley application and gallery application version tests * Added changes that were created by SDK generation for dedicated HostGroup, but unrelated to my Swagger changes * added changes to SdkInfo_ComputeManagementClient.cs and compute_resource-management.txt file that were created by SDK generation. * Undid changes to eng/mgmt/mgmtmetadata/compute_resource-manager.txt * Undid changes to sdk\compute\Microsoft.Azure.Management.Compute\src\Generated\SdkInfo_ComputeManagementClient.cs * Re-created the SDK withhout changes to gallery.json and undid changes to test. * Added test recordings for VM and VMSS application profile. * remove changes from tests that were not re-recorded Co-authored-by: Theodore Chang <[email protected]> * generated from new folder * fix updateed object * updated recordings for 2022-03-01 * new recordings * last recordings and test fixes * fix dedicated host test * add ; * mitigate failing test * fix last test recording * Generated SDK modules and recorded tests for UltraSSDCapability property in Dedicated Hosts for API version 2022-03-01 Compute #27949 (#27984) * generated * updated code Co-authored-by: Theodore Chang <[email protected]> * update with latest swagger form * dedicatedHost customization * small ssdk change 1.1 (#28006) * [RestorePoints] InstanceView Fix SDK changes (#28188) * sdk changes for instanview fix 1.1 * added record tests 2.1 Co-authored-by: Theodore Chang <[email protected]> * SDK changes for Vmss Flex deleteOption (#27923) * delete option vmss flex * record test * newline * regenerated sdk Co-authored-by: Kimberly Yip Chang <[email protected]> * Updated tests for changes in PR Azure/azure-rest-api-specs#18609 (#28063) * Generated SDK * added tests, playback recordings for VM and VMSS application profile (cherry picked from commit c08e89b426bb6dd41b9a37ecb3d42ad172509f89) * Fixed and re-recoded galley application and gallery application version tests * Added changes that were created by SDK generation for dedicated HostGroup, but unrelated to my Swagger changes * added changes to SdkInfo_ComputeManagementClient.cs and compute_resource-management.txt file that were created by SDK generation. * Undid changes to eng/mgmt/mgmtmetadata/compute_resource-manager.txt * Undid changes to sdk\compute\Microsoft.Azure.Management.Compute\src\Generated\SdkInfo_ComputeManagementClient.cs * Re-created the SDK withhout changes to gallery.json and undid changes to test. * Added test recordings for VM and VMSS application profile. * remove changes from tests that were not re-recorded Co-authored-by: Theodore Chang <[email protected]> * without preview release * Delete VMApplicationProfile_Tests.json * Delete TestVMScaleSetApplicationProfile.json * fix VMTestBase for DH * resolve tests * update version name * Sanitize SAS and key * Update Microsoft.Azure.Management.Compute.csproj Co-authored-by: hari-bodicherla <[email protected]> Co-authored-by: prchin <[email protected]> Co-authored-by: Kimberly Yip Chang <[email protected]> Co-authored-by: Kimberly Yip Chang <[email protected]> Co-authored-by: Bhaskar Brahma <[email protected]>
1 parent d4b332b commit 81bf245

File tree

255 files changed

+129996
-133749
lines changed

Some content is hidden

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

255 files changed

+129996
-133749
lines changed

eng/mgmt/mgmtmetadata/compute_resource-manager.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Autorest CSharp Version: 2.3.82
99
Azure-rest-api-specs repository information
1010
GitHub fork: Azure
1111
Branch: main
12-
Commit: dbf0a617330c7ea3794df1596ba4c1484058fa66
12+
Commit: 28db62c152a3556a579a6031f730d3f6b9f868a4
1313
AutoRest information
1414
Requested version: v2
1515
Bootstrapper version: [email protected]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
33
<PropertyGroup>
4-
<AzureApiTag>Compute_2021-11-01;Compute_2021-03-01;Compute_2021-07-01;Compute_2021-12-01;Compute_2021-10-01;Compute_2021-06-01-preview</AzureApiTag>
4+
<AzureApiTag>Compute_2022-03-01;Compute_2021-11-01;Compute_2021-03-01;Compute_2021-07-01;Compute_2021-12-01;Compute_2021-10-01;Compute_2021-06-01-preview</AzureApiTag>
55
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
66
</PropertyGroup>
77
</Project>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace Microsoft.Azure.Management.Compute.Models
8+
{
9+
public partial class DedicatedHostGroup : Resource
10+
{
11+
public DedicatedHostGroup(string location, int platformFaultDomainCount, string id, string name, string type, IDictionary<string, string> tags, IList<SubResourceReadOnly> hosts, DedicatedHostGroupInstanceView instanceView, bool? supportAutomaticPlacement, IList<string> zones)
12+
: base(location, id, name, type, tags)
13+
{
14+
PlatformFaultDomainCount = platformFaultDomainCount;
15+
Hosts = hosts;
16+
InstanceView = instanceView;
17+
SupportAutomaticPlacement = supportAutomaticPlacement;
18+
Zones = zones;
19+
CustomInit();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace Microsoft.Azure.Management.Compute.Models
8+
{
9+
public partial class DedicatedHostGroupUpdate : UpdateResource
10+
{
11+
public DedicatedHostGroupUpdate(int platformFaultDomainCount, IDictionary<string, string> tags, IList<SubResourceReadOnly> hosts, DedicatedHostGroupInstanceView instanceView, bool? supportAutomaticPlacement, IList<string> zones)
12+
: base(tags)
13+
{
14+
PlatformFaultDomainCount = platformFaultDomainCount;
15+
Hosts = hosts;
16+
InstanceView = instanceView;
17+
SupportAutomaticPlacement = supportAutomaticPlacement;
18+
Zones = zones;
19+
CustomInit();
20+
}
21+
}
22+
}

sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs

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

sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationGroupsOperations.cs

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

sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/CapacityReservationsOperations.cs

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

0 commit comments

Comments
 (0)