Skip to content

Commit c490a30

Browse files
Copiloteerhardt
andcommitted
Remove NameOutputReference from obsolete and duplicate properties
Co-authored-by: eerhardt <[email protected]>
1 parent ec2e835 commit c490a30

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

src/Aspire.Hosting.Azure.PostgreSQL/AzurePostgresResource.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ public class AzurePostgresResource(PostgresServerResource innerResource, Action<
1616
{
1717
private readonly PostgresServerResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
1818

19-
/// <summary>
20-
/// Gets the "name" output reference for the resource.
21-
/// </summary>
22-
public BicepOutputReference NameOutputReference => new("name", this);
23-
2419
/// <summary>
2520
/// Gets the "connectionString" secret output reference from the bicep template for the Azure Postgres Flexible Server.
2621
/// </summary>

src/Aspire.Hosting.Azure.Redis/AzureRedisResource.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ public class AzureRedisResource(RedisResource innerResource, Action<AzureResourc
1616
{
1717
private readonly RedisResource _innerResource = innerResource ?? throw new ArgumentNullException(nameof(innerResource));
1818

19-
/// <summary>
20-
/// Gets the "name" output reference for the resource.
21-
/// </summary>
22-
public BicepOutputReference NameOutputReference => new("name", this);
23-
2419
/// <summary>
2520
/// Gets the "connectionString" output reference from the bicep template for the Azure Redis resource.
2621
/// </summary>

src/Aspire.Hosting.Azure/AzureUserAssignedIdentityResource.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ namespace Aspire.Hosting.Azure;
1313
public sealed class AzureUserAssignedIdentityResource(string name)
1414
: AzureProvisioningResource(name, ConfigureAppIdentityInfrastructure), IAppIdentityResource
1515
{
16-
/// <summary>
17-
/// Gets the "name" output reference for the resource.
18-
/// </summary>
19-
public BicepOutputReference NameOutputReference => new("name", this);
20-
2116
/// <summary>
2217
/// The identifier associated with the user assigned identity.
2318
/// </summary>

0 commit comments

Comments
 (0)