Skip to content

Commit 5607f22

Browse files
Updated verbose status log in deployment stacks deployment. (#26681)
* Updated verbose status log in deployment stacks deployment. * Update ChangeLog.md --------- Co-authored-by: Dante DG <test> Co-authored-by: Yabo Hu <[email protected]>
1 parent c8dcd4c commit 5607f22

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Resources/ResourceManager/SdkClient/DeploymentStacksSdkClient.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,6 @@ private DeploymentStack waitStackCompletion(Func<Task<AzureOperationResponse<Dep
930930
bool deploymentOperationFlag = true;
931931
do
932932
{
933-
WriteVerbose(string.Format("Checking stack deployment status", step));
934933
TestMockSupport.Delay(step * counterUnit);
935934

936935
if (phaseOne > 0)
@@ -959,6 +958,8 @@ private DeploymentStack waitStackCompletion(Func<Task<AzureOperationResponse<Dep
959958
PollDeployments(stack);
960959
}
961960

961+
WriteVerbose("stack deployment status: " + stack.ProvisioningState);
962+
962963
} while (!status.Any(s => s.Equals(stack.ProvisioningState, StringComparison.OrdinalIgnoreCase)));
963964

964965
return stack;

src/Resources/Resources/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
## Upcoming Release
2222
* Updated Resources SDK to 2024-07-01.
2323
* Fixed overriding of Bicep parameters in Deployment Stack cmdlets to support SecureString parameters.
24+
* Updated verbose status log during stack deployments to show deployment status.
2425

2526
## Version 7.6.0
2627
* Fixed customer-reported `Remove-AzPolicyAssignment` behavior.

0 commit comments

Comments
 (0)