19 references to GetCurrentAzureContextAsync
Aspire.Hosting.Azure (19)
AzureProvisioningController.cs (19)
409
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
437
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
470
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
499
var currentContext = await controller.
GetCurrentAzureContextAsync
(context.CancellationToken).ConfigureAwait(false);
1221
? (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location
1824
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
1944
var azureContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2093
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2277
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2321
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2669
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2848
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2956
return (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location;
3263
subscriptionId = (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).SubscriptionId;
3512
subscriptionId = (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).SubscriptionId;
3619
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
3733
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
4150
environmentLocation: (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location,
4391
: BuildAzureEnvironmentProperties(await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false));