Skip to content

add more options in json file and explain filters#128285

Open
ybtDimo wants to merge 1 commit intoMicrosoftDocs:mainfrom
ybtDimo:patch-2
Open

add more options in json file and explain filters#128285
ybtDimo wants to merge 1 commit intoMicrosoftDocs:mainfrom
ybtDimo:patch-2

Conversation

@ybtDimo
Copy link
Contributor

@ybtDimo ybtDimo commented Mar 6, 2026

No description provided.

@ybtDimo
Copy link
Contributor Author

ybtDimo commented Mar 6, 2026

@microsoft-github-policy-service agree

@prmerger-automator
Copy link
Contributor

@ybtDimo : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit adeabc6:

✅ Validation status: passed

File Status Preview URL Details
articles/storage/blobs/object-replication-overview.md ✅Succeeded

For more details, please refer to the build report.

@ttorble ttorble requested a review from Copilot March 6, 2026 15:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the object replication policy documentation to include additional JSON options and explain how to configure rule filters.

Changes:

  • Added metrics and priorityReplication fields to the sample policy JSON.
  • Introduced a new section describing filter customization with JSON examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"metrics": {
"enabled": false
},
"priorityReplication": "false",
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In JSON, booleans must not be quoted. Using "false" makes this a string value, which is very likely to be rejected by the ARM/API schema expecting a boolean. Change it to: "priorityReplication": false.

Suggested change
"priorityReplication": "false",
"priorityReplication": false,

Copilot uses AI. Check for mistakes.
"sourceAccount": "/subscriptions/<subscriptionId>/resourceGroups/<resource-group>/providers/Microsoft.Storage/storageAccounts/<storage-account>",
"destinationAccount": "/subscriptions/<subscriptionId>/resourceGroups/<resource-group>/providers/Microsoft.Storage/storageAccounts/<storage-account>",
"metrics": {
"enabled": false
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation on the enabled line uses a tab/misaligned whitespace compared to the rest of the JSON sample. Please normalize the indentation (spaces) so the sample is consistently formatted and easier to copy/paste.

Suggested change
"enabled": false
"enabled": false

Copilot uses AI. Check for mistakes.
}
}
```
#### Customs filters
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct the heading text from 'Customs filters' to 'Custom filters'.

Suggested change
#### Customs filters
#### Custom filters

Copilot uses AI. Check for mistakes.
}
```
#### Customs filters
It's possible to customize filters with differents options in JSON file
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct 'differents' to 'different' (grammar) to improve readability.

Suggested change
It's possible to customize filters with differents options in JSON file
It's possible to customize filters with different options in JSON file

Copilot uses AI. Check for mistakes.
Comment on lines +173 to +176
"prefixMatch": [
"b"
],
}
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example JSON is invalid due to the trailing comma after the array (line 175). Since this is documentation users will copy/paste, please make the snippet valid JSON (remove the trailing comma) and normalize indentation.

Suggested change
"prefixMatch": [
"b"
],
}
"prefixMatch": [
"b"
]
}

Copilot uses AI. Check for mistakes.
}
```

3. For ALL BLOBS
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid ALL CAPS in headings and add a short explanation of why 1601-01-01T00:00:00Z represents 'all blobs' (e.g., it's the minimum supported creation time). Without this, readers may treat it as an arbitrary magic value.

Suggested change
3. For ALL BLOBS
3. For all blobs
Use the minimum supported blob creation time so that all blobs are included:

Copilot uses AI. Check for mistakes.
@ttorble
Copy link
Contributor

ttorble commented Mar 6, 2026

@normesta

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants