14 references to GetAzureResourceCommandName
Aspire.Hosting.Azure (3)
AzureProvisioningController.cs (2)
210
GetAzureResourceCommandName
,
2602
var json = await CreateCommandResultJsonAsync(
GetAzureResourceCommandName
, resourceName, cancellationToken).ConfigureAwait(false);
AzureProvisioningFailureDetails.cs (1)
241
Action("inspect-effective-location", $"Run '{AzureProvisioningController.
GetAzureResourceCommandName
}' to inspect the current effective location before retrying.")
Aspire.Hosting.Azure.Tests (11)
AzureEnvironmentResourceExtensionsTests.cs (11)
993
Assert.Contains(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1028
AssertCommandState(keyVaultEvent.Snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);
1145
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1160
Assert.Equal(AzureProvisioningController.
GetAzureResourceCommandName
, data["command"]?.GetValue<string>());
1229
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1498
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1562
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1623
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1741
AssertCommandState(storageEvent.Snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);
5365
AssertCommandState(snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);
5375
AssertCommandState(snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);