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