14 references to GetAzureResourceCommandName
Aspire.Hosting.Azure (3)
AzureProvisioningController.cs (2)
211
GetAzureResourceCommandName
,
2484
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)
675
Assert.Contains(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
710
AssertCommandState(keyVaultEvent.Snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);
827
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
842
Assert.Equal(AzureProvisioningController.
GetAzureResourceCommandName
, data["command"]?.GetValue<string>());
911
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1180
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1244
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1305
var getResourceCommand = Assert.Single(storage.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == AzureProvisioningController.
GetAzureResourceCommandName
);
1423
AssertCommandState(storageEvent.Snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);
5035
AssertCommandState(snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);
5045
AssertCommandState(snapshot, AzureProvisioningController.
GetAzureResourceCommandName
, ResourceCommandState.Enabled);