12 references to DeploymentStateIdKey
Aspire.Hosting.Azure (4)
Provisioning\Provisioners\BicepProvisioner.cs (4)
119if (stateSection.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>() is { Length: > 0 } configuredDeploymentId && 187stateSection.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>() is not { Length: > 0 } deploymentId || 855var cachedDeploymentId = stateSection.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>(); 1336stateSection.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId.ToString();
Aspire.Hosting.Azure.Tests (8)
AzureBicepProvisionerTests.cs (6)
1438Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1598Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1679Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1708Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1792Assert.Equal(deploymentId, section.Data[BicepUtilities.DeploymentStateIdKey]?.GetValue<string>()); 1849section.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId;
AzureEnvironmentResourceExtensionsTests.cs (2)
1486storageSection.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId; 4797storageSection.Data[BicepUtilities.DeploymentStateIdKey] = deploymentId;