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)
1505
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1665
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1746
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1775
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1859
Assert.Equal(deploymentId, section.Data[BicepUtilities.
DeploymentStateIdKey
]?.GetValue<string>());
1916
section.Data[BicepUtilities.
DeploymentStateIdKey
] = deploymentId;
AzureEnvironmentResourceExtensionsTests.cs (2)
1829
storageSection.Data[BicepUtilities.
DeploymentStateIdKey
] = deploymentId;
5140
storageSection.Data[BicepUtilities.
DeploymentStateIdKey
] = deploymentId;