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