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