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