Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for storage failover #1141

Merged
merged 1 commit into from
May 5, 2023
Merged

Conversation

dhageman
Copy link
Contributor

  • Added state of 'failover' to azure_rm_storageaccount to perform storage failover operations on storage accounts which support it.
  • azure_rm_storageaccount_info will now return properties associated with storage replication on storage accounts which support it.
SUMMARY

This pull request adds support for failing a storage account over to its secondary on accounts that support the operation. It also adds parameters related to monitoring the status of replication to azure_rm_storageaccount_info.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
  • Storage account failover can take a significant amount of time (i.e. up to a hour).
  • Code tries to always return useful information to the ansible consumer.
  • Consideration was made on how to use these features to implement disaster recovery scenarios.

- Added state of 'failover' to azure_rm_storageaccount to perform
  storage failover operations on storage accounts which support it.
- azure_rm_storageaccount_info will now return properties associated
  with storage replication on storage accounts which support it.
@Fred-sun Fred-sun added ready_for_review The PR has been modified and can be reviewed and merged medium_priority Medium priority enhancement New feature or request labels Apr 12, 2023
@xuzhang3
Copy link
Collaborator

xuzhang3 commented May 5, 2023

@dhageman LGTM

@xuzhang3 xuzhang3 merged commit 7db8672 into ansible-collections:dev May 5, 2023
@dhageman dhageman deleted the storage branch November 12, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium_priority Medium priority ready_for_review The PR has been modified and can be reviewed and merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants