Object Replication - List Blobs Item Properties #12609
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See/Related to PR #11909
Object Replication for List Blobs Item Properties
This PR enables users to retrieve a dictionary that contains the details of the Object Replication Metadata (OrMetadata) applied to the source blob when calling List/Get Blobs. The dictionary is formatted as so Dictionary< policy_id, Dictionary < rule_id, status of replication(Complete,Failed) >(e.g. { policy_id1, { {rule_id1, Complete}, {rule_id2, Complete} }; {policy_id2, { {rule_id3, Complete} };..).
Also comments were updated from the last PR to better help understand how the Dictionary is formatted.
TODO: There's a bug in the generator where if the XML name is set in the main properties object, it will default taking the name of the object as the XML tag to look for, instead of looking at the reference object where it has the XML name defined. There's a transform in this PR to work around this for now.