Skip to content

Commit

Permalink
SDK for ComputeRP 2022-03-01 version (#28631)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
6 people authored May 13, 2022
1 parent 4b9a336 commit 4f5c5d6
Show file tree
Hide file tree
Showing 255 changed files with 129,996 additions and 133,749 deletions.
2 changes: 1 addition & 1 deletion eng/mgmt/mgmtmetadata/compute_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Autorest CSharp Version: 2.3.82
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: main
Commit: dbf0a617330c7ea3794df1596ba4c1484058fa66
Commit: 28db62c152a3556a579a6031f730d3f6b9f868a4
AutoRest information
Requested version: v2
Bootstrapper version: [email protected]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--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-->
<PropertyGroup>
<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>
<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>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Azure.Management.Compute.Models
{
public partial class DedicatedHostGroup : Resource
{
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)
: base(location, id, name, type, tags)
{
PlatformFaultDomainCount = platformFaultDomainCount;
Hosts = hosts;
InstanceView = instanceView;
SupportAutomaticPlacement = supportAutomaticPlacement;
Zones = zones;
CustomInit();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Azure.Management.Compute.Models
{
public partial class DedicatedHostGroupUpdate : UpdateResource
{
public DedicatedHostGroupUpdate(int platformFaultDomainCount, IDictionary<string, string> tags, IList<SubResourceReadOnly> hosts, DedicatedHostGroupInstanceView instanceView, bool? supportAutomaticPlacement, IList<string> zones)
: base(tags)
{
PlatformFaultDomainCount = platformFaultDomainCount;
Hosts = hosts;
InstanceView = instanceView;
SupportAutomaticPlacement = supportAutomaticPlacement;
Zones = zones;
CustomInit();
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4f5c5d6

Please sign in to comment.