2 implementations of GetSubscriptionAndTenantAsync
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultArmClientProvider.cs (1)
23public async Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Tests (1)
ProvisioningTestHelpers.cs (1)
113public Task<(ISubscriptionResource subscription, ITenantResource tenant)> GetSubscriptionAndTenantAsync(CancellationToken cancellationToken = default)
2 references to GetSubscriptionAndTenantAsync
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultProvisioningContextProvider.cs (1)
200var (subscriptionResource, tenantResource) = await armClient.GetSubscriptionAndTenantAsync(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (1)
ProvisioningContextTests.cs (1)
98var (subscription, tenant) = await context.ArmClient.GetSubscriptionAndTenantAsync();