Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pick up updated T2 mgmt generator #20839

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/Directory.Build.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Setup project type properties -->
<PropertyGroup>
<IsMgmtLibrary Condition="'$(IsMgmtLibrary)' == '' and $(MSBuildProjectName.StartsWith('Azure.ResourceManager.'))">true</IsMgmtLibrary>
<MgmtAutorestVersion>3.0.0-beta.20210319.1</MgmtAutorestVersion>
<MgmtAutorestVersion>3.0.0-beta.20210504.1</MgmtAutorestVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this will break everyone since it will generate an incomplete API until our work is done

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build is green 😄 This is a build of the https://github.com/Azure/autorest.csharp/tree/feature/mgmt-hotfix branch created from the commit before we merged the new management generator.


<!-- Client in this context is any library that is following the new Azure SDK guidelines -->
<IsClientLibrary Condition="'$(IsClientLibrary)' == '' and $(MSBuildProjectName.StartsWith('Azure.'))">true</IsClientLibrary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1890,10 +1890,28 @@ public ContainerServiceLinuxProfile(string adminUsername, Azure.ResourceManager.
public partial class ContainerServiceMasterProfile
{
public ContainerServiceMasterProfile(string dnsPrefix) { }
public Azure.ResourceManager.Compute.Models.Enum31? Count { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount? Count { get { throw null; } set { } }
public string DnsPrefix { get { throw null; } set { } }
public string Fqdn { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct ContainerServiceMasterProfileCount : System.IEquatable<Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount>
{
private readonly int _dummyPrimitive;
public ContainerServiceMasterProfileCount(int value) { throw null; }
public static Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount Five { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount One { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount Three { get { throw null; } }
public bool Equals(Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount left, Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount right) { throw null; }
public static implicit operator Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount (int value) { throw null; }
public static bool operator !=(Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount left, Azure.ResourceManager.Compute.Models.ContainerServiceMasterProfileCount right) { throw null; }
public override string ToString() { throw null; }
}
public partial class ContainerServiceOrchestratorProfile
{
public ContainerServiceOrchestratorProfile(Azure.ResourceManager.Compute.Models.ContainerServiceOrchestratorTypes orchestratorType) { }
Expand Down Expand Up @@ -2383,24 +2401,6 @@ public EncryptionSettingsElement() { }
public static bool operator !=(Azure.ResourceManager.Compute.Models.EncryptionType left, Azure.ResourceManager.Compute.Models.EncryptionType right) { throw null; }
public override string ToString() { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct Enum31 : System.IEquatable<Azure.ResourceManager.Compute.Models.Enum31>
{
private readonly int _dummyPrimitive;
public Enum31(int value) { throw null; }
public static Azure.ResourceManager.Compute.Models.Enum31 Five { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.Enum31 One { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.Enum31 Three { get { throw null; } }
public bool Equals(Azure.ResourceManager.Compute.Models.Enum31 other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.ResourceManager.Compute.Models.Enum31 left, Azure.ResourceManager.Compute.Models.Enum31 right) { throw null; }
public static implicit operator Azure.ResourceManager.Compute.Models.Enum31 (int value) { throw null; }
public static bool operator !=(Azure.ResourceManager.Compute.Models.Enum31 left, Azure.ResourceManager.Compute.Models.Enum31 right) { throw null; }
public override string ToString() { throw null; }
}
public partial class Gallery : Azure.ResourceManager.Compute.Models.Resource
{
public Gallery(string location) : base (default(string)) { }
Expand Down

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.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions sdk/testcommon/Azure.Graph.Rbac/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Run `dotnet build /t:GenerateCode` to generate code.
azure-arm: true
title: Rbac
require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7fe24f57e1d0e3560535be0730db43feb3239a36/specification/graphrbac/data-plane/readme.md
skip-semantics-validation: true
```