1 write to _environment
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
215_environment = environment;
26 references to _environment
Aspire.Hosting.Radius (26)
Publishing\RadiusInfrastructureBuilder.cs (26)
238var envIdentifier = BicepPostProcessor.SanitizeIdentifier(_environment.Name); 303var secretStoresAnnotation = _environment.Annotations 570foreach (var existing in _environment.Annotations.OfType<RadiusDeployParametersAnnotation>().ToList()) 572_environment.Annotations.Remove(existing); 586_environment.Annotations.Add(new RadiusDeployParametersAnnotation( 1743var targetComputeEnvironment = _environment.OwningComputeEnvironment ?? _environment; 1773construct.EnvironmentName = _environment.Name; 1774construct.KubernetesNamespace = _environment.Namespace; 1782var annotation = _environment.Annotations 1809var annotation = _environment.Annotations 2003construct.EnvironmentName = _environment.Name; 2005construct.ComputeNamespace = _environment.Namespace; 3354$"Resource '{resource.Name}' is deployed by a Radius recipe in a different environment than '{_environment.Name}', " + 4869ResolveHostExpression(((IComputeEnvironmentResource)_environment).GetEndpointPropertyExpression(endpointReference.Property(EndpointProperty.Url))); 4872ResolveHostExpression(((IComputeEnvironmentResource)_environment).GetEndpointPropertyExpression(endpointReferenceExpression)); 4909var callbacks = _environment.Annotations 5256var annotation = _environment.Annotations 5477var providers = _environment.Annotations 5496new($"A recipe parameter on Radius environment '{_environment.Name}' references {cloud} provider " + 5505var annotation = _environment.Annotations 5522resourceType, _environment.Name); 5539(s.Scope == RadiusSecretStoreScope.Environment && ReferenceEquals(s.OwningEnvironment, _environment)) 5597var annotation = _environment.Annotations 5682$"Environment '{_environment.Name}' references secret store '{store.Name}', but that store is not " + 5752var defaultNamespace = store.OwningEnvironment?.Namespace ?? _environment.Namespace;