7 instantiations of MissingConfigurationException
Aspire.Hosting.Azure (7)
AzureProvisioningController.cs (2)
664throw new MissingConfigurationException("Azure resource location can't be changed because the interaction service is unavailable."); 3083throw new MissingConfigurationException("Azure resources cannot be managed because the Azure subscription ID is missing or invalid.");
Provisioning\Internal\BaseProvisioningContextProvider.cs (2)
93var subscriptionId = _options.SubscriptionId ?? throw new MissingConfigurationException("An Azure subscription id is required. Set the Azure:SubscriptionId configuration value."); 111throw new MissingConfigurationException("An azure location/region is required. Set the Azure:Location configuration value.");
Provisioning\Internal\RunModeProvisioningContextProvider.cs (3)
77throw new MissingConfigurationException("Azure provisioning options can't be changed because the interaction service is unavailable."); 135throw new MissingConfigurationException("Azure provisioning options were not provided."); 181throw new MissingConfigurationException("Azure provisioning options were not provided.");
9 references to MissingConfigurationException
Aspire.Hosting.Azure (3)
AzureProvisioningController.cs (3)
1701=> ex is MissingConfigurationException || 3733catch (MissingConfigurationException) 4000catch (MissingConfigurationException ex)
Aspire.Hosting.Azure.Tests (6)
ProvisioningContextProviderTests.cs (6)
84var exception = await Assert.ThrowsAsync<MissingConfigurationException>( 120var exception = await Assert.ThrowsAsync<MissingConfigurationException>( 185var exception = await Assert.ThrowsAsync<MissingConfigurationException>(