1 write to _endpointReferenceExpression
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxEndpointPropertyValueProvider.cs (1)
31
_endpointReferenceExpression
= endpointReferenceExpression;
10 references to _endpointReferenceExpression
Aspire.Hosting.Azure.Sandboxes (10)
AzureSandboxEndpointPropertyValueProvider.cs (10)
46
$"{{{_resource.Name}.endpoints.{
_endpointReferenceExpression
.Endpoint.EndpointName}.{
_endpointReferenceExpression
.Property.ToString().ToLowerInvariant()}}}";
81
_endpointReferenceExpression
.Endpoint.Resource
86
return
_endpointReferenceExpression
.Property switch
101
throw new InvalidOperationException($"Azure sandbox deployment state for resource '{_resource.TargetResource.Name}' endpoint '{
_endpointReferenceExpression
.Endpoint.EndpointName}' contains invalid URL '{url}'.");
104
return
_endpointReferenceExpression
.Property switch
113
_ => throw new InvalidOperationException($"The property '{
_endpointReferenceExpression
.Property}' is not supported for the endpoint '{
_endpointReferenceExpression
.Endpoint.EndpointName}'.")
118
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.");
124
throw new InvalidOperationException($"Endpoint '{
_endpointReferenceExpression
.Endpoint.EndpointName}' on resource '{_resource.TargetResource.Name}' is not exposed by the Azure sandbox deployment target.");