Skip to content

Commit

Permalink
Added BlobProperties field to BlobPrefix in listblob response (#23801)
Browse files Browse the repository at this point in the history
* Added Owner,Group,Permissions,Acl,ResourceType in ListBlob Response

* Added property field to BlobPrefix

* added changelog

* resolved comments

* Changelog

* fixes

* remove unwanted change

* reverting unwanted changes
  • Loading branch information
ashruti-msft authored Dec 31, 2024
1 parent bcb396b commit 8feeabd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
3 changes: 2 additions & 1 deletion sdk/storage/azblob/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## 1.5.1 (Unreleased)

### Features Added
* Added permissions & resourcetype parameters in listblob response.
* Added BlobProperties field in BlobPrefix definition in listblob response.

### Breaking Changes

Expand All @@ -15,7 +17,6 @@

### Features Added
* Fix compareHeaders custom sorting algorithm for String To Sign.
* Added permissions & resourcetype parameters in listblob response.

## 1.5.0-beta.1 (2024-10-22)

Expand Down
22 changes: 17 additions & 5 deletions sdk/storage/azblob/internal/generated/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,38 @@ export-clients: true
use: "@autorest/go@4.0.0-preview.65"
```
### Add a Properties field to the BlobPrefix definition
```yaml
directive:
- from: swagger-document
where: $.definitions
transform: >
$.BlobPrefix.properties["Properties"] = {
"type": "object",
"$ref": "#/definitions/BlobPropertiesInternal"
};
```
### Add Owner,Group,Permissions,Acl,ResourceType in ListBlob Response
``` yaml
directive:
- from: swagger-document
where: $.definitions
transform: >
$.BlobPropertiesInternal.properties["Owner"] = {
"type" : "string",
"type" : "string",
};
$.BlobPropertiesInternal.properties["Group"] = {
"type" : "string",
"type" : "string",
};
$.BlobPropertiesInternal.properties["Permissions"] = {
"type" : "string",
"type" : "string",
};
$.BlobPropertiesInternal.properties["Acl"] = {
"type" : "string",
"type" : "string",
};
$.BlobPropertiesInternal.properties["ResourceType"] = {
"type" : "string",
"type" : "string",
};
```
Expand Down
3 changes: 3 additions & 0 deletions sdk/storage/azblob/internal/generated/zz_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8feeabd

Please # to comment.