8 implementations of GetDeploymentAsync
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultArmClientProvider.cs (1)
334
public async Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Tests (7)
AzureEnvironmentResourceExtensionsTests.cs (6)
5313
public Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
5859
public Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
5952
public Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
6021
public Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
6089
public Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
6153
public Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
ProvisioningTestHelpers.cs (1)
419
public Task<AzureDeploymentState?>
GetDeploymentAsync
(string deploymentId, CancellationToken cancellationToken = default)
4 references to GetDeploymentAsync
Aspire.Hosting.Azure (3)
Provisioning\Provisioners\BicepProvisioner.cs (3)
199
deployment = await context.ArmClient.
GetDeploymentAsync
(deploymentId, cancellationToken).ConfigureAwait(false);
291
latestDeployment = await context.ArmClient.
GetDeploymentAsync
(deploymentId, cancellationToken).ConfigureAwait(false);
874
deployment = await context.ArmClient.
GetDeploymentAsync
(deploymentId.ToString(), cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (1)
DefaultArmClientProviderTests.cs (1)
154
var deployment = await armClient.
GetDeploymentAsync
(RootDeploymentId, CancellationToken.None);