72 references to Disabled
Aspire.Hosting (6)
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.Kusto (2)
Aspire.Hosting.Azure.Tests (13)
AzureEnvironmentResourceExtensionsTests.cs (13)
1422AssertCommandState(storageEvent.Snapshot, AzureProvisioningController.ChangeResourceLocationCommandName, ResourceCommandState.Disabled);
1425AssertCommandState(storageEvent.Snapshot, AzureProvisioningController.DeleteAzureResourceCommandName, ResourceCommandState.Disabled);
1426AssertCommandState(storageEvent.Snapshot, AzureProvisioningController.ForgetStateCommandName, ResourceCommandState.Disabled);
1427AssertCommandState(storageEvent.Snapshot, AzureProvisioningController.ReprovisionResourceCommandName, ResourceCommandState.Disabled);
1972Assert.All(environmentEvent.Snapshot.Commands, command => Assert.Equal(ResourceCommandState.Disabled, command.State));
2247Assert.All(environmentEvent.Snapshot.Commands, command => Assert.Equal(ResourceCommandState.Disabled, command.State));
2307Assert.All(environmentEvent.Snapshot.Commands, command => Assert.Equal(ResourceCommandState.Disabled, command.State));
2479AssertCommandState(storageEvent.Snapshot, AzureProvisioningController.CancelCommandName, ResourceCommandState.Disabled);
2727Assert.All(environmentEvent.Snapshot.Commands, command => Assert.Equal(ResourceCommandState.Disabled, command.State));
5034AssertCommandState(snapshot, AzureProvisioningController.ChangeResourceLocationCommandName, ResourceCommandState.Disabled);
5037AssertCommandState(snapshot, AzureProvisioningController.DeleteAzureResourceCommandName, ResourceCommandState.Disabled);
5038AssertCommandState(snapshot, AzureProvisioningController.ForgetStateCommandName, ResourceCommandState.Disabled);
5039AssertCommandState(snapshot, AzureProvisioningController.ReprovisionResourceCommandName, ResourceCommandState.Disabled);
Aspire.Hosting.Blazor (1)
Aspire.Hosting.Blazor.Tests (5)
Aspire.Hosting.Browsers (4)
Aspire.Hosting.Browsers.Tests (6)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.DevTunnels.Tests (2)
Aspire.Hosting.EntityFrameworkCore (1)
Aspire.Hosting.EntityFrameworkCore.Tests (2)
Aspire.Hosting.Tests (26)
ResourceCommandAnnotationTests.cs (24)
13[InlineData("start", "Starting", ResourceCommandState.Disabled)]
21[InlineData("start", "Building", ResourceCommandState.Disabled)]
22[InlineData("start", "RuntimeUnhealthy", ResourceCommandState.Disabled)]
23[InlineData("start", "", ResourceCommandState.Disabled)]
24[InlineData("start", null, ResourceCommandState.Disabled)]
26[InlineData("stop", "Stopping", ResourceCommandState.Disabled)]
37[InlineData("restart", "Starting", ResourceCommandState.Disabled)]
38[InlineData("restart", "Stopping", ResourceCommandState.Disabled)]
40[InlineData("restart", "Exited", ResourceCommandState.Disabled)]
41[InlineData("restart", "Finished", ResourceCommandState.Disabled)]
42[InlineData("restart", "FailedToStart", ResourceCommandState.Disabled)]
43[InlineData("restart", "Unknown", ResourceCommandState.Disabled)]
44[InlineData("restart", "Waiting", ResourceCommandState.Disabled)]
45[InlineData("restart", "Building", ResourceCommandState.Disabled)]
46[InlineData("restart", "RuntimeUnhealthy", ResourceCommandState.Disabled)]
47[InlineData("restart", "", ResourceCommandState.Disabled)]
48[InlineData("restart", null, ResourceCommandState.Disabled)]
120[InlineData("rebuild", "Starting", ResourceCommandState.Disabled)]
121[InlineData("rebuild", "Stopping", ResourceCommandState.Disabled)]
126[InlineData("rebuild", "Unknown", ResourceCommandState.Disabled)]
128[InlineData("rebuild", "RuntimeUnhealthy", ResourceCommandState.Disabled)]
129[InlineData("rebuild", "Building", ResourceCommandState.Disabled)]
130[InlineData("rebuild", "", ResourceCommandState.Disabled)]
131[InlineData("rebuild", null, ResourceCommandState.Disabled)]