Skip to content

Commit d1ab867

Browse files
authored
rename base classes and flatten operation / container (Azure#22892)
* rename base classes and flatten operation / container * fix inherit doc issue * Fix unit test failures * update api after merge from main * update api after merge
1 parent 8d90a2b commit d1ab867

Some content is hidden

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

49 files changed

+264
-599
lines changed

sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs

Lines changed: 54 additions & 103 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/Azure.ResourceManager/src/ApiVersionsBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Core
1010
/// <summary>
1111
/// A class representing Azure resource API versions base.
1212
/// </summary>
13-
public class ApiVersionsBase : IEquatable<string>, IComparable<string>
13+
internal class ApiVersionsBase : IEquatable<string>, IComparable<string>
1414
{
1515
private readonly string _value;
1616

sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/LongRunningOperation/PredefinedTagCreateOrUpdateOperation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected PredefinedTagCreateOrUpdateOperation()
2323
{
2424
}
2525

26-
internal PredefinedTagCreateOrUpdateOperation(OperationsBase parentOperation, Response<PredefinedTagData> response)
26+
internal PredefinedTagCreateOrUpdateOperation(ResourceOperations parentOperation, Response<PredefinedTagData> response)
2727
{
2828
_operation = new OperationOrResponseInternals<PredefinedTag>(Response.FromValue(new PredefinedTag(parentOperation, response.Value), response.GetRawResponse()));
2929
}

sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTag.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected PredefinedTag()
2323
/// </summary>
2424
/// <param name="operations"> The operations object to copy the client parameters from. </param>
2525
/// <param name="data"> The data model representing the generic azure resource. </param>
26-
internal PredefinedTag(OperationsBase operations, PredefinedTagData data)
26+
internal PredefinedTag(ResourceOperations operations, PredefinedTagData data)
2727
: base(new ClientContext(operations.ClientOptions,operations.Credential, operations.BaseUri, operations.Pipeline), operations.Id)
2828
{
2929
Data = data;

sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Azure.ResourceManager.Resources
1414
/// <summary>
1515
/// A class representing collection of Tag and its operations.
1616
/// </summary>
17-
public class PredefinedTagContainer : ContainerBase
17+
public class PredefinedTagContainer : ResourceContainer
1818
{
1919
/// <summary>
2020
/// Initializes a new instance of the <see cref="PredefinedTagContainer"/> class for mocking.

sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace Azure.ResourceManager.Resources
1212
{
1313
/// <summary> The predefined tag client. </summary>
14-
public class PredefinedTagOperations : ResourceOperationsBase
14+
public class PredefinedTagOperations : ResourceOperations
1515
{
1616
/// <summary>
1717
/// The resource type for predefined tag.

sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/LongRunningOperation/ManagementGroupsCreateOrUpdateOperation.cs

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

sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroup.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupContainer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupInfo.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)