Skip to content

Commit

Permalink
update public methods (#22926)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-nash authored Jul 28, 2021
1 parent 9c0f758 commit 9f2f396
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ public ResourceIdentifier(string resourceId) { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public static partial class ResourceIdentifierExtensions
{
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public static Azure.ResourceManager.ResourceIdentifier AppendChildResource(this Azure.ResourceManager.ResourceIdentifier identifier, string childResourceType, string childResourceName) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public static Azure.ResourceManager.ResourceIdentifier AppendProviderResource(this Azure.ResourceManager.ResourceIdentifier identifier, string providerNamespace, string resourceType, string resourceName) { throw null; }
}
Expand Down Expand Up @@ -235,6 +237,7 @@ public SerializationConstructorAttribute() { }
public abstract partial class SingletonOperations : Azure.ResourceManager.Core.ResourceOperations
{
protected SingletonOperations() { }
protected SingletonOperations(Azure.ResourceManager.Core.ResourceOperations parent) { }
protected Azure.ResourceManager.Core.ResourceOperations Parent { get { throw null; } }
}
public static partial class UtilityExtensions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static ResourceIdentifier AppendProviderResource(this ResourceIdentifier
/// <param name="childResourceName"> The name of the resource. </param>
/// <returns> The combined resource id. </returns>
[EditorBrowsable(EditorBrowsableState.Never)]
internal static ResourceIdentifier AppendChildResource(this ResourceIdentifier identifier, string childResourceType, string childResourceName)
public static ResourceIdentifier AppendChildResource(this ResourceIdentifier identifier, string childResourceType, string childResourceName)
{
ValidateChildResourceParameters(childResourceType, childResourceName);
return new ResourceIdentifier(identifier, childResourceType, childResourceName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected SingletonOperations()
/// Initializes a new instance of the <see cref="SingletonOperations"/> class.
/// </summary>
/// <param name="parent"></param>
internal SingletonOperations(ResourceOperations parent)
protected SingletonOperations(ResourceOperations parent)
: base(new ClientContext(parent.ClientOptions, parent.Credential, parent.BaseUri, parent.Pipeline), ResourceIdentifier.RootResourceIdentifier)
{
Parent = parent;
Expand Down

0 comments on commit 9f2f396

Please sign in to comment.