Skip to content

Commit

Permalink
Merge pull request #4 from stankovski/master
Browse files Browse the repository at this point in the history
Updated ARM resources specs
  • Loading branch information
stankovski committed Jul 28, 2015
2 parents ecf0b65 + f9ad7ab commit b048c46
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 94 deletions.
69 changes: 36 additions & 33 deletions arm-authorization/2015-01-01/swagger/authorization.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ManagementLockProperties"
"$ref": "#/definitions/ManagementLock"
},
"description": "The management lock parameters."
},
Expand All @@ -56,16 +56,16 @@
}
],
"responses": {
"201": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
},
"200": {
"201": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
}
}
Expand Down Expand Up @@ -128,7 +128,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ManagementLockProperties"
"$ref": "#/definitions/ManagementLock"
},
"description": "Create or update management lock parameters."
},
Expand All @@ -143,13 +143,13 @@
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
},
"201": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
}
}
Expand Down Expand Up @@ -213,13 +213,13 @@
}
],
"responses": {
"202": {
"204": {
"description": ""
},
"200": {
"description": ""
},
"204": {
"202": {
"description": ""
}
}
Expand All @@ -245,7 +245,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ManagementLockProperties"
"$ref": "#/definitions/ManagementLock"
},
"description": "The management lock parameters."
},
Expand All @@ -257,16 +257,16 @@
}
],
"responses": {
"200": {
"201": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
},
"201": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
}
}
Expand Down Expand Up @@ -296,10 +296,10 @@
"204": {
"description": ""
},
"202": {
"200": {
"description": ""
},
"200": {
"202": {
"description": ""
}
}
Expand All @@ -326,16 +326,16 @@
}
],
"responses": {
"204": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
},
"200": {
"204": {
"description": "",
"schema": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
}
}
}
Expand Down Expand Up @@ -371,13 +371,13 @@
}
],
"responses": {
"200": {
"204": {
"description": ""
},
"202": {
"200": {
"description": ""
},
"204": {
"202": {
"description": ""
}
}
Expand Down Expand Up @@ -421,7 +421,7 @@
}
},
"x-ms-pageable": true,
"x-ms-odata": "#/definitions/ManagementLockObject"
"x-ms-odata": "#/definitions/ManagementLock"
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks": {
Expand Down Expand Up @@ -492,7 +492,7 @@
}
},
"x-ms-pageable": true,
"x-ms-odata": "#/definitions/ManagementLockObject"
"x-ms-odata": "#/definitions/ManagementLock"
}
},
"/{nextLink}": {
Expand Down Expand Up @@ -557,7 +557,7 @@
}
},
"x-ms-pageable": true,
"x-ms-odata": "#/definitions/ManagementLockObject"
"x-ms-odata": "#/definitions/ManagementLock"
}
}
},
Expand Down Expand Up @@ -588,7 +588,7 @@
},
"description": "Resource filter."
},
"ResourceGroupExtendedFilter": {
"ResourceGroupFilter": {
"properties": {
"tagName": {
"type": "string",
Expand Down Expand Up @@ -620,23 +620,26 @@
},
"description": "The management lock properties."
},
"ManagementLockObject": {
"ManagementLock": {
"properties": {
"properties": {
"$ref": "#/definitions/ManagementLockProperties",
"description": "Gets or sets the properties of the lock."
},
"id": {
"readOnly": true,
"type": "string",
"description": "Gets or sets the Id of the lock."
"description": "Gets the Id of the lock."
},
"type": {
"readOnly": true,
"type": "string",
"description": "Gets or sets the type of the lock."
"description": "Gets the type of the lock."
},
"name": {
"readOnly": true,
"type": "string",
"description": "Gets or sets the name of the lock."
"description": "Gets the name of the lock."
}
},
"description": "Management lock information."
Expand All @@ -646,7 +649,7 @@
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ManagementLockObject"
"$ref": "#/definitions/ManagementLock"
},
"description": "Gets or sets the list of locks."
},
Expand Down
2 changes: 1 addition & 1 deletion arm-features/2014-08-01-preview/swagger/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
},
"description": "Resource filter."
},
"ResourceGroupExtendedFilter": {
"ResourceGroupFilter": {
"properties": {
"tagName": {
"type": "string",
Expand Down
Loading

0 comments on commit b048c46

Please sign in to comment.