Skip to content

Commit

Permalink
updated location responses
Browse files Browse the repository at this point in the history
  • Loading branch information
kegangum committed Jun 25, 2020
1 parent 3ecda6c commit 78bca1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"description": "Array of locations.",
"type": "array",
"items": {
"$ref": "#/definitions/LocationsResourceEntity"
"$ref": "#/definitions/LocationEntity"
}
},
"nextLink": {
Expand All @@ -109,42 +109,13 @@
}
}
},
"LocationsResourceEntity": {
"type": "object",
"description": "Location Resource Entity",
"properties": {
"properties": {
"description": "Location Properties",
"$ref": "#/definitions/LocationAdminProperties",
"x-ms-client-flatten": true
},
"eTag": {
"description": "Entity tag of the resource",
"type": "string"
}
},
"allOf": [
{
"$ref": "Deployment.json#/definitions/Resource"
}
]
},
"LocationAdminProperties": {
"description": "Location Admin Properties",
"type": "object",
"properties": {
"location": {
"description": "the location name",
"title": "location",
"type": "string"
}
}
},
"LocationEntity": {
"type": "object",
"description": "Location Entity",
"properties": {
"properties": {}
"properties": {
"description": "Location Properties"
}
},
"allOf": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
"body": {
"value": [
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Deployment.Admin/locations/1",
"name": "1",
"type": "Microsoft.Deployment.Admin/locations/1",
"properties": {
"location": "global"
}
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Deployment.Admin/locations/global",
"name": "global",
"type": "Microsoft.Deployment.Admin/locations",
"properties": {}
}
]
}
Expand Down

0 comments on commit 78bca1d

Please sign in to comment.