-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use disk API to load managed disk info when VM is stopped. (#1100)
* Use disk API to load managed disk info when VM is stopped. * Abstract the storage revise procedures according to the comments. * Add more status codes to check for deallocation. * Update managed disk information when flattening. * Add test case for disk info of a deallocated virtual machine * Fixing comments identified in the PR: ``` $ acctests azurerm TestAccAzureRMVirtualMachine_hasDiskInfoWhenStopped === RUN TestAccAzureRMVirtualMachine_hasDiskInfoWhenStopped --- PASS: TestAccAzureRMVirtualMachine_hasDiskInfoWhenStopped (729.95s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 729.986s ```
- Loading branch information
1 parent
1b508d4
commit 4cc1381
Showing
2 changed files
with
191 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters