Skip to content

Commit

Permalink
Using x-ms-client-flatten for PrivateLinkResourceProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
amchandn committed Mar 27, 2020
1 parent 7c5f259 commit 31ba2d0
Showing 1 changed file with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,7 @@
"type": "object",
"properties": {
"value": {
"description": "A collection of private link resources",
"type": "array",
"items": {
"$ref": "#/definitions/PrivateLinkResource"
Expand All @@ -1180,10 +1181,15 @@
}
},
"PrivateLinkResource": {
"description": "Private Link Resource.",
"description": "Information of the private link resource.",
"readOnly": true,
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/PrivateLinkResourceProperties",
"description": "Properties of the private link resource.",
"x-ms-client-flatten": true
},
"id": {
"description": "e.g. subscriptions/{subId}/resourceGroups/{groupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/backupresource.",
"type": "string",
Expand All @@ -1198,7 +1204,12 @@
"description": "e.g. Microsoft.RecoveryServices/vaults/privateLinkResources",
"readOnly": true,
"type": "string"
},
}
}
},
"PrivateLinkResourceProperties": {
"type": "object",
"properties": {
"groupId": {
"description": "e.g. f9ad6492-33d4-4690-9999-6bfd52a0d081 (Backup) or f9ad6492-33d4-4690-9999-6bfd52a0d082 (SiteRecovery)",
"readOnly": true,
Expand Down Expand Up @@ -1273,4 +1284,4 @@
]
}
]
}
}

0 comments on commit 31ba2d0

Please sign in to comment.