1 write to _environment
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
217_environment = environment;
26 references to _environment
Aspire.Hosting.Radius (26)
Publishing\RadiusInfrastructureBuilder.cs (26)
240var envIdentifier = BicepPostProcessor.SanitizeIdentifier(_environment.Name); 305var secretStoresAnnotation = _environment.Annotations 572foreach (var existing in _environment.Annotations.OfType<RadiusDeployParametersAnnotation>().ToList()) 574_environment.Annotations.Remove(existing); 588_environment.Annotations.Add(new RadiusDeployParametersAnnotation( 1745var targetComputeEnvironment = _environment.OwningComputeEnvironment ?? _environment; 1775construct.EnvironmentName = _environment.Name; 1776construct.KubernetesNamespace = _environment.Namespace; 1784var annotation = _environment.Annotations 1811var annotation = _environment.Annotations 2005construct.EnvironmentName = _environment.Name; 2007construct.ComputeNamespace = _environment.Namespace; 3356$"Resource '{resource.Name}' is deployed by a Radius recipe in a different environment than '{_environment.Name}', " + 4888ResolveHostExpression(((IComputeEnvironmentResource)_environment).GetEndpointPropertyExpression(endpointReference.Property(EndpointProperty.Url))); 4891ResolveHostExpression(((IComputeEnvironmentResource)_environment).GetEndpointPropertyExpression(endpointReferenceExpression)); 4928var callbacks = _environment.Annotations 5275var annotation = _environment.Annotations 5496var providers = _environment.Annotations 5515new($"A recipe parameter on Radius environment '{_environment.Name}' references {cloud} provider " + 5524var annotation = _environment.Annotations 5541resourceType, _environment.Name); 5558(s.Scope == RadiusSecretStoreScope.Environment && ReferenceEquals(s.OwningEnvironment, _environment)) 5616var annotation = _environment.Annotations 5701$"Environment '{_environment.Name}' references secret store '{store.Name}', but that store is not " + 5771var defaultNamespace = store.OwningEnvironment?.Namespace ?? _environment.Namespace;