Skip to content

Commit 338433b

Browse files
xiaoxuqi-msQI, XIAOXU
authored andcommitted
revert common types v3/types.json (Azure#21125)
Co-authored-by: QI, XIAOXU <[email protected]>
1 parent e62905c commit 338433b

File tree

1 file changed

+5
-41
lines changed
  • specification/common-types/resource-management/v3

1 file changed

+5
-41
lines changed

specification/common-types/resource-management/v3/types.json

Lines changed: 5 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -102,35 +102,6 @@
102102
"description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.",
103103
"type": "object",
104104
"properties": {
105-
"id": {
106-
"readOnly": true,
107-
"type": "string",
108-
"x-ms-mutability": [
109-
"read"
110-
],
111-
"description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
112-
},
113-
"name": {
114-
"readOnly": true,
115-
"type": "string",
116-
"description": "The name of the resource"
117-
},
118-
"type": {
119-
"readOnly": true,
120-
"type": "string",
121-
"x-ms-mutability": [
122-
"read"
123-
],
124-
"description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""
125-
},
126-
"location": {
127-
"type": "string",
128-
"x-ms-mutability": [
129-
"read",
130-
"create"
131-
],
132-
"description": "The geo-location where the resource lives"
133-
},
134105
"managedBy": {
135106
"type": "string",
136107
"x-ms-mutability": [
@@ -154,18 +125,6 @@
154125
"type": "string",
155126
"description": "The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. "
156127
},
157-
"tags": {
158-
"type": "object",
159-
"additionalProperties": {
160-
"type": "string"
161-
},
162-
"x-ms-mutability": [
163-
"read",
164-
"create",
165-
"update"
166-
],
167-
"description": "Resource tags."
168-
},
169128
"identity": {
170129
"allOf": [
171130
{
@@ -188,6 +147,11 @@
188147
]
189148
}
190149
},
150+
"allOf": [
151+
{
152+
"$ref": "#/definitions/TrackedResource"
153+
}
154+
],
191155
"x-ms-azure-resource": true
192156
},
193157
"SkuTier": {

0 commit comments

Comments
 (0)