Azure / azure-storage-php

Microsoft Azure Storage Library for PHP
MIT License
217 stars 198 forks source link

Can't delete Shares with snapshots #303

Open Karrtojal opened 3 years ago

Karrtojal commented 3 years ago

Which service(blob, file, queue, table) does this issue concern?

File

Which version of the SDK was used?

"microsoft/azure-storage-file": "*",

What's the PHP/OS version?

php 8.0.8

What problem was encountered?

Can't delete a Share when this share has snapshots

Steps to reproduce the issue?

global $fileRestProxy; $fileRestProxy->deleteShare($name);

Response: ERROR:409:Fail: Code: 409 Value: The share has snapshots and the operation requires no snapshots. details (if any): ShareHasSnapshots The share has snapshots and the operation requires no snapshots.

Have you found a mitigation/solution?

No

Is there a failing request ID related to this problem returned by server? What is it?

What is the storage account name and time frame of your last reproduce? (UTC YYYY/MM/DD hh:mm:ss)

2021/07/26 09:21:00

(If you think some of the information should not be shared publicly, you can e-mail the main Microsoft contributors of the repository instead.)