Skip to content

Commit 6ba2490

Browse files
authored
Adding xms-ids for Communication (#17662)
* Adding xms-ids for Communication * adding note in readme
1 parent 11df602 commit 6ba2490

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

specification/communication/resource-manager/Microsoft.Communication/preview/2020-08-20-preview/CommunicationService.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,10 @@
667667
"type": "array",
668668
"items": {
669669
"$ref": "#/definitions/Operation"
670-
}
670+
},
671+
"x-ms-identifiers": [
672+
"name"
673+
]
671674
},
672675
"nextLink": {
673676
"description": "The URL the client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
@@ -739,7 +742,11 @@
739742
"type": "array",
740743
"items": {
741744
"$ref": "#/definitions/MetricSpecification"
742-
}
745+
},
746+
"x-ms-identifiers": [
747+
"name",
748+
"category"
749+
]
743750
}
744751
}
745752
},
@@ -791,7 +798,10 @@
791798
"type": "array",
792799
"items": {
793800
"$ref": "#/definitions/Dimension"
794-
}
801+
},
802+
"x-ms-identifiers": [
803+
"name"
804+
]
795805
}
796806
}
797807
},

specification/communication/resource-manager/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,8 @@ See configuration in [readme.go.md](./readme.go.md)
8484
## Typescript
8585

8686
See configuration in [readme.typescript.md](./readme.typescript.md)
87+
88+
89+
## Comments and notes
90+
x-ms-identifiers will become a requirement on every RP resource. To add it, [check here](https://github.com/Azure/autorest/tree/main/docs/extensions#x-ms-identifiers).
91+
For more info, reach out to the @changeanalysisteam.

0 commit comments

Comments
 (0)