123 references to AzureAuthenticationHelpers
Aspire.Deployment.EndToEnd.Tests (123)
AcaCompactNamingDeploymentTests.cs (4)
50var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 56if (!AzureAuthenticationHelpers.IsAzureAuthAvailable()) 204var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 210if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaCompactNamingUpgradeDeploymentTests.cs (2)
36var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 42if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaCustomRegistryDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaDeploymentErrorOutputTests.cs (2)
39var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 45if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaExistingRegistryDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaManagedRedisDeploymentTests.cs (2)
35var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 41if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcaStarterDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AcrPurgeTaskDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksAzureKubernetesEnvironmentCertManagerDeploymentTests.cs (2)
44var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 50if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksAzureKubernetesEnvironmentCertManagerTypeScriptDeploymentTests.cs (2)
47var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 53if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksAzureKubernetesEnvironmentGatewayDeploymentTests.cs (2)
38var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 44if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksBlazorRedisDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksMultipleNodePoolsDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksPersistentVolumeDeploymentTests.cs (2)
28var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 34if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksStarterDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksStarterWithRedisHelmDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksVnetInfraDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksVnetWithAzureResourcesDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksWithAzureResourcesDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AksWithHelmChartDeploymentTests.cs (2)
39var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 45if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AppServicePythonDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AppServiceReactDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AppServiceStoragePrivateEndpointDeploymentTests.cs (2)
29var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 35if (!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)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureConnectorNamespaceDeploymentTests.cs (2)
47var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 53if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureContainerRegistryDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureEventHubsDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureKeyVaultDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureLogAnalyticsDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureResourceScopeDeploymentTests.cs (2)
30var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 36if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureRoleAssignmentRunModeTests.cs (3)
43var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 49if (!AzureAuthenticationHelpers.IsAzureAuthAvailable()) 64var tenantId = AzureAuthenticationHelpers.GetTenantId();
AzureSandboxesDeploymentTests.cs (2)
650var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 656if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureServiceBusDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureStorageDeploymentTests.cs (4)
44var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 50if (!AzureAuthenticationHelpers.IsAzureAuthAvailable()) 198var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 204if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
AzureStorageRunModeTests.cs (3)
31var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 37if (!AzureAuthenticationHelpers.IsAzureAuthAvailable()) 52var tenantId = AzureAuthenticationHelpers.GetTenantId();
FoundryHostedAgentDeploymentTests.cs (6)
56var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 62if (!AzureAuthenticationHelpers.IsAzureAuthAvailable()) 152var credential = AzureAuthenticationHelpers.GetAzureCredential(); 303$"/subscriptions/{AzureAuthenticationHelpers.GetSubscriptionId()}/providers/Microsoft.Authorization/roleDefinitions/7ca78c08-252a-4471-8644-bb5ff32d4ba0", 689var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 695if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
FrontDoorDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
Helpers\DeploymentReporter.cs (2)
62var azurePortalUrl = $"https://portal.azure.com/#@/resource/subscriptions/{AzureAuthenticationHelpers.TryGetSubscriptionId()}/resourceGroups/{resourceGroupName}/overview"; 127var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId();
KubernetesGatewayTlsDeploymentTests.cs (2)
38var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 44if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
KubernetesHelmChartDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
NspStorageKeyVaultDeploymentTests.cs (2)
33var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 39if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
PythonFastApiDeploymentTests.cs (2)
34var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 40if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
RadiusStarterDeploymentTests.cs (2)
46var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 52if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
TypeScriptAzureContainerAppJobDeploymentTests.cs (2)
30var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 36if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
TypeScriptExpressDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
TypeScriptJavaScriptHostingDeploymentTests.cs (2)
30var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 36if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
TypeScriptVnetSqlServerInfraDeploymentTests.cs (2)
32var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 38if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetKeyVaultConnectivityDeploymentTests.cs (2)
31var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 37if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetKeyVaultInfraDeploymentTests.cs (2)
31var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 37if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetSqlServerConnectivityDeploymentTests.cs (2)
36var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 42if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetSqlServerInfraDeploymentTests.cs (2)
31var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 37if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetStorageBlobConnectivityDeploymentTests.cs (2)
31var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 37if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())
VnetStorageBlobInfraDeploymentTests.cs (2)
31var subscriptionId = AzureAuthenticationHelpers.TryGetSubscriptionId(); 37if (!AzureAuthenticationHelpers.IsAzureAuthAvailable())