12 references to DeploymentStateIdKey
Aspire.Hosting.Azure (4)
Provisioning\Provisioners\BicepProvisioner.cs (4)
115if (stateSection.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>() is { Length: > 0 } configuredDeploymentId && 183stateSection.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>() is not { Length: > 0 } deploymentId || 851var cachedDeploymentId = stateSection.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>(); 1332stateSection.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId.ToString();
Aspire.Hosting.Azure.Tests (8)
AzureBicepProvisionerTests.cs (6)
1435Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1595Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1676Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1705Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1789Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1846section.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId;
AzureEnvironmentResourceExtensionsTests.cs (2)
1505storageSection.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId; 4816storageSection.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId;