12 references to ResourceGroupName
Aspire.Hosting.Azure (9)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (6)
214
Name =
ResourceGroupName
,
225
var resourceGroupInput = validationContext.Inputs[
ResourceGroupName
];
238
_options.ResourceGroup = result.Data[
ResourceGroupName
].Value;
271
Name =
ResourceGroupName
,
282
var resourceGroupInput = validationContext.Inputs[
ResourceGroupName
];
295
_options.ResourceGroup = manualResult.Data[
ResourceGroupName
].Value;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (3)
138
new InteractionInput { Name =
ResourceGroupName
, InputType = InputType.Text, Label = AzureProvisioningStrings.ResourceGroupLabel, Value = GetDefaultResourceGroupName() },
151
var resourceGroupInput = validationContext.Inputs[
ResourceGroupName
];
166
_options.ResourceGroup = result.Data[
ResourceGroupName
].Value;
Aspire.Hosting.Azure.Tests (3)
ProvisioningContextProviderTests.cs (3)
294
Assert.Equal(BaseProvisioningContextProvider.
ResourceGroupName
, input.Name);
302
inputsInteraction.Inputs[BaseProvisioningContextProvider.
ResourceGroupName
].Value = "rg-myrg";
351
inputsInteraction.Inputs[BaseProvisioningContextProvider.
ResourceGroupName
].Value = "invalid group";