Implemented interface member:
property
Parent
Aspire.Hosting.ApplicationModel.IResourceWithParent<T>.Parent
1 write to Parent
Aspire.Hosting.Azure.AIFoundry (1)
AzureAIFoundryDeploymentResource.cs (1)
34
Parent
= parent;
9 references to Parent
Aspire.Hosting.Azure.AIFoundry (6)
AzureAIFoundryDeploymentResource.cs (5)
94
public ReferenceExpression ConnectionStringExpression =>
Parent
.IsEmulator
95
? ReferenceExpression.Create($"{
Parent
};Model={ModelId ?? ModelName}")
96
: ReferenceExpression.Create($"{
Parent
};Deployment={DeploymentName}");
100
var model =
Parent
.IsEmulator ? ModelId ?? ModelName : DeploymentName;
101
return
Parent
.CombineProperties([
AzureAIFoundryExtensions.cs (1)
250
var foundryResource = builder.Resource.
Parent
;
Aspire.Hosting.Azure.Tests (3)
AzureAIFoundryDeploymentConnectionPropertiesTests.cs (2)
20
deployment.Resource.
Parent
.EmulatorServiceUri = new Uri("http://localhost:8080");
21
deployment.Resource.
Parent
.ApiKey = "OPENAI_KEY";
AzureAIFoundryExtensionsTests.cs (1)
111
Assert.True(deployment.
Parent
.IsEmulator);