12 writes to TenantId
Aspire.Hosting.Azure (3)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (2)
176
_options.
TenantId
= result.Data[TenantName].Value;
211
_options.
TenantId
= manualResult.Data[TenantName].Value;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
313
_options.
TenantId
= tenantInput.Value;
Aspire.Hosting.Azure.Tests (9)
DefaultTokenCredentialProviderTests.cs (9)
193
TenantId
= "tenant-1"
208
azureOptions.
TenantId
= "tenant-2";
225
TenantId
= "tenant-1"
252
TenantId
= null
267
azureOptions.
TenantId
= "70a036f6-8e4d-4615-bad6-149c02e7720d";
284
TenantId
= "tenant-1"
300
azureOptions.
TenantId
= "tenant-2";
317
TenantId
= "tenant-1"
329
azureOptions.
TenantId
= "tenant-2";
7 references to TenantId
Aspire.Hosting.Azure (7)
Provisioning\Internal\BaseProvisioningContextProvider.cs (3)
168
if (!string.IsNullOrEmpty(_options.
TenantId
))
170
azureSection["TenantId"] = _options.
TenantId
;
271
return await TryGetSubscriptionsAsync(_options.
TenantId
, cancellationToken).ConfigureAwait(false);
Provisioning\Internal\DefaultTokenCredentialProvider.cs (1)
36
var currentTenantId = _options.Value.
TenantId
;
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (3)
87
if (_options.
TenantId
== null && _options.SubscriptionId == null)
90
if (_options.
TenantId
== null)
232
(subscriptionOptions, fetchSucceeded) = await TryGetSubscriptionsAsync(_options.
TenantId
, cancellationToken).ConfigureAwait(false);