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);
1201
? (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location
1804
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
1916
var azureContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2037
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2218
var currentContext = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2262
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2610
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2789
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
2897
return (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location;
3204
subscriptionId = (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).SubscriptionId;
3453
subscriptionId = (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).SubscriptionId;
3560
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
3674
var context = await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false);
4082
environmentLocation: (await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false)).Location,
4298
: BuildAzureEnvironmentProperties(await
GetCurrentAzureContextAsync
(cancellationToken).ConfigureAwait(false));