-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Feature/storage/blob permanent delete #16229
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/storage/blob permanent delete #16229
Conversation
| public partial class BlobDeleteOptions | ||
| { | ||
| public BlobDeleteOptions() { } | ||
| public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get { throw null; } set { } } | ||
| public Azure.Storage.Blobs.Models.BlobDeleteType? DeleteType { get { throw null; } set { } } | ||
| public Azure.Storage.Blobs.Models.DeleteSnapshotsOption? SnapshotsOption { get { throw null; } set { } } | ||
| } | ||
| public enum BlobDeleteType | ||
| { | ||
| Permanent = 0, | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather make two options in BlobDeleteType instead of making DeleteType property optional. Otherwise why don't we use simple bool? (btw. I think BlobDeleteType has low risk of growing beyond two options, on the other hand it seems to enum on server side might be it's expected to grow)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect it will grow, since it is not a bool in the service.
|
Can we use a string enum for |
Done. |
| public DeleteSnapshotsOption? SnapshotsOption { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Optional. Specifies options for deleting blob snapshots. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy paste error for the field description
This reverts commit 5f99b8c.
No description provided.