8 implementations of GetDeploymentAsync
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultArmClientProvider.cs (1)
335public async Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Tests (7)
AzureEnvironmentResourceExtensionsTests.cs (6)
5643public Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default) 6195public Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default) 6288public Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default) 6357public Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default) 6425public Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default) 6489public Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default)
ProvisioningTestHelpers.cs (1)
419public Task<AzureDeploymentState?> GetDeploymentAsync(string deploymentId, CancellationToken cancellationToken = default)
4 references to GetDeploymentAsync
Aspire.Hosting.Azure (3)
Provisioning\Provisioners\BicepProvisioner.cs (3)
196deployment = await context.ArmClient.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false); 288latestDeployment = await context.ArmClient.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false); 876deployment = await context.ArmClient.GetDeploymentAsync(deploymentId.ToString(), cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (1)
DefaultArmClientProviderTests.cs (1)
154var deployment = await armClient.GetDeploymentAsync(RootDeploymentId, CancellationToken.None);