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

Support storage lifecycle policy rule for versions #13852

Closed
TrymBeast opened this issue Dec 28, 2020 · 4 comments
Closed

Support storage lifecycle policy rule for versions #13852

TrymBeast opened this issue Dec 28, 2020 · 4 comments
Labels
customer-reported feature-request This issue requires a new behavior in the product in order be resolved. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. Storage

Comments

@TrymBeast
Copy link

Description of the new feature

As per documentation the Add-AzStorageAccountManagementPolicyAction cmdlet does not seems to support to create a policy action for versions, only for baseblobs and snapshots.

I would like to do something like:

Add-AzStorageAccountManagementPolicyAction -VersionAction Delete -daysAfterCreationGreaterThan 100
@TrymBeast TrymBeast added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Dec 28, 2020
@ghost ghost added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Dec 28, 2020
@blueww
Copy link
Member

blueww commented Dec 29, 2020

@TrymBeast

Thanks for raising the issue!
PowerShell depends on .net SDK, and .net SDK depends on swagger.
We will work on that after the storage swagger is updated to support blob version of Management Policy.

@dingmeng-xue dingmeng-xue added Service Attention This issue is responsible by Azure service team. Storage labels Jan 7, 2021
@ghost
Copy link

ghost commented Jan 7, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.

Issue Details

Description of the new feature

As per documentation the Add-AzStorageAccountManagementPolicyAction cmdlet does not seems to support to create a policy action for versions, only for baseblobs and snapshots.

I would like to do something like:

Add-AzStorageAccountManagementPolicyAction -VersionAction Delete -daysAfterCreationGreaterThan 100
Author: TrymBeast
Assignees: -
Labels:

Service Attention, Storage, customer-reported, feature-request, question

Milestone: -

@blueww
Copy link
Member

blueww commented Feb 22, 2021

We have already add the support with PR #14247
The change will be in the next PowerShell release.

@blueww blueww closed this as completed Feb 22, 2021
@blueww
Copy link
Member

blueww commented Mar 3, 2021

Azure PSH 5.6.0 is released with the change. (Az.Storage 3.4.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported feature-request This issue requires a new behavior in the product in order be resolved. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. Storage
Projects
None yet
Development

No branches or pull requests

3 participants