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