12 references to DeploymentStateIdKey
Aspire.Hosting.Azure (4)
Provisioning\Provisioners\BicepProvisioner.cs (4)
116
if (stateSection.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>() is { Length: > 0 } configuredDeploymentId &&
184
stateSection.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>() is not { Length: > 0 } deploymentId ||
857
var cachedDeploymentId = stateSection.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>();
1338
stateSection.Data[BicepUtilities.
DeploymentStateIdKey
] = deploymentId.ToString();
Aspire.Hosting.Azure.Tests (8)
AzureBicepProvisionerTests.cs (6)
1536
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1696
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1777
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1806
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1890
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1947
section.Data[BicepUtilities.
DeploymentStateIdKey
] = deploymentId;
AzureEnvironmentResourceExtensionsTests.cs (2)
1804
storageSection.Data[BicepUtilities.
DeploymentStateIdKey
] = deploymentId;
5115
storageSection.Data[BicepUtilities.
DeploymentStateIdKey
] = deploymentId;