Skip to content

Commit 1121b4b

Browse files
authored
Remove AzureContainerAppEnvironmentResource BicepOutputReferences from public API (#8529)
These properties may change over time or be moved in the future. We don't want to expose them just yet. Will expose later if they need to be public. Contributes to #7811
1 parent 356d260 commit 1121b4b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppEnvironmentResource.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,42 @@ public class AzureContainerAppEnvironmentResource(string name, Action<AzureResou
1616
/// <summary>
1717
/// Gets the unique identifier of the Container App Environment.
1818
/// </summary>
19-
public BicepOutputReference ContainerAppEnvironmentId => new("AZURE_CONTAINER_APPS_ENVIRONMENT_ID", this);
19+
private BicepOutputReference ContainerAppEnvironmentId => new("AZURE_CONTAINER_APPS_ENVIRONMENT_ID", this);
2020

2121
/// <summary>
2222
/// Gets the default domain associated with the Container App Environment.
2323
/// </summary>
24-
public BicepOutputReference ContainerAppDomain => new("AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN", this);
24+
private BicepOutputReference ContainerAppDomain => new("AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN", this);
2525

2626
/// <summary>
2727
/// Gets the URL endpoint of the associated Azure Container Registry.
2828
/// </summary>
29-
public BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this);
29+
private BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this);
3030

3131
/// <summary>
3232
/// Gets the managed identity ID associated with the Azure Container Registry.
3333
/// </summary>
34-
public BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this);
34+
private BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this);
3535

3636
/// <summary>
3737
/// Gets the unique identifier of the Log Analytics workspace.
3838
/// </summary>
39-
public BicepOutputReference LogAnalyticsWorkspaceId => new("AZURE_LOG_ANALYTICS_WORKSPACE_ID", this);
39+
private BicepOutputReference LogAnalyticsWorkspaceId => new("AZURE_LOG_ANALYTICS_WORKSPACE_ID", this);
4040

4141
/// <summary>
4242
/// Gets the principal name of the managed identity.
4343
/// </summary>
44-
public BicepOutputReference PrincipalName => new("MANAGED_IDENTITY_NAME", this);
44+
private BicepOutputReference PrincipalName => new("MANAGED_IDENTITY_NAME", this);
4545

4646
/// <summary>
4747
/// Gets the principal ID of the managed identity.
4848
/// </summary>
49-
public BicepOutputReference PrincipalId => new("MANAGED_IDENTITY_PRINCIPAL_ID", this);
49+
private BicepOutputReference PrincipalId => new("MANAGED_IDENTITY_PRINCIPAL_ID", this);
5050

5151
/// <summary>
5252
/// Gets the name of the Container App Environment.
5353
/// </summary>
54-
public BicepOutputReference ContainerAppEnvironmentName => new("AZURE_CONTAINER_APPS_ENVIRONMENT_NAME", this);
54+
private BicepOutputReference ContainerAppEnvironmentName => new("AZURE_CONTAINER_APPS_ENVIRONMENT_NAME", this);
5555

5656
internal Dictionary<string, BicepOutputReference> VolumeNames { get; } = [];
5757

0 commit comments

Comments
 (0)