59 references to AzureAuthenticationHelpers
Aspire.Deployment.EndToEnd.Tests (59)
AcaCompactNamingDeploymentTests.cs (2)
37var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 43if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaCompactNamingUpgradeDeploymentTests.cs (2)
36var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 42if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaCustomRegistryDeploymentTests.cs (2)
35var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 41if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaDeploymentErrorOutputTests.cs (2)
39var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 45if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaExistingRegistryDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaManagedRedisDeploymentTests.cs (2)
35var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 41if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaStarterDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksStarterDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksStarterWithRedisDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AppServicePythonDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AppServiceReactDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AuthenticationTests.cs (7)
18var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 45var isAuthAvailable = AzureAuthenticationHelpers.IsAzureAuthAvailable(); 75if (AzureAuthenticationHelpers.IsOidcConfigured()) 77var clientId = AzureAuthenticationHelpers.GetClientId(); 89var rgName = AzureAuthenticationHelpers.GenerateResourceGroupName("TestScenario"); 94Assert.StartsWith(AzureAuthenticationHelpers.GetResourceGroupPrefix(), rgName);
AzureAppConfigDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureContainerRegistryDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureEventHubsDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureKeyVaultDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureLogAnalyticsDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureServiceBusDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureStorageDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
Helpers\DeploymentReporter.cs (2)
57var azurePortalUrl = $"https://portal.azure.com/#@/resource/subscriptions/{AzureAuthenticationHelpers.TryGetSubscriptionId()}/resourceGroups/{resourceGroupName}/overview"; 113var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId();
PythonFastApiDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetKeyVaultConnectivityDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetKeyVaultInfraDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetSqlServerConnectivityDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetSqlServerInfraDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetStorageBlobConnectivityDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetStorageBlobInfraDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())