Skip to content

Commit

Permalink
Pick up updated T2 mgmt generator (#20839)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym authored May 4, 2021
1 parent 32d3cf2 commit fdab703
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 155 deletions.
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>

<!-- 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
```

0 comments on commit fdab703

Please sign in to comment.