Skip to content

Commit 9f2f396

Browse files
authored
update public methods (Azure#22926)
1 parent 9c0f758 commit 9f2f396

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ public ResourceIdentifier(string resourceId) { }
9494
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
9595
public static partial class ResourceIdentifierExtensions
9696
{
97+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
98+
public static Azure.ResourceManager.ResourceIdentifier AppendChildResource(this Azure.ResourceManager.ResourceIdentifier identifier, string childResourceType, string childResourceName) { throw null; }
9799
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
98100
public static Azure.ResourceManager.ResourceIdentifier AppendProviderResource(this Azure.ResourceManager.ResourceIdentifier identifier, string providerNamespace, string resourceType, string resourceName) { throw null; }
99101
}
@@ -235,6 +237,7 @@ public SerializationConstructorAttribute() { }
235237
public abstract partial class SingletonOperations : Azure.ResourceManager.Core.ResourceOperations
236238
{
237239
protected SingletonOperations() { }
240+
protected SingletonOperations(Azure.ResourceManager.Core.ResourceOperations parent) { }
238241
protected Azure.ResourceManager.Core.ResourceOperations Parent { get { throw null; } }
239242
}
240243
public static partial class UtilityExtensions

sdk/resourcemanager/Azure.ResourceManager/src/Extensions/ResourceIdentifierExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static ResourceIdentifier AppendProviderResource(this ResourceIdentifier
3737
/// <param name="childResourceName"> The name of the resource. </param>
3838
/// <returns> The combined resource id. </returns>
3939
[EditorBrowsable(EditorBrowsableState.Never)]
40-
internal static ResourceIdentifier AppendChildResource(this ResourceIdentifier identifier, string childResourceType, string childResourceName)
40+
public static ResourceIdentifier AppendChildResource(this ResourceIdentifier identifier, string childResourceType, string childResourceName)
4141
{
4242
ValidateChildResourceParameters(childResourceType, childResourceName);
4343
return new ResourceIdentifier(identifier, childResourceType, childResourceName);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected SingletonOperations()
1919
/// Initializes a new instance of the <see cref="SingletonOperations"/> class.
2020
/// </summary>
2121
/// <param name="parent"></param>
22-
internal SingletonOperations(ResourceOperations parent)
22+
protected SingletonOperations(ResourceOperations parent)
2323
: base(new ClientContext(parent.ClientOptions, parent.Credential, parent.BaseUri, parent.Pipeline), ResourceIdentifier.RootResourceIdentifier)
2424
{
2525
Parent = parent;

0 commit comments

Comments
 (0)