18 references to GetCurrentAzureContextAsync
Aspire.Hosting.Azure (18)
AzureProvisioningController.cs (18)
387
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
415
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
448
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
477
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
1156
? (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location
1759
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
1942
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2122
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2166
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2492
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2671
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2771
return (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location;
3078
subscriptionId = (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).SubscriptionId;
3327
subscriptionId = (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).SubscriptionId;
3434
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
3543
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
3951
environmentLocation: (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location,
4167
: BuildAzureEnvironmentProperties(await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false));