1 write to _endpointReferenceExpression
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxEndpointPropertyValueProvider.cs (1)
36
_endpointReferenceExpression
= endpointReferenceExpression;
9 references to _endpointReferenceExpression
Aspire.Hosting.Azure.Sandboxes (9)
AzureSandboxEndpointPropertyValueProvider.cs (9)
41
$"{{{_resource.Name}.endpoints.{
_endpointReferenceExpression
.Endpoint.EndpointName}.{
_endpointReferenceExpression
.Property.ToString().ToLowerInvariant()}}}";
76
_endpointReferenceExpression
.Endpoint.Resource
81
return
_endpointReferenceExpression
.Property switch
96
throw new InvalidOperationException($"Azure sandbox deployment state for resource '{_resource.TargetResource.Name}' endpoint '{
_endpointReferenceExpression
.Endpoint.EndpointName}' contains invalid URL '{url}'.");
99
return
_endpointReferenceExpression
.Property switch
108
_ => throw new InvalidOperationException($"The property '{
_endpointReferenceExpression
.Property}' is not supported for the endpoint '{
_endpointReferenceExpression
.Endpoint.EndpointName}'.")
113
new($"Azure sandbox endpoint '{
_endpointReferenceExpression
.Endpoint.EndpointName}' on resource '{_resource.TargetResource.Name}' does not have a deployed URL yet. Runtime sandbox URLs cannot be used as first-pass Azure provisioning values; deploy the producing sandbox before resolving this reference.");