41 writes to Scope
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.EntraId.Tests (1)
Aspire.Hosting.Azure.Kubernetes (2)
Aspire.Hosting.Azure.Kubernetes.Tests (8)
Aspire.Hosting.Azure.Tests (27)
43 references to Scope
Aspire.Hosting.Azure (13)
Aspire.Hosting.Azure.EntraId (1)
Aspire.Hosting.Azure.Kubernetes (8)
Aspire.Hosting.Azure.Kubernetes.Tests (15)
AzureKubernetesEnvironmentExtensionsTests.cs (15)
652Assert.NotNull(roles.Scope);
692Assert.Equal("final-rg", provisioningRoles.Scope!.ResourceGroup);
732Assert.Null(roles.Scope);
825Assert.Same(scope, aks.Resource.ControlPlaneIdentity!.Scope);
826Assert.Same(scope, aks.Resource.KubeletIdentity!.Scope);
830Assert.Same(scope, operatorRole.Scope);
834Assert.Null(registryRole.Scope);
882Assert.Same(registry.Resource.Scope, roles.Scope);
917Assert.Same(registryScope, registry.Resource.Scope);
918Assert.Same(registryScope, registryRole.Scope);
920Assert.Same(networkScope, network.Resource.Scope);
921Assert.Same(networkScope, networkRole.Scope);
975Assert.Equal("network-rg", role.Scope!.ResourceGroup);
982Assert.Null(role.Scope);
Aspire.Hosting.Azure.Tests (6)