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

[Feature]: Support the parameter DestBlobType on Start-AzStorageBlobCopy #25149

Open
ld0614 opened this issue Jun 12, 2024 · 2 comments
Open
Labels
customer-reported feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team. Storage

Comments

@ld0614
Copy link

ld0614 commented Jun 12, 2024

Description of the new feature

Currently Copy-AzStorageBlob has the parameter DestBlobType which enables the conversion of page blobs to block blobs and vice versa.

Due to a bug in Copy-AzStorageBlob (#25105) it is currently only possible to migrate between page and block blobs synchronously. While -AsJob will be fixed, it would be nice if there was feature parity between these 2 cmdlets.

The parameter is useful when converting VM disks into block blobs. We use this to archive old VMs in a cost effective way by storing them in archival storage. As page blobs can't be archived we must first convert them to block blobs.

Proposed implementation details (optional)

Implement it the same way that Copy-AzStorageBlob does it (if possible)

@ld0614 ld0614 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 Jun 12, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team. and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jun 12, 2024
@yifanz7
Copy link
Member

yifanz7 commented Jun 13, 2024

@ld0614 Unfortunately currently the async copy blob rest api doesn't support DestBlobType parameter. Therefore, the PSH cmdlet is not able to support it. Please find more details in https://learn.microsoft.com/en-us/rest/api/storageservices/copy-blob?tabs=microsoft-entra-id

@dolauli dolauli added Storage Service Attention This issue is responsible by Azure service team. and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jun 20, 2024
Copy link
Contributor

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

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. Service Attention This issue is responsible by Azure service team. Storage
Projects
None yet
Development

No branches or pull requests

3 participants