11 references to SubscriptionIdName
Aspire.Hosting.Azure (8)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (5)
123Name = SubscriptionIdName, 138_options.SubscriptionId = result.Data[SubscriptionIdName].Value; 155Name = SubscriptionIdName, 167var subscriptionInput = validationContext.Inputs[SubscriptionIdName]; 179_options.SubscriptionId = manualResult.Data[SubscriptionIdName].Value;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (3)
137new InteractionInput { Name = SubscriptionIdName, InputType = InputType.SecretText, Label = AzureProvisioningStrings.SubscriptionIdLabel, Placeholder = AzureProvisioningStrings.SubscriptionIdPlaceholder, Required = true }, 145var subscriptionInput = validationContext.Inputs[SubscriptionIdName]; 165_options.SubscriptionId = result.Data[SubscriptionIdName].Value;
Aspire.Hosting.Azure.Tests (3)
ProvisioningContextProviderTests.cs (3)
287Assert.Equal(BaseProvisioningContextProvider.SubscriptionIdName, input.Name); 301inputsInteraction.Inputs[BaseProvisioningContextProvider.SubscriptionIdName].Value = "12345678-1234-1234-1234-123456789012"; 350inputsInteraction.Inputs[BaseProvisioningContextProvider.SubscriptionIdName].Value = "not a guid";