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

Azure sdk update #6544

Merged
merged 21 commits into from
Mar 18, 2021
Merged

Azure sdk update #6544

merged 21 commits into from
Mar 18, 2021

Conversation

logachev
Copy link
Collaborator

@logachev logachev commented Mar 17, 2021

Moves c7n_azure to the new Azure SDKs (Track2) to ensure we can get latest libraries for the next release.

Major changes:

  • Session is updated to use new Azure Credentials. There is a legacy-compatible method for SDKs that are still Track 1 (mgmt-msi and graph)
  • Storage Utils implement 2 adapters to minimize amount of changes in c7n code. They wrap new Storage clients with old interface.
  • Naming was changed for within Azure SDKs
    • LROPoller methods have begin_ prefix
    • Some clients\libraries\methods were renamed
    • Parameters name changes (credentials -> credential)

closes #6459
closes #6458

@logachev logachev requested a review from kapilt as a code owner March 17, 2021 16:44
@stefangordon
Copy link
Collaborator

🤞

@logachev logachev merged commit 5de00f6 into master Mar 18, 2021
@logachev logachev deleted the azure_sdk_update branch March 25, 2021 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

azure - migrate azure-mgmt-web to 1.0.0 azure - migrate to azure-keyvault 4.x package
2 participants