Skip to content

Commit 0875cee

Browse files
committed
fixing an issue
1 parent 7bd8269 commit 0875cee

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

articles/storage/blobs/object-replication-configure.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,19 +318,25 @@ N/A
318318
## Configure replication metrics
319319

320320
### Enable replication metrics
321+
321322
You can enable replication metrics on both new and existing object replication policies. It might take a few minutes to start observing the metrics.
322323

323-
#### [Azure Portal](#tab/azure-portal)
324+
#### [Azure portal](#tab/portal)
325+
324326
You can enable metrics using **Object Replication** blade from the new _Metrics_ column or by editing the _Edit Rules_ section of a policy from "…" on the OR policy row.
325327

326328
#### [PowerShell](#tab/powershell)
329+
327330
Not yet supported.
328331

329332
#### [Azure CLI](#tab/azure-cli)
333+
330334
Not yet supported.
331335

332336
#### [REST API](#tab/rest-api)
337+
333338
Enabling metrics is supported on API version 2021-08-01 and above. You can add the new metrics field to the replication policy. Sample:
339+
334340
``` json
335341
{
336342
"sourceAccount": "<source-account-name>",
@@ -401,8 +407,6 @@ az storage blob show \
401407
--auth-mode login
402408
```
403409

404-
---
405-
406410
If the replication status for a blob in the source account indicates failure, then investigate the following possible causes:
407411

408412
- Make sure that the object replication policy is configured on the destination account.
@@ -413,6 +417,8 @@ If the replication status for a blob in the source account indicates failure, th
413417

414418
N/A
415419

420+
---
421+
416422
## Remove a replication policy
417423

418424
To remove a replication policy and its associated rules, use Azure portal, PowerShell, or CLI.

0 commit comments

Comments
 (0)