azure icon indicating copy to clipboard operation
azure copied to clipboard

Support storage account lifecycle management policies

Open emanueleaina opened this issue 1 year ago • 2 comments

SUMMARY

Let users set/update/delete a lifecycle management policy on storage accounts:

  • docs: https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-policy-configure?tabs=azure-portal
  • API: https://learn.microsoft.com/en-us/rest/api/storagerp/management-policies/create-or-update?view=rest-storagerp-2023-01-01&tabs=Python
ISSUE TYPE
  • Feature Idea
COMPONENT NAME

Maybe something like azure_rm_storageaccountmanagementpolicy?

ADDITIONAL INFORMATION

At the moment we are shelling out to the az storage account management-policy create command line, but it is definitely suboptimal. In particular, it does not support diff mode.

emanueleaina avatar Feb 20 '24 14:02 emanueleaina

@em- There is a life cycle management issue that is not deserializing the response data, and I am trying to figure out why. Thank you!

Fred-sun avatar Feb 29 '24 11:02 Fred-sun

@em- Support in #1536

Fred-sun avatar Apr 12 '24 14:04 Fred-sun